Function at 0x1401505b0
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 0x140150a17
test rdi, rdi
je 0x140150621
cmp dword [rdi + 0x20], 0
je 0x140150621
test sil, sil
jne 0x14015060d
mov rdx, rdi
lea rcx, [0x1403f70a0]
call fcn.14039be10
jmp 0x140150a07
mov rdx, rdi
lea rcx, [0x1403fc680]
call fcn.14039be10
jmp 0x140150a07
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.14015bd80
mov r13, rax
test r13, r13
je 0x1401507c1
test r15b, r15b
je 0x140150696
lea rdx, [0x1403fced8]
cmp qword [rdx - 8], 0
jne 0x140150a24
mov rbx, qword [0x14074ff68]
mov rdx, qword [rbx + 8]
mov rcx, r13
mov rax, qword [r13]
call qword [rax + 0x20]
test eax, eax
jne 0x140150a2e
mov rdx, qword [rbx + 0x28]
mov rcx, r13
mov rax, qword [r13]
call qword [rax + 0x20]
test eax, eax
jne 0x140150a2e
test r14b, r14b
je 0x140150794
test sil, sil
jne 0x1401506fe
mov rcx, r13
call fcn.140150ae0
mov rbp, rax
test rbp, rbp
jne 0x1401506d3
lea rcx, [0x1403fdb90]
cmp qword [rcx - 8], 0
jne 0x140150a7b
mov rcx, qword [0x140750d90]
mov rax, qword [rcx + 8]
jmp 0x1401506f9
lea rcx, [0x14044c150]
call fcn.140006ce0
mov r13, rax
mov dword [r13 + 0x34], 0x1000000
lea rcx, [r13 + 0x38]
mov rdx, rbp
call fcn.140006ef0
mov rax, r13
jmp 0x140150a07
test ebp, ebp
je 0x140150725
mov ecx, 2
mov edx, 0x17
cmp qword [r13 + 8], 0
cmovne ecx, edx
cmp ecx, ebp
je 0x140150725
mov rcx, qword [0x140750eb0]
mov rbp, qword [rcx + 8]
jmp 0x140150745
lea rcx, [0x1404b1e60]
mov edx, 1
call fcn.140006e00
mov rbp, rax
lea rcx, [rbp + 0x10]
mov rdx, r13
call fcn.140006ef0
test rbp, rbp
jne 0x140150769
lea rcx, [0x1403fe940]
cmp qword [rcx - 8], 0
jne 0x140150a85
mov rcx, qword [0x140752678]
mov rax, qword [rcx + 8]
jmp 0x14015078f
lea rcx, [0x1404add50]
call fcn.140006ce0
mov r13, rax
mov dword [r13 + 0x34], 0x1000000
lea rcx, [r13 + 0x38]
mov rdx, rbp
call fcn.140006ef0
mov rax, r13
jmp 0x140150a07
test ebp, ebp
je 0x1401507b9
lea rcx, [0x14044ff60]
call fcn.140006ce0
mov r14, rax
lea rcx, [r14 + 8]
mov rdx, r13
call fcn.140006ef0
mov dword [r14 + 0x10], ebp
jmp 0x1401507bc
mov r14, r13
jmp 0x140150968
call fcn.140151680
test eax, eax
je 0x14015093a
mov qword [rsp + 0x80], rbx
mov rcx, rbx
call fcn.140150b60
lea rcx, [0x1403fce78]
cmp qword [rcx - 8], 0
jne 0x140150a8f
mov rcx, qword [0x14074ff10]
mov rcx, qword [rcx + 8]
cmp byte [rcx], cl
lea rcx, [0x1403fce70]
cmp qword [rcx - 8], 0
jne 0x140150ab3
mov rcx, qword [0x14074ff08]
mov rcx, qword [rcx + 0x10]
mov rcx, qword [rcx + 8]
cmp qword [rcx + 8], 0
je 0x140150906
test sil, sil
jne 0x140150896
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.140151960
mov rdi, rax
cmp dword [0x140762808], 0
jne 0x140150abd
test rdi, rdi
je 0x140150892
mov r9, rbx
mov rdx, rdi
mov r8, qword [rsp + 0x80]
lea rcx, [0x1403f7040]
call fcn.14039a9c0
jmp 0x140150894
xor eax, eax
jmp 0x1401508fc
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.140151960
mov rdi, rax
cmp dword [0x140762808], 0
jne 0x140150ac7
test rdi, rdi
je 0x1401508fa
mov r9, rbx
mov rdx, rdi
mov r8, qword [rsp + 0x80]
lea rcx, [0x1403fc620]
call fcn.14039a9c0
jmp 0x1401508fc
xor eax, eax
mov rdi, qword [rsp + 0xa8]
jmp 0x140150928
mov rbx, qword [rsp + 0x80]
movzx edx, sil
mov rcx, rbx
mov r8d, ebp
mov r9, rdi
call fcn.140151960
mov qword [rsp + 0x80], rbx
test rax, rax
mov rbx, qword [rsp + 0x80]
je 0x14015093a
jmp 0x140150a07
test ebp, ebp
je 0x140150965
mov r14d, ebp
lea rcx, [0x14045ca58]
call fcn.140006ce0
mov rbp, rax
lea rcx, [rbp + 8]
mov rdx, rbx
call fcn.140006ef0
mov dword [rbp + 0x10], r14d
mov r14, rbp
jmp 0x140150968
mov r14, rbx
test sil, sil
je 0x1401509bb
mov rsi, qword [0x14074fef8]
mov rdx, qword [rsi + 0x20]
test rdx, rdx
jne 0x1401509a7
lea rcx, [0x14045a3e8]
call fcn.140006ce0
mov r13, rax
mov rdx, qword [rsi + 8]
mov rcx, r13
call fcn.140004151
lea rcx, [rsi + 0x20]
mov rdx, r13
call fcn.140006ef0
mov rdx, r13
mov r9, rdi
mov r8, r14
lea rcx, [0x1403fc5e8]
call fcn.14039a760
jmp 0x140150a07
mov rsi, qword [0x14074fef8]
mov rdx, qword [rsi + 0x28]
test rdx, rdx
jne 0x1401509f5
lea rcx, [0x14045a358]
call fcn.140006ce0
mov rbx, rax
mov rdx, qword [rsi + 8]
mov rcx, rbx
call fcn.14000415d
lea rcx, [rsi + 0x28]
mov rdx, rbx
call fcn.140006ef0
mov rdx, rbx
mov r9, rdi
mov r8, r14
lea rcx, [0x1403f7008]
call fcn.14039a760
nop
add rsp, 0x40
pop rbx
pop rbp
pop rsi
pop rdi
pop r13
pop r14
pop r15
ret
lea rcx, [0x1403e6cb8]
call fcn.1401ad260
int3
call fcn.1400020a7
jmp 0x140150663
lea rax, [0x1403fce68]
cmp qword [rax - 8], 0
je 0x140150a41
call fcn.140001f87
mov rcx, qword [0x14074ff00]
mov rcx, qword [rcx + 8]
cmp byte [rcx], cl
lea rcx, [0x14041c540]
call fcn.140006ce0
mov rsi, rax
mov rcx, rsi
lea rdx, [0x1403c0b38]
lea r8, [0x1403e6cb8]
call fcn.1401ad050
mov rcx, rsi
call fcn.1400077b0
call fcn.140003207
jmp 0x1401506c6
call fcn.140003607
jmp 0x14015075c
call fcn.140001fc7
mov rax, qword [0x14074ff10]
mov rax, qword [rax + 8]
cmp byte [rax], al
lea rax, [0x1403fce70]
cmp qword [rax - 8], 0
je 0x14015080f
call fcn.140001fa7
jmp 0x14015080f
call fcn.140008750
jmp 0x140150871
call fcn.140008750
jmp 0x1401508d9