Function at 0x140028160
Capabilities:
Check for time delay via queryperformancecounter
Read file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x2020]
mov eax, 0x2120
call fcn.1400488d0
sub rsp, rax
mov r13d, dword [rbp + 0x2070]
mov rdi, r9
mov rbx, r8
mov r14, rcx
xorps xmm0, xmm0
lea rcx, [rbp]
mov r8, rdi
mov r9d, r13d
movups xmmword [rsp + 0x28], xmm0
call fcn.140045a80
movsd xmm0, qword [rax + 0x10]
movups xmm1, xmmword [rax]
movsd qword [rsp + 0x48], xmm0
movd eax, xmm1
test al, 1
je 0x1400284a1
movd eax, xmm1
shr eax, 2
test al, 1
je 0x1400284a1
lea rcx, [rbx + 8]
xor sil, sil
call qword [sym.imp.KERNEL32.dll_AcquireSRWLockShared]
mov r8, rdi
lea rcx, [rbx + 0x70]
mov edx, r13d
call fcn.140015f50
mov r12, qword [rsp + 0x48]
cmp eax, 0xffffffff
je 0x14002823b
cdqe
lea rcx, [rax + rax*4]
mov rax, qword [rbx + 0x98]
lea rdx, [rax + rcx*8]
test rdx, rdx
je 0x14002823b
cmp qword [rdx + 0x18], r12
jne 0x14002823b
cmp byte [rdx + 0x10], sil
jne 0x14002823b
movups xmm0, xmmword [rdx]
mov rax, qword [rbx + 0xa0]
mov sil, 1
mov qword [rdx + 0x20], rax
movups xmmword [rsp + 0x28], xmm0
lea rcx, [rbx + 8]
call qword [sym.imp.KERNEL32.dll_ReleaseSRWLockShared]
test sil, sil
jne 0x14002849a
lea rcx, [rbp + 0x2050]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
test eax, eax
je 0x1400284e8
mov rax, qword [rbp + 0x2050]
xor edx, edx
sub rax, qword [0x14008eac8]
mov rcx, rdi
imul rax, rax, 0xf4240
div qword [0x14008eac0]
lea rdx, [0x1400802bc]
mov r15, rax
add r15, qword [0x14008ead0]
call fcn.1400147a0
mov rsi, rax
test rax, rax
jne 0x1400282ba
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
test eax, eax
je 0x1400284db
jmp 0x140028463
xor eax, eax
mov dword [rsp + 0x60], 0xadee3562
mov r9, rsi
mov qword [rbp - 0x60], rax
mov r8d, 0x2000
mov qword [rbp - 0x58], rax
lea rcx, [rbp + 0x20]
mov qword [rbp - 0x10], rax
lea edx, [rax + 1]
mov dword [rsp + 0x64], 0xfb6bbb1
mov dword [rsp + 0x68], 0x89caf13a
mov dword [rsp + 0x6c], 0xeb937789
mov dword [rsp + 0x70], 0x3bc2e95c
mov dword [rsp + 0x74], 0x9d8b6fab
mov dword [rsp + 0x78], 0x179fa534
mov dword [rsp + 0x7c], 0x79682b83
mov dword [rbp - 0x80], 0x75bcf3f4
mov dword [rbp - 0x7c], 0xd7857a43
mov dword [rbp - 0x78], 0x5199afcc
mov dword [rbp - 0x74], 0xb362361b
mov dword [rbp - 0x70], 0x13b3573d
mov dword [rbp - 0x6c], 0x757bdd8c
mov dword [rbp - 0x68], 0xef901315
mov dword [rbp - 0x64], 0x51589964
call fcn.140053bec
test rax, rax
je 0x14002838d
nop word [rax + rax]
mov r8, rax
lea rdx, [rbp + 0x20]
lea rcx, [rsp + 0x60]
call fcn.14002be50
mov r9, rsi
lea rcx, [rbp + 0x20]
mov edx, 1
mov r8d, 0x2000
call fcn.140053bec
test rax, rax
jne 0x140028360
mov rcx, rsi
call fcn.140052714
lea rdx, [rsp + 0x28]
lea rcx, [rsp + 0x60]
call fcn.14002c240
lea rcx, [rbx + 8]
call qword [sym.imp.KERNEL32.dll_AcquireSRWLockExclusive]
mov r8, rdi
lea rcx, [rbx + 0x70]
mov edx, r13d
call fcn.140015f50
cmp eax, 0xffffffff
je 0x1400283f5
cdqe
lea rcx, [rax + rax*4]
mov rax, qword [rbx + 0x98]
lea rdx, [rax + rcx*8]
test rdx, rdx
je 0x1400283f5
movups xmm0, xmmword [rsp + 0x28]
mov qword [rdx + 0x18], r12
movups xmmword [rdx], xmm0
mov rax, qword [rbx + 0xa0]
mov qword [rdx + 0x20], rax
mov byte [rdx + 0x10], 0
jmp 0x14002844a
movups xmm0, xmmword [rsp + 0x28]
mov rax, qword [rbx + 0xa0]
mov r8, 0xffffffffffffffff
mov qword [rsp + 0x50], r12
movups xmmword [rsp + 0x38], xmm0
mov qword [rsp + 0x58], rax
mov byte [rsp + 0x48], 0
nop dword [rax]
inc r8
cmp byte [rdi + r8], 0
jne 0x140028420
lea rcx, [rbx + 0x20]
mov rdx, rdi
call fcn.14001e6c0
mov r8, rax
lea rcx, [rbx + 0x70]
lea r9, [rsp + 0x38]
mov edx, r13d
call fcn.14001ecb0
lea rcx, [rbx + 8]
call qword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
test eax, eax
je 0x1400284ce
mov rax, qword [rsp + 0x20]
xor edx, edx
sub rax, qword [0x14008eac8]
imul rax, rax, 0xf4240
div qword [0x14008eac0]
sub rax, r15
add rax, qword [0x14008ead0]
lock inc dword [0x14008e834]
lock add qword [0x14008e838], rax
jmp 0x1400284a1
lock inc dword [0x14008e830]
movups xmm0, xmmword [rsp + 0x28]
lea r11, [rsp + 0x2120]
mov rax, r14
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
movups xmmword [r14], xmm0
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
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