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

Disassembly:
push r15
push r14
push r13
push rdi
push rsi
push rbp
push rbx
sub rsp, 0x40
xor eax, eax
mov qword [rsp + 0x20], rax
mov rbx, rcx
mov r14d, edx
mov r15d, r8d
mov esi, r9d
mov ebp, dword [rsp + 0xa0]
mov rdi, qword [rsp + 0xa8]
test rbx, rbx
je 0x1402a9077
test rdi, rdi
je 0x1402a8c81
cmp dword [rdi + 0x20], 0
je 0x1402a8c81
test sil, sil
jne 0x1402a8c6d
mov rdx, rdi
lea rcx, [0x1403fe918]
call fcn.1403a1f90
jmp 0x1402a9067
mov rdx, rdi
lea rcx, [0x140401458]
call fcn.1403a1f90
jmp 0x1402a9067
lea rcx, [rbx + 0xc]
mov edx, dword [rbx + 8]
mov qword [rsp + 0x20], rcx
mov dword [rsp + 0x28], edx
lea rcx, [rsp + 0x20]
mov edx, 1
call fcn.1402cb000
mov r13, rax
test r13, r13
je 0x1402a8e21
test r15b, r15b
je 0x1402a8cf6
lea rdx, [0x1404021e0]
cmp qword [rdx - 8], 0
jne 0x1402a9084
mov rbx, qword [0x1407578b0]
mov rdx, qword [rbx + 8]
mov rcx, r13
mov rax, qword [r13]
call qword [rax + 0x20]
test eax, eax
jne 0x1402a908e
mov rdx, qword [rbx + 0x28]
mov rcx, r13
mov rax, qword [r13]
call qword [rax + 0x20]
test eax, eax
jne 0x1402a908e
test r14b, r14b
je 0x1402a8df4
test sil, sil
jne 0x1402a8d5e
mov rcx, r13
call fcn.1402a9140
mov rbp, rax
test rbp, rbp
jne 0x1402a8d33
lea rcx, [0x140402f48]
cmp qword [rcx - 8], 0
jne 0x1402a90db
mov rcx, qword [0x140758ef0]
mov rax, qword [rcx + 8]
jmp 0x1402a8d59
lea rcx, [0x1404930f8]
call fcn.140006d90
mov r13, rax
mov dword [r13 + 0x34], 0x1000000
lea rcx, [r13 + 0x38]
mov rdx, rbp
call fcn.140006fa0
mov rax, r13
jmp 0x1402a9067
test ebp, ebp
je 0x1402a8d85
mov ecx, 2
mov edx, 0x17
cmp qword [r13 + 8], 0
cmovne ecx, edx
cmp ecx, ebp
je 0x1402a8d85
mov rcx, qword [0x140759058]
mov rbp, qword [rcx + 8]
jmp 0x1402a8da5
lea rcx, [0x1404bc948]
mov edx, 1
call fcn.140006eb0
mov rbp, rax
lea rcx, [rbp + 0x10]
mov rdx, r13
call fcn.140006fa0
test rbp, rbp
jne 0x1402a8dc9
lea rcx, [0x140403428]
cmp qword [rcx - 8], 0
jne 0x1402a90e5
mov rcx, qword [0x140759748]
mov rax, qword [rcx + 8]
jmp 0x1402a8def
lea rcx, [0x1404b51b8]
call fcn.140006d90
mov r13, rax
mov dword [r13 + 0x34], 0x1000000
lea rcx, [r13 + 0x38]
mov rdx, rbp
call fcn.140006fa0
mov rax, r13
jmp 0x1402a9067
test ebp, ebp
je 0x1402a8e19
lea rcx, [0x1404988f0]
call fcn.140006d90
mov r14, rax
lea rcx, [r14 + 8]
mov rdx, r13
call fcn.140006fa0
mov dword [r14 + 0x10], ebp
jmp 0x1402a8e1c
mov r14, r13
jmp 0x1402a8fc8
call fcn.1402a9ce0
test eax, eax
je 0x1402a8f9a
mov qword [rsp + 0x80], rbx
mov rcx, rbx
call fcn.1402a91c0
lea rcx, [0x1404020c8]
cmp qword [rcx - 8], 0
jne 0x1402a90ef
mov rcx, qword [0x1407577b8]
mov rcx, qword [rcx + 8]
cmp byte [rcx], cl
lea rcx, [0x1404020c0]
cmp qword [rcx - 8], 0
jne 0x1402a9113
mov rcx, qword [0x1407577b0]
mov rcx, qword [rcx + 0x10]
mov rcx, qword [rcx + 8]
cmp qword [rcx + 8], 0
je 0x1402a8f66
test sil, sil
jne 0x1402a8ef6
mov qword [rsp + 0xa8], rdi
lea rcx, [rsp + 0x38]
call sub.KERNEL32.dll_QueryPerformanceCounter
mov rbx, qword [rsp + 0x38]
movzx edx, sil
mov rcx, qword [rsp + 0x80]
mov r8d, ebp
mov r9, qword [rsp + 0xa8]
call fcn.1402a9fc0
mov rdi, rax
cmp dword [0x140769960], 0
jne 0x1402a911d
test rdi, rdi
je 0x1402a8ef2
mov r9, rbx
mov rdx, rdi
mov r8, qword [rsp + 0x80]
lea rcx, [0x1403fe970]
call fcn.1403a3270
jmp 0x1402a8ef4
xor eax, eax
jmp 0x1402a8f5c
mov qword [rsp + 0xa8], rdi
lea rcx, [rsp + 0x30]
call sub.KERNEL32.dll_QueryPerformanceCounter
mov rbx, qword [rsp + 0x30]
movzx edx, sil
mov rcx, qword [rsp + 0x80]
mov r8d, ebp
mov r9, qword [rsp + 0xa8]
call fcn.1402a9fc0
mov rdi, rax
cmp dword [0x140769960], 0
jne 0x1402a9127
test rdi, rdi
je 0x1402a8f5a
mov r9, rbx
mov rdx, rdi
mov r8, qword [rsp + 0x80]
lea rcx, [0x1404014b0]
call fcn.1403a3270
jmp 0x1402a8f5c
xor eax, eax
mov rdi, qword [rsp + 0xa8]
jmp 0x1402a8f88
mov rbx, qword [rsp + 0x80]
movzx edx, sil
mov rcx, rbx
mov r8d, ebp
mov r9, rdi
call fcn.1402a9fc0
mov qword [rsp + 0x80], rbx
test rax, rax
mov rbx, qword [rsp + 0x80]
je 0x1402a8f9a
jmp 0x1402a9067
test ebp, ebp
je 0x1402a8fc5
mov r14d, ebp
lea rcx, [0x140469630]
call fcn.140006d90
mov rbp, rax
lea rcx, [rbp + 8]
mov rdx, rbx
call fcn.140006fa0
mov dword [rbp + 0x10], r14d
mov r14, rbp
jmp 0x1402a8fc8
mov r14, rbx
test sil, sil
je 0x1402a901b
mov rsi, qword [0x1407577a0]
mov rdx, qword [rsi + 0x20]
test rdx, rdx
jne 0x1402a9007
lea rcx, [0x140464080]
call fcn.140006d90
mov r13, rax
mov rdx, qword [rsi + 8]
mov rcx, r13
call fcn.1400046e1
lea rcx, [rsi + 0x20]
mov rdx, r13
call fcn.140006fa0
mov rdx, r13
mov r9, rdi
mov r8, r14
lea rcx, [0x140401478]
call fcn.1403a3010
jmp 0x1402a9067
mov rsi, qword [0x1407577a0]
mov rdx, qword [rsi + 0x28]
test rdx, rdx
jne 0x1402a9055
lea rcx, [0x140463ff0]
call fcn.140006d90
mov rbx, rax
mov rdx, qword [rsi + 8]
mov rcx, rbx
call fcn.1400046ed
lea rcx, [rsi + 0x28]
mov rdx, rbx
call fcn.140006fa0
mov rdx, rbx
mov r9, rdi
mov r8, r14
lea rcx, [0x1403fe938]
call fcn.1403a3010
nop
add rsp, 0x40
pop rbx
pop rbp
pop rsi
pop rdi
pop r13
pop r14
pop r15
ret
lea rcx, [0x1403ec758]
call fcn.1401f4700
int3
call fcn.1400030a7
jmp 0x1402a8cc3
lea rax, [0x1404020b8]
cmp qword [rax - 8], 0
je 0x1402a90a1
call fcn.140002e27
mov rcx, qword [0x1407577a8]
mov rcx, qword [rcx + 8]
cmp byte [rcx], cl
lea rcx, [0x140426fe0]
call fcn.140006d90
mov rsi, rax
mov rcx, rsi
lea rdx, [0x1403c6bc8]
lea r8, [0x1403ec758]
call fcn.1401f44f0
mov rcx, rsi
call fcn.140007860
call fcn.140003567
jmp 0x1402a8d26
call fcn.140003627
jmp 0x1402a8dbc
call fcn.140002e67
mov rax, qword [0x1407577b8]
mov rax, qword [rax + 8]
cmp byte [rax], al
lea rax, [0x1404020c0]
cmp qword [rax - 8], 0
je 0x1402a8e6f
call fcn.140002e47
jmp 0x1402a8e6f
call fcn.140008800
jmp 0x1402a8ed1
call fcn.140008800
jmp 0x1402a8f39