Function at 0x404060
Capabilities:
Get graphical window text

Disassembly:
sub esp, 0x4fc
push esi
mov esi, ecx
mov eax, dword [esi + 0x60]
add eax, 0xffff667c
cmp eax, 0x11
ja case.0x40407a.39306
jmp dword [eax*4 + 0x404458]
push edi
push 0
lea ecx, [esi + 0x64]
call fcn.0041eaa5
push 0
lea ecx, [esi + 0x118]
call fcn.0041eaa5
push 0
lea ecx, [esi + 0x190]
call fcn.0041eaa5
push 0
lea ecx, [esi + 0x1cc]
call fcn.0041eaa5
push 0
lea ecx, [esi + 0xa0]
call fcn.0041eaa5
push 0
lea ecx, [esi + 0x154]
call fcn.0041eaa5
push 0
lea ecx, [esi + 0xdc]
call fcn.0041eaa5
mov eax, dword [0x4338a0]
mov edi, dword [sym.imp.USER32.dll_GetWindowTextA]
mov dword [0x469488], 0x9998
lea edx, [esp + 0x404]
lea eax, [eax + eax*2]
push 0xff
push edx
mov dword [esp + 0x10], 0x9995
lea eax, [eax + eax*4]
mov ecx, dword [eax*4 + 0x44bfd8]
mov eax, dword [esi + 0x1e8]
push eax
mov dword [esp + 0x18], ecx
call edi
lea ecx, [esp + 0x404]
push ecx
call fcn.0040dcda
add esp, 4
mov dword [esp + 0x10], eax
mov eax, dword [esi + 0x170]
lea edx, [esp + 0x404]
push 0xff
push edx
push eax
call edi
lea ecx, [esp + 0x404]
push ecx
call fcn.0040dcda
mov ecx, dword [0x4348c0]
add esp, 4
mov dword [esp + 0x14], eax
lea edx, [esp + 8]
mov eax, dword [ecx + 0x43c]
push 0x10
push edx
push eax
call fcn.00405a20
pop edi
pop esi
add esp, 0x4fc
ret
push 0
lea ecx, [esi + 0x64]
call fcn.0041eaa5
push 0
lea ecx, [esi + 0x118]
call fcn.0041eaa5
push 0
lea ecx, [esi + 0xa0]
call fcn.0041eaa5
push 0
lea ecx, [esi + 0xdc]
call fcn.0041eaa5
mov ecx, dword [0x44bfd8]
mov dword [esp + 4], 0x9994
jmp 0x404231
mov eax, dword [0x4338a0]
mov dword [esp + 4], 0x9993
lea eax, [eax + eax*2]
lea eax, [eax + eax*4]
mov ecx, dword [eax*4 + 0x44bfd8]
jmp 0x40434e
mov eax, dword [0x4338a0]
mov dword [esp + 4], 0x9992
lea eax, [eax + eax*2]
lea ecx, [eax + eax*4]
mov edx, dword [ecx*4 + 0x44bfd8]
jmp 0x404392
push 0
lea ecx, [esi + 0xa0]
call fcn.0041eaa5
push 0
lea ecx, [esi + 0xdc]
call fcn.0041eaa5
mov eax, dword [0x4338a0]
mov dword [esp + 4], 0x9991
lea eax, [eax + eax*2]
lea eax, [eax + eax*4]
mov ecx, dword [eax*4 + 0x44bfd8]
mov eax, dword [esi + 0xbc]
lea edx, [esp + 0x10]
push 0xff
push edx
push eax
mov dword [esp + 0x14], ecx
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov dword [esp + 0xc], eax
mov byte [esp + eax + 0x10], 0
add eax, 0xc
push eax
jmp 0x404439
push 0
lea ecx, [esi + 0x1cc]
call fcn.0041eaa5
push 0
lea ecx, [esi + 0xa0]
call fcn.0041eaa5
push 0
lea ecx, [esi + 0xdc]
call fcn.0041eaa5
mov eax, dword [0x4338a0]
test eax, eax
je case.0x40407a.39306
lea eax, [eax + eax*2]
lea edx, [esp + 0x400]
push 0xff
push edx
lea eax, [eax + eax*4]
mov dword [esp + 0xc], 0x9990
mov ecx, dword [eax*4 + 0x44bfd8]
mov eax, dword [esi + 0x1e8]
push eax
mov dword [esp + 0x14], ecx
call dword [sym.imp.USER32.dll_GetWindowTextA]
lea ecx, [esp + 0x400]
push ecx
call fcn.0040dcda
add esp, 4
mov dword [esp + 0xc], eax
jmp 0x40435a
mov eax, dword [0x43389c]
mov dword [esp + 4], 0x9989
push 0xc
lea ecx, [eax + eax*2]
mov eax, dword [0x43385c]
mov dword [esp + 0x10], eax
mov edx, dword [ecx*8 + 0x4348c8]
mov dword [esp + 0xc], edx
jmp 0x404439
mov eax, dword [0x43389c]
mov edx, dword [0x43385c]
push 0xc
mov dword [esp + 8], 0x9988
lea eax, [eax + eax*2]
mov dword [esp + 0x10], edx
mov ecx, dword [eax*8 + 0x4348c8]
lea eax, [esp + 8]
mov dword [esp + 0xc], ecx
push eax
jmp 0x40443e
mov eax, dword [0x43389c]
mov dword [esp + 4], 0x9987
lea eax, [eax + eax*2]
mov ecx, dword [eax*8 + 0x4348c8]
mov dword [esp + 8], ecx
mov dword [esp + 0xc], 1
mov ecx, dword [0x4348c0]
lea edx, [esp + 4]
push 0xc
push edx
mov eax, dword [ecx + 0x43c]
push eax
call fcn.00405a20
pop esi
add esp, 0x4fc
ret
mov eax, dword [0x43389c]
mov dword [esp + 4], 0x9986
lea ecx, [eax + eax*2]
mov edx, dword [ecx*8 + 0x4348c8]
lea eax, [esp + 4]
push 0xc
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], 0
push eax
jmp 0x40443e
mov eax, dword [0x43389c]
mov dword [0x4694b4], 0
mov dword [esp + 4], 0x9985
lea edx, [esp + 4]
lea eax, [eax + eax*2]
push 8
push edx
mov ecx, dword [eax*8 + 0x4348c8]
mov dword [esp + 0x10], ecx
mov ecx, dword [0x4348c0]
mov eax, dword [ecx + 0x43c]
push eax
call fcn.00405a20
pop esi
add esp, 0x4fc
ret
mov eax, dword [0x43389c]
mov esi, dword [esi + 0x5c]
mov dword [esp + 4], 0x9984
lea ecx, [eax + eax*2]
lea eax, [esi + esi*4]
shl eax, 3
mov edx, dword [ecx*8 + 0x4348c8]
mov ecx, dword [eax + 0x4694cc]
mov dword [esp + 8], edx
lea edx, [eax + 0x4694b8]
lea eax, [esp + 0x10]
push edx
push 0x43118c
push eax
mov dword [esp + 0x18], ecx
call fcn.0040dbca
add esp, 0xc
push 0x20
lea ecx, [esp + 8]
push ecx
mov ecx, dword [0x4348c0]
mov edx, dword [ecx + 0x43c]
push edx
call fcn.00405a20
pop esi
add esp, 0x4fc
ret