Function at 0x4a8468
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov dword [ebp - 4], edx
mov ebx, eax
mov eax, dword [ebp - 4]
call fcn.00404ba0
xor eax, eax
push ebp
push 0x4a873d
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 5], 0
xor esi, esi
xor eax, eax
push ebp
push 0x4a871d
push dword fs:[eax]
mov dword fs:[eax], esp
inc esi
push 0x4a8750
push 0
call sub.user32.dll_FindWindowA
mov dword [ebx + 0x35c], eax
push 0xa
call sub.kernel32.dll_Sleep_1
mov edi, dword [ebx + 0x35c]
test edi, edi
jg 0x4a84cc
cmp esi, 0xc8
jle 0x4a84a0
cmp esi, 0xc8
jle 0x4a84e1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4a8727
push 0x4a875c
push 0x4a8760
push 0
push edi
call sub.user32.dll_FindWindowExA
mov esi, eax
mov dword [ebx + 0x364], esi
test esi, esi
jle 0x4a8574
push 0
push 1
push 0x14f
push esi
call sub.user32.dll_SendMessageA
push 0
push 0
push 0x14e
mov eax, dword [ebx + 0x364]
push eax
call sub.user32.dll_SendMessageA
push 0
push 0
push 7
mov eax, dword [ebx + 0x364]
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 + 0x364]
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 + 0x364]
push eax
call sub.user32.dll_SendMessageA
push 0xa
call sub.kernel32.dll_Sleep_1
push 0x4a876c
push 0x4a8780
push 0
mov eax, dword [ebx + 0x35c]
push eax
call sub.user32.dll_FindWindowExA
mov esi, eax
mov dword [ebx + 0x368], esi
test esi, esi
jle 0x4a85bc
push 0
push 0
push 0x201
push esi
call sub.user32.dll_PostMessageA
push 0
push 0
push 0x202
mov eax, dword [ebx + 0x368]
push eax
call sub.user32.dll_PostMessageA
push 0x4a8788
push 0x4a8780
push 0
mov eax, dword [ebx + 0x35c]
push eax
call sub.user32.dll_FindWindowExA
mov esi, eax
mov dword [ebx + 0x36c], esi
test esi, esi
jle 0x4a8604
push 0
push 0
push 0x201
push esi
call sub.user32.dll_PostMessageA
push 0
push 0
push 0x202
mov eax, dword [ebx + 0x36c]
push eax
call sub.user32.dll_PostMessageA
xor esi, esi
inc esi
push 0x4a8790
push 0
call sub.user32.dll_FindWindowA
mov dword [ebx + 0x374], eax
push 0xa
call sub.kernel32.dll_Sleep_1
mov edi, dword [ebx + 0x374]
test edi, edi
jg 0x4a8632
cmp esi, 0xc8
jle 0x4a8606
cmp esi, 0xc8
jle 0x4a8647
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4a8727
push 0x4a875c
push 0x4a879c
push 0
push edi
call sub.user32.dll_FindWindowExA
mov esi, eax
mov dword [ebx + 0x378], esi
test esi, esi
jle 0x4a867f
mov eax, dword [ebp - 4]
call fcn.00404bb0
push eax
push 0
push 0xc
push esi
call sub.user32.dll_SendMessageA
push 0xa
call sub.kernel32.dll_Sleep_1
push 0x4a87a4
push 0x4a8780
push 0
mov eax, dword [ebx + 0x374]
push eax
call sub.user32.dll_FindWindowExA
mov esi, eax
mov dword [ebx + 0x37c], esi
test esi, esi
jle 0x4a86c7
push 0
push 0
push 0x201
push esi
call sub.user32.dll_PostMessageA
push 0
push 0
push 0x202
mov eax, dword [ebx + 0x37c]
push eax
call sub.user32.dll_PostMessageA
push 0x4a87a4
push 0x4a8780
push 0
mov eax, dword [ebx + 0x35c]
push eax
call sub.user32.dll_FindWindowExA
mov esi, eax
mov dword [ebx + 0x370], esi
test esi, esi
jle 0x4a870f
push 0
push 0
push 0x201
push esi
call sub.user32.dll_PostMessageA
push 0
push 0
push 0x202
mov eax, dword [ebx + 0x370]
push eax
call sub.user32.dll_PostMessageA
mov byte [ebp - 5], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4a8727
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a8744
lea eax, [ebp - 4]
call fcn.004046f0
ret