Function at 0x450500
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x6c
mov eax, dword [0x4ae008]
xor eax, esp
mov dword [esp + 0x68], eax
push ebx
push esi
push edi
mov edi, dword [0x4b39cc]
mov dword [esp + 0x28], ecx
mov dword [edi + 0x204], 0xffffffff
cmp dword [0x4b39e0], 0
jne 0x450b3c
mov eax, dword [edi + 0x1e4]
cmp eax, 2
je 0x450b3c
cmp eax, 4
je 0x450b3c
cmp word [0x4b3b44], 0
jne 0x450b3c
mov ax, word [edi + 0x14]
mov word [edi + 0x1f8], ax
push dword [0x4b39a8]
call dword [sym.imp.USER32.dll_GetMenu]
test eax, eax
setne al
mov byte [edi + 0x391], al
push dword [0x4b39a4]
call dword [sym.imp.MMFS2.dll_Ordinal_16]
cmp dword [0x4b3b50], 0
xorps xmm0, xmm0
movzx eax, ax
movsd qword [esp + 0x20], xmm0
movsd xmm0, qword [0x4921a0]
mov dword [esp + 0x14], eax
mov dword [esp + 0x1c], 0
movsd qword [esp + 0x30], xmm0
jne 0x450626
mov eax, dword [edi + 0x37c]
test eax, eax
je 0x450626
test byte [eax], 1
je 0x450626
movd xmm2, dword [0x4b3b68]
movd xmm0, dword [0x4b3b6c]
cvtdq2pd xmm0, xmm0
cvtdq2pd xmm2, xmm2
movzx eax, word [eax + 0xc]
divsd xmm2, xmm0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
movsd xmm1, qword [0x492180]
mulsd xmm0, xmm2
mov dword [esp + 0x1c], 1
movsd qword [esp + 0x30], xmm2
divsd xmm0, qword [0x4921d0]
comisd xmm1, xmm0
movsd qword [esp + 0x20], xmm0
jbe 0x450626
movsd qword [esp + 0x20], xmm1
test byte [0x4b39b4], 0x10
je 0x45063d
push 4
push dword [0x4b399c]
call dword [sym.imp.MMFS2.dll_Ordinal_5]
push dword [0x4b39a8]
mov ebx, dword [sym.imp.USER32.dll_IsWindowVisible]
call ebx
test eax, eax
jne 0x450678
movzx eax, word [edi + 0x14]
test eax, 0x100
je 0x450673
test al, al
js 0x450673
call fcn.00451090
test byte [0x4b39b4], 0x10
je 0x450673
mov byte [edi + 0x391], 1
call fcn.00441d50
test byte [0x4b39b4], 0x10
je 0x45068b
or word [edi + 0x14], 2
call fcn.00441e80
push dword [0x4b39a8]
call ebx
test eax, eax
jne 0x4506ae
movzx eax, byte [edi + 0x15]
and eax, 2
or eax, 1
push eax
push dword [0x4b39a8]
call dword [sym.imp.USER32.dll_ShowWindow]
push 0x2c
lea esi, [edi + 0x208]
push 0
push esi
call fcn.004721e0
add esp, 0xc
mov dword [esi], 0x2c
push esi
push dword [0x4b39a8]
call dword [sym.imp.USER32.dll_GetWindowPlacement]
test byte [0x4b39b4], 0x10
mov byte [esp + 0x13], 0
je 0x45072c
mov ax, word [edi + 0x14]
mov ecx, 0xfeff
and ax, cx
mov ecx, 0x82
or ax, cx
mov word [edi + 0x14], ax
call fcn.00441e80
call fcn.00441d50
call fcn.00451280
push dword [0x4b39ac]
call ebx
mov ebx, dword [sym.imp.USER32.dll_ShowWindow]
test eax, eax
je 0x450732
push 0
push dword [0x4b39ac]
mov byte [esp + 0x1b], 1
call ebx
jmp 0x450732
mov ebx, dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [0x4b39a0]
mov eax, dword [eax + 0x6a]
mov dword [edi + 0x234], eax
mov eax, dword [0x4b39a0]
mov eax, dword [eax + 0x6e]
mov dword [edi + 0x238], eax
mov eax, dword [0x4b3b6c]
mov dword [esp + 0x2c], eax
mov eax, dword [0x4b3b68]
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x14]
or eax, 8
push eax
push dword [0x4b39a4]
call dword [sym.imp.MMFS2.dll_Ordinal_17]
cmp dword [edi + 0x23c], 0
mov esi, dword [edi + 0x1c8]
jne 0x4507cc
mov al, byte [0x4b39b4]
test al, 0x10
je 0x4507a0
test al, al
lea eax, [esp + 0x18]
jns 0x45079a
push 6
push 4
jmp 0x4507a8
push 5
push 4
jmp 0x4507a8
push 0
push 2
lea eax, [esp + 0x20]
push esi
push eax
call dword [sym.imp.MMFS2.dll_Ordinal_172]
call dword [sym.imp.MMFS2.dll_Ordinal_173]
push dword [esp + 0x18]
mov ecx, eax
push 0x20
push 0x20
mov dword [edi + 0x23c], eax
call dword [sym.imp.MMFS2.dll_Ordinal_372]
movsx eax, word [edi + 0x1c]
movsd xmm0, qword [esp + 0x30]
mov dword [esp + 0x40], eax
movsx eax, word [edi + 0x1e]
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x58], eax
movsd qword [esp + 0x60], xmm0
movsd xmm0, qword [esp + 0x20]
lea eax, [esp + 0x40]
push eax
mov dword [esp + 0x4c], esi
mov dword [esp + 0x50], 0x186a0
mov dword [esp + 0x54], 0x186a0
mov dword [esp + 0x58], 0
mov dword [esp + 0x60], 0
movsd qword [esp + 0x6c], xmm0
mov ecx, dword [edi + 0x23c]
push 0x4503a0
call dword [sym.imp.MMFS2.dll_Ordinal_418]
mov eax, dword [esp + 0x54]
test eax, eax
jne 0x4508a6
test byte [edi + 0x14], 0x10
je 0x4508eb
movsd xmm0, qword [esp + 0x30]
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x58], eax
movsd qword [esp + 0x60], xmm0
movsd xmm0, qword [esp + 0x20]
lea eax, [esp + 0x40]
push eax
mov dword [esp + 0x4c], esi
mov dword [esp + 0x50], 0x186a0
mov dword [esp + 0x54], 0x186a0
mov dword [esp + 0x60], 1
movsd qword [esp + 0x6c], xmm0
mov ecx, dword [edi + 0x23c]
push 0x4503a0
call dword [sym.imp.MMFS2.dll_Ordinal_418]
mov eax, dword [esp + 0x54]
test eax, eax
je 0x4508f2
mov edx, dword [esp + 0x50]
mov ecx, dword [esp + 0x4c]
cmp dword [0x4b3a9c], 0
je 0x4508d1
mov ecx, dword [edi + 0x23c]
push 1
call dword [sym.imp.MMFS2.dll_Ordinal_876]
mov eax, dword [esp + 0x54]
mov edx, dword [esp + 0x50]
mov ecx, dword [esp + 0x4c]
test byte [0x4b39b4], 0x10
push eax
push edx
push ecx
mov ecx, dword [edi + 0x23c]
je 0x450911
push dword [0x4b39ac]
jmp 0x450917
movzx eax, word [edi + 0x1f8]
mov ecx, dword [0x4b3b6c]
mov edx, dword [0x4b3b68]
mov eax, 0x20
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x50], edx
mov dword [esp + 0x54], eax
jmp 0x4508ae
push dword [0x4b39a8]
call dword [sym.imp.MMFS2.dll_Ordinal_750]
test eax, eax
je 0x450ae3
mov eax, dword [esp + 0x54]
mov dword [0x4b39e0], 1
mov dword [edi + 0x204], eax
cmp dword [0x4b39d0], 0
je 0x450962
push 0
push dword [0x4b39a4]
call dword [sym.imp.MMFS2.dll_Ordinal_34]
test eax, eax
je 0x450962
push dword [edi + 0x23c]
mov ecx, eax
call dword [sym.imp.MMFS2.dll_Ordinal_361]
cmp dword [esp + 0x28], 0
je 0x4509f5
mov ecx, dword [edi + 0x23c]
test ecx, ecx
je 0x4509f5
mov eax, dword [edi + 0x204]
add eax, 0xfffffff8
mov esi, 7
cmp eax, 0x18
ja case.0x450991.9
movzx eax, byte [eax + 0x450b68]
jmp dword [eax*4 + 0x450b50]
mov esi, 3
jmp case.0x450991.9
mov esi, 6
jmp case.0x450991.9
mov esi, 4
jmp case.0x450991.9
mov esi, 8
call dword [sym.imp.MMFS2.dll_Ordinal_493]
sub eax, 5
je 0x4509c6
dec eax
jne 0x4509c9
or esi, 0x80
or esi, 0x10
movzx eax, word [0x4b39b4]
cmp esi, eax
je 0x4509f5
push esi
push dword [0x4b399c]
call dword [sym.imp.MMFS2.dll_Ordinal_3]
mov word [0x4b39b4], ax
mov eax, dword [0x4b39b4]
and eax, 0xf
mov word [0x4b39b6], ax
mov ecx, dword [edi + 0x234]
sub ecx, dword [esp + 0x2c]
mov eax, dword [0x4b39a0]
add ecx, dword [0x4b3b6c]
push dword [esp + 0x14]
mov dword [eax + 0x6a], ecx
mov ecx, dword [edi + 0x238]
sub ecx, dword [esp + 0x40]
mov eax, dword [0x4b39a0]
add ecx, dword [0x4b3b68]
mov dword [eax + 0x6e], ecx
push dword [0x4b39a4]
mov eax, dword [sym.imp.MMFS2.dll_Ordinal_17]
call eax
push 4
push dword [0x4b3b68]
push dword [0x4b3b6c]
push 0
push 0
push 0
push dword [0x4b39a8]
call dword [sym.imp.USER32.dll_SetWindowPos]
test byte [0x4b39b4], 0x10
jne 0x450a83
push dword [0x4b39a8]
call dword [sym.imp.USER32.dll_IsZoomed]
test eax, eax
jne 0x450a83
push 3
push dword [0x4b39a8]
call ebx
push 1
push dword [0x4b39a8]
call ebx
mov eax, dword [edi + 0xb0]
test eax, eax
je 0x450ab3
push 0
push 0x401
push eax
call dword [sym.imp.USER32.dll_GetMenuState]
cmp eax, 0xffffffff
je 0x450ab3
push 8
push 0x401
push dword [edi + 0xb0]
call dword [sym.imp.USER32.dll_CheckMenuItem]
mov esi, dword [sym.imp.USER32.dll_InvalidateRect]
push 1
push 0
push dword [0x4b39ac]
call esi
push 1
push 0
push dword [0x4b39a8]
call esi
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x68]
xor ecx, esp
call fcn.0046d3f6
mov esp, ebp
pop ebp
ret
push dword [edi + 0x23c]
call dword [sym.imp.MMFS2.dll_Ordinal_174]
cmp byte [esp + 0x13], 0
mov dword [edi + 0x23c], 0
je 0x450b0a
push 5
push dword [0x4b39ac]
call ebx
test byte [edi + 0x1f8], 0x10
mov eax, dword [esp + 0x14]
je 0x450b1f
or word [edi + 0x14], 0x10
or eax, 2
push eax
push dword [0x4b39a4]
mov eax, dword [sym.imp.MMFS2.dll_Ordinal_17]
call eax
call fcn.00441e80
mov dword [0x4b39e0], 0
mov ecx, dword [esp + 0x74]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0046d3f6
mov esp, ebp
pop ebp
ret