Function at 0x1400453d0
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 qword [rsp + 0xb8], r8
mov rbp, rdx
mov rdi, rcx
mov rax, qword [0x140346038]
xor rax, rsp
mov qword [rsp + 0x198], rax
movabs rcx, 0xaaaaaaaaaaaaaaaa
mov al, byte [0x140355d30]
mov byte [rsp + 0x5f], al
test al, 0x19
mov qword [rsp + 0x88], rcx
jne 0x140045b13
xor eax, eax
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x98], rcx
mov qword [rsp + 0x90], rcx
cmp byte [rdi + 0x188], 0
je 0x14004599e
lea rax, [rdi + 0x188]
mov qword [rsp + 0xa8], rax
mov r13d, 0xffffffff
lea rax, [rdi + 0x208]
mov qword [rsp + 0x78], rax
lea rax, [rdi + 0x18]
mov qword [rsp + 0x60], rax
movaps xmm6, xmmword [0x1402fccc0]
movabs rax, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0xa0], rax
xor r15d, r15d
inc r13d
cmp r13d, dword [rdi + 0x164]
jge 0x1400457fd
mov rax, qword [rdi + 0x10]
mov byte [rsp + 0x178], r15b
mov ecx, 0xaaaaaaaa
mov dword [rsp + 0x179], ecx
mov dword [rsp + 0x17c], ecx
mov rcx, qword [rsp + 0xa0]
mov qword [rsp + 0x180], rcx
movabs rcx, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0x188], rcx
mov qword [rsp + 0x190], rax
cmp byte [rdi + 0x200], 0
je 0x140045505
mov rcx, qword [rsp + 0x78]
call fcn.1400c2b50
mov qword [rdi + 0x210], 0
xor esi, esi
mov byte [rdi + 0x218], sil
mov byte [rdi + 0x208], sil
mov byte [rdi + 0x200], 1
mov rax, qword [rdi + 0x1c8]
mov ecx, dword [rax]
lea edx, [rcx + 1]
cmp edx, 1
adc ecx, 1
mov dword [rax], ecx
mov rcx, qword [rsp + 0x60]
lea rbx, [rsp + 0x178]
mov rdx, rbx
call fcn.140048100
mov r14, qword [rdi + 0xc8]
sub r14, qword [rdi + 0xc0]
movzx r9d, byte [rdi + 0x1b8]
movabs r12, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0x170], r12
movaps xmmword [rsp + 0x160], xmm6
movaps xmmword [rsp + 0x150], xmm6
mov rcx, qword [rdi + 0x148]
lea rdx, [rsp + 0x150]
mov r8, rbx
call fcn.14004aee0
mov qword [rsp + 0x140], r12
movaps xmmword [rsp + 0x130], xmm6
mov rax, qword [rdi + 0x10]
mov byte [rsp + 0x130], sil
mov qword [rsp + 0x148], rax
cmp byte [rsp + 0x150], sil
je 0x140045882
mov rax, qword [rsp + 0x158]
cmp qword [rax + 0x30], 0
jne 0x140045882
mov rdx, qword [rax + 0x28]
shr r14, 6
mov rcx, qword [rsp + 0x60]
lea r8, [rsp + 0x130]
call fcn.140046630
cmp byte [rsp + 0x150], 0
je 0x140045889
mov qword [rsp + 0xb0], rbp
mov rax, qword [rsp + 0xa8]
mov bl, byte [rax]
mov byte [rax], 0
mov bpl, byte [0x140355b20]
test bpl, 0x19
jne 0x140045bfe
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
movaps xmmword [rsp + 0xd0], xmm6
movaps xmmword [rsp + 0xc0], xmm6
xor eax, eax
mov qword [rsp + 0x68], rax
movabs rax, 0xaaaaaaaaaaaaaaaa
mov r12, rax
mov qword [rsp + 0x80], rax
lea r15, [rdi + 0x1c0]
mov r8, qword [rsp + 0x158]
mov rdx, qword [rdi + 0x10]
lea rsi, [rsp + 0xc0]
mov rcx, rsi
mov r9, r15
call fcn.140045d40
cmp byte [rsp + 0x150], 0
je 0x140045d1f
mov rdx, qword [rsp + 0x158]
mov rcx, r15
call fcn.140045ef0
mov rcx, rsi
call fcn.140045df0
cmp byte [rsp + 0x150], 0
je 0x1400456ff
mov rcx, qword [rsp + 0x160]
test rcx, rcx
jne 0x140045908
mov byte [rsp + 0x150], 0
movabs rax, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0xd0], rax
movaps xmmword [rsp + 0xc0], xmm6
mov rax, qword [rdi + 0x10]
mov byte [rsp + 0xc0], 0
mov qword [rsp + 0xd8], rax
mov rcx, qword [rdi + 0x148]
lea rdx, [rsp + 0xc0]
call fcn.1400463e0
cmp byte [rdi + 0x200], 0
je 0x140045754
mov rcx, qword [rsp + 0x78]
call fcn.1400c2b50
mov qword [rdi + 0x210], 0
xor eax, eax
mov byte [rdi + 0x218], al
mov byte [rdi + 0x208], al
mov byte [rdi + 0x200], 1
mov rax, qword [rdi + 0x1c8]
mov ecx, dword [rax]
lea edx, [rcx + 1]
cmp edx, 1
adc ecx, 1
mov dword [rax], ecx
mov rcx, qword [rsp + 0x60]
lea rdx, [rsp + 0xc0]
mov r8d, r14d
call fcn.140047510
mov r15b, byte [rsp + 0xc0]
test r15b, r15b
je 0x1400457ba
mov rax, qword [rsp + 0xc8]
mov qword [rsp + 0xa0], rax
movzx r14d, byte [rdi + 0x160]
test bpl, 0x19
jne 0x140045976
add r14d, r14d
mov rax, qword [rsp + 0xa8]
test rax, rax
mov rbp, qword [rsp + 0xb0]
je 0x1400457e6
mov byte [rax], bl
cmp byte [rsp + 0x150], 0
jne 0x14004594d
test r14d, r14d
je 0x140045499
cmp byte [rdi + 0x160], 0
jne 0x1400458f0
mov eax, 5
xchg dword [rdi + 0x1a0], eax
movzx esi, byte [rdi + 0x1b8]
mov rcx, qword [rdi + 0x148]
mov rbx, qword [rsp + 0xb8]
mov rdx, rbx
call fcn.140048f10
mov rcx, qword [rdi + 0x148]
mov rdx, rbp
mov r8, rbx
mov r9d, esi
call fcn.1400460d0
test byte [rsp + 0x5f], 0x19
jne 0x140045920
mov rcx, qword [rsp + 0x198]
xor rcx, rsp
call fcn.140156fe0
mov rax, rbp
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
xor edx, edx
jmp 0x1400455e8
cmp byte [rdi + 0x200], 0
je 0x14004589c
mov rcx, qword [rsp + 0x78]
call fcn.1400c2b50
mov qword [rdi + 0x210], 0
xor eax, eax
mov byte [rdi + 0x218], al
mov byte [rdi + 0x208], al
mov byte [rdi + 0x200], 1
mov rax, qword [rdi + 0x1c8]
mov ecx, dword [rax]
lea edx, [rcx + 1]
cmp edx, 1
adc ecx, 1
mov dword [rax], ecx
mov rcx, qword [rsp + 0x60]
lea rdx, [rsp + 0x130]
mov r8d, r14d
call fcn.140047510
mov r14d, 2
jmp 0x1400457e6
mov byte [rbp], 0
xorps xmm0, xmm0
movups xmmword [rbp + 8], xmm0
mov qword [rbp + 0x18], 0
jmp 0x140045848
lock dec dword [rcx]
jne 0x1400456f7
mov rax, qword [rcx + 0x10]
call qword [0x14037e008]
jmp 0x1400456f7
mov rax, qword [rsp + 0x70]
cmp byte [rax], 0
je 0x140045853
mov rcx, qword [rsp + 0x70]
mov rdx, qword [rsp + 0x98]
mov r8, qword [rsp + 0x90]
call fcn.1401c7be0
jmp 0x140045853
mov rcx, qword [rsp + 0x160]
test rcx, rcx
je 0x1400457f4
lock dec dword [rcx]
jne 0x1400457f4
mov rax, qword [rcx + 0x10]
call qword [0x14037e008]
jmp 0x1400457f4
mov rax, qword [rsp + 0x68]
cmp byte [rax], 0
je 0x1400457cc
mov rcx, qword [rsp + 0x68]
mov rdx, r12
mov r8, qword [rsp + 0x80]
call fcn.1401c7be0
jmp 0x1400457cc
mov r14, rbp
mov bpl, byte [0x140354cd0]
test bpl, 0x19
jne 0x140045a28
xor esi, esi
movabs rbx, 0xaaaaaaaaaaaaaaaa
mov rax, qword [rdi + 0x180]
movabs rcx, 0x7fffffffffffffff
cmp rax, rcx
je 0x1400459e3
mov rcx, r14
mov qword [r14 + 8], rax
xorps xmm0, xmm0
movups xmmword [r14 + 0x10], xmm0
mov al, 1
jmp 0x1400459f7
lea rax, [r14 + 8]
xorps xmm0, xmm0
movups xmmword [rax], xmm0
mov qword [rax + 0x10], 0
xor eax, eax
mov byte [r14], al
test bpl, 0x19
mov rbp, r14
je 0x140045848
cmp byte [rsi], 0
je 0x140045848
mov rcx, rsi
mov rdx, rbx
mov r8, qword [rsp + 0x88]
call fcn.1401c7be0
jmp 0x140045848
mov rax, qword [0x140356358]
lea rcx, [0x140038290]
cmp rax, rcx
jne 0x140045d21
lea rsi, [rsp + 0xc0]
mov qword [rsi], 0
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rax, qword [rsi]
movabs rcx, 0x8637bd05af7
cmp rax, rcx
jge 0x140045adc
imul rax, rax, 0xf4240
cqo
idiv qword [0x1403627d8]
mov qword [rsp + 0xc0], rax
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
lea rcx, [rsp + 0xc0]
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 rsi, [0x140354cd0]
lea rbx, str.ThreadController:_application_tasks_disallowed
mov cl, 0x58
mov rdx, rsi
mov r8, rbx
xor r9d, r9d
call fcn.1401bfdf0
mov qword [rsp + 0x88], rax
jmp 0x1400459ba
mov rcx, qword [0x1403627d8]
cqo
idiv rcx
imul r8, rax, 0xf4240
imul rax, rdx, 0xf4240
cqo
idiv rcx
add rax, r8
jmp 0x140045a79
lea rcx, [rsp + 0xc0]
call qword [0x14037e008]
jmp 0x140045b8c
mov rax, qword [0x140356358]
lea rcx, [0x140038290]
cmp rax, rcx
jne 0x140045b03
lea rsi, [rsp + 0xc0]
mov qword [rsi], 0
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rax, qword [rsi]
movabs rcx, 0x8637bd05af7
cmp rax, rcx
jl 0x140045b74
mov rcx, qword [0x1403627d8]
cqo
idiv rcx
imul r8, rax, 0xf4240
imul rax, rdx, 0xf4240
cqo
idiv rcx
add rax, r8
jmp 0x140045b84
imul rax, rax, 0xf4240
cqo
idiv qword [0x1403627d8]
mov qword [rsp + 0xc0], rax
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
lea rcx, [rsp + 0xc0]
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, [0x140355d30]
lea r8, str.ThreadControllerImpl::DoWork
mov cl, 0x58
mov qword [rsp + 0x70], rdx
mov qword [rsp + 0x98], r8
xor r9d, r9d
call fcn.1401bfdf0
mov qword [rsp + 0x90], rax
jmp 0x140045446
lea rcx, [rsp + 0xc0]
call qword [0x14037e008]
jmp 0x140045c77
mov rax, qword [0x140356358]
lea rcx, [0x140038290]
cmp rax, rcx
jne 0x140045bee
lea r15, [rsp + 0xc0]
mov qword [r15], 0
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rax, qword [r15]
movabs rcx, 0x8637bd05af7
cmp rax, rcx
jl 0x140045c5f
mov rcx, qword [0x1403627d8]
cqo
idiv rcx
imul r8, rax, 0xf4240
imul rax, rdx, 0xf4240
cqo
idiv rcx
add rax, r8
jmp 0x140045c6f
imul rax, rax, 0xf4240
cqo
idiv qword [0x1403627d8]
mov qword [rsp + 0xc0], rax
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
lea rcx, [rsp + 0xc0]
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, [0x140355b20]
lea r8, str.RunTask
mov cl, 0x58
mov qword [rsp + 0x68], rdx
mov r12, r8
xor r9d, r9d
call fcn.1401bfdf0
cmp byte [rsp + 0x150], 0
mov qword [rsp + 0x80], rax
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
movaps xmmword [rsp + 0xd0], xmm6
movaps xmmword [rsp + 0xc0], xmm6
jne 0x140045690
ud2
lea rcx, [rsp + 0xc0]
call qword [0x14037e008]
jmp 0x140045a81