Function at 0x44e410
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
mov eax, dword [0x4a6110]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x4a7b6c]
mov dword [eax + 0x204], 0xffffffff
cmp dword [0x4a7b80], 0
jne 0x44e9f7
mov ecx, dword [0x4a7b6c]
mov eax, dword [ecx + 0x1e4]
cmp eax, 2
je 0x44e9f7
cmp eax, 4
je 0x44e9f7
cmp word [0x4a7cdc], 0
jne 0x44e9f7
mov ax, word [ecx + 0x14]
push ebx
mov word [ecx + 0x1f8], ax
push dword [0x4a7b48]
call dword [sym.imp.USER32.dll_GetMenu]
test eax, eax
mov eax, dword [0x4a7b6c]
setne cl
mov byte [eax + 0x391], cl
push dword [0x4a7b44]
call sub.MMFS2.dll_Ordinal_16
test byte [0x4a7b54], 0x10
movzx ebx, ax
je 0x44e4b4
push 4
push dword [0x4a7b3c]
call sub.MMFS2.dll_Ordinal_5
push esi
push dword [0x4a7b48]
mov esi, dword [sym.imp.USER32.dll_IsWindowVisible]
call esi
test eax, eax
jne 0x44e4fa
mov eax, dword [0x4a7b6c]
movzx eax, word [eax + 0x14]
test eax, 0x100
je 0x44e4f5
test al, al
js 0x44e4f5
call fcn.0044eb80
test byte [0x4a7b54], 0x10
je 0x44e4f5
mov eax, dword [0x4a7b6c]
mov byte [eax + 0x391], 1
call fcn.0043c8b0
test byte [0x4a7b54], 0x10
je 0x44e512
mov eax, dword [0x4a7b6c]
or word [eax + 0x14], 2
call fcn.0043c780
push edi
push dword [0x4a7b48]
call esi
mov edi, dword [sym.imp.USER32.dll_ShowWindow]
test eax, eax
jne 0x44e53d
mov eax, dword [0x4a7b6c]
movzx eax, byte [eax + 0x15]
and eax, 2
or eax, 1
push eax
push dword [0x4a7b48]
call edi
mov eax, dword [0x4a7b6c]
push 0x2c
add eax, 0x208
push 0
push eax
call fcn.00468a80
mov eax, dword [0x4a7b6c]
add esp, 0xc
mov dword [eax + 0x208], 0x2c
mov eax, dword [0x4a7b6c]
add eax, 0x208
push eax
push dword [0x4a7b48]
call dword [sym.imp.USER32.dll_GetWindowPlacement]
test byte [0x4a7b54], 0x10
mov byte [ebp - 0x35], 0
je 0x44e5d6
mov eax, dword [0x4a7b6c]
mov ecx, 0xfeff
or word [eax + 0x14], 2
mov eax, dword [0x4a7b6c]
and word [eax + 0x14], cx
mov eax, dword [0x4a7b6c]
mov ecx, 0x80
or word [eax + 0x14], cx
call fcn.0043c780
call fcn.0043c8b0
call fcn.0044b9d0
push dword [0x4a7b4c]
call esi
test eax, eax
je 0x44e5d6
push 0
push dword [0x4a7b4c]
mov byte [ebp - 0x35], 1
call edi
mov eax, dword [0x4a7b40]
mov ecx, dword [eax + 0x6a]
mov eax, dword [0x4a7b6c]
mov dword [eax + 0x234], ecx
mov eax, dword [0x4a7b40]
mov ecx, dword [eax + 0x6e]
mov eax, dword [0x4a7b6c]
mov dword [eax + 0x238], ecx
mov eax, dword [0x4a7d00]
mov dword [ebp - 0x40], eax
mov eax, dword [0x4a7d04]
mov dword [ebp - 0x44], eax
mov eax, ebx
or eax, 8
push eax
push dword [0x4a7b44]
call sub.MMFS2.dll_Ordinal_17
mov ecx, dword [0x4a7b6c]
cmp dword [ecx + 0x23c], 0
mov esi, dword [ecx + 0x1c8]
jne 0x44e68e
mov al, byte [0x4a7b54]
test al, 0x10
je 0x44e64e
test al, al
lea eax, [ebp - 0x3c]
jns 0x44e648
push 6
push 4
jmp 0x44e655
push 5
push 4
jmp 0x44e655
push 0
push 2
lea eax, [ebp - 0x3c]
push esi
push eax
call dword [sym.imp.MMFS2.dll_Ordinal_172]
call dword [sym.imp.MMFS2.dll_Ordinal_173]
mov ecx, dword [0x4a7b6c]
mov dword [ecx + 0x23c], eax
push dword [ebp - 0x3c]
mov ecx, dword [0x4a7b6c]
push 0x20
mov ecx, dword [ecx + 0x23c]
push 0x20
call dword [sym.imp.MMFS2.dll_Ordinal_372]
mov ecx, dword [0x4a7b6c]
movsx eax, word [ecx + 0x1c]
movsd xmm0, qword [0x481558]
mov dword [ebp - 0x34], eax
movsx eax, word [ecx + 0x1e]
mov dword [ebp - 0x30], eax
movsd qword [ebp - 0x14], xmm0
lea eax, [ebp - 0x34]
xorps xmm0, xmm0
push eax
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x28], 0x186a0
mov dword [ebp - 0x24], 0x186a0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
movsd qword [ebp - 0xc], xmm0
mov ecx, dword [ecx + 0x23c]
push 0x44b590
call dword [sym.imp.MMFS2.dll_Ordinal_418]
mov eax, dword [ebp - 0x20]
test eax, eax
jne 0x44e75d
mov eax, dword [0x4a7b6c]
test byte [eax + 0x14], 0x10
je 0x44e998
movsd xmm0, qword [0x481558]
movsd qword [ebp - 0x14], xmm0
lea ecx, [ebp - 0x34]
xorps xmm0, xmm0
push ecx
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x28], 0x186a0
mov dword [ebp - 0x24], 0x186a0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 1
movsd qword [ebp - 0xc], xmm0
mov ecx, dword [eax + 0x23c]
push 0x44b590
call dword [sym.imp.MMFS2.dll_Ordinal_418]
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x44e993
cmp dword [0x4a7c3c], 0
je 0x44e77d
mov ecx, dword [0x4a7b6c]
push 1
mov ecx, dword [ecx + 0x23c]
call dword [sym.imp.MMFS2.dll_Ordinal_876]
mov eax, dword [ebp - 0x20]
test byte [0x4a7b54], 0x10
mov ecx, dword [0x4a7b6c]
push eax
push dword [ebp - 0x24]
mov ecx, dword [ecx + 0x23c]
push dword [ebp - 0x28]
je 0x44e7a1
push dword [0x4a7b4c]
jmp 0x44e7a7
push dword [0x4a7b48]
call dword [sym.imp.MMFS2.dll_Ordinal_750]
test eax, eax
je 0x44e993
mov eax, dword [0x4a7b6c]
mov ecx, dword [ebp - 0x20]
mov dword [0x4a7b80], 1
mov dword [eax + 0x204], ecx
cmp dword [0x4a7b70], 0
je 0x44e7fb
push 0
push dword [0x4a7b44]
call sub.MMFS2.dll_Ordinal_34
test eax, eax
je 0x44e7fb
mov ecx, dword [0x4a7b6c]
push dword [ecx + 0x23c]
mov ecx, eax
call dword [sym.imp.MMFS2.dll_Ordinal_361]
cmp dword [ebp + 8], 0
je 0x44e898
mov ecx, dword [0x4a7b6c]
mov edx, dword [ecx + 0x23c]
test edx, edx
je 0x44e89e
mov eax, dword [ecx + 0x204]
add eax, 0xfffffff8
mov esi, 7
cmp eax, 0x18
ja case.0x44e833.9
movzx eax, byte [eax + 0x44ea20]
jmp dword [eax*4 + 0x44ea08]
mov esi, 3
jmp case.0x44e833.9
mov esi, 6
jmp case.0x44e833.9
mov esi, 4
jmp case.0x44e833.9
mov esi, 8
mov ecx, edx
call dword [sym.imp.MMFS2.dll_Ordinal_493]
sub eax, 5
je 0x44e86a
dec eax
jne 0x44e86d
or esi, 0x80
or esi, 0x10
movzx eax, word [0x4a7b54]
cmp esi, eax
je 0x44e898
push esi
push dword [0x4a7b3c]
call sub.MMFS2.dll_Ordinal_3
mov word [0x4a7b54], ax
mov eax, dword [0x4a7b54]
and eax, 0xf
mov word [0x4a7b56], ax
mov ecx, dword [0x4a7b6c]
mov ecx, dword [ecx + 0x234]
sub ecx, dword [ebp - 0x40]
mov eax, dword [0x4a7b40]
add ecx, dword [0x4a7d00]
push ebx
mov dword [eax + 0x6a], ecx
mov eax, dword [0x4a7b6c]
mov ecx, dword [eax + 0x238]
sub ecx, dword [ebp - 0x44]
mov eax, dword [0x4a7b40]
add ecx, dword [0x4a7d04]
mov dword [eax + 0x6e], ecx
push dword [0x4a7b44]
call sub.MMFS2.dll_Ordinal_17
push 4
push dword [0x4a7d04]
push dword [0x4a7d00]
push 0
push 0
push 0
push dword [0x4a7b48]
call dword [sym.imp.USER32.dll_SetWindowPos]
test byte [0x4a7b54], 0x10
jne 0x44e92a
push dword [0x4a7b48]
call dword [sym.imp.USER32.dll_IsZoomed]
test eax, eax
jne 0x44e92a
push 3
push dword [0x4a7b48]
call edi
push 1
push dword [0x4a7b48]
call edi
mov eax, dword [0x4a7b6c]
mov eax, dword [eax + 0xb0]
test eax, eax
je 0x44e964
push 0
push 0x401
push eax
call dword [sym.imp.USER32.dll_GetMenuState]
cmp eax, 0xffffffff
je 0x44e964
mov eax, dword [0x4a7b6c]
push 8
push 0x401
push dword [eax + 0xb0]
call dword [sym.imp.USER32.dll_CheckMenuItem]
mov esi, dword [sym.imp.USER32.dll_InvalidateRect]
push 1
push 0
push dword [0x4a7b4c]
call esi
push 1
push 0
push dword [0x4a7b48]
call esi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00468a6b
mov esp, ebp
pop ebp
ret
mov eax, dword [0x4a7b6c]
push dword [eax + 0x23c]
call dword [sym.imp.MMFS2.dll_Ordinal_174]
cmp byte [ebp - 0x35], 0
mov eax, dword [0x4a7b6c]
mov dword [eax + 0x23c], 0
je 0x44e9c3
push 5
push dword [0x4a7b4c]
call edi
mov eax, dword [0x4a7b6c]
test byte [eax + 0x1f8], 0x10
je 0x44e9d9
or word [eax + 0x14], 0x10
or ebx, 2
push ebx
push dword [0x4a7b44]
call sub.MMFS2.dll_Ordinal_17
call fcn.0043c780
pop edi
pop esi
mov dword [0x4a7b80], 0
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00468a6b
mov esp, ebp
pop ebp
ret