Function at 0x40caa0
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c891d
mov eax, dword fs:[0]
push eax
sub esp, 0x37c
mov eax, dword [0x5053c0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x2ec], ecx
mov dword [ebp - 0x19c], 0
mov ecx, dword [ebp - 0x2ec]
call fcn.00441c7a
call fcn.00442305
push eax
lea ecx, [ebp - 0x11c]
call fcn.00402920
mov dword [ebp - 4], 0
call fcn.00442305
push eax
lea ecx, [ebp - 0x118]
call fcn.00402920
mov byte [ebp - 4], 1
push 0
push 0
push 0x184
mov eax, dword [ebp - 0x2ec]
mov ecx, dword [eax + 0x98]
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
push 0x1f3
lea edx, [ebp - 0x124]
push edx
call fcn.0040b4c0
add esp, 8
mov dword [ebp - 0x2f0], eax
mov eax, dword [ebp - 0x2f0]
mov dword [ebp - 0x1a0], eax
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x1a0]
push ecx
lea ecx, [ebp - 0x11c]
call fcn.0040a9a0
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x124]
sub edx, 0x10
mov dword [ebp - 0x1a4], edx
mov ecx, dword [ebp - 0x1a4]
call fcn.0040a7a0
mov eax, dword [ebp - 0x11c]
mov ecx, dword [eax - 0xc]
mov dword [ebp - 0x1a8], ecx
mov edx, 0x19
sub edx, dword [ebp - 0x1a8]
push edx
lea eax, [ebp - 0x128]
push eax
call fcn.00416e60
add esp, 8
mov dword [ebp - 0x2f4], eax
mov ecx, dword [ebp - 0x2f4]
mov dword [ebp - 0x2f8], ecx
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x2f8]
push edx
push 0x4d7c7c
lea eax, [ebp - 0x12c]
push eax
call fcn.0040d960
add esp, 0xc
mov dword [ebp - 0x2fc], eax
mov ecx, dword [ebp - 0x2fc]
mov dword [ebp - 0x300], ecx
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0x2ec]
mov eax, dword [edx + 0x74]
push eax
mov ecx, dword [ebp - 0x300]
push ecx
lea edx, [ebp - 0x130]
push edx
call fcn.0040d880
add esp, 0xc
mov dword [ebp - 0x304], eax
mov eax, dword [ebp - 0x304]
mov dword [ebp - 0x1b4], eax
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x1b4]
mov edx, dword [ecx]
mov eax, dword [edx - 0xc]
mov dword [ebp - 0x1ac], eax
mov ecx, dword [ebp - 0x1b4]
mov edx, dword [ecx]
mov dword [ebp - 0x1b0], edx
mov eax, dword [ebp - 0x1ac]
push eax
mov ecx, dword [ebp - 0x1b0]
push ecx
lea ecx, [ebp - 0x11c]
call fcn.0040da40
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0x130]
sub edx, 0x10
mov dword [ebp - 0x1b8], edx
mov ecx, dword [ebp - 0x1b8]
call fcn.0040a7a0
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x12c]
sub eax, 0x10
mov dword [ebp - 0x1bc], eax
mov ecx, dword [ebp - 0x1bc]
call fcn.0040a7a0
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x128]
sub ecx, 0x10
mov dword [ebp - 0x1c0], ecx
mov ecx, dword [ebp - 0x1c0]
call fcn.0040a7a0
mov edx, dword [ebp - 0x11c]
mov dword [ebp - 0x1c4], edx
mov eax, dword [ebp - 0x1c4]
push eax
push 0
push 0x180
mov ecx, dword [ebp - 0x2ec]
mov edx, dword [ecx + 0x98]
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
push 0x1fa
lea eax, [ebp - 0x134]
push eax
call fcn.0040b4c0
add esp, 8
mov dword [ebp - 0x308], eax
mov ecx, dword [ebp - 0x308]
mov dword [ebp - 0x1c8], ecx
mov byte [ebp - 4], 6
mov edx, dword [ebp - 0x1c8]
push edx
lea ecx, [ebp - 0x11c]
call fcn.0040a9a0
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x134]
sub eax, 0x10
mov dword [ebp - 0x1cc], eax
mov ecx, dword [ebp - 0x1cc]
call fcn.0040a7a0
mov ecx, dword [ebp - 0x11c]
mov edx, dword [ecx - 0xc]
mov dword [ebp - 0x1d0], edx
mov eax, 0x19
sub eax, dword [ebp - 0x1d0]
push eax
lea ecx, [ebp - 0x138]
push ecx
call fcn.00416e60
add esp, 8
mov dword [ebp - 0x30c], eax
mov edx, dword [ebp - 0x30c]
mov dword [ebp - 0x310], edx
mov byte [ebp - 4], 7
mov eax, dword [ebp - 0x310]
push eax
push 0x4d7c7c
lea ecx, [ebp - 0x13c]
push ecx
call fcn.0040d960
add esp, 0xc
mov dword [ebp - 0x314], eax
mov edx, dword [ebp - 0x314]
mov dword [ebp - 0x1dc], edx
mov byte [ebp - 4], 8
mov eax, dword [ebp - 0x1dc]
mov ecx, dword [eax]
mov edx, dword [ecx - 0xc]
mov dword [ebp - 0x1d4], edx
mov eax, dword [ebp - 0x1dc]
mov ecx, dword [eax]
mov dword [ebp - 0x1d8], ecx
mov edx, dword [ebp - 0x1d4]
push edx
mov eax, dword [ebp - 0x1d8]
push eax
lea ecx, [ebp - 0x11c]
call fcn.0040da40
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0x13c]
sub ecx, 0x10
mov dword [ebp - 0x1e0], ecx
mov ecx, dword [ebp - 0x1e0]
call fcn.0040a7a0
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x138]
sub edx, 0x10
mov dword [ebp - 0x1e4], edx
mov ecx, dword [ebp - 0x1e4]
call fcn.0040a7a0
mov eax, dword [ebp - 0x2ec]
mov ecx, dword [eax + 0x74]
cmp dword [ecx + 0x68], 1
jne 0x40ce84
push 0x1fb
lea edx, [ebp - 0x144]
push edx
call fcn.0040b4c0
add esp, 8
mov dword [ebp - 0x318], eax
mov eax, dword [ebp - 0x318]
mov dword [ebp - 0x31c], eax
mov byte [ebp - 4], 9
mov ecx, dword [ebp - 0x19c]
or ecx, 1
mov dword [ebp - 0x19c], ecx
mov edx, dword [ebp - 0x31c]
mov dword [ebp - 0x320], edx
jmp 0x40cecc
push 0x1fc
lea eax, [ebp - 0x148]
push eax
call fcn.0040b4c0
add esp, 8
mov dword [ebp - 0x324], eax
mov ecx, dword [ebp - 0x324]
mov dword [ebp - 0x328], ecx
mov dword [ebp - 4], 0xa
mov edx, dword [ebp - 0x19c]
or edx, 2
mov dword [ebp - 0x19c], edx
mov eax, dword [ebp - 0x328]
mov dword [ebp - 0x320], eax
mov ecx, dword [ebp - 0x320]
mov dword [ebp - 0x140], ecx
mov edx, dword [ebp - 0x140]
push edx
lea ecx, [ebp - 0x118]
call fcn.0040a9a0
mov dword [ebp - 4], 9
mov eax, dword [ebp - 0x19c]
and eax, 2
je 0x40cf1d
and dword [ebp - 0x19c], 0xfffffffd
mov ecx, dword [ebp - 0x148]
sub ecx, 0x10
mov dword [ebp - 0x1e8], ecx
mov ecx, dword [ebp - 0x1e8]
call fcn.0040a7a0
mov dword [ebp - 4], 1
mov edx, dword [ebp - 0x19c]
and edx, 1
je 0x40cf50
and dword [ebp - 0x19c], 0xfffffffe
mov eax, dword [ebp - 0x144]
sub eax, 0x10
mov dword [ebp - 0x1ec], eax
mov ecx, dword [ebp - 0x1ec]
call fcn.0040a7a0
mov ecx, dword [ebp - 0x118]
mov edx, dword [ecx - 0xc]
mov dword [ebp - 0x1f0], edx
mov eax, dword [ebp - 0x1f0]
push eax
mov ecx, dword [ebp - 0x118]
push ecx
lea ecx, [ebp - 0x11c]
call fcn.0040da40
mov edx, dword [ebp - 0x11c]
mov dword [ebp - 0x1f4], edx
mov eax, dword [ebp - 0x1f4]
push eax
push 0
push 0x180
mov ecx, dword [ebp - 0x2ec]
mov edx, dword [ecx + 0x98]
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
push 0x1f4
lea eax, [ebp - 0x14c]
push eax
call fcn.0040b4c0
add esp, 8
mov dword [ebp - 0x32c], eax
mov ecx, dword [ebp - 0x32c]
mov dword [ebp - 0x1f8], ecx
mov byte [ebp - 4], 0xb
mov edx, dword [ebp - 0x1f8]
push edx
lea ecx, [ebp - 0x11c]
call fcn.0040a9a0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x14c]
call fcn.00402970
mov eax, dword [ebp - 0x2ec]
mov ecx, dword [eax + 0x74]
add ecx, 0x40
push ecx
lea ecx, [ebp - 0x150]
call fcn.0040d7c0
mov byte [ebp - 4], 0xc
mov edx, dword [ebp - 0x11c]
mov eax, dword [edx - 0xc]
mov dword [ebp - 0x208], eax
mov ecx, 0x19
sub ecx, dword [ebp - 0x208]
push ecx
lea edx, [ebp - 0x154]
push edx
call fcn.00416e60
add esp, 8
mov dword [ebp - 0x330], eax
mov eax, dword [ebp - 0x330]
mov dword [ebp - 0x334], eax
mov byte [ebp - 4], 0xd
mov ecx, dword [ebp - 0x334]
push ecx
push 0x4d7c7c
lea edx, [ebp - 0x158]
push edx
call fcn.0040d960
add esp, 0xc
mov dword [ebp - 0x338], eax
mov eax, dword [ebp - 0x338]
mov dword [ebp - 0x33c], eax
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x150]
push ecx
mov edx, dword [ebp - 0x33c]
push edx
lea eax, [ebp - 0x15c]
push eax
call fcn.0040a2d0
add esp, 0xc
mov dword [ebp - 0x340], eax
mov ecx, dword [ebp - 0x340]
mov dword [ebp - 0x214], ecx
mov byte [ebp - 4], 0xf
mov edx, dword [ebp - 0x214]
mov eax, dword [edx]
mov ecx, dword [eax - 0xc]
mov dword [ebp - 0x20c], ecx
mov edx, dword [ebp - 0x214]
mov eax, dword [edx]
mov dword [ebp - 0x210], eax
mov ecx, dword [ebp - 0x20c]
push ecx
mov edx, dword [ebp - 0x210]
push edx
lea ecx, [ebp - 0x11c]
call fcn.0040da40
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x15c]
call fcn.00402970
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x158]
call fcn.00402970
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x154]
call fcn.00402970
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x150]
call fcn.00402970
mov eax, dword [ebp - 0x11c]
mov dword [ebp - 0x228], eax
mov ecx, dword [ebp - 0x228]
push ecx
push 0
push 0x180
mov edx, dword [ebp - 0x2ec]
mov eax, dword [edx + 0x98]
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
push 0x1f5
lea ecx, [ebp - 0x160]
push ecx
call fcn.0040b4c0
add esp, 8
mov dword [ebp - 0x344], eax
mov edx, dword [ebp - 0x344]
mov dword [ebp - 0x22c], edx
mov byte [ebp - 4], 0x10
mov eax, dword [ebp - 0x22c]
push eax
lea ecx, [ebp - 0x11c]
call fcn.0040a9a0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x160]
call fcn.00402970
mov ecx, dword [ebp - 0x2ec]
mov edx, dword [ecx + 0x74]
add edx, 0x48
push edx
lea ecx, [ebp - 0x164]
call fcn.0040d7c0
mov byte [ebp - 4], 0x11
mov eax, dword [ebp - 0x11c]
mov ecx, dword [eax - 0xc]
mov dword [ebp - 0x23c], ecx
mov edx, 0x19
sub edx, dword [ebp - 0x23c]
push edx
lea eax, [ebp - 0x168]
push eax
call fcn.00416e60
add esp, 8
mov dword [ebp - 0x348], eax
mov ecx, dword [ebp - 0x348]
mov dword [ebp - 0x34c], ecx
mov byte [ebp - 4], 0x12
mov edx, dword [ebp - 0x34c]
push edx
push 0x4d7c7c
lea eax, [ebp - 0x16c]
push eax
call fcn.0040d960
add esp, 0xc
mov dword [ebp - 0x350], eax
mov ecx, dword [ebp - 0x350]
mov dword [ebp - 0x354], ecx
mov byte [ebp - 4], 0x13
lea edx, [ebp - 0x164]
push edx
mov eax, dword [ebp - 0x354]
push eax
lea ecx, [ebp - 0x170]
push ecx
call fcn.0040a2d0
add esp, 0xc
mov dword [ebp - 0x358], eax
mov edx, dword [ebp - 0x358]
mov dword [ebp - 0x248], edx
mov byte [ebp - 4], 0x14
mov eax, dword [ebp - 0x248]
mov ecx, dword [eax]
mov edx, dword [ecx - 0xc]
mov dword [ebp - 0x240], edx
mov eax, dword [ebp - 0x248]
mov ecx, dword [eax]
mov dword [ebp - 0x244], ecx
mov edx, dword [ebp - 0x240]
push edx
mov eax, dword [ebp - 0x244]
push eax
lea ecx, [ebp - 0x11c]
call fcn.0040da40
mov byte [ebp - 4], 0x13
lea ecx, [ebp - 0x170]
call fcn.00402970
mov byte [ebp - 4], 0x12
lea ecx, [ebp - 0x16c]
call fcn.00402970
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0x168]
call fcn.00402970
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x164]
call fcn.00402970
mov ecx, dword [ebp - 0x11c]
mov dword [ebp - 0x25c], ecx
mov edx, dword [ebp - 0x25c]
push edx
push 0
push 0x180
mov eax, dword [ebp - 0x2ec]
mov ecx, dword [eax + 0x98]
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
mov edx, dword [ebp - 0x2ec]
mov eax, dword [edx + 0x74]
mov ecx, dword [eax + 0x5c]
push ecx
push 0x4d7c78
lea edx, [ebp - 0x114]
push edx
call fcn.004803da
add esp, 0xc
push 0x1f6
lea eax, [ebp - 0x174]
push eax
call fcn.0040b4c0
add esp, 8
mov dword [ebp - 0x35c], eax
mov ecx, dword [ebp - 0x35c]
mov dword [ebp - 0x260], ecx
mov byte [ebp - 4], 0x15
mov edx, dword [ebp - 0x260]
push edx
lea ecx, [ebp - 0x11c]
call fcn.0040a9a0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x174]
call fcn.00402970
mov eax, dword [ebp - 0x11c]
mov ecx, dword [eax - 0xc]
mov dword [ebp - 0x268], ecx
mov edx, 0x19
sub edx, dword [ebp - 0x268]
push edx
lea eax, [ebp - 0x178]
push eax
call fcn.00416e60
add esp, 8
mov dword [ebp - 0x360], eax
mov ecx, dword [ebp - 0x360]
mov dword [ebp - 0x364], ecx
mov byte [ebp - 4], 0x16
mov edx, dword [ebp - 0x364]
push edx
push 0x4d7c7c
lea eax, [ebp - 0x17c]
push eax
call fcn.0040d960
add esp, 0xc
mov dword [ebp - 0x368], eax
mov ecx, dword [ebp - 0x368]
mov dword [ebp - 0x36c], ecx
mov byte [ebp - 4], 0x17
lea edx, [ebp - 0x114]
push edx
mov eax, dword [ebp - 0x36c]
push eax
lea ecx, [ebp - 0x180]
push ecx
call fcn.0040d880
add esp, 0xc
mov dword [ebp - 0x370], eax
mov edx, dword [ebp - 0x370]
mov dword [ebp - 0x274], edx
mov byte [ebp - 4], 0x18
mov eax, dword [ebp - 0x274]
mov ecx, dword [eax]
mov edx, dword [ecx - 0xc]
mov dword [ebp - 0x26c], edx
mov eax, dword [ebp - 0x274]
mov ecx, dword [eax]
mov dword [ebp - 0x270], ecx
mov edx, dword [ebp - 0x26c]
push edx
mov eax, dword [ebp - 0x270]
push eax
lea ecx, [ebp - 0x11c]
call fcn.0040da40
mov byte [ebp - 4], 0x17
lea ecx, [ebp - 0x180]
call fcn.00402970
mov byte [ebp - 4], 0x16
lea ecx, [ebp - 0x17c]
call fcn.00402970
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x178]
call fcn.00402970
mov ecx, dword [ebp - 0x11c]
mov dword [ebp - 0x284], ecx
mov edx, dword [ebp - 0x284]
push edx
push 0
push 0x180
mov eax, dword [ebp - 0x2ec]
mov ecx, dword [eax + 0x98]
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
mov dword [ebp - 0x120], 0
jmp 0x40d4ba
mov edx, dword [ebp - 0x120]
add edx, 1
mov dword [ebp - 0x120], edx
mov eax, dword [ebp - 0x2ec]
mov ecx, dword [eax + 0x74]
mov edx, dword [ebp - 0x120]
cmp edx, dword [ecx + 0x5c]
jae 0x40d6b3
push 0x1f7
lea eax, [ebp - 0x184]
push eax
call fcn.0040b4c0
add esp, 8
mov dword [ebp - 0x288], eax
mov ecx, dword [ebp - 0x288]
mov edx, dword [ecx]
mov dword [ebp - 0x28c], edx
mov eax, dword [ebp - 0x120]
add eax, 1
push eax
mov ecx, dword [ebp - 0x28c]
push ecx
lea edx, [ebp - 0x114]
push edx
call fcn.004803da
add esp, 0xc
lea ecx, [ebp - 0x184]
call fcn.00402970
lea eax, [ebp - 0x114]
test eax, eax
jne 0x40d53b
mov dword [ebp - 0x294], 0
jmp 0x40d550
lea ecx, [ebp - 0x114]
push ecx
call fcn.0047fdb0
add esp, 4
mov dword [ebp - 0x294], eax
mov edx, dword [ebp - 0x294]
push edx
lea eax, [ebp - 0x114]
push eax
lea ecx, [ebp - 0x11c]
call fcn.004029b0
lea ecx, [ebp - 0x114]
push ecx
call fcn.0047fdb0
add esp, 4
mov edx, 0x19
sub edx, eax
push edx
lea eax, [ebp - 0x188]
push eax
call fcn.00416e60
add esp, 8
mov dword [ebp - 0x374], eax
mov ecx, dword [ebp - 0x374]
mov dword [ebp - 0x378], ecx
mov byte [ebp - 4], 0x19
mov edx, dword [ebp - 0x378]
push edx
push 0x4d7c7c
lea eax, [ebp - 0x18c]
push eax
call fcn.0040d960
add esp, 0xc
mov dword [ebp - 0x37c], eax
mov ecx, dword [ebp - 0x37c]
mov dword [ebp - 0x380], ecx
mov byte [ebp - 4], 0x1a
mov edx, dword [ebp - 0x120]
shl edx, 5
mov eax, dword [ebp - 0x2ec]
mov ecx, dword [eax + 0x74]
lea edx, [ecx + edx + 0x8c]
push edx
mov eax, dword [ebp - 0x380]
push eax
lea ecx, [ebp - 0x190]
push ecx
call fcn.0040d880
add esp, 0xc
mov dword [ebp - 0x384], eax
mov edx, dword [ebp - 0x384]
mov dword [ebp - 0x2c4], edx
mov byte [ebp - 4], 0x1b
mov eax, dword [ebp - 0x2c4]
mov ecx, dword [eax]
mov edx, dword [ecx - 0xc]
mov dword [ebp - 0x2a8], edx
mov eax, dword [ebp - 0x2c4]
mov ecx, dword [eax]
mov dword [ebp - 0x2ac], ecx
mov edx, dword [ebp - 0x2a8]
push edx
mov eax, dword [ebp - 0x2ac]
push eax
lea ecx, [ebp - 0x11c]
call fcn.0040da40
mov byte [ebp - 4], 0x1a
lea ecx, [ebp - 0x190]
call fcn.00402970
mov byte [ebp - 4], 0x19
lea ecx, [ebp - 0x18c]
call fcn.00402970
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x188]
call fcn.00402970
mov ecx, dword [ebp - 0x11c]
mov dword [ebp - 0x2d4], ecx
mov edx, dword [ebp - 0x2d4]
push edx
push 0
push 0x180
mov eax, dword [ebp - 0x2ec]
mov ecx, dword [eax + 0x98]
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
jmp 0x40d4ab
push 0x1f8
lea edx, [ebp - 0x194]
push edx
call fcn.0040b4c0
add esp, 8
mov dword [ebp - 0x388], eax
mov eax, dword [ebp - 0x388]
mov dword [ebp - 0x2d8], eax
mov byte [ebp - 4], 0x1c
mov ecx, dword [ebp - 0x2d8]
mov edx, dword [ecx]
mov dword [ebp - 0x2dc], edx
mov eax, dword [ebp - 0x2dc]
push eax
mov ecx, dword [ebp - 0x2ec]
call fcn.0044a1ac
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x194]
call fcn.00402970
push 0
push 0
push 0x401
mov ecx, dword [ebp - 0x2ec]
mov edx, dword [ecx + 0x20]
push edx
call dword [sym.imp.USER32.dll_PostMessageA]
mov ecx, dword [ebp - 0x2ec]
call fcn.0040d7b0
push 0
mov ecx, dword [ebp - 0x2ec]
call fcn.004459c8
mov dword [ebp - 0x198], 1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x118]
call fcn.00402970
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x11c]
call fcn.00402970
mov eax, dword [ebp - 0x198]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00480296
mov esp, ebp
pop ebp
ret