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

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r14
lea rbp, [rsp - 0x2060]
mov eax, 0x2160
call fcn.14004c200
sub rsp, rax
cmp byte [0x140099b70], 0
mov rbx, r9
mov rdi, r8
mov rsi, rdx
mov r14, rcx
je 0x140029e59
mov eax, dword [rbp + 0x20b8]
lea rcx, [rbp + 0x2090]
mov dword [rsp + 0x68], eax
lea rax, str.ComputeFileSignatureSha1
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x78], rbx
mov qword [rbp - 0x80], 0
mov dword [rbp - 0x70], 0x32
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
test eax, eax
je 0x14002a1fa
mov rax, qword [rbp + 0x2090]
xor edx, edx
sub rax, qword [0x140099f88]
imul rax, rax, 0xf4240
div qword [0x140099f80]
add rax, qword [0x140099f90]
mov qword [rbp - 0x78], rax
mov qword [rsp + 0x2198], r12
lea rcx, [rbp + 0x40]
mov qword [rsp + 0x21a0], r13
xorps xmm0, xmm0
mov r13d, dword [rbp + 0x20b0]
mov r8, rbx
mov r9d, r13d
mov qword [rsp + 0x21a8], r15
mov rdx, rsi
movups xmmword [rsp + 0x28], xmm0
call fcn.1400490d0
movups xmm1, xmmword [rax]
movsd xmm0, qword [rax + 0x10]
movd eax, xmm1
movups xmmword [rsp + 0x40], xmm1
movsd qword [rsp + 0x50], xmm0
test al, 1
je 0x14002a1b1
mov eax, dword [rsp + 0x40]
shr eax, 2
test al, 1
je 0x14002a1b1
lea rcx, [rdi + 8]
xor sil, sil
call qword [sym.imp.KERNEL32.dll_AcquireSRWLockShared]
mov r8, rbx
lea rcx, [rdi + 0x70]
mov edx, r13d
call fcn.140015f60
mov r12, qword [rsp + 0x50]
cmp eax, 0xffffffff
je 0x140029f1e
cdqe
lea rcx, [rax + rax*4]
mov rax, qword [rdi + 0x98]
lea rdx, [rax + rcx*8]
test rdx, rdx
je 0x140029f1e
cmp qword [rdx + 0x18], r12
jne 0x140029f1e
cmp byte [rdx + 0x10], sil
jne 0x140029f1e
movups xmm0, xmmword [rdx]
mov rax, qword [rdi + 0xa0]
mov sil, 1
mov qword [rdx + 0x20], rax
movups xmmword [rsp + 0x28], xmm0
lea rcx, [rdi + 8]
call qword [sym.imp.KERNEL32.dll_ReleaseSRWLockShared]
test sil, sil
jne 0x14002a1aa
lea rcx, [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
test eax, eax
je 0x14002a207
mov rax, qword [rsp + 0x38]
xor edx, edx
sub rax, qword [0x140099f88]
mov rcx, rbx
imul rax, rax, 0xf4240
div qword [0x140099f80]
lea rdx, [0x14008abcc]
mov r15, rax
add r15, qword [0x140099f90]
call fcn.1400147d0
mov rsi, rax
test rax, rax
jne 0x140029fd7
movups xmm0, xmmword [rsp + 0x28]
lea rcx, [rsp + 0x20]
movups xmmword [r14], xmm0
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
test eax, eax
je 0x14002a214
mov rax, qword [rsp + 0x20]
xor edx, edx
sub rax, qword [0x140099f88]
imul rax, rax, 0xf4240
div qword [0x140099f80]
sub rax, r15
add rax, qword [0x140099f90]
lock inc dword [0x1400998f4]
lock add qword [0x1400998f8], rax
jmp 0x14002a1ba
xor eax, eax
mov dword [rbp - 0x60], 0xadee3562
mov r9, rsi
mov qword [rbp - 0x20], rax
mov r8d, 0x2000
mov qword [rbp - 0x18], rax
lea rcx, [rbp + 0x60]
mov qword [rbp + 0x30], rax
lea edx, [rax + 1]
mov dword [rbp - 0x5c], 0xfb6bbb1
mov dword [rbp - 0x58], 0x89caf13a
mov dword [rbp - 0x54], 0xeb937789
mov dword [rbp - 0x50], 0x3bc2e95c
mov dword [rbp - 0x4c], 0x9d8b6fab
mov dword [rbp - 0x48], 0x179fa534
mov dword [rbp - 0x44], 0x79682b83
mov dword [rbp - 0x40], 0x75bcf3f4
mov dword [rbp - 0x3c], 0xd7857a43
mov dword [rbp - 0x38], 0x5199afcc
mov dword [rbp - 0x34], 0xb362361b
mov dword [rbp - 0x30], 0x13b3573d
mov dword [rbp - 0x2c], 0x757bdd8c
mov dword [rbp - 0x28], 0xef901315
mov dword [rbp - 0x24], 0x51589964
call fcn.140058984
test rax, rax
je 0x14002a09c
nop
mov r8, rax
lea rdx, [rbp + 0x60]
lea rcx, [rbp - 0x60]
call fcn.14002d9d0
mov r9, rsi
lea rcx, [rbp + 0x60]
mov edx, 1
mov r8d, 0x2000
call fcn.140058984
test rax, rax
jne 0x14002a070
mov rcx, rsi
call fcn.140056cc4
lea rdx, [rsp + 0x28]
lea rcx, [rbp - 0x60]
call fcn.14002ddc0
lea rcx, [rdi + 8]
call qword [sym.imp.KERNEL32.dll_AcquireSRWLockExclusive]
mov r8, rbx
lea rcx, [rdi + 0x70]
mov edx, r13d
call fcn.140015f60
cmp eax, 0xffffffff
je 0x14002a103
cdqe
lea rcx, [rax + rax*4]
mov rax, qword [rdi + 0x98]
lea rdx, [rax + rcx*8]
test rdx, rdx
je 0x14002a103
movups xmm0, xmmword [rsp + 0x28]
mov qword [rdx + 0x18], r12
movups xmmword [rdx], xmm0
mov rax, qword [rdi + 0xa0]
mov qword [rdx + 0x20], rax
mov byte [rdx + 0x10], 0
jmp 0x14002a15a
movups xmm0, xmmword [rsp + 0x28]
mov rax, qword [rdi + 0xa0]
mov r8, 0xffffffffffffffff
mov qword [rsp + 0x58], r12
movups xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x60], rax
mov byte [rsp + 0x50], 0
nop word [rax + rax]
inc r8
cmp byte [rbx + r8], 0
jne 0x14002a130
lea rcx, [rdi + 0x20]
mov rdx, rbx
call fcn.14001f6c0
mov r8, rax
lea rcx, [rdi + 0x70]
lea r9, [rsp + 0x40]
mov edx, r13d
call fcn.14001fcb0
lea rcx, [rdi + 8]
call qword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
test eax, eax
je 0x14002a1ed
mov rax, qword [rsp + 0x20]
xor edx, edx
sub rax, qword [0x140099f88]
imul rax, rax, 0xf4240
div qword [0x140099f80]
sub rax, r15
add rax, qword [0x140099f90]
lock inc dword [0x1400998f4]
lock add qword [0x1400998f8], rax
jmp 0x14002a1b1
lock inc dword [0x1400998f0]
movups xmm0, xmmword [rsp + 0x28]
movups xmmword [r14], xmm0
lea rcx, [rsp + 0x68]
call fcn.140001250
mov r13, qword [rsp + 0x21a0]
mov rax, r14
mov r12, qword [rsp + 0x2198]
mov r15, qword [rsp + 0x21a8]
add rsp, 0x2160
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret
lea rcx, str.QueryPerformanceCounter_failed
call fcn.140013a60
int3
lea rcx, str.QueryPerformanceCounter_failed
call fcn.140013a60
int3
lea rcx, str.QueryPerformanceCounter_failed
call fcn.140013a60
int3
lea rcx, str.QueryPerformanceCounter_failed
call fcn.140013a60
int3