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

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x20], rsi
push rdi
sub rsp, 0xe0
mov rdi, qword [rcx]
mov rsi, qword [rcx + 8]
lea rcx, [rax + 8]
movaps xmmword [rax - 0x18], xmm6
movq xmm6, rdi
punpcklqdq xmm6, xmm6
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
lock inc dword [rdi]
xor ebx, ebx
mov r9d, 0x3e8
cmp dword [0x14035d500], 2
jl 0x14001cc02
movaps xmmword [rsp + 0xc0], xmm7
lea ecx, [rbx + 0xc]
movaps xmmword [rsp + 0xb0], xmm8
lea edx, [rbx + 0x10]
movaps xmmword [rsp + 0xa0], xmm9
lea r8d, [rbx + 5]
movaps xmmword [rsp + 0x90], xmm10
lea r10d, [rbx + 0xa]
movaps xmmword [rsp + 0x80], xmm11
lea r11d, [rbx + 0xf]
movdqa xmm11, xmmword [0x140276950]
xorps xmm5, xmm5
movaps xmmword [rsp + 0x70], xmm12
mov eax, 4
movdqa xmm12, xmmword [0x140276960]
mov edi, 3
movaps xmmword [rsp + 0x60], xmm13
movq xmm7, xmm5
movaps xmmword [rsp + 0x50], xmm14
movd xmm14, eax
mov eax, 0xd
movdqa xmmword [rsp + 0x30], xmm5
movq xmm10, qword [rsp + 0x30]
movdqa xmmword [rsp + 0x20], xmm5
movq xmm9, qword [rsp + 0x20]
movd xmm8, eax
mov eax, 8
movaps xmmword [rsp + 0x40], xmm15
movd xmm13, edi
psrld xmm7, xmm8
movd xmm15, eax
nop
movq xmm0, xmm11
movd xmm1, ebx
pshufd xmm1, xmm1, 0
lea eax, [rbx + 2]
paddd xmm1, xmm0
movq xmm3, xmm12
pmovsxdq xmm2, xmm1
psllq xmm2, xmm13
movq xmm0, xmm5
movq xmm1, xmm7
paddq xmm2, xmm6
movq xmm10, xmm10
psrlq xmm2, xmm14
pshufd xmm4, xmm2, 0xd8
movq xmm2, xmm5
psubd xmm4, xmm0
pxor xmm4, xmm1
movq xmm1, xmm15
psubd xmm3, xmm4
psubd xmm3, xmm0
movdqa xmm0, xmm4
pslld xmm0, xmm1
pxor xmm3, xmm0
movq xmm0, xmm8
psubd xmm2, xmm3
movdqa xmm1, xmm3
psrld xmm1, xmm0
psubd xmm2, xmm4
movd xmm0, ecx
pxor xmm2, xmm1
psubd xmm4, xmm3
psubd xmm4, xmm2
movdqa xmm1, xmm2
psrld xmm1, xmm0
movd xmm0, edx
pxor xmm4, xmm1
psubd xmm3, xmm4
movdqa xmm1, xmm4
pslld xmm1, xmm0
psubd xmm3, xmm2
movd xmm0, r8d
pxor xmm3, xmm1
psubd xmm2, xmm3
movdqa xmm1, xmm3
psrld xmm1, xmm0
psubd xmm2, xmm4
movd xmm0, edi
pxor xmm2, xmm1
psubd xmm4, xmm3
psubd xmm4, xmm2
movdqa xmm1, xmm2
psrld xmm1, xmm0
movd xmm0, r10d
pxor xmm4, xmm1
psubd xmm3, xmm4
movdqa xmm1, xmm4
psubd xmm3, xmm2
pslld xmm1, xmm0
movd xmm0, r11d
pxor xmm3, xmm1
movd xmm1, eax
psubd xmm2, xmm3
pshufd xmm1, xmm1, 0
psubd xmm2, xmm4
psrld xmm3, xmm0
movq xmm0, xmm11
pxor xmm2, xmm3
paddd xmm1, xmm0
paddd xmm10, xmm2
movq xmm0, xmm5
pmovsxdq xmm2, xmm1
psllq xmm2, xmm13
movq xmm1, xmm7
movq xmm3, xmm12
paddq xmm2, xmm6
movdqa xmm10, xmm10
psrlq xmm2, xmm14
pshufd xmm4, xmm2, 0xd8
psubd xmm4, xmm0
pxor xmm4, xmm1
psubd xmm3, xmm4
psubd xmm3, xmm0
movq xmm1, xmm15
movdqa xmm0, xmm4
movq xmm2, xmm5
pslld xmm0, xmm1
movq xmm9, xmm9
add ebx, 4
pxor xmm3, xmm0
movq xmm0, xmm8
psubd xmm2, xmm3
movdqa xmm1, xmm3
psubd xmm2, xmm4
psubd xmm4, xmm3
psrld xmm1, xmm0
movd xmm0, ecx
pxor xmm2, xmm1
psubd xmm4, xmm2
movdqa xmm1, xmm2
psrld xmm1, xmm0
movd xmm0, edx
pxor xmm4, xmm1
psubd xmm3, xmm4
movdqa xmm1, xmm4
psubd xmm3, xmm2
pslld xmm1, xmm0
movd xmm0, r8d
pxor xmm3, xmm1
psubd xmm2, xmm3
movdqa xmm1, xmm3
psubd xmm2, xmm4
psubd xmm4, xmm3
psrld xmm1, xmm0
movd xmm0, edi
pxor xmm2, xmm1
movdqa xmm1, xmm2
psubd xmm4, xmm2
psrld xmm1, xmm0
movd xmm0, r10d
pxor xmm4, xmm1
psubd xmm3, xmm4
movdqa xmm1, xmm4
psubd xmm3, xmm2
pslld xmm1, xmm0
movd xmm0, r11d
pxor xmm3, xmm1
psubd xmm2, xmm3
psubd xmm2, xmm4
psrld xmm3, xmm0
pxor xmm2, xmm3
paddd xmm9, xmm2
movdqa xmm9, xmm9
cmp ebx, r9d
jl 0x14001c950
movaps xmm15, xmmword [rsp + 0x40]
movq xmm0, xmm10
movaps xmm14, xmmword [rsp + 0x50]
movq xmm1, xmm9
movaps xmm13, xmmword [rsp + 0x60]
paddd xmm1, xmm0
movaps xmm12, xmmword [rsp + 0x70]
movdqa xmm0, xmm1
movaps xmm11, xmmword [rsp + 0x80]
movq xmm2, xmm0
movaps xmm10, xmmword [rsp + 0x90]
movdqa xmm0, xmm2
movaps xmm9, xmmword [rsp + 0xa0]
movaps xmm8, xmmword [rsp + 0xb0]
movaps xmm7, xmmword [rsp + 0xc0]
psrldq xmm0, 8
paddd xmm2, xmm0
movdqa xmm0, xmm2
psrldq xmm0, 4
paddd xmm2, xmm0
movd ebx, xmm2
jmp 0x14001cc81
mov rdx, rdi
mov r8d, 0x9e3779b9
shr rdx, 4
add rdi, 8
sub r8d, edx
mov eax, edx
shl eax, 8
xor r8d, eax
mov eax, r8d
shr eax, 0xd
lea ecx, [r8 + rdx]
sub edx, r8d
neg ecx
xor ecx, eax
sub edx, ecx
mov eax, ecx
shr eax, 0xc
xor edx, eax
sub r8d, edx
mov eax, edx
sub r8d, ecx
shl eax, 0x10
xor r8d, eax
sub ecx, r8d
mov eax, r8d
sub ecx, edx
shr eax, 5
xor ecx, eax
sub edx, r8d
sub edx, ecx
mov eax, ecx
shr eax, 3
xor edx, eax
sub r8d, edx
mov eax, edx
sub r8d, ecx
shl eax, 0xa
xor r8d, eax
sub ecx, r8d
shr r8d, 0xf
sub ecx, edx
xor ecx, r8d
add ebx, ecx
sub r9, 1
jne 0x14001cc02
lea rcx, [rsp + 0x100]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
and ebx, 1
sub ebx, dword [rsp + 0xf0]
add ebx, dword [rsp + 0x100]
lock xadd dword [rsi], ebx
lea r11, [rsp + 0xe0]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x28]
movaps xmm6, xmmword [r11 - 0x10]
mov rsp, r11
pop rdi
ret
mov edx, dword [rdx]
jmp 0x14001c850