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

Disassembly:
mov qword [rsp + 0x10], rdx
push rbp
push rbx
push r14
lea rbp, [rsp - 0x150]
sub rsp, 0x250
mov r14, rcx
mov rbx, r8
lea rcx, [rbp + 0x10]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
test eax, eax
je 0x1400478af
mov rax, qword [rbp + 0x10]
xor edx, edx
sub rax, qword [0x140098f18]
imul rax, rax, 0xf4240
mov qword [rsp + 0x240], r12
div qword [0x140098f10]
mov qword [rsp + 0x230], r15
xor r15d, r15d
mov r12, rax
add r12, qword [0x140098f20]
cmp byte [0x140098b00], r15b
je 0x1400473a6
lea rax, str.Tundra_SaveScanCache
mov dword [rbp + 0xc0], r15d
xorps xmm0, xmm0
mov qword [rbp + 0xc8], rax
lea rcx, [rbp + 0x18]
mov dword [rbp + 0xe8], 0x32
movdqu xmmword [rbp + 0xd0], xmm0
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
test eax, eax
je 0x1400478bc
mov rax, qword [rbp + 0x18]
xor edx, edx
sub rax, qword [0x140098f18]
imul rax, rax, 0xf4240
div qword [0x140098f10]
add rax, qword [0x140098f20]
mov qword [rbp + 0xe0], rax
mov qword [rsp + 0x270], rsi
lea rcx, [rbp - 0x80]
xorps xmm0, xmm0
mov qword [rsp + 0x248], rdi
mov rdi, qword [r14 + 0x18]
mov qword [rsp + 0x238], r13
mov rsi, qword [rdi + 0x10]
movdqu xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], r15
mov dword [rsp + 0x58], r15d
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x68], r15
mov qword [rbp - 0x80], rbx
mov qword [rbp - 0x78], r15
movdqa xmmword [rbp - 0x70], xmm0
call fcn.140007d60
lea rcx, [rbp - 0x80]
mov qword [rbp - 0x60], rax
call fcn.140007d60
lea rcx, [rbp - 0x80]
mov qword [rbp - 0x58], rax
call fcn.140007d60
lea rcx, [rbp - 0x80]
mov qword [rbp - 0x50], rax
call fcn.140007d60
lea rcx, [rbp - 0x80]
mov qword [rbp - 0x48], rax
call fcn.140007d60
lea rcx, [rbp - 0x80]
mov qword [rbp - 0x40], rax
call fcn.140007d60
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
lea r15, [r13*8]
mov qword [rsp + 0x38], rax
movups xmm0, xmmword [rsp + 0x30]
movaps xmmword [rbp - 0x10], xmm0
mov rcx, qword [rdi + 8]
mov rdx, qword [rcx + 0x18]
add rdx, 7
and rdx, 0xfffffffffffffff8
lea rax, [rdx + r15]
cmp rax, qword [rcx + 0x10]
jbe 0x1400474c9
mov rdx, r15
mov rcx, rdi
call fcn.14003bc10
xor edx, edx
mov rcx, qword [rdi + 8]
lea rax, [rdx + r15]
mov rbx, qword [rcx + 0x28]
mov qword [rcx + 0x18], rax
add rbx, rdx
mov rax, qword [rdi + 8]
xor edx, edx
mov rcx, qword [rax + 0x20]
add rcx, qword [rax + 0x18]
mov qword [rdi + 0x10], rcx
mov eax, dword [r14 + 0x24]
test eax, eax
je 0x140047529
xor r8d, r8d
mov r9d, eax
nop dword [rax]
mov rax, qword [r14 + 0x28]
mov rax, qword [r8 + rax]
test rax, rax
je 0x14004751f
nop dword [rax]
mov qword [rbx + rdx*8], rax
inc edx
mov rax, qword [rax + 0x28]
test rax, rax
jne 0x140047510
add r8, 8
sub r9, 1
jne 0x140047500
lea rdx, [r15 + rbx]
mov rcx, rbx
mov r8, rdx
lea r9, [0x140047140]
sub r8, rbx
sar r8, 3
call fcn.140047940
mov r8, qword [r14]
test r8, r8
je 0x1400475a6
movsxd rcx, dword [r8 + 8]
lea rax, [r8 + 8]
mov r15d, dword [r8 + 4]
lea rdx, [rax + rcx]
xor eax, eax
sub eax, ecx
neg eax
sbb rax, rax
and rdx, rax
lea rax, [r8 + 0xc]
mov qword [rbp + 0x188], rdx
movsxd rcx, dword [rax]
lea rdx, [rax + rcx]
xor eax, eax
sub eax, ecx
neg eax
sbb rax, rax
and rdx, rax
lea rax, [r8 + 0x10]
mov qword [rsp + 0x70], rdx
movsxd rcx, dword [rax]
lea rdx, [rax + rcx]
xor eax, eax
sub eax, ecx
neg eax
sbb rax, rax
and rdx, rax
jmp 0x1400475b9
xor eax, eax
mov qword [rbp + 0x188], rax
mov edx, eax
mov qword [rsp + 0x70], rax
mov r15d, eax
mov rax, qword [r14 + 0x38]
xor ecx, ecx
mov qword [rbp + 0x28], rax
mov qword [rbp + 0x20], rdx
call fcn.140057cb8
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 + 0x188]
mov qword [rbp + 0x90], rax
lea rax, [rsp + 0x70]
mov qword [rbp + 0x98], rax
mov rax, qword [rbp + 0x188]
movaps xmmword [rbp + 0xf0], xmm0
movaps xmm0, xmmword [rbp + 0x80]
movaps xmmword [rbp + 0x100], xmm1
movaps xmm1, xmmword [rbp + 0x90]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0xf0]
movaps xmmword [rbp + 0x120], xmm1
movups xmm1, xmmword [rbp + 0x50]
mov qword [rsp + 0x20], rax
movaps xmmword [rbp + 0x110], xmm0
movups xmm0, xmmword [rbp + 0x40]
movaps xmmword [rbp + 0x70], xmm1
movaps xmmword [rbp + 0x60], xmm0
call fcn.140047ea0
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.140007ed0
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.140007ed0
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.140007950
movaps xmm0, xmmword [rbp - 0x20]
lea rdx, [rbp + 0xb0]
mov rcx, qword [rbp - 0x60]
movaps xmmword [rbp + 0xb0], xmm0
call fcn.140007950
movaps xmm0, xmmword [rbp - 0x10]
lea rdx, [rbp + 0x40]
mov rcx, qword [rbp - 0x60]
movaps xmmword [rbp + 0x40], xmm0
call fcn.140007950
mov rcx, qword [rbp - 0x60]
lea r8d, [r15 + 4]
mov rdx, qword [rcx + 0x10]
add rcx, 0x18
call fcn.140007ed0
mov rdx, qword [rbp + 0x178]
lea rcx, [rbp - 0x80]
mov dword [rax], 0x6d072211
call fcn.140007b80
lea rcx, [rbp - 0x80]
movzx ebx, al
call fcn.140007a60
mov rcx, qword [rsp + 0x40]
mov r13, qword [rsp + 0x238]
test rcx, rcx
je 0x14004779a
mov r8, qword [rcx - 8]
add rcx, 0xfffffffffffffff8
mov rdx, qword [rsp + 0x60]
neg r8
lock xadd qword [rdx], r8
call fcn.1400578b0
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x1400477be
mov rdx, qword [rcx - 8]
add rcx, 0xfffffffffffffff8
mov rax, qword [rsp + 0x60]
neg rdx
lock xadd qword [rax], rdx
call fcn.1400578b0
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x1400477e2
mov rdx, qword [rcx - 8]
add rcx, 0xfffffffffffffff8
mov rax, qword [rsp + 0x60]
neg rdx
lock xadd qword [rax], rdx
call fcn.1400578b0
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 0x14004781d
nop dword [rax + rax]
mov rax, qword [rax]
mov qword [rdi + 8], rax
cmp qword [rax + 0x20], rsi
ja 0x140047810
mov rax, qword [rdi + 8]
lea rcx, [rbp + 0xc0]
sub rsi, qword [rax + 0x20]
mov qword [rax + 0x18], rsi
call fcn.140001250
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rdi, qword [rsp + 0x248]
mov rsi, qword [rsp + 0x270]
test eax, eax
je 0x1400478a2
mov rax, qword [rsp + 0x30]
xor edx, edx
sub rax, qword [0x140098f18]
imul rax, rax, 0xf4240
div qword [0x140098f10]
sub rax, r12
add rax, qword [0x140098f20]
lock xadd qword [0x1400987e0], rax
mov r12, qword [rsp + 0x240]
movzx eax, bl
mov r15, qword [rsp + 0x230]
add rsp, 0x250
pop r14
pop rbx
pop rbp
ret
lea rcx, str.QueryPerformanceCounter_failed
call fcn.140013bd0
int3
lea rcx, str.QueryPerformanceCounter_failed
call fcn.140013bd0
int3
lea rcx, str.QueryPerformanceCounter_failed
call fcn.140013bd0
int3