Function at 0x450260
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 [0x4b39ac]
mov dword [esp + 0x28], ecx
mov dword [edi + 0x204], 0xffffffff
cmp dword [0x4b39c0], 0
jne 0x45089c
mov eax, dword [edi + 0x1e4]
cmp eax, 2
je 0x45089c
cmp eax, 4
je 0x45089c
cmp word [0x4b3b24], 0
jne 0x45089c
mov ax, word [edi + 0x14]
mov word [edi + 0x1f8], ax
push dword [0x4b3988]
call dword [sym.imp.USER32.dll_GetMenu]
test eax, eax
setne al
mov byte [edi + 0x391], al
push dword [0x4b3984]
call dword [sym.imp.MMFS2.dll_Ordinal_16]
cmp dword [0x4b3b30], 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 0x450386
mov eax, dword [edi + 0x37c]
test eax, eax
je 0x450386
test byte [eax], 1
je 0x450386
movd xmm2, dword [0x4b3b48]
movd xmm0, dword [0x4b3b4c]
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 0x450386
movsd qword [esp + 0x20], xmm1
test byte [0x4b3994], 0x10
je 0x45039d
push 4
push dword [0x4b397c]
call dword [sym.imp.MMFS2.dll_Ordinal_5]
push dword [0x4b3988]
mov ebx, dword [sym.imp.USER32.dll_IsWindowVisible]
call ebx
test eax, eax
jne 0x4503d8
movzx eax, word [edi + 0x14]
test eax, 0x100
je 0x4503d3
test al, al
js 0x4503d3
call fcn.00450df0
test byte [0x4b3994], 0x10
je 0x4503d3
mov byte [edi + 0x391], 1
call fcn.00441ab0
test byte [0x4b3994], 0x10
je 0x4503eb
or word [edi + 0x14], 2
call fcn.00441be0
push dword [0x4b3988]
call ebx
test eax, eax
jne 0x45040e
movzx eax, byte [edi + 0x15]
and eax, 2
or eax, 1
push eax
push dword [0x4b3988]
call dword [sym.imp.USER32.dll_ShowWindow]
push 0x2c
lea esi, [edi + 0x208]
push 0
push esi
call fcn.00471f40
add esp, 0xc
mov dword [esi], 0x2c
push esi
push dword [0x4b3988]
call dword [sym.imp.USER32.dll_GetWindowPlacement]
test byte [0x4b3994], 0x10
mov byte [esp + 0x13], 0
je 0x45048c
mov ax, word [edi + 0x14]
mov ecx, 0xfeff
and ax, cx
mov ecx, 0x82
or ax, cx
mov word [edi + 0x14], ax
call fcn.00441be0
call fcn.00441ab0
call fcn.00450fe0
push dword [0x4b398c]
call ebx
mov ebx, dword [sym.imp.USER32.dll_ShowWindow]
test eax, eax
je 0x450492
push 0
push dword [0x4b398c]
mov byte [esp + 0x1b], 1
call ebx
jmp 0x450492
mov ebx, dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [0x4b3980]
mov eax, dword [eax + 0x6a]
mov dword [edi + 0x234], eax
mov eax, dword [0x4b3980]
mov eax, dword [eax + 0x6e]
mov dword [edi + 0x238], eax
mov eax, dword [0x4b3b4c]
mov dword [esp + 0x2c], eax
mov eax, dword [0x4b3b48]
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x14]
or eax, 8
push eax
push dword [0x4b3984]
call dword [sym.imp.MMFS2.dll_Ordinal_17]
cmp dword [edi + 0x23c], 0
mov esi, dword [edi + 0x1c8]
jne 0x45052c
mov al, byte [0x4b3994]
test al, 0x10
je 0x450500
test al, al
lea eax, [esp + 0x18]
jns 0x4504fa
push 6
push 4
jmp 0x450508
push 5
push 4
jmp 0x450508
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 0x450100
call dword [sym.imp.MMFS2.dll_Ordinal_418]
mov eax, dword [esp + 0x54]
test eax, eax
jne 0x450606
test byte [edi + 0x14], 0x10
je 0x45064b
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 0x450100
call dword [sym.imp.MMFS2.dll_Ordinal_418]
mov eax, dword [esp + 0x54]
test eax, eax
je 0x450652
mov edx, dword [esp + 0x50]
mov ecx, dword [esp + 0x4c]
cmp dword [0x4b3a7c], 0
je 0x450631
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 [0x4b3994], 0x10
push eax
push edx
push ecx
mov ecx, dword [edi + 0x23c]
je 0x450671
push dword [0x4b398c]
jmp 0x450677
movzx eax, word [edi + 0x1f8]
mov ecx, dword [0x4b3b4c]
mov edx, dword [0x4b3b48]
mov eax, 0x20
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x50], edx
mov dword [esp + 0x54], eax
jmp 0x45060e
push dword [0x4b3988]
call dword [sym.imp.MMFS2.dll_Ordinal_750]
test eax, eax
je 0x450843
mov eax, dword [esp + 0x54]
mov dword [0x4b39c0], 1
mov dword [edi + 0x204], eax
cmp dword [0x4b39b0], 0
je 0x4506c2
push 0
push dword [0x4b3984]
call dword [sym.imp.MMFS2.dll_Ordinal_34]
test eax, eax
je 0x4506c2
push dword [edi + 0x23c]
mov ecx, eax
call dword [sym.imp.MMFS2.dll_Ordinal_361]
cmp dword [esp + 0x28], 0
je 0x450755
mov ecx, dword [edi + 0x23c]
test ecx, ecx
je 0x450755
mov eax, dword [edi + 0x204]
add eax, 0xfffffff8
mov esi, 7
cmp eax, 0x18
ja case.0x4506f1.9
movzx eax, byte [eax + 0x4508c8]
jmp dword [eax*4 + 0x4508b0]
mov esi, 3
jmp case.0x4506f1.9
mov esi, 6
jmp case.0x4506f1.9
mov esi, 4
jmp case.0x4506f1.9
mov esi, 8
call dword [sym.imp.MMFS2.dll_Ordinal_493]
sub eax, 5
je 0x450726
dec eax
jne 0x450729
or esi, 0x80
or esi, 0x10
movzx eax, word [0x4b3994]
cmp esi, eax
je 0x450755
push esi
push dword [0x4b397c]
call dword [sym.imp.MMFS2.dll_Ordinal_3]
mov word [0x4b3994], ax
mov eax, dword [0x4b3994]
and eax, 0xf
mov word [0x4b3996], ax
mov ecx, dword [edi + 0x234]
sub ecx, dword [esp + 0x2c]
mov eax, dword [0x4b3980]
add ecx, dword [0x4b3b4c]
push dword [esp + 0x14]
mov dword [eax + 0x6a], ecx
mov ecx, dword [edi + 0x238]
sub ecx, dword [esp + 0x40]
mov eax, dword [0x4b3980]
add ecx, dword [0x4b3b48]
mov dword [eax + 0x6e], ecx
push dword [0x4b3984]
mov eax, dword [sym.imp.MMFS2.dll_Ordinal_17]
call eax
push 4
push dword [0x4b3b48]
push dword [0x4b3b4c]
push 0
push 0
push 0
push dword [0x4b3988]
call dword [sym.imp.USER32.dll_SetWindowPos]
test byte [0x4b3994], 0x10
jne 0x4507e3
push dword [0x4b3988]
call dword [sym.imp.USER32.dll_IsZoomed]
test eax, eax
jne 0x4507e3
push 3
push dword [0x4b3988]
call ebx
push 1
push dword [0x4b3988]
call ebx
mov eax, dword [edi + 0xb0]
test eax, eax
je 0x450813
push 0
push 0x401
push eax
call dword [sym.imp.USER32.dll_GetMenuState]
cmp eax, 0xffffffff
je 0x450813
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 [0x4b398c]
call esi
push 1
push 0
push dword [0x4b3988]
call esi
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x68]
xor ecx, esp
call fcn.0046d146
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 0x45086a
push 5
push dword [0x4b398c]
call ebx
test byte [edi + 0x1f8], 0x10
mov eax, dword [esp + 0x14]
je 0x45087f
or word [edi + 0x14], 0x10
or eax, 2
push eax
push dword [0x4b3984]
mov eax, dword [sym.imp.MMFS2.dll_Ordinal_17]
call eax
call fcn.00441be0
mov dword [0x4b39c0], 0
mov ecx, dword [esp + 0x74]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0046d146
mov esp, ebp
pop ebp
ret