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

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rdi
push rsi
push rbx
sub rsp, 0x118
lea rbp, [rsp + 0x150]
xor eax, eax
mov qword [rbp - 0xf8], rax
xorps xmm4, xmm4
movaps xmmword [rbp - 0xf0], xmm4
movaps xmmword [rbp - 0xe0], xmm4
movabs rax, 0xffffffffffffff70
movaps xmmword [rbp + rax - 0x40], xmm4
movaps xmmword [rbp + rax - 0x30], xmm4
movaps xmmword [rbp + rax - 0x20], xmm4
add rax, 0x30
jne 0x140075e3f
mov qword [rbp - 0x40], rax
mov qword [rbp + 0x10], rcx
mov qword [rbp + 0x18], rdx
mov qword [rbp + 0x20], r8
mov qword [rbp + 0x28], r9
mov rbx, rcx
mov rcx, rdx
mov r14, r8
mov r13d, dword [rbp + 0x30]
mov r15d, dword [rbp + 0x40]
mov rsi, qword [rbp + 0x50]
mov rdi, qword [rbp + 0x58]
mov rax, qword [rcx]
call qword [rax + 0x40]
test eax, eax
jne 0x140075e95
cmp dword [rbp + 0x38], 5
je 0x140076835
lea rcx, [0x1402bd968]
mov qword [rbp - 0x100], rcx
mov rcx, qword [rbx + 0x18]
mov rdx, qword [rbp + 0x28]
cmp dword [rcx], ecx
call fcn.140076e30
mov r12d, eax
mov rcx, qword [rbx + 0x18]
mov rdx, qword [rbp + 0x28]
cmp dword [rcx], ecx
call fcn.140076e90
mov dword [rbp - 0x44], eax
test r12d, r12d
je 0x140075f73
mov rcx, rbx
mov rdx, qword [rbp + 0x28]
call fcn.140071b20
mov rcx, rax
call fcn.14007dd60
mov r12, rax
mov rcx, qword [rbp + 0x28]
call fcn.14012ef50
mov qword [rbp + 0x28], rax
mov rcx, rbx
call fcn.140088fc0
mov qword [rbp - 0x100], rax
mov rcx, qword [rbp - 0x100]
mov rdx, r12
call fcn.1400c46e0
test eax, eax
jne 0x140075f73
mov rdx, r12
lea rcx, [0x1402c8680]
lea r8, [0x1402bf0f8]
call fcn.1400c5b40
mov r8, rax
xor ecx, ecx
mov dword [rsp + 0x20], ecx
mov rcx, rbx
xor edx, edx
xor r9d, r9d
call fcn.140089c00
test r13b, r13b
je 0x140075f67
mov rcx, rbx
mov rdx, r12
call fcn.14006ffd0
test eax, eax
jne 0x140075f67
mov rcx, rbx
mov rdx, r12
mov r8d, 1
call fcn.14006fbd0
mov rcx, rbx
mov rdx, r12
call fcn.1400757d0
nop
xor ecx, ecx
mov qword [rbp - 0x50], rcx
mov qword [rbp - 0x58], rcx
mov qword [rbp - 0x60], 0xffffffffffffffff
mov eax, dword [rbp + 0x38]
test eax, eax
je 0x140076124
lea ecx, [rax - 1]
cmp ecx, 1
ja 0x140075fb4
mov rcx, rbx
mov rdx, qword [rbp + 0x28]
xor r8d, r8d
call fcn.140072590
mov qword [rbp - 0x58], rax
mov qword [rbp - 0x60], rax
jmp 0x14007610c
cmp byte [rbp + 0x48], 0
jne 0x140075fca
mov rcx, rbx
mov rdx, qword [rbp + 0x28]
call fcn.140071880
movzx r15d, al
mov eax, dword [rbp + 0x38]
cmp eax, 3
jne 0x1400760cd
test r15b, r15b
je 0x140076124
lea rcx, [0x140399e28]
mov edx, 5
call fcn.140005640
mov r15, rax
lea rcx, [0x1402de1a8]
mov qword [r15 + 0x10], rcx
lea rcx, [r15 + 0x18]
mov rdx, qword [rbp + 0x28]
call fcn.140005730
lea rcx, [0x1402c1378]
mov qword [r15 + 0x20], rcx
lea rcx, [r15 + 0x28]
mov rdx, r14
call fcn.140005730
lea rcx, [0x1402c1030]
mov qword [r15 + 0x30], rcx
mov rcx, r15
call fcn.1400c6240
mov r8, rax
xor ecx, ecx
mov dword [rsp + 0x20], ecx
mov rcx, rbx
mov edx, 1
xor r9d, r9d
call fcn.140089c00
test rsi, rsi
je 0x1400760be
lea rcx, [0x14030b368]
call fcn.140005520
mov r13, rax
xorps xmm0, xmm0
call fcn.1400ed360
movabs rcx, 0x4059000000000000
mov qword [r13 + 0x18], rcx
xor ecx, ecx
mov qword [r13 + 0x28], rcx
mov qword [r13 + 0x38], rax
lea rcx, [r13 + 0x10]
mov rdx, r14
call fcn.140005730
lea rcx, [r13 + 8]
mov rdx, qword [rbp + 0x28]
call fcn.140005730
xor edx, edx
mov qword [r13 + 0x20], rdx
test rdi, rdi
je 0x1400760b4
mov edx, dword [rdi + 0x34]
mov dword [r13 + 0x34], edx
mov edx, dword [rdi + 0x30]
mov dword [r13 + 0x30], edx
mov rdx, r13
mov rcx, qword [rsi + 8]
call qword [rsi + 0x20]
mov dword [rbp - 0x94], 2
jmp 0x14007681b
cmp eax, 4
jne 0x1400760e5
test r15b, r15b
je 0x140076124
mov rcx, rbx
mov rdx, qword [rbp + 0x28]
call fcn.14006fe90
jmp 0x140076124
mov eax, dword [rbp + 0x38]
lea ecx, [rax - 5]
cmp ecx, 1
ja 0x140076124
test r15b, r15b
je 0x140076124
mov rcx, rbx
mov rdx, qword [rbp + 0x28]
xor r8d, r8d
call fcn.140072590
mov qword [rbp - 0x58], rax
mov qword [rbp - 0x60], rax
mov rcx, rbx
mov rdx, qword [rbp + 0x28]
mov r8d, dword [rbp + 0x38]
mov r9, qword [rbp - 0x58]
call fcn.1400867d0
mov qword [rbp - 0x50], rax
mov eax, dword [rbp + 0x38]
test r13b, r13b
je 0x14007615d
test r15b, r15b
jne 0x14007615d
mov rcx, qword [rbp + 0x28]
call fcn.14007dd60
mov r15, rax
mov rcx, rbx
mov rdx, r15
call fcn.14006ffd0
test eax, eax
jne 0x14007615d
mov rcx, rbx
mov rdx, r15
mov r8d, 1
call fcn.14006fbd0
mov rcx, qword [rbp + 0x18]
mov rdx, qword [rcx]
call qword [rdx + 0x40]
test eax, eax
je 0x14007617a
mov rcx, qword [rbp + 0x18]
mov rdx, qword [rbp - 0x50]
mov rax, qword [rcx]
call qword [rax + 0x58]
nop
nop
mov rcx, qword [rbp + 0x18]
mov rax, qword [rcx]
call qword [rax + 0x48]
mov qword [rbp - 0x68], rax
mov eax, dword [rbp + 0x38]
cmp eax, 1
je 0x14007619a
cmp eax, 5
jne 0x1400762a1
mov rcx, qword [rbp - 0x68]
cmp rcx, qword [rbp - 0x60]
jne 0x1400762a1
lea rcx, [0x140399e28]
mov edx, 5
call fcn.140005640
mov rbx, rax
lea rcx, [0x1402de040]
mov qword [rbx + 0x10], rcx
lea rcx, [rbx + 0x18]
mov rdx, qword [rbp + 0x28]
call fcn.140005730
lea rcx, [0x1402c1378]
mov qword [rbx + 0x20], rcx
lea rcx, [rbx + 0x28]
mov rdx, qword [rbp + 0x20]
call fcn.140005730
lea rcx, [0x1402c1030]
mov qword [rbx + 0x30], rcx
mov rcx, rbx
call fcn.1400c6240
mov r8, rax
xor ecx, ecx
mov dword [rsp + 0x20], ecx
mov rcx, qword [rbp + 0x10]
mov edx, 1
xor r9d, r9d
call fcn.140089c00
mov rsi, qword [rbp + 0x50]
test rsi, rsi
je 0x140076292
lea rcx, [0x14030b368]
call fcn.140005520
mov rbx, rax
xorps xmm0, xmm0
call fcn.1400ed360
movabs rcx, 0x4059000000000000
mov qword [rbx + 0x18], rcx
xor ecx, ecx
mov qword [rbx + 0x28], rcx
mov qword [rbx + 0x38], rax
lea rcx, [rbx + 0x10]
mov rdx, qword [rbp + 0x20]
call fcn.140005730
lea rcx, [rbx + 8]
mov rdx, qword [rbp + 0x28]
call fcn.140005730
mov rdx, qword [rbp - 0x50]
mov qword [rbx + 0x20], rdx
mov rdi, qword [rbp + 0x58]
test rdi, rdi
je 0x140076288
mov edx, dword [rdi + 0x34]
mov dword [rbx + 0x34], edx
mov edx, dword [rdi + 0x30]
mov dword [rbx + 0x30], edx
mov rdx, rbx
mov rcx, qword [rsi + 8]
call qword [rsi + 0x20]
mov dword [rbp - 0x94], 2
jmp 0x14007681b
xor r8d, r8d
cmp qword [rbp - 0x58], 0
sete r8b
test r8d, r8d
je 0x1400762e9
lea r8d, [rax - 1]
cmp r8d, 1
jbe 0x1400762e9
xor r8d, r8d
mov dword [rsp + 0x20], r8d
mov rbx, qword [rbp + 0x10]
mov r8, qword [rbx + 0x18]
mov r8d, dword [r8 + 0xe0]
mov rcx, rbx
mov rdx, qword [rbp + 0x28]
mov r9, qword [rbp - 0x60]
call fcn.1400754a0
mov qword [rbp - 0x40], rax
jmp 0x140076314
xor r8d, r8d
mov dword [rsp + 0x20], r8d
mov rbx, qword [rbp + 0x10]
mov r8, qword [rbx + 0x18]
mov r8d, dword [r8 + 0xe0]
mov rcx, rbx
mov rdx, qword [rbp + 0x28]
mov r9, qword [rbp - 0x60]
call fcn.140074720
mov qword [rbp - 0x40], rax
mov rcx, qword [rbx + 0x18]
mov ecx, dword [rcx + 0xd8]
test ecx, ecx
jne 0x140076327
xor r8d, r8d
jmp 0x14007632e
mov r8d, ecx
shl r8, 0xa
mov qword [rbp - 0x70], r8
mov rcx, rbx
mov rdx, r8
mov r8d, 0x64
call fcn.140086800
mov r14d, eax
mov eax, dword [rbp + 0x38]
cmp eax, 2
je 0x140076359
cmp eax, 6
je 0x140076359
mov r15, qword [rbp - 0x68]
jmp 0x14007636e
mov rcx, qword [rbp - 0x40]
mov rax, qword [rbp - 0x40]
mov rax, qword [rax]
call qword [rax + 0x48]
mov r15, rax
add r15, qword [rbp - 0x68]
movsxd rdx, r14d
lea rcx, [0x14039a220]
call fcn.140005640
mov r14, rax
mov qword [rbp - 0x108], r14
call fcn.1400d2060
mov qword [rbp - 0xd8], rax
lea rcx, [0x140319f90]
call fcn.140005520
mov r13, rax
xor ecx, ecx
mov qword [r13 + 8], rcx
mov byte [r13 + 0x18], 0
mov qword [r13 + 0x10], rcx
mov qword [rbp - 0x110], r13
mov rcx, qword [rbp - 0x40]
mov rdx, r15
mov rax, qword [rbp - 0x40]
mov rax, qword [rax]
call qword [rax + 0xd8]
nop
mov rbx, qword [rbp + 0x10]
mov rcx, qword [rbx + 0x58]
mov byte [rcx + 0x36], 0
cmp qword [rbp - 0x68], 0
jne 0x140076632
xor esi, esi
xor edi, edi
mov r13, qword [rbp - 0x110]
cmp byte [r13 + 0x18], 0
jne 0x140076422
lea rcx, [rbp - 0xc0]
call sub.KERNEL32.dll_QueryPerformanceCounter
mov r9, qword [rbp - 0xc0]
mov r13, qword [rbp - 0x110]
mov qword [r13 + 0x10], r9
mov byte [r13 + 0x18], 1
cmp dword [0x1405820a8], 0
jne 0x140076468
mov r14, qword [rbp - 0x108]
mov r9d, dword [r14 + 8]
mov rcx, qword [rbp + 0x18]
mov rdx, r14
xor r8d, r8d
mov rax, qword [rcx]
call qword [rax + 0xe0]
mov r15d, eax
test r15d, r15d
jg 0x14007646f
jmp 0x140076640
call fcn.140006a40
jmp 0x140076422
call fcn.140001488
jmp 0x140076572
call fcn.140006a40
jmp 0x14007655f
call fcn.140006a40
jmp 0x140076422
mov rcx, qword [rbp - 0x40]
mov rdx, r14
mov r9d, r15d
xor r8d, r8d
mov rax, qword [rbp - 0x40]
mov rax, qword [rax]
call qword [rax + 0xf8]
mov rcx, qword [rbp - 0x40]
mov rax, qword [rbp - 0x40]
mov rax, qword [rax]
call qword [rax + 0x80]
movsxd rax, r15d
mov rcx, rax
add rcx, qword [rbp - 0x50]
mov qword [rbp - 0x50], rcx
mov rcx, rax
add rcx, qword [rbp - 0x58]
mov qword [rbp - 0x58], rcx
add rdi, rax
add rsi, rax
cmp qword [rbp + 0x50], 0
je 0x14007651f
call fcn.1400d2060
movabs r9, 0x3fffffffffffffff
and r9, rax
movabs rcx, 0x3fffffffffffffff
and rcx, qword [rbp - 0xd8]
sub r9, rcx
mov rdx, qword [rbp + 0x20]
mov qword [rsp + 0x20], rdx
mov rcx, qword [rbp + 0x28]
mov qword [rsp + 0x28], rcx
mov rax, qword [rbp + 0x58]
mov qword [rsp + 0x30], rax
mov rcx, qword [rbp - 0x68]
mov rdx, qword [rbp - 0x50]
mov r8, rdi
call fcn.140077870
mov rdx, rax
mov rax, qword [rbp + 0x50]
mov rcx, qword [rax + 8]
call qword [rax + 0x20]
mov r13, qword [rbp - 0x110]
mov r15, qword [r13 + 8]
cmp byte [r13 + 0x18], 0
je 0x14007655f
lea rcx, [rbp - 0xc8]
call sub.KERNEL32.dll_QueryPerformanceCounter
mov rax, qword [rbp - 0xc8]
mov r13, qword [rbp - 0x110]
sub rax, qword [r13 + 0x10]
add r15, rax
cmp dword [0x1405820a8], 0
jne 0x14007645e
lea r12, [0x140302620]
cmp qword [r12 - 8], 0
jne 0x140076454
xorps xmm0, xmm0
cvtsi2sd xmm0, r15
mulsd xmm0, qword [r12 + 0x10]
cvttsd2si rdx, xmm0
movabs rcx, 0x346dc5d63886594b
mov rax, rcx
imul rdx
mov r8, rdx
shr r8, 0x3f
sar rdx, 0xb
add r8, rdx
mov rdx, qword [rbp - 0x70]
test rdx, rdx
jle 0x140076422
imul rax, rsi, 0x3e8
mov r10, qword [rbp - 0x70]
cqo
idiv r10
mov rcx, rax
cmp rcx, r8
jle 0x1400765d6
sub ecx, r8d
call fcn.1401054f0
jmp 0x140076422
add rcx, 0x64
cmp r8, rcx
jle 0x140076422
xor esi, esi
xor ecx, ecx
mov r13, qword [rbp - 0x110]
mov qword [r13 + 8], rcx
lea rcx, [rbp - 0xd0]
call sub.KERNEL32.dll_QueryPerformanceCounter
mov rcx, qword [rbp - 0xd0]
mov r13, qword [rbp - 0x110]
mov qword [r13 + 0x10], rcx
mov byte [r13 + 0x18], 1
cmp dword [0x1405820a8], 0
jne 0x14007644d
jmp 0x140076422
mov rcx, qword [rbp - 0x50]
cmp rcx, qword [rbp - 0x68]
jl 0x1400763e4
mov rcx, qword [rbp - 0x110]
call fcn.140128fb0
mov rcx, qword [rbp - 0x40]
mov rax, qword [rbp - 0x40]
mov rax, qword [rax]
call qword [rax + 0x50]
mov rsi, rax
mov rcx, qword [rbp - 0x40]
mov rax, qword [rbp - 0x40]
mov rax, qword [rax]
call qword [rax + 0x48]
cmp rsi, rax
jl 0x14007664c
mov rcx, qword [rbp - 0x40]
mov rax, qword [rbp - 0x40]
mov rax, qword [rax]
call qword [rax + 0x50]
mov rcx, rax
call fcn.1400e6c10
mov rdx, rax
lea rcx, [0x1402ec780]
lea r8, [0x1402beaf8]
call fcn.1400c5b40
mov r8, rax
xor ecx, ecx
mov dword [rsp + 0x20], ecx
mov rcx, qword [rbp + 0x10]
xor edx, edx
xor r9d, r9d
call fcn.140089c00
cmp qword [rbp + 0x50], 0
je 0x140076741
mov rcx, qword [rbp - 0x40]
mov rdx, qword [rbp - 0x40]
mov rdx, qword [rdx]
call qword [rdx + 0x48]
mov rdi, rax
lea rcx, [0x14030b368]
call fcn.140005520
mov r15, rax
xorps xmm0, xmm0
call fcn.1400ed360
movabs rcx, 0x4059000000000000
mov qword [r15 + 0x18], rcx
xor ecx, ecx
mov qword [r15 + 0x28], rcx
mov qword [r15 + 0x38], rax
lea rcx, [r15 + 0x10]
mov rdx, qword [rbp + 0x20]
call fcn.140005730
lea rcx, [r15 + 8]
mov rdx, qword [rbp + 0x28]
call fcn.140005730
mov qword [r15 + 0x20], rdi
mov rax, qword [rbp + 0x58]
test rax, rax
je 0x140076733
mov edx, dword [rax + 0x34]
mov dword [r15 + 0x34], edx
mov edx, dword [rax + 0x30]
mov dword [r15 + 0x30], edx
mov rdx, r15
mov rax, qword [rbp + 0x50]
mov rcx, qword [rax + 8]
call qword [rax + 0x20]
mov rcx, qword [rbp - 0x40]
mov rax, qword [rcx]
call qword [rax + 0x70]
mov rbx, qword [rbp + 0x10]
mov r8, qword [rbx + 0x30]
mov rdx, qword [rbx + 0x58]
movzx r9d, byte [rdx + 0x36]
mov rcx, rbx
test r9d, r9d
jne 0x14007676b
xor r9d, r9d
xor edx, edx
jmp 0x140076770
mov edx, 0x2710
mov dword [rsp + 0x20], edx
mov dword [rsp + 0x28], 1
lea rdx, [rbp - 0x90]
lea r10, [0x14030a110]
call qword [r10]
cmp qword [rbp - 0x90], 0
je 0x1400767b1
lea rcx, [rbp - 0x90]
call fcn.140077ac0
test eax, eax
jne 0x1400767b1
xor ecx, ecx
mov dword [rbp - 0x94], ecx
jmp 0x14007681b
cmp dword [rbp - 0x44], 0
je 0x140076811
mov rcx, rbx
call fcn.140088fc0
mov rdx, rax
mov rcx, qword [rbp - 0x100]
call fcn.1400c46e0
test eax, eax
jne 0x140076811
mov rdx, qword [rbp - 0x100]
lea rcx, [0x1402c86c0]
lea r8, [0x1402bf0f8]
call fcn.1400c5b40
mov r8, rax
xor ecx, ecx
mov dword [rsp + 0x20], ecx
mov rcx, rbx
xor edx, edx
xor r9d, r9d
call fcn.140089c00
mov rcx, rbx
mov rdx, qword [rbp - 0x100]
call fcn.1400757d0
mov dword [rbp - 0x94], 1
mov eax, dword [rbp - 0x94]
add rsp, 0x118
pop rbx
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
lea rcx, [0x1403127b8]
call fcn.140005520
mov r12, rax
mov rcx, r12
lea rdx, [0x1402edef8]
lea r8, [0x1402f1a78]
call fcn.1400cf310
mov rcx, r12
call fcn.140005aa0
int3