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

Disassembly:
mov qword [rsp + 0x10], rdx
push rbp
push r13
push r14
lea rbp, [rsp - 0x120]
sub rsp, 0x220
mov r14, rcx
mov r13, r8
lea rcx, [rbp + 0x10]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
test eax, eax
je 0x140043ceb
mov rax, qword [rbp + 0x10]
xor edx, edx
sub rax, qword [0x14008eac8]
imul rax, rax, 0xf4240
mov qword [rsp + 0x240], rbx
div qword [0x14008eac0]
mov qword [rsp + 0x218], rsi
mov qword [rsp + 0x210], rdi
mov qword [rsp + 0x208], r12
mov r12, rax
add r12, qword [0x14008ead0]
mov qword [rsp + 0x200], r15
xor r15d, r15d
cmp byte [0x14008eab8], r15b
je 0x1400437f6
mov rbx, qword [0x1400b70a0]
cmp dword [rbx + 0x38], 0x8000
mov byte [rbx + 0x3c], 1
jb 0x1400436dc
lea rsi, str.Tundra_SaveScanCache
xor r9d, r9d
mov r8d, 0x8000
mov qword [rsp + 0x20], rsi
lea rdx, str.profiler:_max_events___d__reached_on_thread__i___s_and_later_wont_be_recorded
lea ecx, [r15 + 2]
call fcn.140013a20
jmp 0x1400437f6
movsxd rax, dword [rbx + 0x38]
inc dword [rbx + 0x38]
lea rcx, [rax + rax*4]
mov rax, qword [rbx + 0x30]
lea rdi, [rax + rcx*8]
lea rcx, [rbp + 0x18]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
test eax, eax
je 0x140043cf8
mov rax, qword [rbp + 0x18]
lea rsi, str.Tundra_SaveScanCache
sub rax, qword [0x14008eac8]
xor edx, edx
imul rax, rax, 0xf4240
mov rcx, rsi
div qword [0x14008eac0]
mov edx, 0x20
add rax, qword [0x14008ead0]
mov qword [rdi], rax
mov qword [rdi + 0x20], r15
call fcn.140048fbc
mov r15, rax
test rax, rax
je 0x14004377d
mov r8, rax
mov rdx, rsi
sub r8, rsi
mov rcx, rbx
call fcn.14001e6c0
mov qword [rdi + 0x10], rax
lea rdx, [r15 + 1]
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rdx + r8], 0
jne 0x140043766
mov rcx, rbx
call fcn.14001e6c0
xor r15d, r15d
jmp 0x1400437f2
mov rax, qword [rbx + 8]
mov rcx, rax
mov rdx, qword [rax + 0x18]
lea rax, [rdx + 0x15]
cmp rax, qword [rcx + 0x10]
jbe 0x1400437a7
mov edx, 0x15
mov rcx, rbx
call fcn.140038a30
xor r15d, r15d
mov edx, r15d
jmp 0x1400437aa
xor r15d, r15d
mov rax, qword [rbx + 8]
lea rcx, [rdx + 0x15]
mov r8, qword [rax + 0x28]
mov qword [rax + 0x18], rcx
add r8, rdx
mov rax, qword [rbx + 8]
mov rdx, qword [rax + 0x20]
add rdx, qword [rax + 0x18]
mov qword [rbx + 0x10], rdx
movups xmm0, xmmword [str.Tundra_SaveScanCache]
movups xmmword [r8], xmm0
mov eax, dword [0x140083040]
mov dword [r8 + 0x10], eax
lea rax, [0x14007d7e6]
mov byte [r8 + 0x14], 0
mov qword [rdi + 0x10], r8
mov qword [rdi + 0x18], rax
mov rdi, qword [r14 + 0x18]
lea rcx, [rbp - 0x80]
xorps xmm0, xmm0
mov rsi, qword [rdi + 0x10]
movdqu xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], 0
mov dword [rsp + 0x58], r15d
mov qword [rsp + 0x60], r13
mov qword [rsp + 0x68], r15
mov qword [rbp - 0x80], r13
mov qword [rbp - 0x78], r15
movdqa xmmword [rbp - 0x70], xmm0
call fcn.1400076a0
lea rcx, [rbp - 0x80]
mov qword [rbp - 0x60], rax
call fcn.1400076a0
lea rcx, [rbp - 0x80]
mov qword [rbp - 0x58], rax
call fcn.1400076a0
lea rcx, [rbp - 0x80]
mov qword [rbp - 0x50], rax
call fcn.1400076a0
lea rcx, [rbp - 0x80]
mov qword [rbp - 0x48], rax
call fcn.1400076a0
lea rcx, [rbp - 0x80]
mov qword [rbp - 0x40], rax
call fcn.1400076a0
mov rcx, qword [rbp - 0x58]
mov r13d, dword [r14 + 0x20]
mov qword [rbp - 0x38], rax
mov eax, dword [rcx]
mov dword [rsp + 0x30], eax
mov rax, qword [rcx + 0x20]
mov rcx, qword [rbp - 0x50]
mov qword [rsp + 0x38], rax
movups xmm0, xmmword [rsp + 0x30]
movaps xmmword [rbp - 0x30], xmm0
mov eax, dword [rcx]
mov dword [rsp + 0x30], eax
mov rax, qword [rcx + 0x20]
mov rcx, qword [rbp - 0x48]
mov qword [rsp + 0x38], rax
movups xmm0, xmmword [rsp + 0x30]
movaps xmmword [rbp - 0x20], xmm0
mov eax, dword [rcx]
mov dword [rsp + 0x30], eax
mov rax, qword [rcx + 0x20]
mov dword [rbp], r15d
mov r15d, r13d
mov qword [rsp + 0x38], rax
movups xmm0, xmmword [rsp + 0x30]
shl r15, 3
movaps xmmword [rbp - 0x10], xmm0
mov rax, qword [rdi + 8]
mov rdx, qword [rax + 0x18]
add rdx, 7
and rdx, 0xfffffffffffffff8
lea rcx, [rdx + r15]
cmp rcx, qword [rax + 0x10]
jbe 0x140043904
mov rdx, r15
mov rcx, rdi
call fcn.140038a30
xor edx, edx
mov rax, qword [rdi + 8]
lea rcx, [rdx + r15]
mov rbx, qword [rax + 0x28]
mov qword [rax + 0x18], rcx
add rbx, rdx
mov rax, qword [rdi + 8]
mov rdx, qword [rax + 0x20]
add rdx, qword [rax + 0x18]
mov qword [rdi + 0x10], rdx
xor edx, edx
mov eax, dword [r14 + 0x24]
test eax, eax
je 0x140043969
xor r8d, r8d
mov r9d, eax
nop word [rax + rax]
mov rax, qword [r14 + 0x28]
mov rax, qword [r8 + rax]
test rax, rax
je 0x14004395f
nop dword [rax]
mov qword [rbx + rdx*8], rax
inc edx
mov rax, qword [rax + 0x28]
test rax, rax
jne 0x140043950
add r8, 8
sub r9, 1
jne 0x140043940
lea rdx, [rbx + r13*8]
mov rcx, rbx
mov r8, rdx
lea r9, [0x140043480]
sub r8, rbx
sar r8, 3
call fcn.140043fa0
mov r8, qword [r14]
test r8, r8
je 0x1400439e3
movsxd rdx, dword [r8 + 8]
lea rcx, [r8 + 8]
mov r15d, dword [r8 + 4]
xor eax, eax
sub eax, dword [rcx]
add rdx, rcx
neg eax
lea rcx, [r8 + 0xc]
sbb rax, rax
and rdx, rax
xor eax, eax
mov qword [rbp + 0x158], rdx
sub eax, dword [rcx]
movsxd rdx, dword [rcx]
add rdx, rcx
lea rcx, [r8 + 0x10]
neg eax
sbb rax, rax
and rdx, rax
xor eax, eax
mov qword [rsp + 0x70], rdx
sub eax, dword [rcx]
movsxd rdx, dword [rcx]
add rdx, rcx
neg eax
sbb rax, rax
and rdx, rax
jmp 0x1400439f6
xor eax, eax
mov r15d, eax
mov qword [rbp + 0x158], rax
mov qword [rsp + 0x70], rax
mov edx, eax
mov rax, qword [r14 + 0x38]
xor ecx, ecx
mov qword [rbp + 0x28], rax
mov qword [rbp + 0x20], rdx
call fcn.140053d50
mov qword [rbp + 0x50], rax
lea rdx, [rbp + 0x60]
mov qword [rbp + 0x30], rax
mov r8, rbx
mov qword [rbp + 0x48], rbx
lea rcx, [rax - 0x93a80]
mov r9d, r15d
mov qword [rbp + 0x38], rcx
lea rax, [rsp + 0x40]
mov qword [rbp + 0x58], rax
lea rcx, [rbp - 0x80]
mov qword [rbp + 0x40], rcx
lea rax, [rbp + 0x20]
mov qword [rbp + 0x60], rax
mov rcx, r13
lea rax, [rbp + 0x28]
mov qword [rbp + 0x68], rax
lea rax, [rbp + 0x30]
movaps xmm0, xmmword [rbp + 0x60]
mov qword [rbp + 0x70], rax
lea rax, [rbp + 0x38]
mov qword [rbp + 0x78], rax
lea rax, [rbp - 0x80]
movaps xmm1, xmmword [rbp + 0x70]
mov qword [rbp + 0x80], rax
lea rax, [rsp + 0x40]
mov qword [rbp + 0x88], rax
lea rax, [rbp + 0x158]
mov qword [rbp + 0x90], rax
lea rax, [rsp + 0x70]
mov qword [rbp + 0x98], rax
mov rax, qword [rbp + 0x158]
movaps xmmword [rbp + 0xc0], xmm0
movaps xmm0, xmmword [rbp + 0x80]
movaps xmmword [rbp + 0xd0], xmm1
movaps xmm1, xmmword [rbp + 0x90]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0xc0]
movaps xmmword [rbp + 0xf0], xmm1
movups xmm1, xmmword [rbp + 0x50]
mov qword [rsp + 0x20], rax
movaps xmmword [rbp + 0xe0], xmm0
movups xmm0, xmmword [rbp + 0x40]
movaps xmmword [rbp + 0x70], xmm1
movaps xmmword [rbp + 0x60], xmm0
call fcn.140044480
mov rcx, qword [rbp - 0x60]
xor r15d, r15d
mov qword [r14], r15
mov rdx, qword [rcx + 0x10]
lea r8d, [r15 + 4]
add rcx, 0x18
call fcn.140007820
lea r8d, [r15 + 4]
mov dword [rax], 0x6d072211
mov rcx, qword [rbp - 0x60]
mov ebx, dword [rbp]
mov rdx, qword [rcx + 0x10]
add rcx, 0x18
call fcn.140007820
lea rdx, [rbp + 0xa0]
mov dword [rax], ebx
movaps xmm0, xmmword [rbp - 0x30]
mov rcx, qword [rbp - 0x60]
movaps xmmword [rbp + 0xa0], xmm0
call fcn.140007290
movaps xmm0, xmmword [rbp - 0x20]
lea rdx, [rbp + 0xb0]
mov rcx, qword [rbp - 0x60]
movaps xmmword [rbp + 0xb0], xmm0
call fcn.140007290
movaps xmm0, xmmword [rbp - 0x10]
lea rdx, [rbp + 0x40]
mov rcx, qword [rbp - 0x60]
movaps xmmword [rbp + 0x40], xmm0
call fcn.140007290
mov rcx, qword [rbp - 0x60]
lea r8d, [r15 + 4]
mov rdx, qword [rcx + 0x10]
add rcx, 0x18
call fcn.140007820
mov rdx, qword [rbp + 0x148]
lea rcx, [rbp - 0x80]
mov dword [rax], 0x6d072211
call fcn.1400074c0
lea rcx, [rbp - 0x80]
movzx ebx, al
call fcn.1400073b0
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x140043bce
mov r8, qword [rcx - 8]
add rcx, 0xfffffffffffffff8
mov rdx, qword [rsp + 0x60]
neg r8
lock add qword [rdx], r8
call fcn.140053948
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x140043bf1
mov rdx, qword [rcx - 8]
add rcx, 0xfffffffffffffff8
mov rax, qword [rsp + 0x60]
neg rdx
lock add qword [rax], rdx
call fcn.140053948
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x140043c14
mov rdx, qword [rcx - 8]
add rcx, 0xfffffffffffffff8
mov rax, qword [rsp + 0x60]
neg rdx
lock add qword [rax], rdx
call fcn.140053948
mov qword [rsp + 0x50], r15
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x40], xmm0
mov dword [rsp + 0x58], r15d
mov qword [rsp + 0x68], r15
mov rax, qword [rdi + 8]
mov qword [rdi + 0x10], rsi
cmp qword [rax + 0x20], rsi
jbe 0x140043c4d
nop word [rax + rax]
mov rax, qword [rax]
mov qword [rdi + 8], rax
cmp qword [rax + 0x20], rsi
ja 0x140043c40
mov rax, qword [rdi + 8]
sub rsi, qword [rax + 0x20]
mov qword [rax + 0x18], rsi
cmp byte [0x14008eab8], r15b
je 0x140043c69
xor ecx, ecx
call fcn.14003df60
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
test eax, eax
je 0x140043cde
mov rax, qword [rsp + 0x30]
xor edx, edx
sub rax, qword [0x14008eac8]
imul rax, rax, 0xf4240
div qword [0x14008eac0]
sub rax, r12
add rax, qword [0x14008ead0]
lock add qword [0x14008e790], rax
mov r12, qword [rsp + 0x208]
movzx eax, bl
mov rbx, qword [rsp + 0x240]
mov rdi, qword [rsp + 0x210]
mov rsi, qword [rsp + 0x218]
mov r15, qword [rsp + 0x200]
add rsp, 0x220
pop r14
pop r13
pop rbp
ret
lea rcx, str.QueryPerformanceCounter_failed
call fcn.1400139a0
int3
lea rcx, str.QueryPerformanceCounter_failed
call fcn.1400139a0
int3
lea rcx, str.QueryPerformanceCounter_failed
call fcn.1400139a0
int3