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

Disassembly:
push rbp
push rbx
push rdi
mov rbp, rsp
sub rsp, 0x80
mov rdi, rcx
mov rbx, rdx
lea rcx, [rbp + 0x20]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
test eax, eax
je 0x140029174
mov rax, qword [rbp + 0x20]
lea rcx, [rbp - 0x48]
sub rax, qword [0x14009c1f8]
xor edx, edx
imul rax, rax, 0xf4240
mov qword [rsp + 0xa8], rsi
div qword [0x14009c1f0]
mov rdx, rbx
mov rsi, rax
add rsi, qword [0x14009c200]
call fcn.1400151a0
xor edx, edx
lea rcx, [rbp - 0x48]
call fcn.140015480
test al, al
je 0x14002908f
cmp qword [rbp - 0x30], 8
lea rcx, [rbp - 0x48]
lea r8, [rbp - 0x28]
cmovae rcx, qword [rbp - 0x48]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_GetFileAttributesExW]
test eax, eax
je 0x14002908f
mov ecx, dword [rbp - 0x28]
bt ecx, 0xa
jae 0x140028fc4
mov eax, 0x11
jmp 0x140028fd4
test cl, 0x10
mov eax, 5
mov edx, 9
cmovne eax, edx
mov edx, eax
or edx, 0x20
test byte [rbp - 0x28], 1
cmove edx, eax
test dl, 8
je 0x140028fef
mov qword [rbp - 0x50], 1
jmp 0x140029000
mov ecx, dword [rbp - 0x10]
mov eax, dword [rbp - 0x14]
shl rcx, 0x20
add rcx, rax
mov qword [rbp - 0x50], rcx
mov ecx, dword [rbp - 0xc]
mov eax, dword [rbp - 8]
movsd xmm1, qword [rbp - 0x50]
shl rcx, 0x20
add rcx, rax
mov dword [rbp - 0x60], edx
mov rdx, qword [rbp - 0x30]
mov qword [rbp - 0x58], rcx
movups xmm0, xmmword [rbp - 0x60]
movups xmmword [rdi], xmm0
movsd qword [rdi + 0x10], xmm1
cmp rdx, 8
jb 0x140029065
mov rcx, qword [rbp - 0x48]
lea rdx, [rdx*2 + 2]
cmp rdx, 0x1000
jb 0x140029060
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140029161
mov rcx, r8
call fcn.14004d934
movdqa xmm0, xmmword [0x14008fee0]
lea rcx, [rbp + 0x30]
xor ebx, ebx
movdqu xmmword [rbp - 0x38], xmm0
mov word [rbp - 0x48], bx
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
test eax, eax
je 0x140029167
jmp 0x140029117
call fcn.140058fb8
mov rdx, qword [rbp - 0x30]
xor ebx, ebx
mov ecx, 2
mov qword [rbp - 0x58], rbx
mov qword [rbp - 0x50], rbx
cmp dword [rax], ecx
movsd xmm1, qword [rbp - 0x50]
cmove ecx, ebx
mov dword [rbp - 0x60], ecx
movups xmm0, xmmword [rbp - 0x60]
movups xmmword [rdi], xmm0
movsd qword [rdi + 0x10], xmm1
cmp rdx, 8
jb 0x1400290f8
mov rcx, qword [rbp - 0x48]
lea rdx, [rdx*2 + 2]
cmp rdx, 0x1000
jb 0x1400290f3
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140029161
mov rcx, r8
call fcn.14004d934
movdqa xmm0, xmmword [0x14008fee0]
lea rcx, [rbp + 0x30]
movdqu xmmword [rbp - 0x38], xmm0
mov word [rbp - 0x48], bx
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
test eax, eax
je 0x140029181
mov rax, qword [rbp + 0x30]
xor edx, edx
sub rax, qword [0x14009c1f8]
imul rax, rax, 0xf4240
div qword [0x14009c1f0]
sub rax, rsi
add rax, qword [0x14009c200]
lock inc dword [0x14009bb20]
lock add qword [0x14009bb28], rax
mov rsi, qword [rsp + 0xa8]
mov rax, rdi
add rsp, 0x80
pop rdi
pop rbx
pop rbp
ret
call fcn.140055668
int3
lea rcx, str.QueryPerformanceCounter_failed
call fcn.140014f00
int3
lea rcx, str.QueryPerformanceCounter_failed
call fcn.140014f00
int3
lea rcx, str.QueryPerformanceCounter_failed
call fcn.140014f00
int3