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

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x150
mov rbx, r9
mov r12, r8
mov r15d, edx
mov rdi, qword [rsp + 0x1b0]
mov rax, qword [0x1401f5028]
xor rax, rsp
mov qword [rsp + 0x148], rax
mov rbp, qword [rcx + 0x370]
test rbp, rbp
je 0x140036023
lea rsi, [rsp + 0x80]
mov r8d, 0x98
mov rcx, rsi
mov dl, 0xaa
call fcn.1400f5b50
mov rcx, rsi
call fcn.1400361b0
movaps xmm0, xmmword [0x1401c8a80]
movaps xmmword [rsp + 0x120], xmm0
movabs rax, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0x140], rax
movaps xmmword [rsp + 0x130], xmm0
mov word [rsp + 0x120], 0x301
mov qword [rsp + 0x128], rbx
movsxd rcx, dword [rdi]
mov qword [rsp + 0x138], rcx
mov qword [rsp + 0x70], rax
mov rax, qword [0x1401f6fa8]
lea rcx, [0x1400eff50]
cmp rax, rcx
jne 0x140036011
lea rsi, [rsp + 0x78]
mov qword [rsi], 0
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rax, qword [rsi]
movabs rcx, 0x8637bd05af7
cmp rax, rcx
jge 0x14003613d
imul rax, rax, 0xf4240
cqo
idiv qword [0x1401fe650]
mov r8, rax
mov qword [rsp + 0x70], r8
lea rsi, [rsp + 0x120]
mov qword [rsp + 0x58], rsi
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x38], r12
lea rax, [0x1401f6fd0]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x60], 0
mov qword [rsp + 0x50], 0
mov byte [rsp + 0x28], 0x4d
mov qword [rsp + 0x20], 0xffffffffffffffff
lea rdi, [rsp + 0x80]
mov rcx, rdi
mov edx, r15d
xor r9d, r9d
call fcn.1400361f0
mov rcx, rsi
call fcn.1400b2680
mov rcx, rdi
mov dl, 1
xor r8d, r8d
call rbp
lea rsi, [rsp + 0xd8]
mov rcx, rsi
call fcn.1400b2680
mov rdx, qword [rsi - 8]
test rdx, rdx
jne 0x140036002
mov rcx, qword [rsp + 0x148]
xor rcx, rsp
call fcn.1400f32c0
nop
add rsp, 0x150
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
mov rcx, qword [0x1401f8278]
xor r8d, r8d
call qword [rcx + 0x28]
jmp 0x140035fdf
lea rsi, [rsp + 0x70]
mov rcx, rsi
call rax
mov r8, qword [rsi]
jmp 0x140035f59
xor edx, edx
xor r8d, r8d
call fcn.140148ac0
test rax, rax
je 0x140035fdf
mov r14, rax
movaps xmm0, xmmword [0x1401c8a80]
movaps xmmword [rsp + 0x80], xmm0
movabs rax, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0xa0], rax
movaps xmmword [rsp + 0x90], xmm0
mov word [rsp + 0x80], 0x301
mov qword [rsp + 0x88], rbx
movsxd rcx, dword [rdi]
mov qword [rsp + 0x98], rcx
mov qword [rsp + 0x78], rax
mov rax, qword [0x1401f6fa8]
lea rcx, [0x1400eff50]
cmp rax, rcx
jne 0x140036167
lea rsi, [rsp + 0x120]
mov qword [rsi], 0
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rax, qword [rsi]
movabs rcx, 0x8637bd05af7
cmp rax, rcx
jge 0x140036179
imul rax, rax, 0xf4240
cqo
idiv qword [0x1401fe650]
mov r8, rax
mov qword [rsp + 0x78], r8
lea rsi, [rsp + 0x80]
mov qword [rsp + 0x58], rsi
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x38], r12
lea rax, [0x1401f6fd0]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x60], 0
mov qword [rsp + 0x50], 0
mov byte [rsp + 0x28], 0x4d
mov qword [rsp + 0x20], 0xffffffffffffffff
mov rcx, r14
mov edx, r15d
xor r9d, r9d
call fcn.1400361f0
mov rcx, rsi
call fcn.1400b2680
jmp 0x140035fdf
mov rcx, qword [0x1401fe650]
cqo
idiv rcx
imul rbx, rax, 0xf4240
imul rax, rdx, 0xf4240
cqo
idiv rcx
mov r8, rax
add r8, rbx
jmp 0x140035f54
lea rsi, [rsp + 0x78]
mov rcx, rsi
call rax
mov r8, qword [rsi]
jmp 0x1400360dd
mov rcx, qword [0x1401fe650]
cqo
idiv rcx
imul rbp, rax, 0xf4240
imul rax, rdx, 0xf4240
cqo
idiv rcx
mov r8, rax
add r8, rbp
jmp 0x1400360d8