Function at 0x1400a0ac0
Capabilities:
Check for time delay via queryperformancecounter

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rdi
push rsi
push rbx
sub rsp, 0x98
lea rbp, [rsp + 0xd0]
xor eax, eax
mov qword [rbp - 0x88], rax
xorps xmm4, xmm4
movaps xmmword [rbp - 0x80], xmm4
movaps xmmword [rbp - 0x70], xmm4
movaps xmmword [rbp - 0x60], xmm4
movaps xmmword [rbp - 0x50], xmm4
mov dword [rbp + 0x20], r8d
mov dword [rbp + 0x28], r9d
mov ebx, r9d
mov esi, dword [rbp + 0x30]
lea rcx, [0x1402fc060]
call fcn.140004890
xor ecx, ecx
mov qword [rax + 8], rcx
mov byte [rax + 0x18], 0
mov qword [rax + 0x10], rcx
mov qword [rbp - 0x90], rax
lea rcx, [rbp - 0x48]
call sub.KERNEL32.dll_QueryPerformanceCounter
mov rcx, qword [rbp - 0x48]
mov rax, qword [rbp - 0x90]
mov qword [rax + 0x10], rcx
mov byte [rax + 0x18], 1
lea rcx, [0x1402fc060]
call fcn.140004890
xor ecx, ecx
mov qword [rax + 8], rcx
mov byte [rax + 0x18], 0
mov qword [rax + 0x10], rcx
mov qword [rbp - 0x98], rax
lea rcx, [rbp - 0x50]
call sub.KERNEL32.dll_QueryPerformanceCounter
mov rcx, qword [rbp - 0x50]
mov rax, qword [rbp - 0x98]
mov qword [rax + 0x10], rcx
mov byte [rax + 0x18], 1
xor ecx, ecx
mov dword [rbp - 0x3c], ecx
cmp dword [0x14051a940], 0
jne 0x1400a1031
lea rdi, [0x1402e50f8]
cmp qword [rdi - 8], 0
jne 0x1400a1048
cmp byte [rdi + 0x27], 0
je 0x1400a0fe1
lea rcx, [0x1402e50f8]
cmp qword [rcx - 8], 0
jne 0x1400a1052
mov r14, qword [0x14050d2a0]
mov qword [rbp - 0xa8], r14
mov rcx, qword [r14 + 0x2a8]
lea r10, [0x1402ea320]
call qword [r10]
cmp eax, dword [rdi + 0x5c]
jle 0x1400a0c02
mov rcx, qword [r14 + 0x2a8]
lea r10, [0x1402ea320]
call qword [r10]
mov dword [rdi + 0x5c], eax
mov byte [rdi + 0x2b], 1
mov dword [rbp - 0x3c], 1
mov rcx, qword [r14 + 0x2c8]
lea r10, [0x1402ea320]
call qword [r10]
cmp eax, dword [rdi + 0x54]
jle 0x1400a0c37
mov rcx, qword [r14 + 0x2c8]
lea r10, [0x1402ea320]
call qword [r10]
mov dword [rdi + 0x54], eax
mov byte [rdi + 0x29], 1
mov dword [rbp - 0x3c], 1
mov rcx, qword [r14 + 0x2d0]
lea r10, [0x1402ea320]
call qword [r10]
cmp eax, dword [rdi + 0x58]
jle 0x1400a0c6c
mov rcx, qword [r14 + 0x2d0]
lea r10, [0x1402ea320]
call qword [r10]
mov dword [rdi + 0x58], eax
mov byte [rdi + 0x2a], 1
mov dword [rbp - 0x3c], 1
mov rcx, qword [r14 + 0x2a8]
xor edx, edx
call fcn.1400aca20
mov r15, rax
mov rcx, r15
lea r10, [0x1402ea320]
call qword [r10]
cmp eax, dword [rdi + 0x68]
jle 0x1400a0caa
mov rcx, r15
lea r10, [0x1402ea320]
call qword [r10]
mov dword [rdi + 0x68], eax
mov byte [rdi + 0x2e], 1
mov dword [rbp - 0x3c], 1
mov rcx, qword [r14 + 0x2d8]
lea r10, [0x1402ea320]
call qword [r10]
cmp eax, dword [rdi + 0x60]
jle 0x1400a0cdf
mov rcx, qword [r14 + 0x2d8]
lea r10, [0x1402ea320]
call qword [r10]
mov dword [rdi + 0x60], eax
mov byte [rdi + 0x2c], 1
mov dword [rbp - 0x3c], 1
mov rcx, qword [r14 + 0x2e0]
lea r10, [0x1402ea320]
call qword [r10]
cmp eax, dword [rdi + 0x64]
jle 0x1400a0d0f
mov rcx, qword [r14 + 0x2e0]
lea r10, [0x1402ea320]
call qword [r10]
mov dword [rdi + 0x64], eax
mov byte [rdi + 0x2d], 1
jmp 0x1400a0d15
cmp dword [rbp - 0x3c], 0
je 0x1400a0d2b
cmp byte [rdi + 0xc], 0
jne 0x1400a1025
call fcn.1400ab250
mov r14, qword [rbp - 0xa8]
xor ecx, ecx
mov dword [rbp - 0x3c], ecx
cmp dword [rbp + 0x20], 0
jle 0x1400a0e5a
mov qword [rbp - 0xa0], rdi
cmp byte [rdi + 0xc], 0
je 0x1400a1019
mov rax, qword [rbp - 0x90]
mov r15, qword [rax + 8]
cmp byte [rax + 0x18], 0
je 0x1400a0d8b
lea rcx, [rbp - 0x58]
call sub.KERNEL32.dll_QueryPerformanceCounter
mov rcx, qword [rbp - 0x58]
mov rax, qword [rbp - 0x90]
sub rcx, qword [rax + 0x10]
add r15, rcx
cmp dword [0x14051a940], 0
mov r14, qword [rbp - 0xa8]
jne 0x1400a105c
lea r13, [0x1402e57f0]
cmp qword [r13 - 8], 0
jne 0x1400a1073
xorps xmm0, xmm0
cvtsi2sd xmm0, r15
mulsd xmm0, qword [r13 + 0x10]
cvttsd2si rcx, xmm0
xorps xmm0, xmm0
cvtsi2sd xmm0, rcx
divsd xmm0, qword [0x140416f50]
xorps xmm1, xmm1
cvtsi2sd xmm1, dword [rbp + 0x20]
ucomisd xmm0, xmm1
jb 0x1400a100d
lea rcx, [0x14029d078]
call fcn.1400ace40
lea rcx, [0x14029d078]
call fcn.1400ad1a0
lea rcx, [0x14029d078]
call fcn.1400ad3e0
lea rcx, [0x14029d078]
call fcn.1400ad320
lea rcx, [0x14029d078]
call fcn.1400ad4c0
xor ecx, ecx
mov rax, qword [rbp - 0x90]
mov qword [rax + 8], rcx
mov byte [rax + 0x18], 0
mov qword [rax + 0x10], rcx
lea rcx, [rbp - 0x60]
call sub.KERNEL32.dll_QueryPerformanceCounter
mov rcx, qword [rbp - 0x60]
mov rax, qword [rbp - 0x90]
mov qword [rax + 0x10], rcx
mov byte [rax + 0x18], 1
cmp dword [0x14051a940], 0
mov rdi, qword [rbp - 0xa0]
mov r14, qword [rbp - 0xa8]
jne 0x1400a107d
test esi, esi
jle 0x1400a0f3d
mov qword [rbp - 0xa0], rdi
cmp byte [rdi + 0xc], 0
je 0x1400a1001
mov rdx, qword [rbp - 0x98]
mov r12, qword [rdx + 8]
cmp byte [rdx + 0x18], 0
je 0x1400a0eb3
lea rcx, [rbp - 0x68]
call sub.KERNEL32.dll_QueryPerformanceCounter
mov rax, qword [rbp - 0x68]
mov rdx, qword [rbp - 0x98]
sub rax, qword [rdx + 0x10]
add r12, rax
cmp dword [0x14051a940], 0
mov r14, qword [rbp - 0xa8]
jne 0x1400a1087
lea r15, [0x1402e57f0]
cmp qword [r15 - 8], 0
jne 0x1400a109e
xorps xmm0, xmm0
cvtsi2sd xmm0, r12
mulsd xmm0, qword [r15 + 0x10]
cvttsd2si rcx, xmm0
xorps xmm0, xmm0
cvtsi2sd xmm0, rcx
divsd xmm0, qword [0x140416f50]
xorps xmm1, xmm1
cvtsi2sd xmm1, esi
ucomisd xmm0, xmm1
jb 0x1400a0ff5
call fcn.1400a7430
mov qword [rbp - 0x70], rax
lea r8, [rbp - 0x70]
mov qword [rbp - 0x88], r8
mov dword [rbp - 0x80], 1
lea r8, [rbp - 0x88]
xor ecx, ecx
lea rdx, [0x1402d14a0]
call fcn.1400ed6b0
mov rcx, rax
call fcn.1400a40d0
call fcn.1400a1120
mov rdi, qword [rbp - 0xa0]
test ebx, ebx
jle 0x1400a0faf
cmp byte [rdi + 0xc], 0
je 0x1400a0faf
mov rcx, qword [r14 + 0x2c8]
lea r10, [0x1402ea320]
call qword [r10]
cmp eax, ebx
jge 0x1400a0f71
mov rcx, qword [r14 + 0x2d0]
lea r10, [0x1402ea320]
call qword [r10]
cmp eax, ebx
jl 0x1400a0faf
call fcn.1400a7430
mov qword [rbp - 0x78], rax
lea r8, [rbp - 0x78]
mov qword [rbp - 0x88], r8
mov dword [rbp - 0x80], 1
lea r8, [rbp - 0x88]
xor ecx, ecx
lea rdx, [0x1402d1420]
call fcn.1400ed6b0
mov rcx, rax
call fcn.1400a40d0
call fcn.1400a1120
nop
call fcn.1400a8d20
nop
mov ecx, 5
call fcn.140132430
lea rdi, [0x1402e50f8]
cmp qword [rdi - 8], 0
jne 0x1400a10a8
cmp byte [rdi + 0x27], 0
mov ebx, dword [rbp + 0x28]
mov esi, dword [rbp + 0x30]
jne 0x1400a0bad
add rsp, 0x98
pop rbx
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
mov rdi, qword [rbp - 0xa0]
jmp 0x1400a0f3d
mov rdi, qword [rbp - 0xa0]
jmp 0x1400a0f3d
mov rdi, qword [rbp - 0xa0]
jmp 0x1400a0e5a
mov rdi, qword [rbp - 0xa0]
jmp 0x1400a0e5a
mov r14, qword [rbp - 0xa8]
jmp 0x1400a0d2b
call fcn.1400055b0
lea rdi, [0x1402e50f8]
cmp qword [rdi - 8], 0
je 0x1400a0ba3
call fcn.14000101d
jmp 0x1400a0ba3
call fcn.140001760
jmp 0x1400a0bbf
call fcn.1400055b0
lea r13, [0x1402e57f0]
cmp qword [r13 - 8], 0
je 0x1400a0d9d
call fcn.1400014a5
jmp 0x1400a0d9d
call fcn.1400055b0
jmp 0x1400a0e5a
call fcn.1400055b0
lea r15, [0x1402e57f0]
cmp qword [r15 - 8], 0
je 0x1400a0ec5
call fcn.1400014a5
jmp 0x1400a0ec5
call fcn.14000101d
jmp 0x1400a0fd1