Function at 0x41c880
Capabilities:
Hide graphical window

Disassembly:
sub esp, 0x10
cmp dword [0x58e7f4], 0
jne 0x41c892
xor eax, eax
add esp, 0x10
ret
push esi
mov esi, dword [esp + 0x18]
cmp dword [0xc31b78], esi
je 0x41cabf
mov eax, dword [0xc31b68]
push ebp
push edi
mov edi, dword [sym.imp.USER32.dll_ShowWindow]
push 0
push eax
call edi
mov ebp, dword [sym.imp.USER32.dll_SetWindowLongA]
test esi, esi
je 0x41c9c0
cmp dword [0x58e7d8], 0
je 0x41c9c0
cmp dword [0x58e7d4], 0
je 0x41c9c0
mov ecx, dword [0xc31b68]
push 0x58e7f8
push ecx
call dword [sym.imp.USER32.dll_GetWindowRect]
mov edx, dword [0xc31b68]
push 0x82000000
push 0xfffffffffffffff0
push edx
call ebp
mov eax, dword [0x58e7f4]
mov edx, dword [0xc31b68]
mov ecx, dword [eax]
push 0x11
push edx
push eax
mov eax, dword [ecx + 0x50]
call eax
test eax, eax
jne 0x41c9c0
push ebx
push eax
call dword [sym.imp.USER32.dll_GetDC]
mov esi, eax
push 0xc
push esi
call dword [sym.imp.GDI32.dll_GetDeviceCaps]
push esi
push 0
mov ebx, eax
call dword [sym.imp.USER32.dll_ReleaseDC]
mov edx, dword [0x58e7d4]
mov eax, dword [0x58e7f4]
mov ecx, dword [eax]
push ebx
push edx
mov edx, dword [0x58e7d8]
push edx
push eax
mov eax, dword [ecx + 0x54]
call eax
pop ebx
test eax, eax
jne 0x41c9c0
mov ecx, dword [0x58e7d4]
mov edx, dword [0x58e7d8]
push eax
push ecx
push edx
push eax
push eax
push eax
mov eax, dword [0xc31b68]
push eax
mov dword [0xc31b78], 1
call dword [sym.imp.USER32.dll_SetWindowPos]
mov ecx, dword [0x58c698]
mov eax, dword [0x58e7d4]
mov esi, dword [0x58c694]
sub eax, ecx
cdq
push 1
sub eax, edx
push ecx
mov ecx, dword [0xc31b6c]
sar eax, 1
push esi
push eax
mov eax, dword [0x58e7d8]
sub eax, esi
cdq
sub eax, edx
sar eax, 1
push eax
push ecx
call dword [sym.imp.USER32.dll_MoveWindow]
jmp 0x41caa6
mov eax, dword [0x58e7f4]
mov edx, dword [0xc31b68]
mov ecx, dword [eax]
push 8
push edx
push eax
mov eax, dword [ecx + 0x50]
call eax
mov eax, dword [0x58e7f4]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x4c]
push eax
call edx
mov eax, dword [0xc3089c]
mov ecx, dword [0xc31b68]
push eax
push 0xfffffffffffffff0
push ecx
call ebp
mov edx, dword [0x58c698]
mov eax, dword [0x58c694]
push edx
push eax
push 0
push 0
lea ecx, [esp + 0x1c]
push ecx
call dword [sym.imp.USER32.dll_SetRect]
mov edx, dword [0xc31b68]
mov esi, dword [sym.imp.USER32.dll_GetWindowLongA]
push 0xffffffffffffffec
push edx
call esi
push eax
mov eax, dword [0xc31b68]
push eax
call dword [sym.imp.USER32.dll_GetMenu]
mov ecx, dword [0xc31b68]
neg eax
sbb eax, eax
neg eax
push eax
push 0xfffffffffffffff0
push ecx
call esi
push eax
lea edx, [esp + 0x18]
push edx
call dword [sym.imp.USER32.dll_AdjustWindowRectEx]
mov eax, dword [esp + 0x18]
sub eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
sub ecx, dword [esp + 0xc]
mov edx, dword [0x58e7fc]
push 0
push eax
mov eax, dword [0x58e7f8]
push ecx
mov ecx, dword [0xc31b68]
push edx
push eax
push 0
push ecx
call dword [sym.imp.USER32.dll_SetWindowPos]
mov edx, dword [0x58c698]
mov eax, dword [0x58c694]
mov ecx, dword [0xc31b6c]
push 1
push edx
push eax
push 0
push 0
push ecx
call dword [sym.imp.USER32.dll_MoveWindow]
mov dword [0xc31b78], 0
mov edx, dword [0xc31b68]
push 5
push edx
call edi
mov eax, dword [0xc31b68]
push eax
call dword [sym.imp.USER32.dll_SetForegroundWindow]
pop edi
pop ebp
mov eax, 1
pop esi
add esp, 0x10
ret