Function at 0x4142d0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x594584]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ebp + 0x1c], 0
push ebx
push esi
mov esi, dword [ebp + 0x18]
mov ebx, ecx
push edi
mov edi, dword [ebp + 0x10]
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x18], esi
jne 0x414504
mov eax, dword [ebp + 0xc]
cmp eax, 7
jne 0x41433b
mov eax, dword [ebx + 0x18]
push 0
push 1
push 0x85
mov dword [eax + 0x20], 1
mov eax, dword [ebx + 0x18]
mov dword [eax + 0x20], 0
push dword [ebx + 0x24]
call dword [sym.imp.USER32.dll_SendMessageW]
push 1
push 0
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_InvalidateRect]
jmp 0x4144dd
cmp eax, 8
jne 0x41436a
mov eax, dword [ebx + 0x18]
push 0
mov dword [eax + 0x20], 1
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [ebx + 0x2c]
test ecx, ecx
je 0x4144dd
call fcn.00417c20
jmp 0x4144dd
cmp eax, 0x85
jne 0x414494
mov eax, dword [ebx + 0x18]
mov dword [eax + 0x20], 1
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_GetWindowDC]
mov esi, eax
xorps xmm0, xmm0
lea eax, [ebp - 0x14]
push eax
push dword [ebx + 4]
movups xmmword [ebp - 0x14], xmm0
call dword [sym.imp.USER32.dll_GetWindowRect]
mov edi, dword [sym.imp.GDI32.dll_SetBkColor]
push 0xffffff
push esi
call edi
mov ebx, eax
cmp ebx, 0xffffffff
je 0x4143ce
push 0
push 0
push 0
lea eax, [ebp - 0x14]
push eax
push 2
push 0
push 0
push esi
call dword [sym.imp.GDI32.dll_ExtTextOutW]
push ebx
push esi
call edi
push 5
call dword [sym.imp.GDI32.dll_GetStockObject]
mov edi, dword [sym.imp.GDI32.dll_SelectObject]
push eax
push esi
call edi
push 0xef2eff
push 1
push 0
mov dword [ebp - 0x1c], eax
call dword [sym.imp.GDI32.dll_CreatePen]
mov ebx, eax
push ebx
push esi
call edi
push dword [ebp - 8]
mov edi, eax
push dword [ebp - 0xc]
push dword [ebp - 0x10]
push dword [ebp - 0x14]
push esi
call dword [sym.imp.GDI32.dll_Rectangle]
push edi
mov edi, dword [sym.imp.GDI32.dll_SelectObject]
push esi
call edi
push dword [ebp - 0x1c]
push esi
call edi
push ebx
call dword [sym.imp.GDI32.dll_DeleteObject]
mov ebx, dword [ebp - 0x20]
cmp dword [ebx + 0x28], 0
jne 0x41447e
push 0
push 0
push 0x402
push dword [ebx + 0x24]
mov edi, 0xffd14b
call dword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
jne 0x41445e
call dword [sym.imp.USER32.dll_GetFocus]
cmp eax, dword [ebx + 4]
mov edi, 0xb3b3b3
mov ecx, 0x38bbff
cmove edi, ecx
push edi
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
mov edi, eax
lea eax, [ebp - 0x14]
push edi
push eax
push esi
call dword [sym.imp.USER32.dll_FrameRect]
test edi, edi
je 0x41447e
push edi
call dword [sym.imp.GDI32.dll_DeleteObject]
test esi, esi
je 0x414489
push esi
call dword [sym.imp.GDI32.dll_DeleteDC]
mov eax, dword [ebp - 0x18]
mov dword [eax], 0
jmp 0x4144e3
cmp eax, 0xf
jne 0x4144af
mov eax, dword [ebx + 0x18]
push ecx
mov dword [eax + 0x20], 1
mov eax, esp
mov dword [eax], edi
call fcn.00414070
jmp 0x4144dd
cmp eax, 0x101
jne 0x414504
mov eax, dword [ebx + 0x18]
mov dword [eax + 0x20], 1
mov ecx, dword [ebx + 0x2c]
test ecx, ecx
je 0x4144dd
mov edx, dword [ebp + 0x14]
mov eax, edx
shr eax, 0x10
push eax
movzx eax, dx
push eax
movzx eax, di
push eax
call fcn.00417c70
mov dword [esi], 0
mov eax, dword [ebx + 0x18]
cmp dword [eax + 0x20], 0
je 0x414504
mov eax, 1
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004cc1ce
mov esp, ebp
pop ebp
ret 0x18
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004cc1ce
mov esp, ebp
pop ebp
ret 0x18