Function at 0x4aae70
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x568cab
mov eax, dword fs:[0]
push eax
sub esp, 0x448
mov eax, dword [0x5b7de4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x454], esi
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x448], eax
cmp ecx, 0xd
jne 0x4aaeca
push 0
push 0
push 0x10
push dword [esi + 4]
call dword [sym.imp.USER32.dll_PostMessageA]
jmp 0x4ab135
cmp ecx, 0x1b
jne 0x4aaeea
push 0
push 0
push 0x10
push dword [esi + 4]
call dword [sym.imp.USER32.dll_PostMessageA]
mov dword [esi + 0x24], 1
jmp 0x4ab135
cmp dword [esi + 0x40], 3
jne 0x4aaefb
mov dword [eax], 0
jmp 0x4ab135
push dword [esi + 4]
lea edi, [esi + 4]
mov dword [ebp - 0x44c], edi
call dword [sym.imp.USER32.dll_GetParent]
mov esi, eax
mov dword [ebp - 0x420], 0
mov dword [ebp - 0x444], esi
mov dword [ebp - 0x41c], 0xf
mov byte [ebp - 0x430], 0
lea eax, [ebp - 0x408]
mov dword [ebp - 4], 0
push eax
push dword [edi]
mov edi, dword [sym.imp.USER32.dll_GetClientRect]
xorps xmm0, xmm0
movups xmmword [ebp - 0x408], xmm0
movups xmmword [ebp - 0x440], xmm0
call edi
lea eax, [ebp - 0x440]
push eax
push esi
call edi
mov edi, dword [ebp - 0x44c]
lea eax, [ebp - 0x408]
push eax
mov ecx, edi
call fcn.00492cf0
lea eax, [ebp - 0x408]
push eax
lea ecx, [ebp - 0x444]
call fcn.004ca4e0
push 0x3e8
lea eax, [ebp - 0x3f8]
push eax
push dword [edi]
call dword [sym.imp.USER32.dll_GetWindowTextA]
lea ecx, [ebp - 0x3f8]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4aafa6
sub ecx, edx
lea eax, [ebp - 0x3f8]
push ecx
push eax
lea ecx, [ebp - 0x430]
call fcn.0040a4a0
mov eax, dword [edi]
push eax
mov dword [ebp - 0x44c], eax
call dword [sym.imp.USER32.dll_GetWindowDC]
push 0
push 0
push 0x31
push esi
mov dword [ebp - 0x450], eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov esi, dword [ebp - 0x450]
push eax
push esi
call dword [sym.imp.GDI32.dll_SelectObject]
movups xmm0, xmmword [ebp - 0x408]
mov ecx, dword [ebp - 0x454]
mov dword [ebp - 0x444], eax
lea eax, [ebp - 0x430]
movups xmmword [ebp - 0x418], xmm0
cmp byte [ecx + 0x44], 1
lea ecx, [ebp - 0x418]
psrldq xmm0, 4
movd dword [ebp - 0x40c], xmm0
jne 0x4ab066
cmp dword [ebp - 0x41c], 0x10
push 0x400
cmovae eax, dword [ebp - 0x430]
push ecx
push 0xffffffffffffffff
push eax
push esi
call dword [sym.imp.USER32.dll_DrawTextA]
mov edx, dword [ebp - 0x438]
mov eax, dword [ebp - 0x410]
dec edx
cmp eax, edx
cmovge eax, edx
mov dword [ebp - 0x400], eax
jmp 0x4ab103
cmp dword [ebp - 0x41c], 0x10
push 0x411
cmovae eax, dword [ebp - 0x430]
push ecx
push 0xffffffffffffffff
push eax
push esi
call dword [sym.imp.USER32.dll_DrawTextA]
push dword [ebp - 0x444]
push esi
call dword [sym.imp.GDI32.dll_SelectObject]
mov edx, dword [ebp - 0x410]
mov eax, dword [ebp - 0x400]
mov ecx, dword [ebp - 0x40c]
mov esi, dword [ebp - 0x408]
sub eax, esi
sub edx, dword [ebp - 0x418]
sub ecx, dword [ebp - 0x414]
cmp edx, eax
jle 0x4ab0d1
mov eax, dword [ebp - 0x438]
lea ecx, [edx + esi]
cmp ecx, eax
cmovl eax, ecx
mov dword [ebp - 0x400], eax
jmp 0x4ab103
mov edx, dword [ebp - 0x3fc]
mov eax, edx
mov esi, dword [ebp - 0x404]
sub eax, esi
cmp ecx, eax
jle 0x4ab113
lea eax, [ecx + edx]
mov edx, dword [ebp - 0x434]
cmp eax, edx
jge 0x4ab0fd
lea eax, [ecx + esi]
mov dword [ebp - 0x3fc], eax
jmp 0x4ab103
mov dword [ebp - 0x3fc], edx
push 1
lea eax, [ebp - 0x408]
mov ecx, edi
push eax
call fcn.004a9ac0
mov eax, dword [ebp - 0x448]
lea ecx, [ebp - 0x450]
mov dword [eax], 0
call fcn.0041e930
lea ecx, [ebp - 0x430]
call fcn.00408f00
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005189ad
mov esp, ebp
pop ebp
ret 0x10