Function at 0x52aac9
Capabilities:
Get graphical window text

Disassembly:
mov edx, dword [ebp - 0x110]
push ecx
push edx
push 0
push 0
push esi
call dword [sym.imp.GDI32.dll_Rectangle]
mov eax, dword [ebp - 0x12c]
push eax
push esi
call ebx
mov ecx, dword [0x6a76b4]
push ecx
push esi
call ebx
fild dword [ebp - 0x110]
fsub qword [0x59efb0]
fmul dword [edi + 8]
fdiv dword [edi + 0xc]
call sub.msvcrt.dll__ftol2_sse
cmp eax, 1
jge 0x4a3142
mov eax, 1
jmp 0x4a3142
call ebx
push 0x25
lea eax, [ebp - 0x118]
push eax
push 0xffffffffffffffff
lea ecx, [ebp - 0x108]
push ecx
push esi
call dword [sym.imp.USER32.dll_DrawTextA]
cmp byte [edi + 4], 0
je 0x4a3156
mov edx, dword [0x6a76a0]
push edx
push esi
call ebx
mov dword [ebp - 0x12c], eax
mov eax, dword [0x6a76ac]
push eax
push esi
call ebx
mov ecx, dword [ebp - 0x10c]
jmp 0x42d3e0
mov dword [ebp - 0x124], edx
mov dword [ebp - 0x11c], 0xe14800
cmp byte [edi + 3], 0
jne 0x442b95
cmp byte [edi + 4], 0
jne 0x442b9f
mov eax, dword [ebp - 0x120]
push eax
push esi
call ebx
mov ecx, dword [ebp - 0x124]
push ecx
push esi
call ebx
mov edx, dword [ebp - 0x10c]
mov eax, dword [ebp - 0x110]
push edx
push eax
jmp 0x4e87ba
mov edx, dword [ebp - 0x10c]
dec edx
push edx
push eax
push 1
push 1
push esi
call dword [sym.imp.GDI32.dll_Rectangle]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0053b460
mov esp, ebp
pop ebp
ret
push 0xffffffffffffffeb
push edi
mov dword [ebp - 0x120], edx
mov dword [ebp - 0x124], eax
call dword [sym.imp.USER32.dll_GetWindowLongW]
mov edi, eax
test edi, edi
je 0x4a8937
cmp byte [edi + 0x10], 0
je 0x4a8937
mov ecx, dword [0x6a76b8]
mov dword [ebp - 0x124], ecx
mov dword [ebp - 0x11c], 0xf0f0f
cmp byte [edi + 2], 0
mov eax, dword [0x6a76a4]
jne 0x4a894c
mov dword [ebp - 0x120], eax
cmp byte [edi + 3], 0
mov ebx, dword [sym.imp.GDI32.dll_SelectObject]
jmp 0x54437a
mov ecx, dword [0x6a76b0]
mov dword [ebp - 0x120], eax
mov dword [ebp - 0x124], ecx
mov dword [ebp - 0x11c], 0xff6600
cmp byte [edi + 1], 0
je 0x4a2472
mov edx, dword [0x6a76b4]
mov dword [ebp - 0x120], eax
jmp 0x4a2462
call ebx
push 0x696969
push 1
push 0
mov dword [0x6a76ac], eax
call dword [sym.imp.GDI32.dll_CreatePen]
push 0xff6600
mov dword [0x6a76a0], eax
call ebx
push 0xf0f0f
push 1
push 0
mov dword [0x6a76b0], eax
call dword [sym.imp.GDI32.dll_CreatePen]
push 0xe14800
mov dword [0x6a76a4], eax
call ebx
push 0xf0f0f
mov dword [0x6a76b4], eax
call ebx
mov dword [0x6a76b8], eax
mov edx, dword [0x6a76a0]
mov eax, dword [0x6a76ac]
jmp 0x4a88f8
push 0
push 0
push esi
call dword [sym.imp.GDI32.dll_Rectangle]
mov ecx, dword [ebp - 0x11c]
push ecx
push esi
call dword [sym.imp.GDI32.dll_SetBkColor]
push 0xc8c8c8
push esi
call dword [sym.imp.GDI32.dll_SetTextColor]
mov edx, dword [ebp - 0x12c]
push edx
push esi
jmp 0x442b7a
push 0x100
lea ecx, [ebp - 0x108]
push ecx
push edi
call dword [sym.imp.USER32.dll_GetWindowTextA]
push edi
call dword [sym.imp.USER32.dll_GetDC]
push 0
push 0
push 0x31
push edi
mov esi, eax
call dword [sym.imp.USER32.dll_SendMessageW]
cmp dword [0x6a76a0], 0
mov dword [ebp - 0x12c], eax
mov dword [ebp - 0x11c], 0x232323
jne 0x4d5a4b
mov ebx, dword [sym.imp.GDI32.dll_CreateSolidBrush]
push 0x232323
jmp 0x4d59f8
push ebp
mov ebp, esp
sub esp, 0x144
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
lea eax, [ebp - 0x118]
mov edi, ecx
push eax
push edi
call dword [sym.imp.USER32.dll_GetClientRect]
jmp 0x52a2a6
je 0x57dc60
cmp byte [edi], 0
mov eax, dword [edi + 0x14]
mov dword [ebp - 0x128], eax
je 0x54439b
mov edx, dword [edi + 0x18]
mov dword [ebp - 0x128], edx
cmp byte [edi + 1], 0
je 0x5443ae
mov ecx, dword [edi + 0x1c]
mov dword [ebp - 0x128], ecx
lea edx, [ebp - 0x144]
push edx
push 0x18
push eax
call dword [sym.imp.GDI32.dll_GetObjectW]
cmp dword [edi + 0x20], 0
jmp dword [0x5443c8]
cmp byte [edi], 0
je 0x4ba85a
jmp 0x4ba83e