Function at 0x447540
Capabilities:
Get graphical window text

Disassembly:
sub esp, 0xb0
mov eax, dword [esp + 0xb4]
push ebp
mov ebp, dword [esp + 0xbc]
mov dword [esp + 0x18], 0
test eax, eax
je 0x447585
mov ecx, dword [esp + 0xc8]
mov edx, dword [esp + 0xc4]
push ecx
mov ecx, dword [esp + 0xc4]
push edx
push ecx
push ebp
push eax
call dword [sym.imp.USER32.dll_CallWindowProcA]
mov dword [esp + 0x18], eax
lea edx, [esp + 0x34]
push edx
push 0x80
push 0xd
push ebp
call dword [sym.imp.USER32.dll_SendMessageA]
test eax, eax
jne 0x4475aa
mov eax, dword [esp + 0x18]
pop ebp
add esp, 0xb0
ret 0x14
push ebx
push esi
push edi
push ebp
call dword [sym.imp.USER32.dll_GetWindowDC]
mov ebx, dword [sym.imp.USER32.dll_GetSystemMetrics]
push 5
mov esi, eax
call ebx
push 6
mov dword [esp + 0x30], eax
call ebx
mov edi, eax
lea eax, [esp + 0x30]
push eax
push ebp
call dword [sym.imp.USER32.dll_GetClientRect]
push 2
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x3c]
add edi, eax
mov dword [esp + 0x14], ecx
mov ecx, dword [esp + 0x40]
mov dword [esp + 0x18], eax
mov dword [esp + 0x18], edi
add edi, 0x12
mov dword [esp + 0x20], ecx
mov dword [esp + 0x1c], edx
mov dword [esp + 0x20], edi
call ebx
mov edi, dword [esp + 0x10]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x2c]
add ecx, eax
mov eax, dword [0x4773d4]
add edi, edx
push eax
push esi
mov dword [esp + 0x20], ecx
mov dword [esp + 0x18], edi
call dword [sym.imp.GDI32.dll_SetBkColor]
mov ecx, dword [0x4773c4]
push ecx
push esi
call dword [sym.imp.GDI32.dll_SetTextColor]
push 0
push 0
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0x18]
push 0
push edx
push 2
push eax
push ecx
push esi
call dword [sym.imp.GDI32.dll_ExtTextOutA]
mov edx, dword [0x477380]
mov edi, dword [sym.imp.GDI32.dll_SelectObject]
push edx
push esi
call edi
push 1
push esi
mov dword [esp + 0x28], eax
call dword [sym.imp.GDI32.dll_SetBkMode]
push 0x8824
lea ecx, [esp + 0x44]
mov eax, dword [esp + 0x14]
add eax, 5
mov dword [esp + 0x14], eax
lea eax, [esp + 0x14]
push eax
push 0xffffffffffffffff
push ecx
push esi
call dword [sym.imp.USER32.dll_DrawTextA]
sub dword [esp + 0x10], 5
mov edx, dword [esp + 0x20]
push edx
push esi
call edi
push 6
call ebx
mov ebx, eax
mov eax, dword [0x477324]
push eax
push ebx
push 0
call dword [sym.imp.GDI32.dll_CreatePen]
push eax
push esi
mov dword [esp + 0x28], eax
call edi
push 0
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x20]
sub eax, ebx
push eax
push ecx
push esi
mov dword [esp + 0x2c], eax
call dword [sym.imp.GDI32.dll_MoveToEx]
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x1c]
add eax, ecx
push edx
push eax
push esi
call dword [sym.imp.GDI32.dll_LineTo]
mov edx, dword [esp + 0x28]
push edx
push esi
call edi
mov eax, dword [esp + 0x20]
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
push 0xfffffffffffffff0
push ebp
call dword [sym.imp.USER32.dll_GetWindowLongA]
test eax, 0x800000
je 0x44777d
mov ecx, dword [0x4773a8]
push ecx
push ebx
push 0
call dword [sym.imp.GDI32.dll_CreatePen]
push eax
push esi
mov dword [esp + 0x28], eax
call edi
push 0
mov edx, dword [esp + 0x20]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x14]
sub edx, ebx
push edx
push eax
push esi
call dword [sym.imp.GDI32.dll_MoveToEx]
mov ebx, dword [sym.imp.GDI32.dll_LineTo]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
push ecx
push edx
push esi
call ebx
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
push eax
push ecx
push esi
call ebx
mov edx, dword [esp + 0x28]
push edx
push esi
call edi
mov eax, dword [esp + 0x20]
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
push esi
push ebp
call dword [sym.imp.USER32.dll_ReleaseDC]
pop edi
pop esi
mov eax, dword [esp + 0x1c]
pop ebx
pop ebp
add esp, 0xb0
ret 0x14