Function at 0x438fa0
Capabilities:
Hide graphical window

Disassembly:
sub esp, 0x28
mov eax, dword [esp + 0x2c]
push ebx
push ebp
push esi
mov esi, ecx
mov dword [0x4fb8d8], eax
push edi
push 2
mov ecx, dword [esi + 0xc]
push ecx
call fcn.00442bd0
lea edx, [esp + 0x10]
mov dword [esp + 0x10], 0x28
push edx
push eax
call fcn.00442cd0
mov ebx, dword [esp + 0x1c]
mov ebp, dword [esp + 0x14]
mov eax, dword [esi + 0xc]
mov edi, dword [esp + 0x18]
sub ebx, ebp
mov ebp, dword [esp + 0x20]
push 0xfffffffffffffff0
push eax
sub ebp, edi
call dword [sym.imp.user32.dll_GetWindowLongA]
mov edi, eax
mov dword [0x4fbf18], 0x2c
test edi, 0xc00000
je 0x439048
mov eax, dword [esi + 0xa0]
test eax, eax
je 0x439048
mov ecx, dword [esi + 0xc]
push ecx
call dword [sym.imp.user32.dll_IsZoomed]
test eax, eax
jne 0x43902f
mov eax, dword [0x4fb8e4]
test eax, eax
je 0x43902f
mov eax, dword [esi + 0xa4]
test eax, eax
jne 0x439048
mov edx, dword [esi + 0xc]
push 0x4fbf18
push edx
call dword [sym.imp.user32.dll_GetWindowPlacement]
mov dword [0x4fbf44], 1
mov eax, dword [esp + 0x3c]
test eax, eax
je 0x439058
and edi, 0xff33ffff
jmp 0x43905e
or edi, 0xcc0000
mov eax, dword [esi + 0xc]
push edi
push 0xfffffffffffffff0
push eax
call dword [sym.imp.user32.dll_SetWindowLongA]
mov ecx, dword [esi + 0xc]
push 0
push 0
push 0xb
push ecx
call dword [sym.imp.user32.dll_SendMessageA]
mov eax, dword [0x4fb908]
mov ecx, dword [esp + 0x3c]
test eax, eax
je 0x439093
test ecx, ecx
jne 0x439093
mov eax, 1
jmp 0x439095
xor eax, eax
mov dword [esi + 0x98], eax
mov eax, dword [0x4fb90c]
test eax, eax
je 0x4390af
test ecx, ecx
jne 0x4390af
mov eax, 1
jmp 0x4390b1
xor eax, eax
test ecx, ecx
mov dword [esi + 0x9c], eax
je 0x43910e
mov edx, dword [esi + 0xc]
push 0
push edx
call dword [sym.imp.user32.dll_SetMenu]
mov eax, dword [esi + 0x14]
test eax, eax
jne 0x4390d1
mov eax, dword [esi + 0x10]
mov edi, dword [sym.imp.user32.dll_ShowWindow]
push 0
push eax
call edi
mov eax, dword [esi + 0x18]
push 0
push eax
call edi
mov ecx, dword [esi + 0xc]
push 3
push ecx
call edi
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
mov ecx, dword [esi + 0xc]
push 0x148
push ebp
push ebx
push edx
push eax
push 0
push ecx
call dword [sym.imp.user32.dll_SetWindowPos]
jmp 0x439226
mov eax, dword [0x4fbf44]
mov edi, dword [sym.imp.user32.dll_ShowWindow]
test eax, eax
je 0x4391ae
mov eax, dword [0x4fbf20]
mov dword [0x4fbf44], 0
cmp eax, 3
jne 0x439151
mov edx, dword [esi + 0xc]
push 0
push edx
call edi
mov eax, dword [esi + 0xc]
push 0x4fbf18
push eax
call dword [sym.imp.user32.dll_SetWindowPlacement]
jmp 0x4391e4
mov eax, dword [esp + 0x24]
mov ecx, dword [0x4fbf34]
cmp ecx, eax
jg 0x439164
mov dword [0x4fbf34], eax
mov eax, dword [esp + 0x28]
mov ecx, dword [0x4fbf38]
cmp ecx, eax
jg 0x439177
mov dword [0x4fbf38], eax
mov eax, dword [esp + 0x2c]
mov ecx, dword [0x4fbf3c]
cmp ecx, eax
jl 0x43918a
mov dword [0x4fbf3c], eax
mov eax, dword [esp + 0x30]
mov ecx, dword [0x4fbf40]
cmp ecx, eax
jl 0x43919d
mov dword [0x4fbf40], eax
mov eax, dword [esi + 0xc]
push 0x4fbf18
push eax
call dword [sym.imp.user32.dll_SetWindowPlacement]
jmp 0x4391e4
mov eax, dword [0x4fb8e4]
test eax, eax
je 0x4391c0
mov ecx, esi
call fcn.00438970
jmp 0x4391da
mov ecx, dword [esi + 0xc]
mov edx, dword [0x4ee264]
push 0xa
push ecx
push 0x4efe5c
push edx
call fcn.00442620
add esp, 0x10
mov dword [esi + 0xa0], 1
mov eax, dword [0x4fb910]
test eax, eax
je 0x4391fb
mov eax, dword [esi + 0x1c]
mov ecx, dword [esi + 0xc]
push eax
push ecx
call dword [sym.imp.user32.dll_SetMenu]
mov eax, dword [esi + 0x98]
test eax, eax
je 0x439214
mov eax, dword [esi + 0x14]
test eax, eax
jne 0x43920f
mov eax, dword [esi + 0x10]
push 8
push eax
call edi
mov eax, dword [esi + 0x9c]
test eax, eax
je 0x439226
mov edx, dword [esi + 0x18]
push 8
push edx
call edi
mov eax, dword [esi + 0xc]
push 0
push 1
push 0xb
push eax
call dword [sym.imp.user32.dll_SendMessageA]
mov edi, dword [sym.imp.user32.dll_InvalidateRect]
push 1
push 0
push 0
call edi
mov ecx, dword [esi + 0xc]
push 1
push 0
push ecx
call edi
mov edx, dword [esi + 0xc]
push edx
call dword [sym.imp.user32.dll_UpdateWindow]
mov eax, dword [esp + 0x3c]
test eax, eax
je 0x439281
mov eax, dword [0x4fb95c]
test eax, eax
je 0x439281
mov ecx, dword [esi + 8]
pop edi
mov eax, 1
pop esi
pop ebp
mov dword [ecx + 0x6cc], eax
pop ebx
add esp, 0x28
ret 4
mov edx, dword [esi + 8]
pop edi
xor eax, eax
pop esi
pop ebp
mov dword [edx + 0x6cc], eax
pop ebx
add esp, 0x28
ret 4