Function at 0x44f8f0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x64
mov eax, dword [0x4a6ff8]
xor eax, esp
mov dword [esp + 0x60], eax
mov eax, dword [0x4ac9ac]
push ebx
push esi
mov dword [eax + 0x204], 0xffffffff
cmp dword [0x4ac9c0], 0
push edi
mov dword [esp + 0x24], ecx
jne 0x44ffc4
mov edx, dword [0x4ac9ac]
mov eax, dword [edx + 0x1e4]
cmp eax, 2
je 0x44ffc4
cmp eax, 4
je 0x44ffc4
cmp word [0x4acb24], 0
jne 0x44ffc4
mov ax, word [edx + 0x14]
mov word [edx + 0x1f8], ax
push dword [0x4ac988]
call dword [sym.imp.USER32.dll_GetMenu]
test eax, eax
mov eax, dword [0x4ac9ac]
setne cl
mov byte [eax + 0x391], cl
push dword [0x4ac984]
call dword [0x4ab724]
cmp dword [0x4acb30], 0
xorps xmm0, xmm0
movsd qword [esp + 0x18], xmm0
movsd xmm0, qword [0x48b2f0]
movzx edi, ax
mov dword [esp + 0x14], 0
movsd qword [esp + 0x28], xmm0
jne 0x44fa42
mov ecx, dword [0x4ac9ac]
mov eax, dword [ecx + 0x37c]
test eax, eax
je 0x44fa42
test byte [eax], 1
je 0x44fa42
movd xmm1, dword [0x4acb48]
movd xmm0, dword [0x4acb4c]
cvtdq2pd xmm0, xmm0
cvtdq2pd xmm1, xmm1
movzx eax, word [eax + 0xc]
divsd xmm1, xmm0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
movsd qword [esp + 0x28], xmm1
mulsd xmm0, xmm1
movsd xmm1, qword [0x48b2d0]
mov dword [esp + 0x14], 1
divsd xmm0, qword [0x48b320]
comisd xmm1, xmm0
movsd qword [esp + 0x18], xmm0
jbe 0x44fa26
movsd qword [esp + 0x18], xmm1
and edi, 0xfffd
mov eax, 0xffef
and word [ecx + 0x14], ax
push edi
push dword [0x4ac984]
call dword [0x4ab720]
test byte [0x4ac994], 0x10
je 0x44fa59
push 4
push dword [0x4ac97c]
call dword [0x4ab9cc]
push dword [0x4ac988]
mov esi, dword [sym.imp.USER32.dll_IsWindowVisible]
call esi
test eax, eax
jne 0x44fa9e
mov eax, dword [0x4ac9ac]
movzx eax, word [eax + 0x14]
test eax, 0x100
je 0x44fa99
test al, al
js 0x44fa99
call fcn.00450550
test byte [0x4ac994], 0x10
je 0x44fa99
mov eax, dword [0x4ac9ac]
mov byte [eax + 0x391], 1
call fcn.004411d0
test byte [0x4ac994], 0x10
je 0x44fab6
mov eax, dword [0x4ac9ac]
or word [eax + 0x14], 2
call fcn.00441300
push dword [0x4ac988]
call esi
mov ebx, dword [sym.imp.USER32.dll_ShowWindow]
test eax, eax
jne 0x44fae0
mov eax, dword [0x4ac9ac]
movzx eax, byte [eax + 0x15]
and eax, 2
or eax, 1
push eax
push dword [0x4ac988]
call ebx
mov eax, dword [0x4ac9ac]
push 0x2c
add eax, 0x208
push 0
push eax
call fcn.00470670
mov eax, dword [0x4ac9ac]
add esp, 0xc
mov dword [eax + 0x208], 0x2c
mov eax, dword [0x4ac9ac]
add eax, 0x208
push eax
push dword [0x4ac988]
call dword [sym.imp.USER32.dll_GetWindowPlacement]
test byte [0x4ac994], 0x10
mov byte [esp + 0xf], 0
je 0x44fb7b
mov eax, dword [0x4ac9ac]
mov ecx, 0xfeff
or word [eax + 0x14], 2
mov eax, dword [0x4ac9ac]
and word [eax + 0x14], cx
mov eax, dword [0x4ac9ac]
mov ecx, 0x80
or word [eax + 0x14], cx
call fcn.00441300
call fcn.004411d0
call fcn.00450740
push dword [0x4ac98c]
call esi
test eax, eax
je 0x44fb7b
push 0
push dword [0x4ac98c]
mov byte [esp + 0x17], 1
call ebx
mov eax, dword [0x4ac980]
mov ecx, dword [eax + 0x6a]
mov eax, dword [0x4ac9ac]
mov dword [eax + 0x234], ecx
mov eax, dword [0x4ac980]
mov ecx, dword [eax + 0x6e]
mov eax, dword [0x4ac9ac]
mov dword [eax + 0x238], ecx
mov eax, dword [0x4acb4c]
mov dword [esp + 0x20], eax
mov eax, dword [0x4acb48]
mov dword [esp + 0x34], eax
mov eax, edi
or eax, 8
push eax
push dword [0x4ac984]
call dword [0x4ab720]
mov ecx, dword [0x4ac9ac]
cmp dword [ecx + 0x23c], 0
mov esi, dword [ecx + 0x1c8]
jne 0x44fc39
mov al, byte [0x4ac994]
test al, 0x10
je 0x44fbf7
test al, al
lea eax, [esp + 0x10]
jns 0x44fbf1
push 6
push 4
jmp 0x44fbff
push 5
push 4
jmp 0x44fbff
push 0
push 2
lea eax, [esp + 0x18]
push esi
push eax
call dword [0x4ab580]
call dword [0x4ab6b8]
mov ecx, dword [0x4ac9ac]
mov dword [ecx + 0x23c], eax
push dword [esp + 0x10]
mov ecx, dword [0x4ac9ac]
push 0x20
mov ecx, dword [ecx + 0x23c]
push 0x20
call dword [0x4ab6c8]
mov ecx, dword [0x4ac9ac]
movsx eax, word [ecx + 0x1c]
movsd xmm0, qword [esp + 0x28]
mov dword [esp + 0x38], eax
movsx eax, word [ecx + 0x1e]
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0x50], eax
movsd qword [esp + 0x58], xmm0
movsd xmm0, qword [esp + 0x18]
lea eax, [esp + 0x38]
push eax
mov dword [esp + 0x44], esi
mov dword [esp + 0x48], 0x186a0
mov dword [esp + 0x4c], 0x186a0
mov dword [esp + 0x50], 0
mov dword [esp + 0x58], 0
movsd qword [esp + 0x64], xmm0
mov ecx, dword [ecx + 0x23c]
push 0x44f790
call dword [0x4ab9d0]
mov eax, dword [esp + 0x4c]
test eax, eax
jne 0x44fd20
mov eax, dword [0x4ac9ac]
test byte [eax + 0x14], 0x10
je 0x44ff66
mov ecx, dword [esp + 0x14]
movsd xmm0, qword [esp + 0x28]
mov dword [esp + 0x50], ecx
movsd qword [esp + 0x58], xmm0
movsd xmm0, qword [esp + 0x18]
lea ecx, [esp + 0x38]
push ecx
mov dword [esp + 0x44], esi
mov dword [esp + 0x48], 0x186a0
mov dword [esp + 0x4c], 0x186a0
mov dword [esp + 0x50], 0
mov dword [esp + 0x58], 1
movsd qword [esp + 0x64], xmm0
mov ecx, dword [eax + 0x23c]
push 0x44f790
call dword [0x4ab9d0]
mov eax, dword [esp + 0x4c]
test eax, eax
je 0x44ff61
cmp dword [0x4aca7c], 0
je 0x44fd41
mov ecx, dword [0x4ac9ac]
push 1
mov ecx, dword [ecx + 0x23c]
call dword [0x4ab634]
mov eax, dword [esp + 0x4c]
test byte [0x4ac994], 0x10
mov ecx, dword [0x4ac9ac]
push eax
push dword [esp + 0x4c]
mov ecx, dword [ecx + 0x23c]
push dword [esp + 0x4c]
je 0x44fd67
push dword [0x4ac98c]
jmp 0x44fd6d
push dword [0x4ac988]
call dword [0x4ab9d4]
test eax, eax
je 0x44ff61
mov eax, dword [0x4ac9ac]
mov ecx, dword [esp + 0x4c]
mov dword [0x4ac9c0], 1
mov dword [eax + 0x204], ecx
cmp dword [0x4ac9b0], 0
je 0x44fdc3
push 0
push dword [0x4ac984]
call dword [0x4ab5ec]
test eax, eax
je 0x44fdc3
mov ecx, dword [0x4ac9ac]
push dword [ecx + 0x23c]
mov ecx, eax
call dword [0x4ab70c]
cmp dword [esp + 0x24], 0
je 0x44fe62
mov ecx, dword [0x4ac9ac]
mov edx, dword [ecx + 0x23c]
test edx, edx
je 0x44fe68
mov eax, dword [ecx + 0x204]
add eax, 0xfffffff8
mov esi, 7
cmp eax, 0x18
ja case.0x44fdfc.9
movzx eax, byte [eax + 0x44fff0]
jmp dword [eax*4 + 0x44ffd8]
mov esi, 3
jmp case.0x44fdfc.9
mov esi, 6
jmp case.0x44fdfc.9
mov esi, 4
jmp case.0x44fdfc.9
mov esi, 8
mov ecx, edx
call dword [0x4ab728]
sub eax, 5
je 0x44fe33
dec eax
jne 0x44fe36
or esi, 0x80
or esi, 0x10
movzx eax, word [0x4ac994]
cmp esi, eax
je 0x44fe62
push esi
push dword [0x4ac97c]
call dword [0x4ab57c]
mov word [0x4ac994], ax
mov eax, dword [0x4ac994]
and eax, 0xf
mov word [0x4ac996], ax
mov ecx, dword [0x4ac9ac]
mov ecx, dword [ecx + 0x234]
sub ecx, dword [esp + 0x20]
mov eax, dword [0x4ac980]
add ecx, dword [0x4acb4c]
push edi
mov dword [eax + 0x6a], ecx
mov eax, dword [0x4ac9ac]
mov ecx, dword [eax + 0x238]
sub ecx, dword [esp + 0x38]
mov eax, dword [0x4ac980]
add ecx, dword [0x4acb48]
mov dword [eax + 0x6e], ecx
push dword [0x4ac984]
call dword [0x4ab720]
push 4
push dword [0x4acb48]
push dword [0x4acb4c]
push 0
push 0
push 0
push dword [0x4ac988]
call dword [sym.imp.USER32.dll_SetWindowPos]
test byte [0x4ac994], 0x10
jne 0x44fef7
push dword [0x4ac988]
call dword [sym.imp.USER32.dll_IsZoomed]
test eax, eax
jne 0x44fef7
push 3
push dword [0x4ac988]
call ebx
push 1
push dword [0x4ac988]
call ebx
mov eax, dword [0x4ac9ac]
mov eax, dword [eax + 0xb0]
test eax, eax
je 0x44ff31
push 0
push 0x401
push eax
call dword [sym.imp.USER32.dll_GetMenuState]
cmp eax, 0xffffffff
je 0x44ff31
mov eax, dword [0x4ac9ac]
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 [0x4ac98c]
call esi
push 1
push 0
push dword [0x4ac988]
call esi
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x60]
xor ecx, esp
call fcn.0046c796
mov esp, ebp
pop ebp
ret
mov eax, dword [0x4ac9ac]
push dword [eax + 0x23c]
call dword [0x4ab6a0]
cmp byte [esp + 0xf], 0
mov eax, dword [0x4ac9ac]
mov dword [eax + 0x23c], 0
je 0x44ff92
push 5
push dword [0x4ac98c]
call ebx
mov eax, dword [0x4ac9ac]
test byte [eax + 0x1f8], 0x10
je 0x44ffa8
or word [eax + 0x14], 0x10
or edi, 2
push edi
push dword [0x4ac984]
call dword [0x4ab720]
call fcn.00441300
mov dword [0x4ac9c0], 0
mov ecx, dword [esp + 0x6c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0046c796
mov esp, ebp
pop ebp
ret