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

Disassembly:
mov rax, rsp
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x48]
sub rsp, 0x110
mov qword [rbp - 0x28], 0xfffffffffffffffe
mov qword [rax + 8], rbx
movaps xmmword [rax - 0x48], xmm6
movaps xmmword [rax - 0x58], xmm7
mov r12, rcx
mov qword [rsp + 0x58], 0x64
lea rax, [0x14013da50]
mov qword [rbp - 0x78], rax
lea rax, [0x14013ecb0]
mov qword [rbp - 0x70], rax
lea rax, [0x140140310]
mov qword [rbp - 0x68], rax
lea rax, [0x140142460]
mov qword [rbp - 0x60], rax
xor ebx, ebx
mov qword [rsp + 0x20], rbx
xorps xmm6, xmm6
mov qword [rsp + 0x28], rbx
movsd xmm7, qword [0x14044ee38]
nop dword [rax]
mov qword [rbp + 0x60], rbx
lea rcx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
lea rcx, [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
xorps xmm1, xmm1
cvtsi2sd xmm1, qword [rsp + 0x48]
mulsd xmm1, xmm7
xorps xmm0, xmm0
cvtsi2sd xmm0, qword [rsp + 0x50]
divsd xmm1, xmm0
movsd qword [rbp + 0x68], xmm1
mov dword [rbp + 0x58], ebx
lea r8, [rbp + 0x58]
mov rdx, r12
lea rcx, [rsp + 0x70]
call fcn.14001a360
nop
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x30], xmm0
xor ecx, ecx
mov r14d, ecx
mov qword [rsp + 0x40], rcx
mov edi, ecx
mov rbx, qword [rsp + 0x38]
test r12, r12
je 0x140139818
nop
mov qword [rbp - 0x58], rdi
lea rax, [rbp - 0x78]
mov qword [rbp - 0x50], rax
lea rax, [rbp + 0x60]
mov qword [rbp - 0x48], rax
lea rax, [rsp + 0x70]
mov qword [rbp - 0x40], rax
lea rax, [rbp + 0x68]
mov qword [rbp - 0x38], rax
lea rax, [rsp + 0x58]
mov qword [rbp - 0x30], rax
lea r8, [rbp - 0x58]
mov rdx, rbx
cmp r14, rbx
je 0x1401397fa
call fcn.1401467f0
add rbx, 0x10
mov qword [rsp + 0x38], rbx
jmp 0x14013980e
lea rcx, [rsp + 0x30]
call fcn.140146970
mov r14, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x38]
inc rdi
cmp rdi, r12
jb 0x1401397b0
xor ecx, ecx
mov r15d, ecx
mov rsi, rcx
mov r13, qword [rsp + 0x30]
test r12, r12
je 0x14013989f
lea rdi, [r13 + 8]
nop dword [rax]
cmp dword [rdi], 0
jne 0x14013984e
mov ecx, 1
call fcn.14030f408
cmp dword [rdi], 0
jne 0x14013984e
mov ecx, 1
call fcn.14030f408
call sub.KERNEL32.dll_GetCurrentThreadId
cmp dword [rdi], eax
jne 0x140139861
mov ecx, 5
call fcn.14030f408
movups xmm0, xmmword [rdi - 8]
movaps xmmword [rbp - 0x20], xmm0
xor edx, edx
lea rcx, [rbp - 0x20]
call fcn.14030ffac
test eax, eax
je 0x140139882
mov ecx, 2
call fcn.14030f408
xor ecx, ecx
mov qword [rdi - 8], rcx
mov dword [rdi], ecx
mov rax, qword [rsp + 0x70]
add r15d, dword [rax + rsi*4]
inc rsi
add rdi, 0x10
cmp rsi, r12
jb 0x140139830
lea rcx, [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
lea rcx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
xorps xmm1, xmm1
cvtsi2sd xmm1, qword [rsp + 0x60]
mulsd xmm1, xmm7
xorps xmm0, xmm0
cvtsi2sd xmm0, qword [rsp + 0x68]
divsd xmm1, xmm0
mov eax, r15d
xorps xmm0, xmm0
cvtsi2sd xmm0, rax
mulsd xmm0, xmm7
subsd xmm1, qword [rbp + 0x68]
divsd xmm0, xmm1
mov rax, qword [rbp + 0x60]
comisd xmm0, xmm6
jbe 0x140139900
mov rdi, rax
mov qword [rsp + 0x20], rax
movaps xmm6, xmm0
jmp 0x140139905
mov rdi, qword [rsp + 0x20]
test r13, r13
je 0x140139960
mov rax, r13
cmp r13, rbx
je 0x140139925
cmp dword [rax + 8], 0
jne 0x140139a09
add rax, 0x10
cmp rax, rbx
jne 0x140139912
sub r14, r13
and r14, 0xfffffffffffffff0
mov rax, r13
cmp r14, 0x1000
jb 0x140139951
add r14, 0x27
mov r13, qword [r13 - 8]
sub rax, r13
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1401399fd
mov rdx, r14
mov rcx, r13
call fcn.140311600
mov rax, qword [rbp + 0x60]
mov rcx, qword [rsp + 0x70]
test rcx, rcx
je 0x14013999f
mov rdx, qword [rbp - 0x80]
sub rdx, rcx
and rdx, 0xfffffffffffffffc
mov rax, rcx
cmp rdx, 0x1000
jb 0x140139996
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140139a03
call fcn.140311600
mov rax, qword [rbp + 0x60]
inc rax
mov qword [rbp + 0x60], rax
cmp rax, 4
mov ebx, 0
jb 0x140139744
mov rax, qword [rsp + 0x28]
inc rax
mov qword [rsp + 0x28], rax
cmp rax, 3
jb 0x140139740
mov rax, qword [rbp + rdi*8 - 0x78]
mov qword [0x1404962e0], rax
lea r11, [rsp + 0x110]
mov rbx, qword [r11 + 0x40]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call fcn.1403331f4
nop
call fcn.1403331f4
nop
call fcn.1403375a0
int3