Function at 0x4a8008
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov ebx, eax
mov eax, dword [ebp - 4]
call fcn.00404ba0
mov eax, dword [ebp - 8]
call fcn.00404ba0
xor eax, eax
push ebp
push 0x4a828a
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0xc], 0xffffffff
xor eax, eax
push ebp
push 0x4a8258
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x4a829c
push 0x4a82a0
push 0
mov eax, dword [ebx + 0x338]
push eax
call sub.user32.dll_FindWindowExA
mov esi, eax
mov dword [ebx + 0x348], esi
test esi, esi
jg 0x4a8085
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4a8262
mov eax, dword [ebp - 4]
call fcn.00404bb0
push eax
push 0xffffffffffffffff
push 0x14c
push esi
call sub.user32.dll_SendMessageA
mov esi, eax
test esi, esi
jge 0x4a80b5
mov dword [ebp - 0xc], 0x65
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4a8262
push 0
push 1
push 0x14f
mov eax, dword [ebx + 0x348]
push eax
call sub.user32.dll_SendMessageA
push 0
push esi
push 0x14e
mov eax, dword [ebx + 0x348]
push eax
call sub.user32.dll_SendMessageA
push 0
push 0
push 7
mov eax, dword [ebx + 0x348]
push eax
call sub.user32.dll_SendMessageA
push 0xa
call sub.kernel32.dll_Sleep_1
push 0
push 0xd
push pe_nt_image_headers32
mov eax, dword [ebx + 0x348]
push eax
call sub.user32.dll_SendMessageA
push 0xa
call sub.kernel32.dll_Sleep_1
push 0
push 0xd
push 0x101
mov eax, dword [ebx + 0x348]
push eax
call sub.user32.dll_SendMessageA
push 0xa
call sub.kernel32.dll_Sleep_1
mov dword [ebp - 0x14], 0x75
mov dword [ebp - 0x10], 0x7f
push dword [ebp - 0x10]
push dword [ebp - 0x14]
mov eax, dword [ebx + 0x338]
push eax
call sub.user32.dll_ChildWindowFromPoint
mov esi, eax
mov dword [ebx + 0x34c], esi
test esi, esi
jg 0x4a8168
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4a8262
mov eax, dword [ebp - 8]
call fcn.00404bb0
push eax
push 0xffffffffffffffff
push 0x14c
push esi
call sub.user32.dll_SendMessageA
mov esi, eax
test esi, esi
jge 0x4a8198
mov dword [ebp - 0xc], 0x66
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4a8262
push 0
push 1
push 0x14f
mov eax, dword [ebx + 0x34c]
push eax
call sub.user32.dll_SendMessageA
push 0
push esi
push 0x14e
mov eax, dword [ebx + 0x34c]
push eax
call sub.user32.dll_SendMessageA
push 0
push 0
push 7
mov eax, dword [ebx + 0x34c]
push eax
call sub.user32.dll_SendMessageA
push 0xa
call sub.kernel32.dll_Sleep_1
push 0
push 0xd
push pe_nt_image_headers32
mov eax, dword [ebx + 0x34c]
push eax
call sub.user32.dll_SendMessageA
push 0xa
call sub.kernel32.dll_Sleep_1
push 0
push 0xd
push 0x101
mov eax, dword [ebx + 0x34c]
push eax
call sub.user32.dll_SendMessageA
push 0xa
call sub.kernel32.dll_Sleep_1
lea eax, [ebp - 0x18]
mov edx, dword [0x4ad704]
add edx, 0x300
call fcn.00404954
mov eax, dword [ebp - 0x18]
push eax
lea eax, [ebp - 0x1c]
mov edx, dword [0x4ad704]
add edx, 0x200
call fcn.00404954
mov edx, dword [ebp - 0x1c]
mov eax, ebx
pop ecx
call fcn.004a8934
xor eax, eax
mov dword [ebp - 0xc], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4a8262
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a8291
lea eax, [ebp - 0x1c]
mov edx, 2
call fcn.00404714
lea eax, [ebp - 8]
mov edx, 2
call fcn.00404714
ret