Function at 0x40de20
Capabilities:
Get graphical window text

Disassembly:
push 0xffffffffffffffff
push 0x4b4d70
mov eax, dword fs:[0]
push eax
sub esp, 0x84
mov eax, dword [0x4ef7d0]
xor eax, esp
mov dword [esp + 0x80], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4ef7d0]
xor eax, esp
push eax
lea eax, [esp + 0x98]
mov dword fs:[0], eax
xor esi, esi
mov ebx, ecx
mov dword [esp + 0x90], 0xf
mov dword [esp + 0x8c], esi
mov byte [esp + 0x7c], 0
push esi
lea eax, [esp + 0x7c]
push 0x2740
push eax
mov dword [esp + 0xac], esi
call fcn.0042d500
lea ecx, [esp + 0x84]
push ecx
call fcn.004058a0
push 0x30
lea edx, [esp + 0x38]
push esi
push edx
mov dword [esp + 0x3c], esi
call fcn.0049e8b0
mov eax, 0x20
add esp, 0x1c
cmp dword [esp + 0x90], 0x10
mov dword [esp + 0x24], 0xffff0002
mov dword [esp + 0x34], eax
mov dword [esp + 0x30], eax
jb 0x40ded7
mov eax, dword [esp + 0x7c]
mov dword [esp + 0x38], eax
jmp 0x40dedf
lea ecx, [esp + 0x7c]
mov dword [esp + 0x38], ecx
mov eax, dword [ebx + 0x54]
lea edx, [esp + 0x20]
push edx
push esi
push 0x1100
mov ebp, 0x4d
push eax
mov dword [esp + 0x38], ebp
mov dword [esp + 0x58], 1
mov dword [esp + 0x5c], 0xffffffff
call dword [sym.imp.USER32.dll_SendMessageA]
mov ecx, dword [esp + 0x7c]
mov dword [ebx + 0x6c], esi
mov esi, dword [esp + 0x90]
cmp esi, 0x10
mov dword [ebx + 0x68], eax
mov eax, ecx
jae 0x40df29
lea eax, [esp + 0x7c]
lea edi, [eax + 1]
lea esp, [esp]
mov dl, byte [eax]
add eax, 1
test dl, dl
jne 0x40df30
sub eax, edi
cmp esi, 0x10
jae 0x40df44
lea ecx, [esp + 0x7c]
lea edx, [esp + 0x20]
push edx
mov dword [esp + 0x2c], ebp
xor ebp, ebp
push ebp
lea ecx, [ecx + eax + 1]
mov eax, dword [ebx + 0x54]
push 0x1100
push eax
mov dword [esp + 0x48], ecx
mov dword [esp + 0x58], 1
mov dword [esp + 0x5c], 0xffffffff
call dword [sym.imp.USER32.dll_SendMessageA]
mov dword [ebx + 0x70], eax
mov dword [ebx + 0x74], ebp
mov dword [esp + 0x28], 0xd
mov dword [esp + 0x48], ebp
xor esi, esi
jmp 0x40df90
mov eax, dword [0x4f14e8]
cmp eax, ebp
je 0x40e1a6
mov edx, dword [0x4f14ec]
mov ecx, edx
sub ecx, eax
sar ecx, 2
cmp esi, ecx
jae 0x40e1a6
mov ecx, dword [eax + esi*4]
cmp dword [ecx + 0x8c], 0xffffffff
jne 0x40dfc3
mov ecx, dword [ebx + 0x70]
jmp 0x40dfc6
mov ecx, dword [ebx + 0x68]
mov dword [esp + 0x20], ecx
mov dword [esp + 0x74], 0xf
mov dword [esp + 0x70], ebp
mov byte [esp + 0x60], 0
cmp eax, ebp
mov byte [esp + 0xa0], 1
je 0x40dff0
sub edx, eax
sar edx, 2
cmp esi, edx
jb 0x40dffa
call fcn.0049ed6a
mov eax, dword [0x4f14e8]
mov eax, dword [eax + esi*4]
mov edx, dword [eax + 4]
push ebp
push edx
lea eax, [esp + 0x64]
push eax
call fcn.0042d500
mov edi, dword [esp + 0x7c]
add esp, 0xc
push 1
push ebp
lea ecx, [esp + 0x1c]
push ecx
lea ecx, [esp + 0x68]
mov dword [esp + 0x28], edi
mov byte [esp + 0x20], 0xa
call fcn.00402410
mov dword [esp + 0x18], eax
cmp eax, edi
lea eax, [esp + 0x1c]
ja 0x40e03d
lea eax, [esp + 0x18]
mov edx, dword [eax]
push 0xffffffffffffffff
push edx
lea ecx, [esp + 0x64]
call fcn.00403250
push 2
push 0x4c7e48
lea ecx, [esp + 0x64]
call fcn.00407210
mov eax, dword [0x4f14e8]
cmp eax, ebp
je 0x40e073
mov ecx, dword [0x4f14ec]
sub ecx, eax
sar ecx, 2
cmp esi, ecx
jb 0x40e07d
call fcn.0049ed6a
mov eax, dword [0x4f14e8]
mov eax, dword [eax + esi*4]
lea ecx, [eax + 0xc]
mov eax, ecx
lea edi, [eax + 1]
mov dl, byte [eax]
add eax, 1
test dl, dl
jne 0x40e088
sub eax, edi
push eax
push ecx
lea ecx, [esp + 0x64]
call fcn.00407210
push 0x29
push 1
lea ecx, [esp + 0x64]
call fcn.00406710
cmp dword [esp + 0x74], 0x10
jb 0x40e0bc
mov eax, dword [esp + 0x60]
mov dword [esp + 0x38], eax
jmp 0x40e0c4
lea ecx, [esp + 0x60]
mov dword [esp + 0x38], ecx
mov eax, dword [ebx + 0x54]
lea edx, [esp + 0x20]
push edx
push ebp
push 0x1100
push eax
mov dword [esp + 0x5c], esi
call dword [sym.imp.USER32.dll_SendMessageA]
mov dword [esp + 0x54], eax
mov eax, dword [0x4f14e8]
cmp eax, ebp
je 0x40e0fb
mov edx, dword [0x4f14ec]
mov ecx, edx
sub ecx, eax
sar ecx, 2
cmp esi, ecx
jb 0x40e10b
call fcn.0049ed6a
mov edx, dword [0x4f14ec]
mov eax, dword [0x4f14e8]
mov ecx, dword [eax + esi*4]
cmp dword [ecx + 0x8c], 0xffffffff
sete cl
test eax, eax
push ecx
je 0x40e126
sub edx, eax
sar edx, 2
cmp esi, edx
jb 0x40e130
call fcn.0049ed6a
mov eax, dword [0x4f14e8]
mov eax, dword [eax + esi*4]
sub esp, 0x1c
mov ecx, esp
lea edi, [eax + 0xc]
mov eax, edi
mov dword [ecx + 0x18], 0xf
mov dword [ecx + 0x14], 0
mov dword [esp + 0x38], esp
mov byte [ecx + 4], 0
lea ebp, [eax + 1]
mov dl, byte [eax]
add eax, 1
test dl, dl
jne 0x40e156
sub eax, ebp
push eax
push edi
call fcn.004068a0
mov ecx, ebx
call fcn.0040c250
lea edx, [esp + 0x54]
push edx
lea ecx, [ebx + 0x58]
mov dword [esp + 0x5c], eax
call fcn.0040d4c0
cmp dword [esp + 0x74], 0x10
mov byte [esp + 0xa0], 0
jb 0x40e19c
mov eax, dword [esp + 0x60]
push eax
call fcn.0049ea7d
add esp, 4
add esi, 1
xor ebp, ebp
jmp 0x40df90
cmp dword [esp + 0x90], 0x10
jb 0x40e1bd
mov ecx, dword [esp + 0x7c]
push ecx
call fcn.0049ea7d
add esp, 4
mov ecx, dword [esp + 0x98]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x80]
xor ecx, esp
call fcn.0049ec31
add esp, 0x90
ret