Function at 0x100048078
Capabilities:
Hide graphical window

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x60
cmp byte [rcx + 0xc1], 0
movaps xmmword [rsp + 0x50], xmm6
mov rdi, rcx
je 0x1000483bb
call qword [sym.imp.KERNEL32.dll_GetTickCount64]
sub rax, qword [rdi + 0x128]
pxor xmm2, xmm2
cvtsi2sd xmm2, rax
jns 0x1000480bc
addsd xmm2, qword [0x1000bfb38]
divsd xmm2, qword [0x1000bfb30]
movsd xmm3, qword [0x1000afbf8]
comisd xmm3, xmm2
jbe 0x100048258
mov r9d, dword [rdi + 0x108]
mov ecx, dword [rdi + 0x110]
mov edx, dword [rdi + 0x10c]
subsd xmm3, xmm2
mov r10d, dword [rdi + 0x118]
mov eax, dword [rdi + 0x120]
mov r8d, dword [rdi + 0x11c]
mulsd xmm3, qword [0x1000bfa50]
cvtsd2ss xmm6, xmm3
mov rbx, qword [rdi + 0xd0]
mov rsi, qword [rdi + 0xe0]
sub eax, ecx
sub eax, r10d
sub ecx, r9d
sub r10d, r9d
add eax, r9d
movd xmm0, ecx
mov ecx, dword [rdi + 0x114]
movd xmm1, eax
mov eax, dword [rdi + 0x124]
sub eax, ecx
sub ecx, edx
cvtdq2pd xmm0, xmm0
sub eax, r8d
sub r8d, edx
add eax, edx
cvtdq2pd xmm1, xmm1
mulsd xmm1, xmm2
addsd xmm1, xmm0
cvtsd2ss xmm0, xmm1
movd xmm1, eax
cvtdq2pd xmm1, xmm1
movss dword [rsp + 0x48], xmm0
movd xmm0, ecx
xor ecx, ecx
mulsd xmm1, xmm2
cvtdq2pd xmm0, xmm0
addsd xmm1, xmm0
cvtsd2ss xmm0, xmm1
movd xmm1, r10d
movss dword [rsp + 0x4c], xmm0
cvtdq2pd xmm1, xmm1
movd xmm0, r9d
mulsd xmm1, xmm2
cvtdq2pd xmm0, xmm0
addsd xmm1, xmm0
cvtsd2ss xmm0, xmm1
movd xmm1, r8d
movss dword [rsp + 0x40], xmm0
cvtdq2pd xmm1, xmm1
movd xmm0, edx
mulsd xmm1, xmm2
cvtdq2pd xmm0, xmm0
addsd xmm1, xmm0
cvtsd2ss xmm0, xmm1
movss dword [rsp + 0x44], xmm0
call qword [sym.imp.GDI32.dll_CreateCompatibleDC]
test rax, rax
je 0x1000481fa
movss xmm3, dword [0x1000ae960]
lea r8, [rsp + 0x40]
mov rdx, rbx
subss xmm3, xmm6
mov rcx, rsi
mov qword [rsp + 0x20], rax
call fcn.1000483d8
mov rbx, qword [rdi + 0xc8]
mov rsi, qword [rdi + 0xd8]
xor ecx, ecx
call qword [sym.imp.GDI32.dll_CreateCompatibleDC]
test rax, rax
je 0x10004822d
lea r8, [rsp + 0x40]
movaps xmm3, xmm6
mov rdx, rbx
mov rcx, rsi
mov qword [rsp + 0x20], rax
call fcn.1000483d8
cmp dword [rdi + 0x130], 0
je 0x1000483bb
mov rcx, qword [rdi + 0xd0]
and dword [rdi + 0x130], 0
mov edx, 5
call qword [sym.imp.USER32.dll_ShowWindow]
jmp 0x1000483bb
mov rcx, qword [rdi + 0xb8]
xor edx, edx
call qword [sym.imp.USER32.dll_KillTimer]
mov r11d, dword [rdi + 0x118]
mov eax, dword [rdi + 0x120]
movd xmm1, r11d
mov rbx, qword [rdi + 0xd0]
mov rsi, qword [rdi + 0xe0]
sub eax, r11d
cvtdq2ps xmm1, xmm1
movd xmm0, eax
movss dword [rsp + 0x40], xmm1
mov eax, dword [rdi + 0x124]
xor ecx, ecx
sub eax, dword [rdi + 0x11c]
cvtdq2ps xmm0, xmm0
movss dword [rsp + 0x48], xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rsp + 0x4c], xmm0
movd xmm0, dword [rdi + 0x10c]
cvtdq2ps xmm0, xmm0
movss dword [rsp + 0x44], xmm0
call qword [sym.imp.GDI32.dll_CreateCompatibleDC]
test rax, rax
je 0x1000482f4
movss xmm3, dword [0x1000ae960]
lea r8, [rsp + 0x40]
mov rdx, rbx
mov rcx, rsi
mov qword [rsp + 0x20], rax
call fcn.1000483d8
mov rcx, qword [rdi + 0xb8]
call qword [sym.imp.USER32.dll_GetParent]
mov edx, dword [0x1000dc5d8]
xor r9d, r9d
mov rcx, rax
xor r8d, r8d
mov rbx, rax
call qword [sym.imp.USER32.dll_SendMessageW]
mov r9d, dword [rdi + 0xfc]
mov r8d, dword [rdi + 0xf8]
mov rdx, qword [rdi + 0xd0]
mov dword [rsp + 0x30], 9
and dword [rsp + 0x28], 0
and dword [rsp + 0x20], 0
mov rcx, rbx
call qword [sym.imp.USER32.dll_SetWindowPos]
mov rcx, rdi
call fcn.100043a80
mov rcx, qword [rdi + 0xb8]
mov byte [rdi + 0xc1], 0
mov byte [rdi + 0xc2], 0
call qword [sym.imp.USER32.dll_GetParent]
xor r9d, r9d
xor r8d, r8d
mov edx, 0x84c
mov rcx, rax
call qword [sym.imp.USER32.dll_SendMessageW]
mov rcx, qword [rdi + 0xd8]
mov ebx, 1
test rcx, rcx
je 0x1000483a0
mov rax, qword [rcx]
mov edx, ebx
call qword [rax]
and qword [rdi + 0xd8], 0
mov rcx, qword [rdi + 0xe0]
test rcx, rcx
je 0x1000483bb
mov rax, qword [rcx]
mov edx, ebx
call qword [rax]
and qword [rdi + 0xe0], 0
mov rbx, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
movaps xmm6, xmmword [rsp + 0x50]
add rsp, 0x60
pop rdi
ret