Function at 0x1401123f0
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 0x140112857
test rdi, rdi
je 0x140112461
cmp dword [rdi + 0x20], 0
je 0x140112461
test sil, sil
jne 0x14011244d
mov rdx, rdi
lea rcx, [0x140420ff8]
call fcn.1403b1f80
jmp 0x140112847
mov rdx, rdi
lea rcx, [0x140428d88]
call fcn.1403b1f80
jmp 0x140112847
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.14011ec10
mov r13, rax
test r13, r13
je 0x140112601
test r15b, r15b
je 0x1401124d6
lea rdx, [0x140429ac0]
cmp qword [rdx - 8], 0
jne 0x140112864
mov rbx, qword [0x1407b2648]
mov rdx, qword [rbx + 8]
mov rcx, r13
mov rax, qword [r13]
call qword [rax + 0x20]
test eax, eax
jne 0x14011286e
mov rdx, qword [rbx + 0x28]
mov rcx, r13
mov rax, qword [r13]
call qword [rax + 0x20]
test eax, eax
jne 0x14011286e
test r14b, r14b
je 0x1401125d4
test sil, sil
jne 0x14011253e
mov rcx, r13
call fcn.140112920
mov rbp, rax
test rbp, rbp
jne 0x140112513
lea rcx, [0x14042a8c8]
cmp qword [rcx - 8], 0
jne 0x1401128bb
mov rcx, qword [0x1407b3628]
mov rax, qword [rcx + 8]
jmp 0x140112539
lea rcx, [0x140489d00]
call fcn.140007ec0
mov r13, rax
mov dword [r13 + 0x34], 0x1000000
lea rcx, [r13 + 0x38]
mov rdx, rbp
call fcn.1400080d0
mov rax, r13
jmp 0x140112847
test ebp, ebp
je 0x140112565
mov ecx, 2
mov edx, 0x17
cmp qword [r13 + 8], 0
cmovne ecx, edx
cmp ecx, ebp
je 0x140112565
mov rcx, qword [0x1407b37c8]
mov rbp, qword [rcx + 8]
jmp 0x140112585
lea rcx, [0x140519d20]
mov edx, 1
call fcn.140007fe0
mov rbp, rax
lea rcx, [rbp + 0x10]
mov rdx, r13
call fcn.1400080d0
test rbp, rbp
jne 0x1401125a9
lea rcx, [0x14042be50]
cmp qword [rcx - 8], 0
jne 0x1401128c5
mov rcx, qword [0x1407b5760]
mov rax, qword [rcx + 8]
jmp 0x1401125cf
lea rcx, [0x140510bb8]
call fcn.140007ec0
mov r13, rax
mov dword [r13 + 0x34], 0x1000000
lea rcx, [r13 + 0x38]
mov rdx, rbp
call fcn.1400080d0
mov rax, r13
jmp 0x140112847
test ebp, ebp
je 0x1401125f9
lea rcx, [0x14048fde8]
call fcn.140007ec0
mov r14, rax
lea rcx, [r14 + 8]
mov rdx, r13
call fcn.1400080d0
mov dword [r14 + 0x10], ebp
jmp 0x1401125fc
mov r14, r13
jmp 0x1401127a8
call fcn.1401134c0
test eax, eax
je 0x14011277a
mov qword [rsp + 0x80], rbx
mov rcx, rbx
call fcn.1401129a0
lea rcx, [0x140429a60]
cmp qword [rcx - 8], 0
jne 0x1401128cf
mov rcx, qword [0x1407b25f0]
mov rcx, qword [rcx + 8]
cmp byte [rcx], cl
lea rcx, [0x140429a58]
cmp qword [rcx - 8], 0
jne 0x1401128f3
mov rcx, qword [0x1407b25e8]
mov rcx, qword [rcx + 0x10]
mov rcx, qword [rcx + 8]
cmp qword [rcx + 8], 0
je 0x140112746
test sil, sil
jne 0x1401126d6
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.1401137a0
mov rdi, rax
cmp dword [0x1407c98f0], 0
jne 0x1401128fd
test rdi, rdi
je 0x1401126d2
mov r9, rbx
mov rdx, rdi
mov r8, qword [rsp + 0x80]
lea rcx, [0x140420f98]
call fcn.1403b0af0
jmp 0x1401126d4
xor eax, eax
jmp 0x14011273c
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.1401137a0
mov rdi, rax
cmp dword [0x1407c98f0], 0
jne 0x140112907
test rdi, rdi
je 0x14011273a
mov r9, rbx
mov rdx, rdi
mov r8, qword [rsp + 0x80]
lea rcx, [0x140428d28]
call fcn.1403b0af0
jmp 0x14011273c
xor eax, eax
mov rdi, qword [rsp + 0xa8]
jmp 0x140112768
mov rbx, qword [rsp + 0x80]
movzx edx, sil
mov rcx, rbx
mov r8d, ebp
mov r9, rdi
call fcn.1401137a0
mov qword [rsp + 0x80], rbx
test rax, rax
mov rbx, qword [rsp + 0x80]
je 0x14011277a
jmp 0x140112847
test ebp, ebp
je 0x1401127a5
mov r14d, ebp
lea rcx, [0x1404a3578]
call fcn.140007ec0
mov rbp, rax
lea rcx, [rbp + 8]
mov rdx, rbx
call fcn.1400080d0
mov dword [rbp + 0x10], r14d
mov r14, rbp
jmp 0x1401127a8
mov r14, rbx
test sil, sil
je 0x1401127fb
mov rsi, qword [0x1407b25d8]
mov rdx, qword [rsi + 0x20]
test rdx, rdx
jne 0x1401127e7
lea rcx, [0x14049e720]
call fcn.140007ec0
mov r13, rax
mov rdx, qword [rsi + 8]
mov rcx, r13
call fcn.14000466b
lea rcx, [rsi + 0x20]
mov rdx, r13
call fcn.1400080d0
mov rdx, r13
mov r9, rdi
mov r8, r14
lea rcx, [0x140428cf0]
call fcn.1403b0890
jmp 0x140112847
mov rsi, qword [0x1407b25d8]
mov rdx, qword [rsi + 0x28]
test rdx, rdx
jne 0x140112835
lea rcx, [0x14049e680]
call fcn.140007ec0
mov rbx, rax
mov rdx, qword [rsi + 8]
mov rcx, rbx
call fcn.140004677
lea rcx, [rsi + 0x28]
mov rdx, rbx
call fcn.1400080d0
mov rdx, rbx
mov r9, rdi
mov r8, r14
lea rcx, [0x140420f60]
call fcn.1403b0890
nop
add rsp, 0x40
pop rbx
pop rbp
pop rsi
pop rdi
pop r13
pop r14
pop r15
ret
lea rcx, [0x14040f130]
call fcn.140163600
int3
call fcn.140002019
jmp 0x1401124a3
lea rax, [0x140429a50]
cmp qword [rax - 8], 0
je 0x140112881
call fcn.140001ef9
mov rcx, qword [0x1407b25e0]
mov rcx, qword [rcx + 8]
cmp byte [rcx], cl
lea rcx, [0x14044cb48]
call fcn.140007ec0
mov rsi, rax
mov rcx, rsi
lea rdx, [0x1403e58c8]
lea r8, [0x14040f130]
call fcn.1401633f0
mov rcx, rsi
call fcn.140008990
call fcn.140003259
jmp 0x140112506
call fcn.140003779
jmp 0x14011259c
call fcn.140001f39
mov rax, qword [0x1407b25f0]
mov rax, qword [rax + 8]
cmp byte [rax], al
lea rax, [0x140429a58]
cmp qword [rax - 8], 0
je 0x14011264f
call fcn.140001f19
jmp 0x14011264f
call fcn.140009aa0
jmp 0x1401126b1
call fcn.140009aa0
jmp 0x140112719