Function at 0x461350
Capabilities:
Get graphical window text

Disassembly:
sub esp, 0x84
mov eax, dword [0x475d80]
xor eax, esp
mov dword [esp + 0x80], eax
push ebx
mov ebx, dword [esp + 0xa0]
lea eax, [esp + 0x44]
push ebp
push esi
push edi
mov edi, dword [esp + 0x98]
push eax
push edi
mov dword [esp + 0x24], edi
mov dword [esp + 0x18], ebx
call dword [sym.imp.USER32.dll_BeginPaint]
push 0xffffffffffffffeb
mov esi, eax
xorps xmm0, xmm0
push edi
mov dword [esp + 0x20], esi
movups xmmword [esp + 0x28], xmm0
call dword [sym.imp.USER32.dll_GetParent]
push eax
call dword [sym.imp.USER32.dll_GetWindowLongA]
mov ecx, dword fs:[0x2c]
mov eax, dword [0x476460]
mov ecx, dword [ecx]
cmp eax, dword [ecx + 4]
jg 0x46155e
lea eax, [esp + 0x30]
push eax
push edi
call dword [sym.imp.USER32.dll_GetClientRect]
push dword [ebx + 0x2c]
mov ebp, dword [sym.imp.GDI32.dll_SelectObject]
push esi
call ebp
push edi
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov ebx, eax
lea ecx, [ebx*2 + 2]
push ecx
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
add esp, 4
mov dword [esp + 0x14], eax
lea ecx, [ebx + 1]
push ecx
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextW]
push 0x420
lea eax, [esp + 0x24]
push eax
push 0xffffffffffffffff
push dword [esp + 0x20]
push esi
call dword [sym.imp.USER32.dll_DrawTextW]
push 0x13
call dword [sym.imp.GDI32.dll_GetStockObject]
push eax
push esi
call ebp
cmp dword [0x47641c], 0
mov edi, eax
mov ecx, dword [0x47645c]
mov eax, 0x848484
cmovne ecx, eax
push ecx
push esi
call dword [sym.imp.GDI32.dll_SetDCPenColor]
mov eax, dword [esp + 0x10]
push dword [eax + 0x50]
push esi
call ebp
mov eax, dword [esp + 0x10]
push dword [eax + 0x50]
lea eax, [esp + 0x34]
push eax
push esi
call dword [sym.imp.USER32.dll_FillRect]
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x3c]
mov esi, dword [esp + 0x34]
cdq
inc esi
sub eax, edx
mov dword [esp + 0x34], esi
sar eax, 1
sub ecx, eax
add eax, esi
mov esi, dword [esp + 0x18]
push ecx
mov ecx, dword [esp + 0x3c]
add ecx, 0xfffffffc
push ecx
push eax
mov eax, dword [esp + 0x3c]
add eax, 4
push eax
push esi
call dword [sym.imp.GDI32.dll_Rectangle]
push edi
push esi
call ebp
test ebx, ebx
je 0x461527
mov eax, dword [esp + 0x24]
add dword [esp + 0x28], 0xb
sub dword [esp + 0x2c], eax
cmp dword [0x47641c], 0
mov dword [esp + 0x20], 0xa
je 0x4614c8
xor eax, eax
jmp 0x4614d0
push 0xf
call dword [sym.imp.USER32.dll_GetSysColor]
push eax
push esi
call dword [sym.imp.GDI32.dll_SetBkColor]
mov eax, dword [0x47641c]
neg eax
sbb eax, eax
and eax, 0xffffff
push eax
push esi
call dword [sym.imp.GDI32.dll_SetTextColor]
mov eax, dword [esp + 0x10]
movups xmm0, xmmword [esp + 0x20]
push dword [eax + 0x50]
lea eax, [esp + 0x44]
push eax
movups xmmword [esp + 0x48], xmm0
push esi
mov dword [esp + 0x4c], 8
call dword [sym.imp.USER32.dll_FillRect]
push 0x20
lea eax, [esp + 0x24]
push eax
push 0xffffffffffffffff
push dword [esp + 0x20]
push esi
call dword [sym.imp.USER32.dll_DrawTextW]
push dword [esp + 0x14]
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 4
lea eax, [esp + 0x50]
push eax
push dword [esp + 0x20]
call dword [sym.imp.USER32.dll_EndPaint]
mov ecx, dword [esp + 0x90]
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00463052
add esp, 0x84
ret
push 0x476460
call fcn.00463a62
add esp, 4
cmp dword [0x476460], 0xffffffff
jne 0x4613c2
push 0xa
call dword [sym.imp.USER32.dll_GetSysColor]
push 0x476460
mov dword [0x47645c], eax
call fcn.00463a11
add esp, 4
jmp 0x4613c2