Function at 0x41c580
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60
mov eax, dword [0x56800c]
xor eax, ebp
mov dword [ebp - 8], eax
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, edx
push edi
mov edi, ecx
push dword [edi + 0x20]
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
push eax
lea ecx, [esi + 8]
mov dword [ebp - 0x50], eax
push ecx
push ebx
call dword [sym.imp.USER32.dll_FillRect]
lea eax, [ebp - 0x18]
mov dword [ebp - 0x2c], 0
push eax
push dword [edi]
mov dword [ebp - 0x30], 0
call dword [sym.imp.USER32.dll_GetClientRect]
test eax, eax
je 0x41c5e2
mov eax, dword [ebp - 0x10]
sub eax, dword [ebp - 0x18]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0xc]
sub eax, dword [ebp - 0x14]
mov dword [ebp - 0x30], eax
mov ecx, dword [edi]
mov esi, dword [edi + 0x24]
push 0x60
call fcn.0041f360
mov eax, dword [eax + 4]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_MulDiv]
mov ecx, dword [edi]
mov esi, dword [edi + 0x28]
push 0x60
mov dword [ebp - 0x4c], eax
call fcn.0041f360
mov ecx, dword [eax + 8]
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_MulDiv]
push 0xffffffffffffffec
push dword [edi]
mov dword [ebp - 0x48], eax
call dword [sym.imp.USER32.dll_GetWindowLongW]
shr eax, 0x16
and eax, 1
mov dword [ebp - 0x34], 0
shl eax, 7
or eax, 2
mov dword [ebp - 0x44], eax
mov eax, dword [edi + 4]
test eax, eax
je 0x41c648
push eax
push ebx
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [ebp - 0x34], eax
push dword [edi + 0x1c]
push ebx
call dword [sym.imp.GDI32.dll_SetTextColor]
push dword [edi + 0x20]
push ebx
call dword [sym.imp.GDI32.dll_SetBkColor]
mov eax, dword [edi]
push 0
push 0
push 0xe
push eax
mov dword [ebp - 0x3c], eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [ebp - 0x40], eax
inc eax
push 2
push eax
mov dword [ebp - 0x38], eax
call fcn.004bf417
mov esi, eax
add esp, 8
test esi, esi
jne 0x41c68a
xor ecx, ecx
jmp 0x41c6b6
push esi
push dword [ebp - 0x38]
push 0xd
push dword [ebp - 0x3c]
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [ebp - 0x40]
xor ecx, ecx
mov word [esi + eax*2], cx
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x41c6a7
sub ecx, edx
sar ecx, 1
push 0
push ecx
push esi
push 0
push dword [ebp - 0x44]
push dword [ebp - 0x48]
push dword [ebp - 0x4c]
push ebx
call dword [sym.imp.GDI32.dll_ExtTextOutW]
push esi
call fcn.004bf8aa
mov ecx, dword [edi]
add esp, 4
push 0x60
call fcn.0041f360
mov eax, dword [eax + 4]
push eax
push 8
call dword [sym.imp.KERNEL32.dll_MulDiv]
mov ecx, dword [edi + 0xc]
sub ecx, eax
mov dword [ebp - 0x14], 0
mov eax, dword [ebp - 0x2c]
sub eax, ecx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x10], eax
lea ecx, [ebp - 0x18]
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x60]
push eax
call fcn.00415fa0
mov ecx, dword [ebp - 0x60]
mov eax, dword [ebp - 0x58]
mov edx, dword [ebp - 0x5c]
add eax, ecx
mov esi, dword [ebp - 0x50]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x54]
add eax, edx
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x28]
push esi
push eax
push ebx
mov dword [ebp - 0x24], edx
call dword [sym.imp.USER32.dll_FillRect]
mov edx, edi
mov ecx, ebx
call fcn.0041c380
push esi
call dword [sym.imp.GDI32.dll_DeleteObject]
cmp dword [edi + 4], 0
je 0x41c75e
push dword [ebp - 0x34]
push ebx
call dword [sym.imp.GDI32.dll_SelectObject]
mov ecx, dword [ebp - 8]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004bcb15
mov esp, ebp
pop ebp
ret