Function at 0x460938
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
mov ecx, 9
push 0
push 0
dec ecx
jne 0x460940
push ecx
push ebx
push esi
push edi
mov edi, eax
xor eax, eax
push ebp
push 0x460cb1
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 4]
push eax
lea ecx, [ebp - 0x10]
mov edx, 0x460ccc
mov eax, 0x460cdc
call fcn.0045d34c
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x14]
call fcn.0045d4d8
mov edx, dword [ebp - 0x14]
pop eax
call fcn.00404de8
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 0xc]
call fcn.0045bdf4
mov eax, dword [ebp - 0xc]
mov ecx, 0x12
mov edx, 1
call fcn.00405014
mov eax, dword [ebp - 4]
call fcn.00404fac
push eax
push 0
push 2
call sub.kernel32.dll_OpenFileMappingA
mov esi, eax
cmp esi, 0x10
seta bl
test bl, bl
je 0x4609cc
push esi
call sub.kernel32.dll_CloseHandle
jmp 0x460c59
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x1c]
call fcn.0045d4d8
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x20]
mov edx, 0x460ccc
mov eax, 0x460cdc
call fcn.0045d34c
mov edx, dword [ebp - 0x20]
pop eax
call fcn.00404de8
mov eax, dword [ebp - 0x1c]
lea edx, [ebp - 0x18]
call fcn.0045bdf4
mov eax, dword [ebp - 0x18]
mov ecx, 0x10
mov edx, 1
call fcn.00405014
mov eax, dword [ebp - 4]
call fcn.00404fac
push eax
push 0
push 2
call sub.kernel32.dll_OpenFileMappingA
mov esi, eax
cmp esi, 0x10
seta bl
test bl, bl
je 0x460a3d
push esi
call sub.kernel32.dll_CloseHandle
jmp 0x460c59
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x28]
call fcn.0045d4d8
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x2c]
mov edx, 0x460ccc
mov eax, 0x460d04
call fcn.0045d34c
mov edx, dword [ebp - 0x2c]
pop eax
call fcn.00404de8
mov eax, dword [ebp - 0x28]
lea edx, [ebp - 0x24]
call fcn.0045bdf4
mov eax, dword [ebp - 0x24]
mov ecx, 0x10
mov edx, 1
call fcn.00405014
mov eax, dword [ebp - 4]
call fcn.00404fac
push eax
push 0
push 2
call sub.kernel32.dll_OpenFileMappingA
mov esi, eax
cmp esi, 0x10
seta bl
test bl, bl
je 0x460aae
push esi
call sub.kernel32.dll_CloseHandle
jmp 0x460c59
lea ecx, [ebp - 4]
mov edx, 0x460ccc
mov eax, 0x460d04
call fcn.0045d34c
mov eax, dword [ebp - 4]
call fcn.00404fac
push eax
push 0
push 2
call sub.kernel32.dll_OpenFileMappingA
mov esi, eax
cmp esi, 0x10
seta bl
test bl, bl
je 0x460ae9
push esi
call sub.kernel32.dll_CloseHandle
jmp 0x460c59
lea ecx, [ebp - 4]
mov edx, 0x460ccc
mov eax, 0x460d20
call fcn.0045d34c
mov eax, dword [ebp - 4]
call fcn.00404fac
push eax
push 0
push 2
call sub.kernel32.dll_OpenFileMappingA
mov esi, eax
cmp esi, 0x10
seta bl
test bl, bl
je 0x460b24
push esi
call sub.kernel32.dll_CloseHandle
jmp 0x460c59
lea ecx, [ebp - 4]
mov edx, 0x460ccc
mov eax, 0x460d54
call fcn.0045d34c
push 0
mov eax, dword [ebp - 4]
call fcn.00404fac
push eax
call sub.user32.dll_FindWindowA
mov esi, eax
cmp esi, 0x10
jbe 0x460c19
push 0
lea ecx, [ebp - 0x30]
mov edx, 0x460ccc
mov eax, 0x460d70
call fcn.0045d34c
mov eax, dword [ebp - 0x30]
call fcn.00404fac
push eax
push 0
push esi
call sub.user32.dll_FindWindowExA
mov esi, eax
cmp esi, 0x10
jbe 0x460c19
mov eax, pe_nt_image_headers32
call fcn.00402e90
mov dword [ebp - 8], eax
push pe_nt_image_headers32
mov eax, dword [ebp - 8]
push eax
push esi
call sub.user32.dll_GetWindowTextA
lea ecx, [ebp - 0x38]
mov edx, 0x460ccc
mov eax, 0x460d88
call fcn.0045d34c
mov edx, dword [ebp - 0x38]
lea eax, [ebp - 0x34]
call fcn.00405450
mov eax, dword [ebp - 0x34]
push eax
lea eax, [ebp - 0x3c]
mov edx, dword [ebp - 8]
call fcn.004053e4
mov edx, dword [ebp - 0x3c]
pop eax
call fcn.0040554c
test eax, eax
jg 0x460c0f
lea ecx, [ebp - 0x44]
mov edx, 0x460ccc
mov eax, 0x460da4
call fcn.0045d34c
mov edx, dword [ebp - 0x44]
lea eax, [ebp - 0x40]
call fcn.00405450
mov eax, dword [ebp - 0x40]
push eax
lea eax, [ebp - 0x48]
mov edx, dword [ebp - 8]
call fcn.004053e4
mov edx, dword [ebp - 0x48]
pop eax
call fcn.0040554c
test eax, eax
jle 0x460c11
mov bl, 1
mov eax, dword [ebp - 8]
call fcn.00402eac
test bl, bl
jne 0x460c59
lea edx, [ebp - 0x4c]
mov eax, edi
call fcn.004602a4
cmp dword [ebp - 0x4c], 0
setne bl
test bl, bl
jne 0x460c59
mov eax, edi
call fcn.0045f6e0
test al, al
jne 0x460c57
mov eax, edi
call fcn.0045f8a0
test al, al
jne 0x460c57
mov eax, edi
call fcn.0045f4c8
test al, al
jne 0x460c57
xor ebx, ebx
jmp 0x460c59
mov bl, 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x460cb8
lea eax, [ebp - 0x4c]
call fcn.00404b1c
lea eax, [ebp - 0x48]
call fcn.004052d0
lea eax, [ebp - 0x44]
call fcn.00404b1c
lea eax, [ebp - 0x40]
mov edx, 2
call fcn.004052e8
lea eax, [ebp - 0x38]
call fcn.00404b1c
lea eax, [ebp - 0x34]
call fcn.004052d0
lea eax, [ebp - 0x30]
mov edx, 0xa
call fcn.00404b40
lea eax, [ebp - 4]
call fcn.00404b1c
ret