Function at 0x1400b30d0
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, 0x1b8
movaps xmmword [rsp + 0x1a0], xmm6
mov rbx, r8
mov qword [rsp + 0x70], rdx
mov rdi, rcx
mov rax, qword [0x14033f038]
xor rax, rsp
mov qword [rsp + 0x198], rax
movabs r12, 0xaaaaaaaaaaaaaaaa
mov al, byte [0x140342240]
mov byte [rsp + 0x57], al
test al, 0x19
jne 0x1400b3679
xor eax, eax
mov qword [rsp + 0x98], rax
mov qword [rsp + 0xc0], r12
mov qword [rsp + 0xb8], r12
cmp byte [rdi + 0x178], 0
je 0x1400b36d6
mov r15b, byte [0x14035bde0]
xor r14d, r14d
mov ebp, 0x1f40
mov rax, r12
mov r9d, 0
test r15b, 1
cmove rbp, r14
jne 0x1400b3725
lea rdx, [rdi + 0x178]
mov r13d, r15d
and r13b, 1
lea rcx, [rdi + 0x1f8]
mov qword [rsp + 0xa0], rcx
lea rcx, [rdi + 0x18]
mov qword [rsp + 0x88], rcx
mov ecx, 0xaaaaaaaa
movaps xmm6, xmmword [0x140301d60]
mov qword [rsp + 0xd0], rax
mov r8, rax
xor eax, eax
mov qword [rsp + 0x80], rax
xor esi, esi
cmp qword [rsp + 0x80], rbp
setl al
test r13b, al
jne 0x1400b31e3
test r15b, 1
jne 0x1400b35f3
cmp esi, dword [rdi + 0x15c]
jge 0x1400b35f3
mov byte [rsp + 0x54], r15b
mov qword [rsp + 0x78], rbp
mov qword [rsp + 0x68], rdx
mov rax, qword [rdi + 0x10]
mov qword [rsp + 0x60], r9
mov byte [rsp + 0x178], r9b
mov dword [rsp + 0x179], ecx
mov dword [rsp + 0x17c], ecx
mov qword [rsp + 0x58], r8
mov qword [rsp + 0x180], r8
mov qword [rsp + 0x188], r12
mov qword [rsp + 0x190], rax
cmp byte [rdi + 0x1f0], 0
je 0x1400b3244
mov rcx, qword [rsp + 0xa0]
call fcn.140064430
mov qword [rdi + 0x200], 0
mov byte [rdi + 0x208], r14b
mov byte [rdi + 0x1f8], r14b
mov byte [rdi + 0x1f0], 1
mov rax, qword [rdi + 0x1c0]
mov ecx, dword [rax]
inc ecx
mov edx, 1
cmove ecx, edx
mov dword [rax], ecx
mov rcx, qword [rsp + 0x88]
lea rbp, [rsp + 0x178]
mov rdx, rbp
call fcn.1400b4a40
movzx r9d, byte [rdi + 0x1a8]
movabs r15, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0x170], r15
movaps xmmword [rsp + 0x160], xmm6
movaps xmmword [rsp + 0x150], xmm6
mov rcx, qword [rdi + 0x140]
lea rdx, [rsp + 0x150]
mov r8, rbp
call fcn.1400b7620
mov qword [rsp + 0x140], r15
movaps xmmword [rsp + 0x130], xmm6
mov rax, qword [rdi + 0x10]
mov byte [rsp + 0x130], r14b
mov qword [rsp + 0x148], rax
cmp byte [rsp + 0x150], r14b
je 0x1400b3568
mov rax, qword [rsp + 0x158]
test rax, rax
je 0x1400b3670
cmp qword [rax + 0x30], 0
mov rbp, qword [rsp + 0x78]
mov r15b, byte [rsp + 0x54]
jne 0x1400b37a7
mov rdx, qword [rax + 0x28]
mov rcx, qword [rsp + 0x88]
lea r8, [rsp + 0x130]
call fcn.1400b41f0
cmp byte [rsp + 0x150], 0
je 0x1400b3579
mov rax, qword [rsp + 0x68]
mov cl, byte [rax]
mov byte [rax], 0
mov al, byte [0x140342030]
test al, 0x19
mov byte [rsp + 0x56], cl
mov byte [rsp + 0x55], al
jne 0x1400b37ae
movabs rax, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0x120], rax
movaps xmmword [rsp + 0x110], xmm6
movaps xmmword [rsp + 0x100], xmm6
movaps xmmword [rsp + 0xf0], xmm6
movaps xmmword [rsp + 0xe0], xmm6
xor eax, eax
mov qword [rsp + 0x90], rax
mov qword [rsp + 0xb0], r12
mov qword [rsp + 0xa8], r12
mov r8, qword [rsp + 0x158]
test r8, r8
je 0x1400b3673
lea r14, [rdi + 0x1b8]
mov rdx, qword [rdi + 0x10]
lea rcx, [rsp + 0xe0]
mov r9, r14
call fcn.1400b3d90
cmp byte [rsp + 0x150], 0
je 0x1400b3ab8
mov rdx, qword [rsp + 0x158]
test rdx, rdx
je 0x1400b3676
mov qword [rsp + 0xc8], rbx
mov rcx, r14
call fcn.1400b4f50
lea rbx, [rsp + 0xe0]
mov rcx, rbx
call fcn.1400b3bf0
movabs rax, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0xf0], rax
movaps xmmword [rsp + 0xe0], xmm6
mov rax, qword [rdi + 0x10]
mov byte [rsp + 0xe0], 0
mov qword [rsp + 0xf8], rax
mov rcx, qword [rdi + 0x140]
mov rdx, rbx
call fcn.1400645e0
cmp byte [rdi + 0x1f0], 0
je 0x1400b347b
mov rcx, qword [rsp + 0xa0]
call fcn.140064430
mov qword [rdi + 0x200], 0
xor ebx, ebx
mov byte [rdi + 0x208], bl
mov byte [rdi + 0x1f8], bl
mov byte [rdi + 0x1f0], 1
mov rax, qword [rdi + 0x1c0]
mov ecx, dword [rax]
inc ecx
mov edx, 1
cmove ecx, edx
mov dword [rax], ecx
mov rcx, qword [rsp + 0x88]
lea rdx, [rsp + 0xe0]
call fcn.1400b45c0
mov al, byte [rsp + 0xe0]
test al, al
setne cl
or cl, r13b
cmp cl, 1
je 0x1400b3808
movzx r14d, byte [rdi + 0x158]
test byte [rsp + 0x55], 0x19
mov rdx, qword [rsp + 0x68]
mov r8, qword [rsp + 0x58]
jne 0x1400b387a
add r14d, r14d
test rdx, rdx
je 0x1400b3508
mov al, byte [rsp + 0x56]
mov byte [rdx], al
mov r9d, ebx
mov rbx, qword [rsp + 0xc8]
cmp byte [rsp + 0x150], 0
je 0x1400b354d
mov rcx, qword [rsp + 0x160]
test rcx, rcx
jne 0x1400b38b7
mov rcx, qword [rsp + 0x158]
mov rax, qword [0x1403428e0]
and rax, rcx
cmp rax, qword [0x1403428c8]
je 0x1400b38e8
inc esi
test r14d, r14d
mov r14d, 0
mov ecx, 0xaaaaaaaa
je 0x1400b31bd
jmp 0x1400b35f3
xor edx, edx
mov rbp, qword [rsp + 0x78]
mov r15b, byte [rsp + 0x54]
jmp 0x1400b332e
cmp byte [rdi + 0x1f0], 0
je 0x1400b358f
mov rcx, qword [rsp + 0xa0]
call fcn.140064430
mov qword [rdi + 0x200], 0
mov byte [rdi + 0x208], r14b
mov byte [rdi + 0x1f8], r14b
mov byte [rdi + 0x1f0], 1
mov rax, qword [rdi + 0x1c0]
mov ecx, dword [rax]
inc ecx
mov edx, 1
cmove ecx, edx
mov dword [rax], ecx
mov rcx, qword [rsp + 0x88]
lea rdx, [rsp + 0x130]
call fcn.1400b45c0
mov r14d, 2
mov rdx, qword [rsp + 0x68]
mov r8, qword [rsp + 0x58]
mov r9, qword [rsp + 0x60]
jmp 0x1400b3513
cmp byte [rdi + 0x158], 0
jne 0x1400b374e
mov eax, 5
xchg dword [rdi + 0x190], eax
movzx r9d, byte [rdi + 0x1a8]
mov rcx, qword [rdi + 0x140]
mov rdi, qword [rsp + 0x70]
mov rdx, rdi
mov r8, rbx
call fcn.1400b3f40
mov rax, qword [rsp + 0x80]
mov qword [rdi + 0x28], rax
test byte [rsp + 0x57], 0x19
jne 0x1400b3774
mov rcx, qword [rsp + 0x198]
xor rcx, rsp
call fcn.140171860
mov rax, rdi
movaps xmm6, xmmword [rsp + 0x1a0]
add rsp, 0x1b8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
int3
int3
int3
mov rsi, rbx
mov rax, qword [0x1403411f8]
lea rcx, [0x14003b7a0]
cmp rax, rcx
jne 0x1400b3bad
lea rbx, [rsp + 0xe0]
mov qword [rbx], 0
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rax, qword [rbx]
movabs rcx, 0x8637bd05af7
cmp rax, rcx
jge 0x1400b3951
imul rax, rax, 0xf4240
cqo
idiv qword [0x140354790]
jmp 0x1400b3973
mov sil, byte [0x140341290]
test sil, 0x19
jne 0x1400b3ada
xor ebx, ebx
mov r14, r12
mov rax, qword [rdi + 0x170]
movabs rcx, 0x7fffffffffffffff
cmp rax, rcx
jne 0x1400b390b
mov rcx, qword [rsp + 0x70]
lea rax, [rcx + 8]
mov byte [rcx], 0
xorps xmm0, xmm0
movups xmmword [rax], xmm0
mov qword [rax + 0x10], 0
jmp 0x1400b391e
mov rax, qword [fcn.14007a620]
mov rsi, rbx
lea rbx, [rsp + 0xe0]
mov rcx, rbx
call qword [case.0x140211850.0]
mov r9b, 1
mov rax, qword [rbx]
mov rbx, rsi
jmp 0x1400b3171
mov rdi, qword [rsp + 0x70]
mov byte [rdi], 0
xorps xmm0, xmm0
movups xmmword [rdi + 8], xmm0
mov qword [rdi + 0x18], 0
xor eax, eax
mov qword [rsp + 0x80], rax
jmp 0x1400b362a
mov rax, qword [rsp + 0x98]
cmp byte [rax], 0
je 0x1400b3641
mov rcx, qword [rsp + 0x98]
mov rdx, qword [rsp + 0xc0]
mov r8, qword [rsp + 0xb8]
call fcn.1401b32b0
jmp 0x1400b3641
xor edx, edx
jmp 0x1400b332e
mov rax, qword [0x1403411f8]
lea rcx, [0x14003b7a0]
cmp rax, rcx
jne 0x1400b3bc0
lea r14, [rsp + 0xe0]
mov qword [r14], 0
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rax, qword [r14]
movabs rcx, 0x8637bd05af7
cmp rax, rcx
jge 0x1400b39e3
imul rax, rax, 0xf4240
cqo
idiv qword [0x140354790]
jmp 0x1400b3a05
test al, al
je 0x1400b3aba
mov rax, qword [rsp + 0xe8]
mov qword [rsp + 0x58], rax
mov r15b, byte [rsp + 0x54]
test r15b, 1
mov rax, qword [rsp + 0xd0]
mov r8, qword [rsp + 0x58]
cmove rax, r8
xor ecx, ecx
cmp r8, rax
setns cl
movabs rdx, 0x7fffffffffffffff
add rdx, rcx
mov rcx, r8
sub rcx, rax
cmovo rcx, rdx
mov qword [rsp + 0x80], rcx
mov rax, qword [rsp + 0x60]
test al, al
movzx eax, al
mov ebx, 1
cmovne ebx, eax
mov rbp, qword [rsp + 0x78]
jmp 0x1400b34dd
mov rax, qword [rsp + 0x90]
cmp byte [rax], 0
je 0x1400b34fa
mov rcx, qword [rsp + 0x90]
mov rdx, qword [rsp + 0xb0]
mov r8, qword [rsp + 0xa8]
call fcn.1401b32b0
mov r8, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x68]
jmp 0x1400b34fa
lock dec dword [rcx]
jne 0x1400b352e
mov rax, qword [rcx + 0x10]
mov qword [rsp + 0x58], r8
mov qword [rsp + 0x60], r9
call qword [case.0x140211850.0]
mov r9, qword [rsp + 0x60]
mov r8, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x68]
jmp 0x1400b352e
mov qword [rsp + 0x58], r8
mov qword [rsp + 0x60], r9
call fcn.1401571d0
mov r9, qword [rsp + 0x60]
mov r8, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x68]
jmp 0x1400b354d
mov rcx, qword [rsp + 0x70]
mov byte [rcx], 1
mov qword [rcx + 8], rax
xorps xmm0, xmm0
movups xmmword [rcx + 0x10], xmm0
mov rdi, qword [rsp + 0x70]
mov qword [rdi + 0x28], 0
test sil, 0x19
je 0x1400b3636
cmp byte [rbx], 0
je 0x1400b3636
mov rcx, rbx
mov rdx, r14
mov r8, r12
call fcn.1401b32b0
jmp 0x1400b3636
mov rcx, qword [0x140354790]
cqo
idiv rcx
imul r8, rax, 0xf4240
imul rax, rdx, 0xf4240
cqo
idiv rcx
add rax, r8
mov qword [rsp + 0xe0], rax
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
lea rcx, [rsp + 0xe0]
mov qword [rsp + 0x38], rcx
mov dword [rsp + 0x30], eax
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
mov dword [rsp + 0x48], 0
mov qword [rsp + 0x40], 0
lea rdx, [0x140342240]
lea r8, str.ThreadControllerImpl::DoWork
mov cl, 0x58
mov qword [rsp + 0x98], rdx
mov qword [rsp + 0xc0], r8
xor r9d, r9d
call fcn.1401b9550
mov qword [rsp + 0xb8], rax
mov rbx, rsi
jmp 0x1400b313e
mov rcx, qword [0x140354790]
cqo
idiv rcx
imul r8, rax, 0xf4240
imul rax, rdx, 0xf4240
cqo
idiv rcx
add rax, r8
mov qword [rsp + 0xe0], rax
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
lea rcx, [rsp + 0xe0]
mov qword [rsp + 0x38], rcx
mov dword [rsp + 0x30], eax
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
mov dword [rsp + 0x48], 0
mov qword [rsp + 0x40], 0
lea rdx, [0x140342030]
lea r8, str.RunTask
mov cl, 0x58
mov qword [rsp + 0x90], rdx
mov qword [rsp + 0xb0], r8
xor r9d, r9d
call fcn.1401b9550
mov qword [rsp + 0xa8], rax
cmp byte [rsp + 0x150], 0
movabs rax, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0x120], rax
movaps xmmword [rsp + 0x110], xmm6
movaps xmmword [rsp + 0x100], xmm6
movaps xmmword [rsp + 0xf0], xmm6
movaps xmmword [rsp + 0xe0], xmm6
je 0x1400b3ab8
mov rbp, qword [rsp + 0x78]
mov r15b, byte [rsp + 0x54]
jmp 0x1400b33bd
ud2
mov rax, qword [fcn.14007a620]
lea r14, [rsp + 0xd8]
mov rcx, r14
call qword [case.0x140211850.0]
mov rax, qword [r14]
jmp 0x1400b3818
mov rax, qword [0x1403411f8]
lea rcx, [0x14003b7a0]
cmp rax, rcx
jne 0x1400b3bd3
lea rbx, [rsp + 0xe0]
mov qword [rbx], 0
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rax, qword [rbx]
movabs rcx, 0x8637bd05af7
cmp rax, rcx
jge 0x1400b3b2d
imul rax, rax, 0xf4240
cqo
idiv qword [0x140354790]
jmp 0x1400b3b4f
mov rcx, qword [0x140354790]
cqo
idiv rcx
imul r8, rax, 0xf4240
imul rax, rdx, 0xf4240
cqo
idiv rcx
add rax, r8
mov qword [rsp + 0xe0], rax
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
lea rcx, [rsp + 0xe0]
mov qword [rsp + 0x38], rcx
mov dword [rsp + 0x30], eax
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
mov dword [rsp + 0x48], 0
mov qword [rsp + 0x40], 0
lea rbx, [0x140341290]
lea r14, str.ThreadController:_application_tasks_disallowed
mov cl, 0x58
mov rdx, rbx
mov r8, r14
xor r9d, r9d
call fcn.1401b9550
mov r12, rax
jmp 0x1400b36ec
lea rcx, [rsp + 0xe0]
call qword [case.0x140211850.0]
jmp 0x1400b397b
lea rcx, [rsp + 0xe0]
call qword [case.0x140211850.0]
jmp 0x1400b3a0d
lea rcx, [rsp + 0xe0]
call qword [case.0x140211850.0]
jmp 0x1400b3b57