Function at 0x140088460
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, 0xe8
lea rbp, [rsp + 0x120]
xor eax, eax
mov qword [rbp - 0xb8], rax
xorps xmm4, xmm4
movaps xmmword [rbp - 0xb0], xmm4
movabs rax, 0xffffffffffffffa0
movaps xmmword [rbp + rax - 0x40], xmm4
movaps xmmword [rbp + rax - 0x30], xmm4
movaps xmmword [rbp + rax - 0x20], xmm4
add rax, 0x30
jne 0x140088498
mov qword [rbp - 0x40], rax
mov qword [rbp + 0x10], rcx
mov qword [rbp + 0x18], rdx
mov rsi, r8
mov r14d, r9d
mov edi, dword [rbp + 0x30]
test rsi, rsi
mov rbx, qword [rbp + 0x18]
je 0x140088509
cmp dword [rsi + 8], 0
je 0x140088509
mov qword [rbp + 0x20], rsi
mov rdx, rsi
call fcn.140084c50
mov rdx, rax
lea rcx, [0x1402ed6d0]
call fcn.1400c5aa0
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
mov rsi, qword [rbp + 0x20]
jmp 0x14008851e
xor edx, edx
mov dword [rsp + 0x20], edx
lea r8, [0x1402ed688]
xor r9d, r9d
call fcn.140089c00
mov rcx, qword [rbp + 0x10]
mov rax, qword [rcx + 0x58]
mov byte [rax + 0x32], 0
lea r15, [0x1402bd968]
mov qword [rbp - 0xd8], r15
lea rcx, [0x140319f40]
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 - 0xe8], r13
xor r12d, r12d
movzx eax, byte [rbp + 0x38]
mov dword [rbp - 0xc4], eax
test eax, eax
je 0x14008858a
mov rcx, qword [rbp + 0x10]
mov r8, qword [rcx + 0x60]
cmp byte [r8], r8b
mov rcx, r8
xor r8d, r8d
mov edx, 0xffffffff
call fcn.140108000
nop
movzx r14d, r14b
test r14d, r14d
je 0x1400885b9
mov rcx, qword [rbp + 0x10]
mov rdx, qword [rcx + 0x58]
mov byte [rdx + 0x35], 0
mov rcx, qword [rcx + 0x68]
mov r10, qword [rbp + 0x10]
mov rdx, qword [r10 + 0x28]
lea r8, [0x1402d7f40]
cmp dword [rcx], ecx
call fcn.140078a00
cmp byte [r13 + 0x18], 0
jne 0x1400885fa
mov qword [rbp + 0x18], rbx
mov qword [rbp + 0x20], rsi
lea rcx, [rbp - 0x68]
call sub.KERNEL32.dll_QueryPerformanceCounter
mov rcx, qword [rbp - 0x68]
mov r13, qword [rbp - 0xe8]
mov qword [r13 + 0x10], rcx
mov byte [r13 + 0x18], 1
cmp dword [0x1405820a8], 0
mov rbx, qword [rbp + 0x18]
mov rsi, qword [rbp + 0x20]
jne 0x14008897e
mov r10, qword [rbp + 0x10]
cmp qword [r10 + 0x68], 0
je 0x140088958
mov rcx, qword [r10 + 0x68]
cmp dword [rcx], ecx
call fcn.140077fc0
test eax, eax
je 0x140088958
mov r13, qword [rbp - 0xe8]
mov rax, qword [r13 + 8]
mov qword [rbp - 0x70], rax
cmp byte [r13 + 0x18], 0
je 0x140088925
mov qword [rbp + 0x18], rbx
mov qword [rbp + 0x20], rsi
lea rcx, [rbp - 0x78]
call sub.KERNEL32.dll_QueryPerformanceCounter
mov rax, qword [rbp - 0x78]
mov r13, qword [rbp - 0xe8]
sub rax, qword [r13 + 0x10]
add rax, qword [rbp - 0x70]
mov rbx, rax
cmp dword [0x1405820a8], 0
mov qword [rbp - 0x70], rbx
mov rbx, qword [rbp + 0x18]
mov rsi, qword [rbp + 0x20]
jne 0x140088947
lea r8, [0x1403025d0]
mov qword [rbp - 0xd0], r8
cmp qword [r8 - 8], 0
jne 0x140088936
xorps xmm0, xmm0
cvtsi2sd xmm0, qword [rbp - 0x70]
mulsd xmm0, qword [r8 + 0x10]
cvttsd2si rdx, xmm0
movabs rcx, 0x346dc5d63886594b
mov rax, rcx
imul rdx
mov rax, rdx
shr rax, 0x3f
sar rdx, 0xb
add rax, rdx
mov qword [rbp - 0x60], rax
xor edx, edx
mov qword [rbp - 0xe0], rdx
test r14d, r14d
je 0x1400889b7
movsxd rcx, edi
cmp rax, rcx
jg 0x140088919
mov r10, qword [rbp + 0x10]
mov rcx, qword [r10 + 0x68]
mov rcx, qword [rcx + 0x38]
test rcx, rcx
je 0x140088703
cmp dword [rcx], ecx
call fcn.1400b5770
test eax, eax
jg 0x140088a07
lea rcx, [r12 + 0x3e8]
mov rax, qword [rbp - 0x60]
cmp rax, rcx
jle 0x1400887fc
mov r12, rax
movsxd r8, edi
sub r8, r12
mov qword [rbp - 0xc0], r8
movabs rcx, 0x20c49ba5e353f7cf
mov rax, rcx
imul r8
mov rcx, rdx
shr rcx, 0x3f
sar rdx, 7
add rcx, rdx
call fcn.1400e6c10
mov rdx, rax
lea rcx, [0x1402ed658]
lea r8, [0x1402beea0]
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 - 0xc0], 0x1388
jl 0x1400887fc
xor ecx, ecx
mov dword [rsp + 0x20], ecx
mov rcx, qword [rbp + 0x10]
xor edx, edx
lea r8, [0x1402ddcf0]
xor r9d, r9d
call fcn.140089c00
mov rcx, qword [rbp + 0x10]
mov rax, qword [rcx + 0x68]
mov qword [rbp - 0xf0], rax
mov r8, qword [rcx + 0x28]
mov qword [rbp - 0xf8], r8
cmp byte [rax], al
lea rcx, [0x1402d7f40]
lea rdx, [0x1402be0c0]
call fcn.1400c5aa0
mov rdx, rax
mov rcx, qword [rbp - 0xf8]
mov rax, qword [rcx]
call qword [rax + 0x80]
mov r9d, dword [rax + 8]
mov rcx, qword [rbp - 0xf0]
mov rdx, rax
xor r8d, r8d
mov rax, qword [rcx]
call qword [rax + 0xf8]
mov rdx, qword [rbp - 0xe0]
test rdx, rdx
je 0x140088a2a
cmp dword [rdx + 8], 0
je 0x140088a2a
mov dword [rbp - 0x7c], 0x20
lea rcx, [rbp - 0x7c]
mov r15, qword [rbp - 0xd8]
mov qword [rbp - 0xe0], rdx
mov r8, rdx
mov qword [rbp - 0x98], rcx
mov dword [rbp - 0x90], 1
mov rcx, r8
lea rdx, [rbp - 0x98]
mov r8d, 0x7fffffff
xor r9d, r9d
call fcn.1400c75a0
cmp dword [rax + 8], 0
jbe 0x140088931
mov r8, qword [rax + 0x10]
mov rcx, r15
lea rdx, [0x1402c12c0]
call fcn.1400c5b40
mov r15, rax
test r14d, r14d
je 0x140088a39
mov rcx, qword [rbp - 0xe0]
lea rdx, [0x1402c4108]
xor r8d, r8d
call fcn.1400c4aa0
test eax, eax
je 0x1400888ce
mov dword [rsp + 0x20], 5
mov rax, qword [rbp - 0xe0]
mov r9d, dword [rax + 8]
mov qword [rbp - 0xe0], rax
mov rcx, rax
lea rdx, [0x1402d7f40]
xor r8d, r8d
call fcn.1400c8b40
test eax, eax
jge 0x1400888ec
mov rcx, qword [rbp - 0xe0]
lea rdx, [0x1402c4270]
xor r8d, r8d
call fcn.1400c4aa0
test eax, eax
je 0x140088a39
mov rdx, qword [rbp - 0xe0]
lea rcx, [0x1402ddf88]
call fcn.1400c5aa0
mov r8, rax
mov rcx, qword [rbp + 0x10]
xor edx, edx
call fcn.140089b80
mov qword [rbp - 0xd8], r15
jmp 0x1400885fa
mov r15, qword [rbp - 0xd8]
jmp 0x140088a85
mov r13, qword [rbp - 0xe8]
jmp 0x140088676
call fcn.140163440
call fcn.140001488
mov r8, qword [rbp - 0xd0]
jmp 0x14008868f
call fcn.140006a40
mov r13, qword [rbp - 0xe8]
jmp 0x140088676
lea rcx, [0x140314178]
call fcn.140005520
mov rbx, rax
mov rcx, rbx
lea rdx, [0x1402d8320]
call fcn.1400e4490
mov rcx, rbx
call fcn.140005aa0
call fcn.140006a40
mov rcx, qword [rbp + 0x10]
cmp qword [rcx + 0x68], 0
mov r10, qword [rbp + 0x10]
jne 0x140088609
jmp 0x140088958
lea rcx, [0x140315310]
call fcn.140005520
mov rbx, rax
mov rcx, rbx
call fcn.1400ed0e0
mov rcx, rbx
call fcn.140005aa0
mov rcx, qword [rbp + 0x10]
mov r8, qword [rcx + 0x18]
mov r8d, dword [r8 + 0x98]
movsxd r10, r8d
cmp rax, r10
jg 0x140088998
test edi, edi
jl 0x1400889e4
mov rax, qword [rcx + 0x68]
mov rcx, rax
mov edx, r8d
mov rax, qword [rax]
call qword [rax + 0x68]
jmp 0x140088a07
mov rax, qword [rcx + 0x68]
mov rax, qword [rax + 0x38]
test rax, rax
je 0x1400887fc
mov rcx, rax
cmp dword [rcx], ecx
call fcn.1400b5770
test eax, eax
jle 0x1400887fc
mov rcx, qword [rbp + 0x10]
mov rcx, qword [rcx + 0x68]
mov rax, qword [rbp + 0x10]
mov rdx, qword [rax + 0x28]
cmp dword [rcx], ecx
call fcn.140078780
mov qword [rbp - 0xe0], rax
jmp 0x1400887fc
mov ecx, 0x64
call fcn.1401054f0
jmp 0x1400885fa
lea rdx, [rbp - 0x58]
mov rcx, qword [rbp - 0xe0]
call fcn.140088f20
test eax, eax
je 0x140088a5e
test r14d, r14d
je 0x140088a85
mov qword [rbp - 0xd8], r15
jmp 0x1400885fa
mov rcx, qword [rbp - 0x48]
mov rdx, qword [rbp - 0xe0]
lea r8, [0x1402be060]
call fcn.1400c5b40
mov qword [rbp - 0x48], rax
mov qword [rbp - 0xd8], r15
jmp 0x1400885fa
mov rcx, r13
call fcn.140128fb0
test r14d, r14d
je 0x140088ae0
mov dword [rbp - 0x88], 0x2c
cmp byte [r15], r15b
lea rdx, [rbp - 0x88]
mov rcx, r15
mov r8d, 1
mov r9d, 1
call fcn.1400c8720
mov rdx, rax
lea rcx, [0x1402d10d0]
call fcn.1400c5aa0
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
mov rcx, qword [rbp + 0x10]
mov rdx, qword [rcx + 0x58]
mov byte [rdx + 0x35], 1
cmp dword [rbp - 0xc4], 0
je 0x140088b0c
mov rax, qword [rcx + 0x60]
cmp byte [rax], al
mov rcx, rax
mov edx, 1
call fcn.140108700
mov rcx, qword [rbp + 0x10]
movups xmm0, xmmword [rbp - 0x58]
movups xmmword [rbp - 0xb8], xmm0
movups xmm0, xmmword [rbp - 0x48]
movups xmmword [rbp - 0xa8], xmm0
lea r8, [rbp - 0xb8]
lea rdx, [rbp - 0x58]
mov r9, rsi
call fcn.140088bd0
mov rdx, qword [rbp - 0x58]
mov rcx, rbx
call fcn.1400057a0
lea rcx, [rbx + 8]
mov rdx, qword [rbp - 0x50]
call fcn.1400057a0
lea rcx, [rbx + 0x10]
mov rdx, qword [rbp - 0x48]
call fcn.1400057a0
lea rcx, [rbx + 0x18]
mov rdx, qword [rbp - 0x40]
call fcn.1400057a0
mov rax, rbx
add rsp, 0xe8
pop rbx
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret