Function at 0x14013e310
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 0x14013e777
test rdi, rdi
je 0x14013e381
cmp dword [rdi + 0x20], 0
je 0x14013e381
test sil, sil
jne 0x14013e36d
mov rdx, rdi
lea rcx, [0x1403d5cc8]
call fcn.140381c10
jmp 0x14013e767
mov rdx, rdi
lea rcx, [0x1403d9468]
call fcn.140381c10
jmp 0x14013e767
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.140149a80
mov r13, rax
test r13, r13
je 0x14013e521
test r15b, r15b
je 0x14013e3f6
lea rdx, [0x1403d99c8]
cmp qword [rdx - 8], 0
jne 0x14013e784
mov rbx, qword [0x1406fed88]
mov rdx, qword [rbx + 8]
mov rcx, r13
mov rax, qword [r13]
call qword [rax + 0x20]
test eax, eax
jne 0x14013e78e
mov rdx, qword [rbx + 0x28]
mov rcx, r13
mov rax, qword [r13]
call qword [rax + 0x20]
test eax, eax
jne 0x14013e78e
test r14b, r14b
je 0x14013e4f4
test sil, sil
jne 0x14013e45e
mov rcx, r13
call fcn.14013e840
mov rbp, rax
test rbp, rbp
jne 0x14013e433
lea rcx, [0x1403da608]
cmp qword [rcx - 8], 0
jne 0x14013e7db
mov rcx, qword [0x1406ffb30]
mov rax, qword [rcx + 8]
jmp 0x14013e459
lea rcx, [0x140424e58]
call fcn.140006b30
mov r13, rax
mov dword [r13 + 0x34], 0x1000000
lea rcx, [r13 + 0x38]
mov rdx, rbp
call fcn.140006d40
mov rax, r13
jmp 0x14013e767
test ebp, ebp
je 0x14013e485
mov ecx, 2
mov edx, 0x17
cmp qword [r13 + 8], 0
cmovne ecx, edx
cmp ecx, ebp
je 0x14013e485
mov rcx, qword [0x1406ffc30]
mov rbp, qword [rcx + 8]
jmp 0x14013e4a5
lea rcx, [0x140481e38]
mov edx, 1
call fcn.140006c50
mov rbp, rax
lea rcx, [rbp + 0x10]
mov rdx, r13
call fcn.140006d40
test rbp, rbp
jne 0x14013e4c9
lea rcx, [0x1403db148]
cmp qword [rcx - 8], 0
jne 0x14013e7e5
mov rcx, qword [0x140701158]
mov rax, qword [rcx + 8]
jmp 0x14013e4ef
lea rcx, [0x14047e680]
call fcn.140006b30
mov r13, rax
mov dword [r13 + 0x34], 0x1000000
lea rcx, [r13 + 0x38]
mov rdx, rbp
call fcn.140006d40
mov rax, r13
jmp 0x14013e767
test ebp, ebp
je 0x14013e519
lea rcx, [0x140428418]
call fcn.140006b30
mov r14, rax
lea rcx, [r14 + 8]
mov rdx, r13
call fcn.140006d40
mov dword [r14 + 0x10], ebp
jmp 0x14013e51c
mov r14, r13
jmp 0x14013e6c8
call fcn.14013f3e0
test eax, eax
je 0x14013e69a
mov qword [rsp + 0x80], rbx
mov rcx, rbx
call fcn.14013e8c0
lea rcx, [0x1403d9968]
cmp qword [rcx - 8], 0
jne 0x14013e7ef
mov rcx, qword [0x1406fed30]
mov rcx, qword [rcx + 8]
cmp byte [rcx], cl
lea rcx, [0x1403d9960]
cmp qword [rcx - 8], 0
jne 0x14013e813
mov rcx, qword [0x1406fed28]
mov rcx, qword [rcx + 0x10]
mov rcx, qword [rcx + 8]
cmp qword [rcx + 8], 0
je 0x14013e666
test sil, sil
jne 0x14013e5f6
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.14013f6c0
mov rdi, rax
cmp dword [0x140710180], 0
jne 0x14013e81d
test rdi, rdi
je 0x14013e5f2
mov r9, rbx
mov rdx, rdi
mov r8, qword [rsp + 0x80]
lea rcx, [0x1403d5c68]
call fcn.1403808c0
jmp 0x14013e5f4
xor eax, eax
jmp 0x14013e65c
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.14013f6c0
mov rdi, rax
cmp dword [0x140710180], 0
jne 0x14013e827
test rdi, rdi
je 0x14013e65a
mov r9, rbx
mov rdx, rdi
mov r8, qword [rsp + 0x80]
lea rcx, [0x1403d9408]
call fcn.1403808c0
jmp 0x14013e65c
xor eax, eax
mov rdi, qword [rsp + 0xa8]
jmp 0x14013e688
mov rbx, qword [rsp + 0x80]
movzx edx, sil
mov rcx, rbx
mov r8d, ebp
mov r9, rdi
call fcn.14013f6c0
mov qword [rsp + 0x80], rbx
test rax, rax
mov rbx, qword [rsp + 0x80]
je 0x14013e69a
jmp 0x14013e767
test ebp, ebp
je 0x14013e6c5
mov r14d, ebp
lea rcx, [0x140434418]
call fcn.140006b30
mov rbp, rax
lea rcx, [rbp + 8]
mov rdx, rbx
call fcn.140006d40
mov dword [rbp + 0x10], r14d
mov r14, rbp
jmp 0x14013e6c8
mov r14, rbx
test sil, sil
je 0x14013e71b
mov rsi, qword [0x1406fed18]
mov rdx, qword [rsi + 0x20]
test rdx, rdx
jne 0x14013e707
lea rcx, [0x1404326f8]
call fcn.140006b30
mov r13, rax
mov rdx, qword [rsi + 8]
mov rcx, r13
call fcn.140004031
lea rcx, [rsi + 0x20]
mov rdx, r13
call fcn.140006d40
mov rdx, r13
mov r9, rdi
mov r8, r14
lea rcx, [0x1403d93d0]
call fcn.140380660
jmp 0x14013e767
mov rsi, qword [0x1406fed18]
mov rdx, qword [rsi + 0x28]
test rdx, rdx
jne 0x14013e755
lea rcx, [0x140432668]
call fcn.140006b30
mov rbx, rax
mov rdx, qword [rsi + 8]
mov rcx, rbx
call fcn.14000403d
lea rcx, [rsi + 0x28]
mov rdx, rbx
call fcn.140006d40
mov rdx, rbx
mov r9, rdi
mov r8, r14
lea rcx, [0x1403d5c30]
call fcn.140380660
nop
add rsp, 0x40
pop rbx
pop rbp
pop rsi
pop rdi
pop r13
pop r14
pop r15
ret
lea rcx, [0x1403c7b00]
call fcn.14019bb80
int3
call fcn.140001fb3
jmp 0x14013e3c3
lea rax, [0x1403d9958]
cmp qword [rax - 8], 0
je 0x14013e7a1
call fcn.140001e93
mov rcx, qword [0x1406fed20]
mov rcx, qword [rcx + 8]
cmp byte [rcx], cl
lea rcx, [0x1403f74a0]
call fcn.140006b30
mov rsi, rax
mov rcx, rsi
lea rdx, [0x1403a44e0]
lea r8, [0x1403c7b00]
call fcn.14019b970
mov rcx, rsi
call fcn.140007600
call fcn.140003153
jmp 0x14013e426
call fcn.140003553
jmp 0x14013e4bc
call fcn.140001ed3
mov rax, qword [0x1406fed30]
mov rax, qword [rax + 8]
cmp byte [rax], al
lea rax, [0x1403d9960]
cmp qword [rax - 8], 0
je 0x14013e56f
call fcn.140001eb3
jmp 0x14013e56f
call fcn.1400085a0
jmp 0x14013e5d1
call fcn.1400085a0
jmp 0x14013e639