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

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x78
mov r9, rdx
mov rdi, rcx
mov rax, qword [0x140231040]
xor rax, rsp
mov qword [rsp + 0x70], rax
movabs r10, 0xaaaaaaaaaaaaaaaa
lea rsi, [r10 - 0xaa]
cmp byte [r8 + 0x18], 0
mov ecx, 0xaaaaaaaa
je 0x140115117
mov r15, qword [r8]
mov r12, qword [r8 + 8]
mov r13d, dword [r8 + 0x10]
mov r14d, dword [r8 + 0x14]
mov rbp, r15
cmp r14d, 1
je 0x14011545e
cmp byte [r9 + 8], 0
je 0x14011512d
mov rax, qword [r9]
cmp rax, rbp
jge 0x1401151c3
cmp qword [rdi + 0x240], 0
jne 0x140115117
mov al, 1
test r15, r15
je 0x1401151c3
mov rdi, qword [rdi + 0x30]
mov qword [rsp + 0x28], r15
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x38], r13d
mov dword [rsp + 0x3c], r14d
mov byte [rsp + 0x40], al
mov dword [rsp + 0x41], ecx
mov dword [rsp + 0x44], ecx
mov rax, qword [rdi]
mov rax, qword [rax + 0x20]
lea rcx, [0x140129de0]
cmp rax, rcx
jne 0x140115448
mov eax, dword [rdi + 0x1a8]
cmp eax, 4
je 0x140115282
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.14012d2c0
nop
add rsp, 0x78
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
xor eax, eax
mov r15, rsi
mov r12, r10
mov r13d, 0xaaaaaaaa
mov r14d, 0xaaaaaaaa
jmp 0x1401150ae
mov qword [rsp + 0x20], r9
mov rax, qword [fcn.140116a00]
lea rcx, [0x140116ab0]
cmp rax, rcx
jne 0x140115404
lea rbx, [rsp + 0x48]
mov qword [rbx], 0
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rax, qword [rbx]
movabs rcx, 0x8637bd05af7
cmp rax, rcx
jge 0x1401154cb
imul rax, rax, 0xf4240
cqo
idiv qword [0x1402439e8]
mov r9, qword [rsp + 0x20]
mov ecx, 0xaaaaaaaa
mov qword [rsp + 0x48], rax
movabs r10, 0xaaaaaaaaaaaaaaaa
cmp byte [r9 + 8], 0
jne 0x1401154be
test r9, r9
je 0x1401154ab
mov rax, qword [rsp + 0x48]
mov qword [r9], rax
mov byte [r9 + 8], 1
jmp 0x140115090
mov rcx, qword [rdi + 0x30]
mov rax, qword [rcx]
mov rax, qword [rax + 0x18]
call qword [0x1402233e0]
jmp 0x1401150f8
mov rsi, r9
mov rax, qword [fcn.140116a00]
lea rcx, [0x140116ab0]
cmp rax, rcx
jne 0x140115435
lea rbx, [rsp + 0x48]
mov qword [rbx], 0
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rax, qword [rbx]
movabs rcx, 0x8637bd05af7
cmp rax, rcx
jge 0x1401155c1
imul rax, rax, 0xf4240
cqo
idiv qword [0x1402439e8]
mov r9, rsi
mov qword [rsp + 0x48], rax
cmp byte [r9 + 8], 0
jne 0x140115527
test r9, r9
je 0x1401154ab
mov rcx, qword [rsp + 0x48]
mov qword [r9], rcx
mov byte [r9 + 8], 1
mov ebp, dword [rsp + 0x3c]
cmp byte [rsp + 0x40], 0
sete al
jmp 0x140115310
mov rcx, qword [rsp + 0x28]
cmp ebp, 1
je 0x1401155e8
mov rsi, rcx
jmp 0x1401152cb
mov al, 1
jmp 0x140115332
movabs r15, 0x7fffffffffffffff
cmp byte [rsp + 0x40], 0
mov ebp, dword [rsp + 0x3c]
je 0x14011527b
test ebp, ebp
jne 0x140115268
mov rcx, qword [rsp + 0x28]
mov rsi, qword [rsp + 0x30]
lea rax, [r15 + rsi]
add rax, 2
cmp rax, 2
jb 0x1401154f9
lea rax, [rcx + rsi]
sar rax, 0x3f
btc rax, 0x3f
add rsi, rcx
cmovo rsi, rax
mov r12, rcx
mov qword [rsp + 0x48], r12
mov rax, qword [0x140233748]
shr rax, 1
mov edx, 0x3e8
mul rdx
jo 0x140115534
cmp rax, 0x3e81
jae 0x140115534
cmp r12, r15
je 0x1401154f2
cmp byte [r9 + 8], 0
je 0x1401151d9
mov rcx, qword [r9]
xor eax, eax
movabs rdx, 0x141dd76000
add rdx, rcx
movabs r15, 0x7fffffffffffffff
cmovno r15, rdx
cmp r15, r12
cmovge r15, r12
mov rdi, qword [rdi + 0x228]
mov qword [rsp + 0x48], r15
xor ecx, ecx
mov edx, 0
cmp ebp, 2
je 0x14011534f
mov rdx, qword [rsp + 0x30]
test al, al
cmovne rdx, rcx
mov qword [rsp + 0x50], rdx
cmp byte [r9 + 8], 0
je 0x140115386
mov rax, qword [r9]
lea rdx, [rsp + 0x48]
mov qword [rdx + 0x10], rax
mov byte [rdx + 0x18], 0
mov rax, qword [rdi]
mov rax, qword [rax + 0x20]
mov rcx, rdi
call qword [0x1402233e0]
jmp 0x1401150f8
mov rsi, r9
mov rax, qword [fcn.140116a00]
lea rcx, [0x140116ab0]
cmp rax, rcx
jne 0x140115428
lea rbx, [rsp + 0x68]
mov qword [rbx], 0
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rax, qword [rbx]
movabs rcx, 0x8637bd05af7
cmp rax, rcx
jge 0x14011559a
imul rax, rax, 0xf4240
cqo
idiv qword [0x1402439e8]
mov qword [rsp + 0x68], rax
cmp byte [rsi + 8], 0
jne 0x14011551a
test rsi, rsi
je 0x1401154ab
mov rax, qword [rsp + 0x68]
mov qword [rsi], rax
mov byte [rsi + 8], 1
jmp 0x140115364
lea rcx, [rsp + 0x48]
call qword [0x1402233e0]
mov r9, qword [rsp + 0x20]
movabs r10, 0xaaaaaaaaaaaaaaaa
mov ecx, 0xaaaaaaaa
jmp 0x14011519d
lea rcx, [rsp + 0x68]
call qword [0x1402233e0]
jmp 0x1401153e0
lea rcx, [rsp + 0x48]
call qword [0x1402233e0]
mov r9, rsi
jmp 0x140115236
lea r8, [rsp + 0x28]
mov rcx, rdi
mov rdx, r9
call qword [0x1402233e0]
jmp 0x1401150f8
movabs rax, 0x7fffffffffffffff
lea rcx, [r12 + rax]
add rcx, 2
cmp rcx, 2
jb 0x14011548d
xor ecx, ecx
cmp r15, r12
setns cl
add rcx, rax
mov rbp, r15
sub rbp, r12
cmovo rbp, rcx
jmp 0x1401154a1
cmp r15, r12
je 0x140115634
lea rbp, [rax + 1]
test r12, r12
cmovs rbp, rax
mov ecx, 0xaaaaaaaa
jmp 0x140115082
lea rcx, [0x14020310b]
lea rdx, str....._third_partylibc_srcinclude__memoryconstruct_at.h:40:_assertion___location___nullptr_failed:_null_pointer_given_to_construct_at_n
call fcn.140164a90
mov rax, qword [rsp + 0x48]
mov qword [r9], rax
jmp 0x140115090
mov rcx, qword [0x1402439e8]
cqo
idiv rcx
imul r8, rax, 0xf4240
imul rax, rdx, 0xf4240
cqo
idiv rcx
add rax, r8
jmp 0x140115184
xor eax, eax
jmp 0x140115332
cmp rcx, rsi
je 0x1401152cb
lea rax, [r15 + rcx]
add rax, 2
mov r12, rcx
cmp rax, 1
ja 0x1401152ce
int3
mov rax, qword [rsp + 0x68]
mov qword [rsi], rax
jmp 0x140115364
mov rcx, qword [rsp + 0x48]
mov qword [r9], rcx
jmp 0x140115257
mov rax, qword [0x140233748]
mov r12, rcx
test al, 1
je 0x1401152f7
lea rbx, [rsp + 0x68]
mov qword [rbx], r10
mov rax, qword [0x140233748]
shr rax, 1
mov ecx, 0x3e8
mul rcx
mov r14, r9
mov r9, 0xffffffffffffffff
cmovno r9, rax
test r9, r9
cmovs r9, r15
lea rcx, [rsp + 0x48]
mov rdx, rbx
xor r8d, r8d
call fcn.140128a50
mov r9, r14
mov rax, qword [rbx]
cmp rax, rsi
cmovl rsi, rax
mov r12, rsi
jmp 0x1401152f7
mov rcx, qword [0x1402439e8]
cqo
idiv rcx
imul r8, rax, 0xf4240
imul rax, rdx, 0xf4240
cqo
idiv rcx
add rax, r8
jmp 0x1401153db
mov rcx, qword [0x1402439e8]
cqo
idiv rcx
imul r8, rax, 0xf4240
imul rax, rdx, 0xf4240
cqo
idiv rcx
add rax, r8
jmp 0x14011522e
mov rax, qword [rsp + 0x30]
lea rdx, [r15 + rax]
add rdx, 2
cmp rdx, 2
jb 0x14011561c
xor edx, edx
cmp rcx, rax
setns dl
movabs r8, 0x7fffffffffffffff
add r8, rdx
mov r12, rcx
sub r12, rax
cmovo r12, r8
jmp 0x14011562c
cmp rcx, rax
je 0x140115637
lea r12, [r15 + 1]
test rax, rax
cmovs r12, r15
mov rsi, rcx
jmp 0x1401152ce
int3
int3