Function at 0x1019013c
Capabilities:
Get graphical window text

Disassembly:
sub esp, 0x38
push ebp
push esi
xor esi, esi
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
push esi
push esi
push 0xb8
push dword [0x1023a3dc]
mov dword [esp + 0x3c], esi
mov dword [esp + 0x4c], esi
mov dword [esp + 0x50], esi
mov ebp, esi
mov dword [esp + 0x44], esi
call edi
test eax, eax
je 0x1019070f
push ebx
push esi
push esi
push 0xe
push dword [0x1023a3dc]
call edi
lea ebx, [eax + 1]
push ebx
call dword [sym.imp.msvcr100.dll_malloc]
pop ecx
mov dword [esp + 0x10], eax
test eax, eax
jne 0x101901a2
push 7
push dword [0x1023a244]
call fcn.101567b6
jmp 0x101901ed
push eax
push ebx
push 0xd
push dword [0x1023a3dc]
call edi
mov ebx, dword [esp + 0x10]
push eax
push ebx
call fcn.101675e5
test eax, eax
jne 0x101906f6
push esi
push dword [0x1023a4dc]
push 0x199
push dword [0x1023a38c]
call edi
push eax
call fcn.1000d156
mov ebx, eax
mov dword [esp + 0x1c], ebx
cmp ebx, 0xffffffff
jne 0x101901f5
push esi
call dword [sym.imp.USER32.dll_MessageBeep]
xor esi, esi
inc esi
jmp 0x1019070e
cmp dword [0x102398a0], 5
jne 0x10190268
lea eax, [esp + 0x30]
push eax
push dword [0x1023a304]
push dword [0x102398ac]
call fcn.1015692e
push esi
push esi
push 0x188
push dword [0x1023a404]
call edi
cmp eax, 0xffffffff
je 0x10190268
push esi
push eax
push 0x199
push dword [0x1023a404]
call edi
mov ecx, dword [esp + 0x30]
mov edx, dword [ecx]
push 0x10241b18
push eax
push dword [0x1023bd7c]
push ecx
call dword [edx + 0x18]
mov ebx, eax
test ebx, ebx
jns 0x1019055b
push ebx
push dword [0x1023a244]
call fcn.10156610
jmp 0x101906cb
mov eax, dword [ebx + 0x14]
and eax, 0x3f
cmp eax, 0x13
ja 0x1019040d
je 0x10190448
cmp eax, 0xc
ja 0x101903be
je 0x1019029d
mov ecx, eax
dec ecx
je 0x101903db
sub ecx, 5
je 0x101902d7
dec ecx
jne 0x10190536
push 7
pop edi
sub eax, edi
je 0x1019047b
sub eax, 5
je 0x10190477
dec eax
dec eax
je 0x10190473
dec eax
je 0x1019046f
dec eax
je 0x1019046b
sub eax, 0x18
jne 0x10190465
push 0xe
jmp 0x1019047d
push dword [0x1023a304]
lea eax, [esp + 0x1c]
push eax
push dword [0x102398ac]
mov dword [esp + 0x2c], esi
mov dword [esp + 0x24], esi
mov dword [esp + 0x20], esi
call fcn.1015692e
mov ebx, eax
test ebx, ebx
js 0x10190386
push dword [esp + 0x18]
push dword [esp + 0x20]
call fcn.1015692e
mov ecx, dword [esp + 0x18]
mov edx, dword [ecx]
lea ebx, [esp + 0x14]
push ebx
push eax
push ecx
call dword [edx + 0x38]
mov ebx, eax
test ebx, ebx
js 0x10190386
push esi
push esi
push 0x188
push dword [0x1023a404]
call edi
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx]
lea edi, [esp + 0x20]
push edi
push eax
push ecx
call dword [edx + 0x18]
mov ebx, eax
test ebx, ebx
js 0x10190386
mov edx, dword [esp + 0x20]
mov eax, dword [edx + 8]
push 3
pop ecx
cmp word [eax], cx
jne 0x1019036e
mov word [0x10241b18], cx
mov eax, dword [edx + 8]
mov eax, dword [eax + 8]
mov dword [0x10241b20], eax
jmp 0x1019038a
push 2
pop eax
mov word [0x10241b18], ax
mov eax, dword [edx + 8]
mov ax, word [eax + 8]
mov word [0x10241b20], ax
jmp 0x1019038a
mov edx, dword [esp + 0x20]
test edx, edx
je 0x10190399
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0x54]
mov ecx, dword [esp + 0x14]
test ecx, ecx
je 0x101903a7
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov ecx, dword [esp + 0x18]
test ecx, ecx
je 0x1019024f
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
jmp 0x1019024f
cmp eax, 0xd
je 0x101903db
jbe 0x10190536
cmp eax, 0x10
jbe 0x1019029d
cmp eax, 0x12
jne 0x10190536
cmp eax, 0x21
jne 0x101904df
mov eax, dword [0x1023a8a8]
test eax, eax
jne 0x101903fa
mov eax, dword [0x102398ac]
test eax, eax
je 0x101904df
mov edi, dword [esp + 0x10]
push edi
push dword [ebx + 8]
push eax
call fcn.1015692e
jmp 0x101904e3
cmp eax, 0x14
jb 0x10190536
cmp eax, 0x15
jbe 0x1019052e
cmp eax, 0x21
je 0x101903e4
cmp eax, 0x28
je 0x1019029d
cmp eax, 0x30
je 0x10190557
cmp eax, 0x31
je 0x10190557
cmp eax, 0x33
jne 0x10190536
push dword [esp + 0x10]
call fcn.1001b2f9
mov dword [0x10241b20], eax
test eax, eax
jne 0x10190504
push 7
jmp 0x101906c0
mov ebx, dword [esp + 0x3c]
jmp 0x1019047e
push 6
jmp 0x1019047d
push 5
jmp 0x1019047d
mov ebx, edi
jmp 0x1019047e
push 0x11
jmp 0x1019047d
push 4
pop ebx
lea eax, [esp + 0x20]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantClear]
push 8
pop eax
push dword [esp + 0x10]
mov word [esp + 0x24], ax
call fcn.1001b2f9
mov dword [esp + 0x28], eax
test eax, eax
jne 0x101904a8
push edi
jmp 0x101906c0
push ebx
push 1
lea eax, [esp + 0x28]
push eax
push 0x10241b18
call dword [sym.imp.OLEAUT32.dll_VariantTimeToDosDateTime]
mov ebx, eax
lea eax, [esp + 0x20]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
test ebx, ebx
jns 0x1019055e
cmp ebx, 0x8007000e
je 0x101904a2
mov edi, 0x17c
jmp 0x101904a2
mov edi, dword [esp + 0x10]
cmp dword [ebx + 8], 0x80010000
jne 0x10190448
push edi
call fcn.1015692e
test eax, eax
je 0x10190448
push eax
jmp 0x101906c0
push 8
pop eax
mov word [0x10241b18], ax
cmp dword [ebx + 8], 0x80010000
jne 0x10190557
cmp dword [0x1023a258], esi
jne 0x10190557
push 0x10241b20
call fcn.1015692e
test eax, eax
je 0x10190557
jmp 0x101904fe
mov dword [esp + 0x38], 1
push dword [esp + 0x10]
push eax
push 0x10241b20
call fcn.1006778b
test eax, eax
je 0x101906bb
mov ax, word [ebx + 0x20]
mov word [0x10241b18], ax
mov ebx, dword [esp + 0x38]
push 7
pop edi
mov eax, dword [esp + 0x1c]
mov eax, dword [eax]
test eax, eax
jne 0x1019056d
mov eax, 0x1023af04
push eax
lea ecx, [esp + 0x44]
call fcn.1002bdd9
test eax, eax
je 0x101904a2
lea ecx, [esp + 0x40]
call fcn.1002be0e
lea ecx, [esp + 0x20]
mov dword [esp + 0x3c], eax
call fcn.1018fa96
jmp 0x101906a4
cmp edi, dword [0x102398ac]
jne 0x101905af
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax + 8]
mov dword [esp + 0x34], ecx
jmp 0x101905e7
mov eax, dword [edi]
lea ecx, [esp + 0x34]
push ecx
push esi
push 1
lea ecx, [esp + 0x48]
push ecx
push 0x1000ceb8
push edi
call dword [eax + 0x14]
test eax, eax
jns 0x101905df
push ebx
push dword [0x1023a244]
call fcn.10156610
xor ebp, ebp
inc ebp
jmp 0x1019069b
mov ecx, dword [esp + 0x34]
mov eax, dword [esp + 0x1c]
mov eax, dword [eax + 0x34]
push dword [esp + 0x38]
shl eax, 0x1d
push 0x10239790
sar eax, 0x1f
push eax
mov eax, dword [0x102398a4]
shl eax, 0x1a
sar eax, 0x1f
push eax
push ecx
push edi
call fcn.10190721
mov ebx, eax
test ebx, ebx
jns 0x1019069b
xor ebp, ebp
inc ebp
cmp ebx, 0x80020009
jne 0x10190682
cmp dword [0x102397a8], esi
jne 0x1019065b
cmp dword [0x10239798], esi
jne 0x1019065b
mov ax, word [0x10239790]
test ax, ax
je 0x1019064a
movzx eax, ax
push eax
call fcn.100d5e6a
test eax, eax
jne 0x1019065b
push 0x10239790
mov edi, 0x17c
call fcn.1002f20c
jmp 0x1019068f
cmp dword [0x102397ac], 0x800a9c68
je 0x101906af
mov edi, 0x10239790
push edi
call fcn.101566f1
push 8
pop eax
mov ecx, eax
xor eax, eax
rep stosd dword es:[edi], eax
mov edi, 0xc461
jmp 0x1019068f
push 0x17c
push ebx
call fcn.100d79f3
mov edi, eax
push edi
push dword [0x1023a244]
call fcn.101567b6
lea ecx, [esp + 0x20]
call fcn.1018fae0
mov edi, eax
test edi, edi
je 0x101906ce
jmp 0x1019059a
push 0x10239790
call fcn.1002f20c
jmp 0x101906ce
push 0x17c
push dword [0x1023a244]
call fcn.101567b6
xor ebp, ebp
inc ebp
push 0x10241b18
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
test ebp, ebp
je 0x101906f2
call dword [sym.imp.USER32.dll_GetFocus]
test eax, eax
je 0x101906f2
push esi
push esi
push 0x1f
push eax
call dword [sym.imp.USER32.dll_PostMessageA]
mov ebx, dword [esp + 0x10]
mov ecx, dword [esp + 0x30]
test ecx, ecx
je 0x10190704
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
push ebx
call dword [sym.imp.msvcr100.dll_free]
pop ecx
mov esi, ebp
pop ebx
lea ecx, [esp + 0x3c]
call fcn.1000cf08
pop edi
mov eax, esi
pop esi
pop ebp
add esp, 0x38
ret