Function at 0x49a5b0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov dword [ebp - 0xc], 0
cmp dword [0x552c10], 2
jne 0x49a600
movsd xmm0, qword [0x4f2cf8]
subsd xmm0, qword [0x4f2d38]
comisd xmm0, xmmword [0x4cba18]
jbe 0x49a5f0
movss xmm0, dword [0x4cb710]
movss dword [0x552c2c], xmm0
movsd xmm0, qword [0x4f2cf8]
movsd qword [0x4f2d38], xmm0
cmp dword [ebp + 8], 0
je 0x49a62b
mov eax, dword [ebp + 8]
push eax
call fcn.004b5f60
add esp, 4
cmp eax, 0xfe
jbe 0x49a62b
mov ecx, 1
imul ecx, ecx, 0xfe
mov edx, dword [ebp + 8]
mov byte [edx + ecx], 0x30
cmp dword [ebp + 0xc], 0
je 0x49a656
mov eax, dword [ebp + 0xc]
push eax
call fcn.004b5f60
add esp, 4
cmp eax, 0xfe
jbe 0x49a656
mov ecx, 1
imul ecx, ecx, 0xfe
mov edx, dword [ebp + 0xc]
mov byte [edx + ecx], 0x30
cmp dword [ebp + 0x10], 0
je 0x49a681
mov eax, dword [ebp + 0x10]
push eax
call fcn.004b5f60
add esp, 4
cmp eax, 0xfe
jbe 0x49a681
mov ecx, 1
imul ecx, ecx, 0xfe
mov edx, dword [ebp + 0x10]
mov byte [edx + ecx], 0x30
cmp dword [0x552608], 0
jne 0x49a691
xor eax, eax
jmp 0x49a82c
cmp dword [0x552c18], 0
jne 0x49a6b7
push 5
mov eax, dword [0x552608]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
call fcn.00487320
mov dword [0x552c18], 1
cmp dword [ebp + 8], 0
je 0x49a6fa
push 4
push 0x4f2d40
mov ecx, dword [ebp + 8]
push ecx
call fcn.004b6970
add esp, 0xc
test eax, eax
jne 0x49a6e9
push 0x552610
mov edx, dword [ebp + 8]
push edx
push 0
call fcn.00475ed0
add esp, 0xc
jmp 0x49a6fa
mov eax, dword [ebp + 8]
push eax
push 0x552610
call fcn.004b5e60
add esp, 8
cmp dword [ebp + 0xc], 0
je 0x49a73d
push 4
push 0x4f2d48
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.004b6970
add esp, 0xc
test eax, eax
jne 0x49a72c
push 0x552810
mov edx, dword [ebp + 0xc]
push edx
push 0
call fcn.00475ed0
add esp, 0xc
jmp 0x49a73d
mov eax, dword [ebp + 0xc]
push eax
push 0x552810
call fcn.004b5e60
add esp, 8
cmp dword [ebp + 0x10], 0
je 0x49a780
push 4
push 0x4f2d50
mov ecx, dword [ebp + 0x10]
push ecx
call fcn.004b6970
add esp, 0xc
test eax, eax
jne 0x49a76f
push 0x552a10
mov edx, dword [ebp + 0x10]
push edx
push 0
call fcn.00475ed0
add esp, 0xc
jmp 0x49a780
mov eax, dword [ebp + 0x10]
push eax
push 0x552a10
call fcn.004b5e60
add esp, 8
call fcn.0049f460
fstp dword [ebp - 4]
movss xmm0, dword [ebp - 4]
subss xmm0, dword [0x552c2c]
movss xmm1, dword [0x4cba10]
comiss xmm1, xmm0
jbe 0x49a7a9
xor eax, eax
jmp 0x49a82c
call fcn.0049f460
fstp dword [0x552c2c]
push 5
mov ecx, dword [0x552608]
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
mov edx, dword [0x552608]
push edx
call dword [sym.imp.USER32.dll_SetActiveWindow]
mov eax, dword [0x552608]
push eax
call dword [sym.imp.USER32.dll_SetFocus]
push 1
push 0
mov ecx, dword [0x552608]
push ecx
call dword [sym.imp.USER32.dll_InvalidateRect]
mov edx, dword [0x552608]
push edx
call dword [sym.imp.USER32.dll_UpdateWindow]
push 1
push 0
push 0
push 0
lea eax, [ebp - 0x28]
push eax
call dword [sym.imp.USER32.dll_PeekMessageA]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x49a829
lea ecx, [ebp - 0x28]
push ecx
call dword [sym.imp.USER32.dll_TranslateMessage]
lea edx, [ebp - 0x28]
push edx
call dword [sym.imp.USER32.dll_DispatchMessageA]
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret