Function at 0x485160
Capabilities:
Get graphical window text
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x294
mov eax, dword [0x4b81f4]
xor eax, esp
mov dword [esp + 0x290], eax
mov ecx, dword [edi + 4]
push ebx
lea eax, [esp + 0x70]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetClientRect]
test byte [edi + 0x34], 1
mov ebx, dword [sym.imp.GDI32.dll_SelectObject]
je 0x485233
push 0xf5e2c5
push 1
push 0
call dword [sym.imp.GDI32.dll_CreatePen]
push 0xfff0d9
mov dword [esp + 0xc], eax
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
mov edx, dword [esp + 8]
push edx
push esi
mov dword [esp + 0x14], eax
call ebx
mov dword [esp + 4], eax
mov eax, dword [esp + 0xc]
push eax
push esi
call ebx
lea ecx, [esp + 0x70]
push ecx
lea edx, [esp + 0x18]
push edx
mov dword [esp + 0x18], eax
call dword [sym.imp.USER32.dll_CopyRect]
push 0
push 0
lea eax, [esp + 0x1c]
push eax
call dword [sym.imp.USER32.dll_InflateRect]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
push 6
push 6
push ecx
mov ecx, dword [esp + 0x20]
push edx
push eax
push ecx
push esi
call dword [sym.imp.GDI32.dll_RoundRect]
mov edx, dword [esp + 0x10]
push edx
push esi
call ebx
mov eax, dword [esp + 4]
push eax
push esi
call ebx
mov eax, dword [esp + 0xc]
test eax, eax
je 0x48529e
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
jmp 0x48529e
push 0x11
call dword [sym.imp.USER32.dll_GetSysColor]
push eax
push 1
push 0
call dword [sym.imp.GDI32.dll_CreatePen]
mov dword [esp + 8], eax
xor eax, eax
lea ecx, [esp + 0x70]
push ecx
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov eax, 0xffffff
push esi
lea ecx, [esp + 0x2c]
mov byte [esp + 0x35], 1
mov byte [esp + 0x34], 1
mov dword [esp + 0x30], 0xffffffff
mov dword [esp + 0x2c], vtable.t_renderGradient.0
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], 1
call fcn.0042b820
cmp dword [edi + 0x2090], 0
je 0x4852ea
mov edx, dword [edi + 0x2618]
push edx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4852d8
mov eax, dword [edi + 0x2618]
push eax
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x4852d8
mov ecx, dword [edi + 0x2618]
push 0
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
mov edx, dword [edi + 0x2090]
push edx
push 8
push 4
push esi
call dword [sym.imp.USER32.dll_DrawIcon]
mov ecx, dword [edi + 4]
lea eax, [esp + 0x60]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [edi + 0x24dc]
lea edx, [esp + 0x50]
push edx
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
mov ecx, dword [esp + 0x64]
mov edx, dword [esp + 0x60]
neg ecx
push ecx
neg edx
push edx
lea eax, [esp + 0x58]
push eax
call dword [sym.imp.USER32.dll_OffsetRect]
mov eax, dword [edi + 0x24]
push eax
push esi
call ebx
xor ecx, ecx
push 0x208
push ecx
lea edx, [esp + 0x8a]
push edx
mov dword [esp + 0x10], eax
mov word [esp + 0x8c], cx
call fcn.0046f9f0
mov ecx, dword [edi + 0x24dc]
add esp, 0xc
push 0x104
lea eax, [esp + 0x84]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetWindowTextW]
push 1
push esi
call dword [sym.imp.GDI32.dll_SetBkMode]
push 0x20
lea edx, [esp + 0x54]
push edx
push 0xffffffffffffffff
lea eax, [esp + 0x8c]
push eax
push esi
call dword [sym.imp.USER32.dll_DrawTextW]
mov ecx, dword [esp + 4]
push ecx
push esi
call ebx
mov eax, dword [esp + 8]
test eax, eax
je 0x4853a1
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
mov ecx, dword [esp + 0x294]
pop ebx
xor ecx, esp
mov eax, 1
call fcn.0046b4eb
mov esp, ebp
pop ebp
ret