Function at 0x44fa90
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x6c
mov eax, dword [0x4a7ff8]
xor eax, esp
mov dword [esp + 0x68], eax
push ebx
push esi
push edi
mov edi, dword [0x4ad9ac]
mov dword [esp + 0x28], ecx
mov dword [edi + 0x204], 0xffffffff
cmp dword [0x4ad9c0], 0
jne 0x4500cc
mov eax, dword [edi + 0x1e4]
cmp eax, 2
je 0x4500cc
cmp eax, 4
je 0x4500cc
cmp word [0x4adb24], 0
jne 0x4500cc
mov ax, word [edi + 0x14]
mov word [edi + 0x1f8], ax
push dword [0x4ad988]
call dword [sym.imp.USER32.dll_GetMenu]
test eax, eax
setne al
mov byte [edi + 0x391], al
push dword [0x4ad984]
call dword [sym.imp.MMFS2.dll_Ordinal_16]
cmp dword [0x4adb30], 0
xorps xmm0, xmm0
movzx eax, ax
movsd qword [esp + 0x20], xmm0
movsd xmm0, qword [0x48c2f0]
mov dword [esp + 0x14], eax
mov dword [esp + 0x1c], 0
movsd qword [esp + 0x30], xmm0
jne 0x44fbb6
mov eax, dword [edi + 0x37c]
test eax, eax
je 0x44fbb6
test byte [eax], 1
je 0x44fbb6
movd xmm2, dword [0x4adb48]
movd xmm0, dword [0x4adb4c]
cvtdq2pd xmm0, xmm0
cvtdq2pd xmm2, xmm2
movzx eax, word [eax + 0xc]
divsd xmm2, xmm0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
movsd xmm1, qword [0x48c2d0]
mulsd xmm0, xmm2
mov dword [esp + 0x1c], 1
movsd qword [esp + 0x30], xmm2
divsd xmm0, qword [0x48c320]
comisd xmm1, xmm0
movsd qword [esp + 0x20], xmm0
jbe 0x44fbb6
movsd qword [esp + 0x20], xmm1
test byte [0x4ad994], 0x10
je 0x44fbcd
push 4
push dword [0x4ad97c]
call dword [sym.imp.MMFS2.dll_Ordinal_5]
push dword [0x4ad988]
mov ebx, dword [sym.imp.USER32.dll_IsWindowVisible]
call ebx
test eax, eax
jne 0x44fc08
movzx eax, word [edi + 0x14]
test eax, 0x100
je 0x44fc03
test al, al
js 0x44fc03
call fcn.00450620
test byte [0x4ad994], 0x10
je 0x44fc03
mov byte [edi + 0x391], 1
call fcn.00441350
test byte [0x4ad994], 0x10
je 0x44fc1b
or word [edi + 0x14], 2
call fcn.00441480
push dword [0x4ad988]
call ebx
test eax, eax
jne 0x44fc3e
movzx eax, byte [edi + 0x15]
and eax, 2
or eax, 1
push eax
push dword [0x4ad988]
call dword [sym.imp.USER32.dll_ShowWindow]
push 0x2c
lea esi, [edi + 0x208]
push 0
push esi
call fcn.00470860
add esp, 0xc
mov dword [esi], 0x2c
push esi
push dword [0x4ad988]
call dword [sym.imp.USER32.dll_GetWindowPlacement]
test byte [0x4ad994], 0x10
mov byte [esp + 0x13], 0
je 0x44fcbc
mov ax, word [edi + 0x14]
mov ecx, 0xfeff
and ax, cx
mov ecx, 0x82
or ax, cx
mov word [edi + 0x14], ax
call fcn.00441480
call fcn.00441350
call fcn.00450810
push dword [0x4ad98c]
call ebx
mov ebx, dword [sym.imp.USER32.dll_ShowWindow]
test eax, eax
je 0x44fcc2
push 0
push dword [0x4ad98c]
mov byte [esp + 0x1b], 1
call ebx
jmp 0x44fcc2
mov ebx, dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [0x4ad980]
mov eax, dword [eax + 0x6a]
mov dword [edi + 0x234], eax
mov eax, dword [0x4ad980]
mov eax, dword [eax + 0x6e]
mov dword [edi + 0x238], eax
mov eax, dword [0x4adb4c]
mov dword [esp + 0x2c], eax
mov eax, dword [0x4adb48]
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x14]
or eax, 8
push eax
push dword [0x4ad984]
call dword [sym.imp.MMFS2.dll_Ordinal_17]
cmp dword [edi + 0x23c], 0
mov esi, dword [edi + 0x1c8]
jne 0x44fd5c
mov al, byte [0x4ad994]
test al, 0x10
je 0x44fd30
test al, al
lea eax, [esp + 0x18]
jns 0x44fd2a
push 6
push 4
jmp 0x44fd38
push 5
push 4
jmp 0x44fd38
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 0x44f920
call dword [sym.imp.MMFS2.dll_Ordinal_418]
mov eax, dword [esp + 0x54]
test eax, eax
jne 0x44fe36
test byte [edi + 0x14], 0x10
je 0x44fe7b
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 0x44f920
call dword [sym.imp.MMFS2.dll_Ordinal_418]
mov eax, dword [esp + 0x54]
test eax, eax
je 0x44fe82
mov edx, dword [esp + 0x50]
mov ecx, dword [esp + 0x4c]
cmp dword [0x4ada7c], 0
je 0x44fe61
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 [0x4ad994], 0x10
push eax
push edx
push ecx
mov ecx, dword [edi + 0x23c]
je 0x44fea1
push dword [0x4ad98c]
jmp 0x44fea7
movzx eax, word [edi + 0x1f8]
mov ecx, dword [0x4adb4c]
mov edx, dword [0x4adb48]
mov eax, 0x20
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x50], edx
mov dword [esp + 0x54], eax
jmp 0x44fe3e
push dword [0x4ad988]
call dword [sym.imp.MMFS2.dll_Ordinal_750]
test eax, eax
je 0x450073
mov eax, dword [esp + 0x54]
mov dword [0x4ad9c0], 1
mov dword [edi + 0x204], eax
cmp dword [0x4ad9b0], 0
je 0x44fef2
push 0
push dword [0x4ad984]
call dword [sym.imp.MMFS2.dll_Ordinal_34]
test eax, eax
je 0x44fef2
push dword [edi + 0x23c]
mov ecx, eax
call dword [sym.imp.MMFS2.dll_Ordinal_361]
cmp dword [esp + 0x28], 0
je 0x44ff85
mov ecx, dword [edi + 0x23c]
test ecx, ecx
je 0x44ff85
mov eax, dword [edi + 0x204]
add eax, 0xfffffff8
mov esi, 7
cmp eax, 0x18
ja case.0x44ff21.9
movzx eax, byte [eax + 0x4500f8]
jmp dword [eax*4 + 0x4500e0]
mov esi, 3
jmp case.0x44ff21.9
mov esi, 6
jmp case.0x44ff21.9
mov esi, 4
jmp case.0x44ff21.9
mov esi, 8
call dword [sym.imp.MMFS2.dll_Ordinal_493]
sub eax, 5
je 0x44ff56
dec eax
jne 0x44ff59
or esi, 0x80
or esi, 0x10
movzx eax, word [0x4ad994]
cmp esi, eax
je 0x44ff85
push esi
push dword [0x4ad97c]
call dword [sym.imp.MMFS2.dll_Ordinal_3]
mov word [0x4ad994], ax
mov eax, dword [0x4ad994]
and eax, 0xf
mov word [0x4ad996], ax
mov ecx, dword [edi + 0x234]
sub ecx, dword [esp + 0x2c]
mov eax, dword [0x4ad980]
add ecx, dword [0x4adb4c]
push dword [esp + 0x14]
mov dword [eax + 0x6a], ecx
mov ecx, dword [edi + 0x238]
sub ecx, dword [esp + 0x40]
mov eax, dword [0x4ad980]
add ecx, dword [0x4adb48]
mov dword [eax + 0x6e], ecx
push dword [0x4ad984]
mov eax, dword [sym.imp.MMFS2.dll_Ordinal_17]
call eax
push 4
push dword [0x4adb48]
push dword [0x4adb4c]
push 0
push 0
push 0
push dword [0x4ad988]
call dword [sym.imp.USER32.dll_SetWindowPos]
test byte [0x4ad994], 0x10
jne 0x450013
push dword [0x4ad988]
call dword [sym.imp.USER32.dll_IsZoomed]
test eax, eax
jne 0x450013
push 3
push dword [0x4ad988]
call ebx
push 1
push dword [0x4ad988]
call ebx
mov eax, dword [edi + 0xb0]
test eax, eax
je 0x450043
push 0
push 0x401
push eax
call dword [sym.imp.USER32.dll_GetMenuState]
cmp eax, 0xffffffff
je 0x450043
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 [0x4ad98c]
call esi
push 1
push 0
push dword [0x4ad988]
call esi
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x68]
xor ecx, esp
call fcn.0046c986
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 0x45009a
push 5
push dword [0x4ad98c]
call ebx
test byte [edi + 0x1f8], 0x10
mov eax, dword [esp + 0x14]
je 0x4500af
or word [edi + 0x14], 0x10
or eax, 2
push eax
push dword [0x4ad984]
mov eax, dword [sym.imp.MMFS2.dll_Ordinal_17]
call eax
call fcn.00441480
mov dword [0x4ad9c0], 0
mov ecx, dword [esp + 0x74]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0046c986
mov esp, ebp
pop ebp
ret