Function at 0x4847a0
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xcc
mov eax, dword [0x56800c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov eax, ecx
mov dword [ebp - 0x80], edx
push edi
lea ecx, [ebp - 0x78]
mov dword [ebp - 0x88], eax
push ecx
push eax
call dword [sym.imp.USER32.dll_BeginPaint]
mov dword [ebp - 0xac], eax
xor esi, esi
xor eax, eax
mov dword [ebp - 0x98], esi
mov dword [ebp - 0x84], eax
xor edi, edi
mov dword [ebp - 0x94], eax
xor ebx, ebx
lea eax, [ebp - 0x14]
mov dword [ebp - 0x90], edi
push eax
push dword [ebp - 0x88]
mov dword [ebp - 0x8c], ebx
call dword [sym.imp.USER32.dll_GetClientRect]
test eax, eax
je 0x48483a
mov esi, dword [ebp - 0x14]
mov edi, dword [ebp - 0xc]
mov eax, dword [ebp - 0x10]
sub edi, esi
mov ebx, dword [ebp - 8]
sub ebx, eax
mov dword [ebp - 0x98], esi
mov dword [ebp - 0x90], edi
mov dword [ebp - 0x84], eax
mov dword [ebp - 0x94], eax
mov dword [ebp - 0x8c], ebx
mov ecx, dword [ebp - 0x84]
sub esp, 0x10
mov eax, esp
push dword [ebp - 0x88]
mov dword [eax], esi
mov dword [eax + 4], ecx
lea ecx, [ebp - 0xcc]
mov dword [eax + 8], edi
mov dword [eax + 0xc], ebx
call fcn.00417d10
mov eax, dword [ebp - 0xc4]
test eax, eax
jne 0x484871
mov eax, dword [ebp - 0xc8]
mov ecx, dword [ebp - 0x80]
mov dword [ebp - 0x7c], eax
push dword [ecx + 0xc]
push eax
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [ebp - 0xa8], eax
lea ecx, [ebp - 0x98]
lea eax, [ebp - 0x14]
push eax
call fcn.00415fa0
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0xc]
mov esi, dword [ebp - 0x10]
add eax, edx
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 8]
add eax, esi
mov dword [ebp - 0x20], esi
mov esi, dword [ebp - 0x7c]
push 0x10
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x24]
push 4
push eax
push esi
mov dword [ebp - 0x24], edx
call dword [sym.imp.USER32.dll_DrawFrameControl]
mov eax, dword [ebp - 0x80]
cmp byte [eax + 0x10], 0
je 0x4848fa
push 2
push esi
call dword [sym.imp.GDI32.dll_SetBkMode]
mov esi, dword [sym.imp.USER32.dll_GetSysColor]
push 0xe
call esi
push eax
push dword [ebp - 0x7c]
call dword [sym.imp.GDI32.dll_SetTextColor]
push 0xd
call esi
push eax
push dword [ebp - 0x7c]
call dword [sym.imp.GDI32.dll_SetBkColor]
jmp 0x484913
push 1
push esi
call dword [sym.imp.GDI32.dll_SetBkMode]
push 8
call dword [sym.imp.USER32.dll_GetSysColor]
push eax
push esi
call dword [sym.imp.GDI32.dll_SetTextColor]
mov eax, dword [ebp - 0x98]
sub edi, 0xc
mov ecx, dword [ebp - 0x84]
add eax, 6
mov dword [ebp - 0x98], eax
add ecx, 6
mov dword [ebp - 0x14], eax
sub ebx, 0xc
mov eax, dword [ebp - 0x80]
mov dword [ebp - 0x84], ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0xc], edi
cmp byte [eax + 8], 0
mov dword [ebp - 8], ebx
je 0x484952
add ebx, 0xfffffff8
mov dword [ebp - 8], ebx
cmp byte [eax + 9], 0
je 0x48495e
sub edi, 0x14
mov dword [ebp - 0xc], edi
mov esi, dword [ebp - 0x88]
push 0
push 0
push 0xe
push esi
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [ebp - 0xa4], eax
inc eax
push 2
push eax
mov dword [ebp - 0xa0], eax
call fcn.004bf417
mov edi, eax
add esp, 8
mov dword [ebp - 0x9c], edi
test edi, edi
jne 0x48499d
mov dword [ebp - 0x9c], edi
jmp 0x4849b9
push edi
push dword [ebp - 0xa0]
push 0xd
push esi
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [ebp - 0xa4]
xor ecx, ecx
mov word [edi + eax*2], cx
lea eax, [ebp - 0x34]
push eax
lea ecx, [ebp - 0x14]
call fcn.00415fa0
mov esi, dword [ebp - 0x30]
mov eax, dword [ebp - 0x28]
mov edx, dword [ebp - 0x34]
add eax, esi
mov ecx, dword [ebp - 0x2c]
push 0x820
mov dword [ebp - 0x18], eax
add ecx, edx
lea eax, [ebp - 0x24]
mov dword [ebp - 0x24], edx
push eax
push 0xffffffffffffffff
push edi
mov edi, dword [ebp - 0x7c]
push edi
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x1c], ecx
call dword [sym.imp.USER32.dll_DrawTextW]
mov eax, dword [ebp - 0x80]
cmp byte [eax + 9], 0
je 0x484a74
lea eax, [ebp - 0x34]
xor esi, esi
push eax
push dword [ebp - 0x88]
call dword [sym.imp.USER32.dll_GetClientRect]
test eax, eax
je 0x484a1c
mov esi, dword [ebp - 0x2c]
sub esi, dword [ebp - 0x34]
lea eax, [esi - 0x16]
mov dword [ebp - 0x30], 6
mov dword [ebp - 0x34], eax
lea ecx, [ebp - 0x34]
lea eax, [ebp - 0x14]
mov dword [ebp - 0x2c], 0x10
push eax
mov dword [ebp - 0x28], 0x10
call fcn.00415fa0
mov esi, dword [ebp - 0x10]
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0x14]
add eax, esi
mov ecx, dword [ebp - 0xc]
push 0x4000
mov dword [ebp - 0x18], eax
add ecx, edx
push 1
lea eax, [ebp - 0x24]
mov dword [ebp - 0x24], edx
push eax
push edi
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x1c], ecx
call dword [sym.imp.USER32.dll_DrawFrameControl]
mov eax, dword [ebp - 0x80]
cmp byte [eax + 8], 0
je 0x484b3e
mov esi, dword [ebp - 0x84]
lea edx, [ebp - 0x98]
mov eax, dword [eax + 0x20]
add esi, 3
add esi, ebx
mov dword [ebp - 0x90], eax
mov ecx, edi
mov dword [ebp - 0x94], esi
mov dword [ebp - 0x8c], 5
call fcn.004175e0
mov eax, dword [ebp - 0x80]
add esi, 2
add dword [ebp - 0x98], 2
push 4
mov dword [ebp - 0x94], esi
mov ecx, dword [eax + 0x20]
sub ecx, 3
mov dword [ebp - 0x8c], 2
imul ecx, dword [eax + 0x1c]
mov eax, 0x51eb851f
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [ebp - 0x90], eax
call dword [sym.imp.GDI32.dll_GetStockObject]
mov edi, eax
lea ecx, [ebp - 0x98]
lea eax, [ebp - 0x34]
push eax
call fcn.00415fa0
mov esi, dword [ebp - 0x30]
mov eax, dword [ebp - 0x28]
mov edx, dword [ebp - 0x34]
add eax, esi
mov ecx, dword [ebp - 0x2c]
mov dword [ebp - 0x18], eax
add ecx, edx
push edi
lea eax, [ebp - 0x24]
mov dword [ebp - 0x24], edx
push eax
push dword [ebp - 0x7c]
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x1c], ecx
call dword [sym.imp.USER32.dll_FillRect]
mov ebx, dword [sym.imp.GDI32.dll_DeleteObject]
push edi
call ebx
mov edi, dword [ebp - 0x7c]
jmp 0x484b44
mov ebx, dword [sym.imp.GDI32.dll_DeleteObject]
push dword [ebp - 0xa8]
push edi
call dword [sym.imp.GDI32.dll_SelectObject]
mov esi, dword [ebp - 0xc4]
test esi, esi
je 0x484b89
push 0xcc0020
push 0
push 0
push esi
push dword [ebp - 0xb0]
push dword [ebp - 0xb4]
push dword [ebp - 0xb8]
push dword [ebp - 0xbc]
push dword [ebp - 0xac]
call dword [sym.imp.GDI32.dll_BitBlt]
lea eax, [ebp - 0x78]
push eax
push dword [ebp - 0x88]
call dword [sym.imp.USER32.dll_EndPaint]
push dword [ebp - 0x9c]
call fcn.004bf8aa
add esp, 4
push dword [ebp - 0xc0]
call ebx
push esi
call dword [sym.imp.GDI32.dll_DeleteDC]
push dword [ebp - 0xc8]
push dword [ebp - 0xcc]
call dword [sym.imp.USER32.dll_ReleaseDC]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004bcb15
mov esp, ebp
pop ebp
ret