Function at 0x140037eb0
Capabilities:
Check for time delay via gettickcount

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x78]
sub rsp, 0x150
movaps xmmword [rax - 0x38], xmm6
movaps xmmword [rax - 0x48], xmm7
movaps xmmword [rax - 0x58], xmm8
movaps xmmword [rax - 0x68], xmm9
movaps xmmword [rax - 0x78], xmm10
movaps xmmword [rax - 0x88], xmm11
mov rax, qword [0x1402e8018]
xor rax, rsp
mov qword [rbp - 0x18], rax
mov r15, rcx
mov qword [rsp + 0x30], rcx
mov dword [rsp + 0x40], 0
call fcn.140139aa0
mov rsi, qword [0x1402f0cc0]
movsd xmm0, qword [rsi + 8]
movsd qword [rsp + 0x20], xmm0
mov edx, dword [rsi + 0x10]
mov dword [rsp + 0x28], edx
xor edi, edi
mov r14, qword [rax + 8]
mov rbx, qword [rax]
cmp rbx, r14
je 0x140037ff4
movss xmm9, dword [rsp + 0x28]
movss xmm10, dword [rsp + 0x20]
movss xmm8, dword [0x1402b8758]
movss xmm7, dword [0x1402b869c]
movss xmm11, dword [0x1402b87fc]
nop dword [rax + rax]
cmp byte [rbx + 0xa7], 0
je 0x140037fdf
mov eax, dword [rsi + 0x1c]
cmp dword [rbx + 0x1c], eax
je 0x140037fdf
movss xmm6, dword [rbx + 0xd4]
comiss xmm6, xmm8
jbe 0x140037f92
movaps xmm6, xmm7
addss xmm6, xmm11
movsd xmm0, qword [rbx + 8]
movaps xmm1, xmm10
movsd qword [rsp + 0x50], xmm0
subss xmm1, xmm0
movaps xmm2, xmm9
subss xmm2, dword [rbx + 0x10]
mulss xmm2, xmm2
mulss xmm1, xmm1
addss xmm2, xmm1
xorps xmm0, xmm0
ucomiss xmm0, xmm2
ja 0x140037fd0
xorps xmm0, xmm0
sqrtss xmm0, xmm2
jmp 0x140037fd8
movaps xmm0, xmm2
call sub.api_ms_win_crt_math_l1_1_0.dll_sqrtf
comiss xmm6, xmm0
jb 0x140037fdf
inc edi
add rbx, 0x5f0
cmp rbx, r14
jne 0x140037f70
cmp edi, 1
jge 0x1400384c7
call fcn.140139aa0
mov rcx, qword [r15 + 0x38]
movd xmm6, dword [rcx + 0x2b0]
cvtdq2ps xmm6, xmm6
mov rcx, qword [0x1402f0cc0]
movsd xmm0, qword [rcx + 8]
movsd qword [rsp + 0x20], xmm0
mov ecx, dword [rcx + 0x10]
mov dword [rsp + 0x28], ecx
xor ecx, ecx
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x30], xmm1
mov qword [rbp - 0x20], rcx
mov dword [rsp + 0x40], 1
mov r14, qword [rax + 8]
mov rbx, qword [rax]
mov rsi, qword [rbp - 0x28]
cmp rbx, r14
je 0x1400380cf
mulss xmm6, xmm6
lea rdi, [rbx + 8]
movss xmm7, dword [rsp + 0x28]
movss xmm8, dword [rsp + 0x20]
movsd xmm0, qword [rdi]
movaps xmm2, xmm8
movsd qword [rsp + 0x50], xmm0
subss xmm2, xmm0
movaps xmm1, xmm7
subss xmm1, dword [rdi + 8]
mulss xmm1, xmm1
mulss xmm2, xmm2
addss xmm1, xmm2
comiss xmm6, xmm1
jbe 0x1400380bc
mov qword [rsp + 0x38], rbx
cmp rsi, qword [rbp - 0x20]
je 0x1400380a7
mov qword [rsi], rbx
mov rsi, qword [rbp - 0x28]
add rsi, 8
mov qword [rbp - 0x28], rsi
jmp 0x1400380bc
lea r8, [rsp + 0x38]
mov rdx, rsi
lea rcx, [rbp - 0x30]
call fcn.14012b850
mov rsi, qword [rbp - 0x28]
add rbx, 0x5f0
add rdi, 0x5f0
cmp rbx, r14
jne 0x140038060
mov r14, qword [rbp - 0x30]
cmp r14, rsi
je 0x1400384be
movss xmm8, dword [0x1402b8890]
xorps xmm7, xmm7
movss xmm9, dword [0x1402b865c]
mov r8, qword [r14]
mov rdx, qword [0x1402f0cc0]
mov eax, dword [rdx + 0x1c]
cmp dword [r8 + 0x1c], eax
je 0x1400384b1
cmp dword [rdx + 0x388], 0
jbe 0x14003811e
cmp dword [rdx + 0x384], 0
je 0x1400384b1
movss xmm0, dword [0x1402f0af0]
comiss xmm0, dword [rdx + 0x390]
jb 0x1400384b1
mov eax, dword [rdx + 0x380]
test eax, eax
je 0x1400384b1
lea ecx, [rax - 1]
mov rax, qword [0x1402f0cc0]
movss xmm0, dword [rax + 0x30]
comiss xmm0, dword [rdx + rcx*4 + 0x3b8]
jb 0x1400384b1
cmp byte [r8 + 0x90], 0
je 0x1400384b1
movss xmm1, dword [r15 + 0x5c]
addss xmm1, xmm8
movss xmm0, dword [0x1402f0ad4]
comiss xmm0, xmm1
jbe 0x1400384b1
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov rcx, qword [r14]
sub eax, dword [rcx + 0x8c]
cmp eax, 0x3e8
jb 0x1400384b1
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov rcx, qword [r14]
sub eax, dword [rcx + 0x8c]
cmp eax, 0x493e0
jae 0x1400384b1
mov rdx, qword [0x1402f0cc0]
cmp dword [rdx + 0x388], 0
jbe 0x1400381d9
cmp dword [rdx + 0x384], 0
je 0x1400384b1
movss xmm0, dword [0x1402f0af0]
comiss xmm0, dword [rdx + 0x390]
jb 0x1400384b1
mov eax, dword [rdx + 0x380]
test eax, eax
je 0x1400384b1
lea ecx, [rax - 1]
mov rax, qword [0x1402f0cc0]
movss xmm0, dword [rax + 0x30]
comiss xmm0, dword [rdx + rcx*4 + 0x3b8]
jb 0x1400384b1
mov rcx, qword [0x1402f10d8]
test rcx, rcx
jne 0x140038245
mov ecx, 0x36e490
call fcn.14022033c
mov qword [rbp - 0x60], rax
mov rcx, rax
call fcn.1401cf6f0
mov rcx, rax
mov qword [0x1402f10d8], rax
mov rax, qword [r14]
movsd xmm0, qword [rax + 8]
movsd qword [rbp - 0x80], xmm0
mov eax, dword [rax + 0x10]
mov dword [rbp - 0x78], eax
lea r8, [rbp - 0x80]
lea rdx, [rbp - 0x58]
call fcn.1401cec00
movss xmm2, dword [rax]
movss xmm1, dword [rax + 4]
comiss xmm2, xmm7
jbe 0x1400383ce
addss xmm2, xmm7
movd xmm0, dword [0x1402f0ae0]
cvtdq2ps xmm0, xmm0
comiss xmm0, xmm2
jbe 0x1400383ce
comiss xmm1, xmm7
jbe 0x1400383ce
addss xmm1, xmm7
movd xmm0, dword [0x1402f0adc]
cvtdq2ps xmm0, xmm0
comiss xmm0, xmm1
jbe 0x1400383ce
call fcn.140139ee0
mov r12, rax
mov rcx, qword [r14]
movsd xmm6, qword [rcx + 8]
mov r13d, dword [rcx + 0x10]
mov rcx, qword [0x1402f0bc0]
cmp byte [rcx + 0x6c], 0
jne 0x1400384b1
mov r15, qword [0x1402f0cc0]
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x60], xmm0
mov qword [rsp + 0x70], 0
mov rdx, qword [0x1402f3eb8]
sub rdx, qword [0x1402f3eb0]
je 0x140038332
lea rcx, [rsp + 0x60]
call fcn.140012e50
mov rdi, qword [rsp + 0x60]
mov rdx, qword [0x1402f3eb0]
mov rbx, qword [0x1402f3eb8]
sub rbx, rdx
mov r8, rbx
mov rcx, rdi
call sub.VCRUNTIME140.dll_memmove
lea rax, [rdi + rbx]
mov qword [rsp + 0x68], rax
lea rdx, [rsp + 0x60]
lea rcx, [r15 + 0x170]
call fcn.140062b20
test al, al
jne 0x1400383c4
mov rax, qword [0x1402f0c20]
cmp dword [rax + 0x154], 1
je 0x1400383c4
mov rax, qword [0x1402f10d8]
test rax, rax
jne 0x140038381
mov ecx, 0x36e490
call fcn.14022033c
mov qword [rbp - 0x48], rax
mov rcx, rax
call fcn.1401cf6f0
nop
mov qword [0x1402f10d8], rax
movsd qword [rbp - 0x70], xmm6
mov dword [rbp - 0x68], r13d
lea r8, [rbp - 0x70]
lea rdx, [rbp - 0x40]
mov rcx, rax
call fcn.1401cec00
mov r8, qword [rax]
mov edx, 2
mov rcx, r12
call fcn.140069d30
mov r15, qword [rsp + 0x30]
test al, al
je 0x1400384b1
movss xmm0, dword [0x1402f0ad4]
jmp 0x1400384ab
mov r15, qword [rsp + 0x30]
jmp 0x1400384b1
call fcn.140139ee0
mov rdi, rax
mov rcx, qword [0x1402f10d8]
test rcx, rcx
jne 0x140038402
mov ecx, 0x36e490
call fcn.14022033c
mov qword [rbp - 0x38], rax
mov rcx, rax
call fcn.1401cf6f0
mov rcx, rax
mov qword [0x1402f10d8], rax
mov rax, qword [r14]
movsd xmm0, qword [rax + 8]
movsd qword [rsp + 0x50], xmm0
mov eax, dword [rax + 0x10]
mov dword [rsp + 0x58], eax
lea r8, [rsp + 0x50]
lea rdx, [rsp + 0x20]
call fcn.1401ced90
movss xmm0, dword [rax]
movss dword [rsp + 0x38], xmm0
movss xmm1, dword [rax + 4]
movss dword [rsp + 0x3c], xmm1
movss xmm0, dword [rdi]
addss xmm0, xmm9
comiss xmm0, dword [0x1402f0ad4]
ja 0x1400384b1
mov rax, qword [0x1402f0cc0]
cmp byte [rax + 0xa7], 0
je 0x1400384b1
cmp byte [0x1402f0ad9], 0
jne 0x1400384b1
cmp byte [0x1402f0ad8], 0
jne 0x1400384b1
mov edx, 2
call fcn.140069a80
mov ebx, eax
test eax, eax
je 0x1400384b1
mov rdx, qword [rsp + 0x38]
call fcn.140069050
movzx edx, bx
mov rcx, rdi
call fcn.140069c30
movzx edx, bx
mov rcx, rdi
call fcn.140069cb0
movss xmm0, dword [0x1402f0ad4]
movss dword [rdi], xmm0
movss dword [r15 + 0x5c], xmm0
add r14, 8
cmp r14, rsi
jne 0x1400380f1
lea rcx, [rbp - 0x30]
call fcn.140032160
mov rcx, qword [rbp - 0x18]
xor rcx, rsp
call fcn.140220090
lea r11, [rsp + 0x150]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
movaps xmm8, xmmword [r11 - 0x30]
movaps xmm9, xmmword [r11 - 0x40]
movaps xmm10, xmmword [r11 - 0x50]
movaps xmm11, xmmword [r11 - 0x60]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret