Function at 0x40cb70
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x436cd2
mov eax, dword fs:[0]
push eax
sub esp, 0x3bc
mov eax, dword [0x45906c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x33c], 0
mov dword [ebp - 0x340], 0
mov dword [ebp - 0x334], 0
lea eax, [ebp - 0x340]
push eax
mov ecx, dword [0x43934c]
mov edx, dword [ecx]
mov eax, dword [0x43934c]
push eax
mov ecx, dword [edx + 0x54]
call ecx
mov dword [ebp - 0x33c], eax
lea edx, [ebp - 0x334]
push edx
mov eax, dword [ebp - 0x340]
push eax
push 7
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [edx + 0x18]
call ecx
lea edx, [ebp - 0x398]
push edx
mov eax, dword [ebp - 0x334]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x334]
push edx
mov eax, dword [ecx + 0xc]
call eax
mov dword [ebp - 0x33c], eax
push 0x208
push 0
lea ecx, [ebp - 0x31c]
push ecx
call fcn.00417ec0
add esp, 0xc
push 0x44d528
push 0
call fcn.0041ea09
add esp, 8
mov dword [ebp - 0x344], 0
jmp 0x40cc58
mov edx, dword [ebp - 0x344]
add edx, 1
mov dword [ebp - 0x344], edx
mov eax, dword [ebp - 0x344]
cmp eax, dword [ebp - 0x398]
jae 0x40d1f9
push 0
lea ecx, [ebp - 0x330]
call fcn.0040e9b0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x330]
call fcn.00403320
push eax
mov ecx, dword [ebp - 0x344]
push ecx
mov edx, dword [ebp - 0x334]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x334]
push ecx
mov edx, dword [eax + 0x10]
call edx
mov dword [ebp - 0x33c], eax
cmp dword [ebp - 0x33c], 0
jge 0x40ccc8
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x330]
call fcn.0040b230
jmp 0x40cc49
lea ecx, [ebp - 0x330]
call fcn.00402330
mov dword [ebp - 0x368], eax
lea eax, [ebp - 0x32c]
push eax
mov ecx, dword [ebp - 0x368]
push ecx
mov edx, dword [ebp - 0x368]
mov eax, dword [edx]
mov ecx, dword [eax + 0xac]
call ecx
lea ecx, [ebp - 0x338]
call fcn.0040b250
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x330]
call fcn.00402330
mov dword [ebp - 0x36c], eax
lea ecx, [ebp - 0x338]
call fcn.00403320
push eax
mov edx, dword [ebp - 0x36c]
push edx
mov eax, dword [ebp - 0x36c]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x5c]
call edx
lea ecx, [ebp - 0x388]
call fcn.0040b250
mov byte [ebp - 4], 2
mov dword [ebp - 0x390], 0
lea ecx, [ebp - 0x330]
call fcn.00402330
mov dword [ebp - 0x370], eax
lea eax, [ebp - 0x390]
push eax
mov ecx, dword [ebp - 0x370]
push ecx
mov edx, dword [ebp - 0x370]
mov eax, dword [edx]
mov ecx, dword [eax + 0xa8]
call ecx
lea ecx, [ebp - 0x330]
call fcn.00402330
mov dword [ebp - 0x38c], eax
lea edx, [ebp - 0x390]
push edx
mov eax, dword [ebp - 0x38c]
push eax
mov ecx, dword [ebp - 0x38c]
mov edx, dword [ecx]
mov eax, dword [edx + 0x128]
call eax
lea ecx, [ebp - 0x34c]
call fcn.0040b250
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x330]
call fcn.00402330
mov dword [ebp - 0x394], eax
lea ecx, [ebp - 0x34c]
call fcn.00403320
push eax
mov ecx, dword [ebp - 0x394]
push ecx
mov edx, dword [ebp - 0x394]
mov eax, dword [edx]
mov ecx, dword [eax + 0x78]
call ecx
lea ecx, [ebp - 0x330]
call fcn.00402330
mov dword [ebp - 0x374], eax
lea edx, [ebp - 0x3c4]
push edx
mov eax, dword [ebp - 0x374]
push eax
mov ecx, dword [ebp - 0x374]
mov edx, dword [ecx]
mov eax, dword [edx + 0x90]
call eax
lea ecx, [ebp - 0x348]
call fcn.0040b250
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x330]
call fcn.00402330
mov dword [ebp - 0x378], eax
lea ecx, [ebp - 0x348]
call fcn.00403320
push eax
mov ecx, dword [ebp - 0x378]
push ecx
mov edx, dword [ebp - 0x378]
mov eax, dword [edx]
mov ecx, dword [eax + 0xb4]
call ecx
lea ecx, [ebp - 0x330]
call fcn.00402330
mov dword [ebp - 0x37c], eax
lea edx, [ebp - 0x3c8]
push edx
mov eax, dword [ebp - 0x37c]
push eax
mov ecx, dword [ebp - 0x37c]
mov edx, dword [ecx]
mov eax, dword [edx + 0x54]
call eax
lea ecx, [ebp - 0x35c]
call fcn.0040b250
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x330]
call fcn.00402330
mov dword [ebp - 0x380], eax
lea ecx, [ebp - 0x35c]
call fcn.00403320
push eax
mov ecx, dword [ebp - 0x380]
push ecx
mov edx, dword [ebp - 0x380]
mov eax, dword [edx]
mov ecx, dword [eax + 0x94]
call ecx
mov dword [ebp - 0x33c], eax
cmp dword [ebp - 0x338], 0
jne 0x40cf40
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x35c]
call fcn.0040b2f0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x348]
call fcn.0040b2f0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x34c]
call fcn.0040b2f0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x388]
call fcn.0040b2f0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x338]
call fcn.0040b2f0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x330]
call fcn.0040b230
jmp 0x40cc49
push 0x44d52c
mov edx, dword [ebp - 0x338]
push edx
call fcn.0040a680
add esp, 8
test eax, eax
je 0x40cf65
push 0x44d544
call fcn.00401450
add esp, 4
mov eax, dword [ebp - 0x348]
push eax
mov ecx, dword [ebp - 0x34c]
push ecx
mov edx, dword [ebp - 0x338]
push edx
push str._s__s__s__n
push 0x104
lea eax, [ebp - 0x31c]
push eax
call fcn.0040a770
add esp, 0x18
lea ecx, [ebp - 0x31c]
push ecx
call fcn.00405720
add esp, 4
push 0x44d560
mov edx, dword [ebp - 0x338]
push edx
call fcn.0040a680
add esp, 8
test eax, eax
je 0x40d197
mov dword [ebp - 0x3a4], 0
mov eax, dword [ebp - 0x320]
sub eax, dword [ebp - 0x328]
cdq
sub eax, edx
sar eax, 1
add eax, dword [ebp - 0x328]
mov dword [ebp - 0x360], eax
mov eax, dword [ebp - 0x324]
sub eax, dword [ebp - 0x32c]
cdq
sub eax, edx
sar eax, 1
add eax, dword [ebp - 0x32c]
mov dword [ebp - 0x364], eax
mov eax, dword [ebp - 0x360]
push eax
mov ecx, dword [ebp - 0x364]
push ecx
call dword [sym.imp.USER32.dll_WindowFromPoint]
mov dword [ebp - 0x350], eax
push 0x104
push 0
lea edx, [ebp - 0x114]
push edx
call fcn.00417ec0
add esp, 0xc
push 0x104
lea eax, [ebp - 0x114]
push eax
mov ecx, dword [ebp - 0x350]
push ecx
call dword [sym.imp.USER32.dll_GetWindowTextA]
push 0
push 0
push 0x203
mov edx, dword [ebp - 0x350]
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
push 0
push 0
push 0x203
mov eax, dword [ebp - 0x350]
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
push 0x10
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov dword [ebp - 0x39c], eax
push 0x11
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov dword [ebp - 0x3a0], eax
imul eax, dword [ebp - 0x364], 0xffff
cdq
idiv dword [ebp - 0x39c]
mov dword [ebp - 0x358], eax
imul eax, dword [ebp - 0x360], 0xffff
cdq
idiv dword [ebp - 0x3a0]
mov dword [ebp - 0x354], eax
xor ecx, ecx
mov dword [ebp - 0x3c0], ecx
mov dword [ebp - 0x3bc], ecx
mov dword [ebp - 0x3b8], ecx
mov dword [ebp - 0x3b4], ecx
mov dword [ebp - 0x3b0], ecx
mov dword [ebp - 0x3ac], ecx
mov dword [ebp - 0x3a8], ecx
mov dword [ebp - 0x3c0], 0
mov dword [ebp - 0x3b0], 0x8001
mov edx, dword [ebp - 0x358]
mov dword [ebp - 0x3bc], edx
mov eax, dword [ebp - 0x354]
mov dword [ebp - 0x3b8], eax
push 0
push 0
mov ecx, dword [ebp - 0x354]
push ecx
mov edx, dword [ebp - 0x358]
push edx
push 0x8007
call dword [sym.imp.USER32.dll_mouse_event]
push 0
push 0
mov eax, dword [ebp - 0x354]
push eax
mov ecx, dword [ebp - 0x358]
push ecx
push 0x8007
call dword [sym.imp.USER32.dll_mouse_event]
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
lea ecx, [ebp - 0x330]
call fcn.00402330
mov dword [ebp - 0x384], eax
lea edx, [ebp - 0x3a4]
push edx
lea eax, [ebp - 0x364]
push eax
mov ecx, dword [ebp - 0x384]
push ecx
mov edx, dword [ebp - 0x384]
mov eax, dword [edx]
mov ecx, dword [eax + 0x150]
call ecx
mov dword [ebp - 0x33c], eax
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x35c]
call fcn.0040b2f0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x348]
call fcn.0040b2f0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x34c]
call fcn.0040b2f0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x388]
call fcn.0040b2f0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x338]
call fcn.0040b2f0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x330]
call fcn.0040b230
jmp 0x40cc49
cmp dword [ebp - 0x340], 0
je 0x40d216
mov edx, dword [ebp - 0x340]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x340]
push ecx
mov edx, dword [eax + 8]
call edx
cmp dword [ebp - 0x334], 0
je 0x40d233
mov eax, dword [ebp - 0x334]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x334]
push edx
mov eax, dword [ecx + 8]
call eax
mov eax, dword [ebp - 0x33c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004151bc
mov esp, ebp
pop ebp
ret