Assembler code
cseg07:039A add sp, 8
cseg07:039D
cseg07:039D loc_80E_39D: ; CODE XREF: @BMPCAPWN@0WMCREATE$QM8TMESSAGE+8D↑j
cseg07:039D les bx, [bp+arg_2]
cseg07:03A0 les bx, es:[bx+5Ch]
cseg07:03A4 push word ptr es:[bx+0Ah] ; HWND
cseg07:03A8 push ss
cseg07:03A9 lea ax, [bp+LPCSTR]
cseg07:03AC push ax ; LPSTR
cseg07:03AD mov ax, 50h ; 'P'
cseg07:03B0 push ax ; int
cseg07:03B1 call GETWINDOWTEXT
cseg07:03B6 les bx, [bp+arg_2]
cseg07:03B9 push word ptr es:[bx+0Ah] ; HWND
cseg07:03BD push ss
cseg07:03BE lea ax, [bp+LPCSTR]
cseg07:03C1 push ax ; LPCSTR
cseg07:03C2 call SETWINDOWTEXT
cseg07:03C7 push ss
cseg07:03C8 lea ax, [bp+var_12]
cseg07:03CB push ax
cseg07:03CC call sub_240_AEA
cseg07:03D1 add sp, 4
cseg07:03D4 les bx, [bp+arg_2]
cseg07:03D7 les bx, es:[bx+5Ch]
cseg07:03DB cmp word ptr es:[bx+0Ah], 0
cseg07:03E0 jz short loc_80E_3FA
cseg07:03E2 les bx, [bp+arg_2]
cseg07:03E5 les bx, es:[bx+5Ch]
cseg07:03E9 push word ptr es:[bx+0Ah]
cseg07:03ED push ss
cseg07:03EE lea ax, [bp+var_12]
cseg07:03F1 push ax
cseg07:03F2 nop
cseg07:03F3 push cs