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

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0xf8
mov rsi, rcx
mov rax, qword [0x140219028]
xor rax, rsp
mov qword [rsp + 0xf0], rax
mov rax, qword [rdx]
test rax, rax
jle 0x1400c9f2d
mov rdi, rdx
movaps xmm0, xmmword [0x1401efb80]
movaps xmmword [rsp + 0xc0], xmm0
movaps xmmword [rsp + 0xd0], xmm0
movabs rcx, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0xe0], rcx
mov byte [rsp + 0xc0], 0
xorps xmm1, xmm1
movups xmmword [rsp + 0xc8], xmm1
mov qword [rsp + 0xd8], 0
movaps xmmword [rsp + 0x50], xmm0
movaps xmmword [rsp + 0x60], xmm0
movaps xmmword [rsp + 0x70], xmm0
movaps xmmword [rsp + 0x80], xmm0
movaps xmmword [rsp + 0x90], xmm0
movaps xmmword [rsp + 0xa0], xmm0
mov qword [rsp + 0xb0], rcx
mov byte [rsp + 0x50], 0
movups xmmword [rsp + 0x58], xmm1
movups xmmword [rsp + 0x68], xmm1
movups xmmword [rsp + 0x78], xmm1
movups xmmword [rsp + 0x88], xmm1
movups xmmword [rsp + 0x98], xmm1
mov qword [rsp + 0xa8], 0
cmp byte [rsi + 8], 0
jne 0x1400c9f42
movabs rbx, 0x7fffffffffffffff
movabs r15, 0x8637bd05af7
cmp rax, rbx
je 0x1400c9eed
mov rax, qword [0x14021af40]
lea rcx, [0x14011c810]
cmp rax, rcx
jne 0x1400c9f02
mov qword [rsp + 0x30], 0
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rax, qword [rsp + 0x30]
cmp rax, r15
jge 0x1400c9fdc
imul rax, rax, 0xf4240
cqo
idiv qword [0x140227198]
mov qword [rsp + 0x28], rax
mov rcx, qword [rdi]
lea rdx, [rbx + rcx]
add rdx, 2
cmp rdx, 2
jb 0x1400c9fb8
lea rdx, [rax + rcx]
sar rdx, 0x3f
movabs rbp, 0x8000000000000000
xor rbp, rdx
add rax, rcx
cmovo rax, rbp
mov rdi, rax
test rcx, rcx
jle 0x1400c9ee3
mov r13, qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ebp, 1
lea r12, [rsp + 0x30]
movabs r14, 0x20c49ba5e353f7cf
cmp rcx, rbx
je 0x1400c9ef8
mov rax, rcx
shr rax, 3
mul r14
shr rdx, 4
imul rax, rdx, 0x3e8
cmp rax, rcx
adc rdx, 0
mov rax, rdx
shr rax, 0x20
jne 0x1400c9ef8
mov rcx, qword [rsi]
call r13
xor ecx, ecx
cmp eax, 0x102
sete cl
shl ecx, 2
test eax, eax
cmove ecx, ebp
test cl, 1
je 0x1400c9e8f
cmp ecx, 2
setne bl
cmp byte [rsp + 0x50], 0
jne 0x1400c9f97
cmp byte [rsp + 0xc0], 0
jne 0x1400c9fa6
mov rcx, qword [rsp + 0xf0]
xor rcx, rsp
call fcn.14011fe20
mov eax, ebx
add rsp, 0xf8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov rax, qword [0x14021af40]
lea rcx, [0x14011c810]
cmp rax, rcx
jne 0x1400c9f18
mov qword [rsp + 0x30], 0
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rax, qword [rsp + 0x30]
cmp rax, r15
jge 0x1400ca003
imul rax, rax, 0xf4240
cqo
idiv qword [0x140227198]
mov qword [rsp + 0x20], rax
mov rcx, rdi
sub rcx, rax
jg 0x1400c9dfb
mov ecx, 2
jmp 0x1400c9e4a
mov rcx, rbx
mov rdi, rbx
jmp 0x1400c9de0
mov edx, 0xffffffff
jmp 0x1400c9e2d
lea r14, [rsp + 0x28]
mov rcx, r14
call qword [0x14023a010]
mov rax, qword [r14]
jmp 0x1400c9da3
lea rcx, [rsp + 0x20]
call qword [0x14023a010]
lea rax, [rsp + 0x20]
mov rax, qword [rax]
jmp 0x1400c9ed7
mov rcx, qword [rsi]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
sete bl
jmp 0x1400c9e69
lea rdx, [rsp + 0x30]
mov qword [rdx], rsi
lea rcx, [rsp + 0xc0]
call fcn.140188990
lea rdx, str.TimedWait
lea r8, str..._.._base_synchronization_waitable_event_win.cc
lea r14, [rsp + 0x30]
mov rcx, r14
mov r9d, 0x58
call fcn.1400ddbb0
lea rbx, [rsp + 0x58]
mov rcx, rbx
mov rdx, r14
xor r8d, r8d
call fcn.140112420
mov byte [rbx - 8], 1
mov rax, qword [rdi]
jmp 0x1400c9d38
lea rcx, [rsp + 0x58]
call fcn.1400f5540
jmp 0x1400c9e5b
lea rcx, [rsp + 0xc8]
call fcn.1400d38a0
jmp 0x1400c9e69
lea rdx, [rbx + rax]
add rdx, 2
mov rdi, rcx
cmp rdx, 1
ja 0x1400c9dd7
mov rdi, rcx
cmp rax, rcx
je 0x1400c9dd7
int3
mov rcx, qword [0x140227198]
cqo
idiv rcx
imul rbp, rax, 0xf4240
imul rax, rdx, 0xf4240
cqo
idiv rcx
add rax, rbp
jmp 0x1400c9d9e
mov rcx, qword [0x140227198]
cqo
idiv rcx
imul r8, rax, 0xf4240
imul rax, rdx, 0xf4240
cqo
idiv rcx
add rax, r8
jmp 0x1400c9ed2