Function at 0x140191130
Capabilities:
Check for time delay via queryperformancecounter
Create thread

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x58]
sub rsp, 0x120
movaps xmmword [rax - 0x48], xmm6
movaps xmmword [rax - 0x58], xmm7
mov r12, rcx
xor r15d, r15d
mov r14d, r15d
mov dword [rbp + 0x68], r15d
mov qword [rbp - 0x80], 0x64
lea rax, [0x140193d90]
mov qword [rbp - 0x20], rax
lea rax, [0x140195040]
mov qword [rbp - 0x18], rax
lea rax, [0x1401965a0]
mov qword [rbp - 0x10], rax
lea rax, [0x1401984e0]
mov qword [rbp - 8], rax
mov qword [rsp + 0x30], r15
xorps xmm7, xmm7
mov qword [rsp + 0x38], r15
movabs rbx, 0x3fffffffffffffff
movsd xmm6, qword [0x140504d38]
nop word [rax + rax]
mov qword [rbp + 0x70], r15
lea rcx, [rsp + 0x78]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
lea rcx, [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
xorps xmm1, xmm1
cvtsi2sd xmm1, qword [rsp + 0x70]
mulsd xmm1, xmm6
xorps xmm0, xmm0
cvtsi2sd xmm0, qword [rsp + 0x78]
divsd xmm1, xmm0
movsd qword [rbp + 0x78], xmm1
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x58], xmm1
mov qword [rsp + 0x68], r15
test r12, r12
je 0x14019129f
cmp r12, rbx
ja 0x140191567
lea rbx, [r12*4]
cmp rbx, 0x1000
jb 0x14019125e
lea rcx, [rbx + 0x27]
cmp rcx, rbx
jbe 0x140191561
call fcn.14036fce4
mov rcx, rax
test rax, rax
je 0x14019155b
add rax, 0x27
and rax, 0xffffffffffffffe0
mov qword [rax - 8], rcx
add rbx, rax
mov rcx, rax
jmp 0x14019127c
test rbx, rbx
je 0x140191273
mov rcx, rbx
call fcn.14036fce4
mov rcx, rax
add rbx, rax
jmp 0x14019127c
mov rax, r15
mov rcx, r15
add rbx, r15
mov rdx, rbx
mov qword [rsp + 0x58], rcx
mov qword [rsp + 0x68], rbx
mov r8, r12
shl r8, 2
xor edx, edx
mov rcx, rax
call fcn.14038ebe0
mov qword [rsp + 0x60], rbx
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x40], xmm0
mov rsi, r15
mov qword [rsp + 0x50], r15
mov rdi, r15
mov rbx, qword [rsp + 0x48]
test r12, r12
je 0x14019138e
nop dword [rax]
nop word [rax + rax]
mov qword [rbp - 0x68], rdi
lea rax, [rbp - 0x20]
mov qword [rbp - 0x60], rax
lea rax, [rbp + 0x70]
mov qword [rbp - 0x58], rax
lea rax, [rsp + 0x58]
mov qword [rbp - 0x50], rax
lea rax, [rbp + 0x78]
mov qword [rbp - 0x48], rax
lea rax, [rbp - 0x80]
mov qword [rbp - 0x40], rax
cmp rbx, rsi
je 0x140191367
mov ecx, 0x30
call fcn.14036fce4
movups xmm0, xmmword [rbp - 0x68]
movups xmmword [rax], xmm0
movups xmm1, xmmword [rbp - 0x58]
movups xmmword [rax + 0x10], xmm1
movups xmm0, xmmword [rbp - 0x48]
movups xmmword [rax + 0x20], xmm0
or r14d, 1
mov dword [rbp + 0x68], r14d
mov qword [rbp - 0x30], rax
lea rcx, [rbx + 8]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], r15d
mov r9, rax
lea r8, [0x14019c900]
xor edx, edx
xor ecx, ecx
call fcn.14039a510
mov qword [rbx], rax
test rax, rax
je 0x14019156d
add rbx, 0x10
mov qword [rsp + 0x48], rbx
jmp 0x140191382
lea r8, [rbp - 0x68]
mov rdx, rbx
lea rcx, [rsp + 0x40]
call fcn.14019c630
mov rsi, qword [rsp + 0x50]
mov rbx, qword [rsp + 0x48]
inc rdi
cmp rdi, r12
jb 0x1401912d0
mov r13d, r15d
mov r14, r15
mov r15, qword [rsp + 0x40]
test r12, r12
je 0x1401913ee
mov rdi, r15
cmp dword [rdi + 8], 0
je 0x140191592
call sub.KERNEL32.dll_GetCurrentThreadId
cmp dword [rdi + 8], eax
je 0x140191587
movups xmm0, xmmword [rdi]
movaps xmmword [rbp - 0x30], xmm0
xor edx, edx
lea rcx, [rbp - 0x30]
call fcn.14036d7a8
test eax, eax
jne 0x14019157c
xorps xmm0, xmm0
movups xmmword [rdi], xmm0
mov rax, qword [rsp + 0x58]
add r13d, dword [rax + r14*4]
inc r14
add rdi, 0x10
cmp r14, r12
jb 0x1401913a1
lea rcx, [rbp - 0x70]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
lea rcx, [rbp - 0x78]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
xorps xmm1, xmm1
cvtsi2sd xmm1, qword [rbp - 0x78]
mulsd xmm1, xmm6
xorps xmm0, xmm0
cvtsi2sd xmm0, qword [rbp - 0x70]
divsd xmm1, xmm0
mov eax, r13d
xorps xmm0, xmm0
cvtsi2sd xmm0, rax
mulsd xmm0, xmm6
subsd xmm1, qword [rbp + 0x78]
divsd xmm0, xmm1
mov rax, qword [rbp + 0x70]
comisd xmm0, xmm7
jbe 0x14019144b
mov rdi, rax
mov qword [rsp + 0x30], rax
movaps xmm7, xmm0
jmp 0x140191450
mov rdi, qword [rsp + 0x30]
test r15, r15
je 0x1401914ae
mov rax, r15
cmp r15, rbx
je 0x140191473
nop dword [rax]
cmp dword [rax + 8], 0
jne 0x14019159d
add rax, 0x10
cmp rax, rbx
jne 0x140191460
sub rsi, r15
and rsi, 0xfffffffffffffff0
mov rax, r15
cmp rsi, 0x1000
jb 0x14019149f
add rsi, 0x27
mov r15, qword [r15 - 8]
sub rax, r15
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1401915a3
mov rdx, rsi
mov rcx, r15
call fcn.14036fd20
mov rax, qword [rbp + 0x70]
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x1401914ee
mov rdx, qword [rsp + 0x68]
sub rdx, rcx
and rdx, 0xfffffffffffffffc
mov rax, rcx
cmp rdx, 0x1000
jb 0x1401914e5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14019155b
call fcn.14036fd20
mov rax, qword [rbp + 0x70]
inc rax
mov qword [rbp + 0x70], rax
cmp rax, 4
mov r14d, dword [rbp + 0x68]
movabs rbx, 0x3fffffffffffffff
mov r15d, 0
jb 0x1401911c4
mov rax, qword [rsp + 0x38]
inc rax
mov qword [rsp + 0x38], rax
cmp rax, 3
jb 0x1401911c0
mov rax, qword [rbp + rdi*8 - 0x20]
mov qword [0x140547300], rax
lea r11, [rsp + 0x120]
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.1403933ec
int3
call fcn.140004800
int3
call fcn.140014d90
nop
mov dword [rbx + 8], r15d
mov ecx, 6
call fcn.14036d01c
nop
mov ecx, 2
call fcn.14036d01c
int3
mov ecx, 5
call fcn.14036d01c
int3
mov ecx, 1
call fcn.14036d01c
nop
call fcn.1403978dc
int3
call fcn.1403933ec
int3