Function at 0x140021300
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0xf8
movaps xmmword [rsp + 0xe0], xmm6
mov rdi, r8
mov rsi, rcx
mov rax, qword [0x14022c040]
xor rax, rsp
mov qword [rsp + 0xd8], rax
mov eax, dword [r8]
lea r15, [rsp + 0x30]
mov dword [r15], eax
mov al, byte [r8 + 4]
mov byte [r15 + 4], al
mov r12, qword [r8 + 8]
mov qword [r15 + 8], r12
xor r13d, r13d
mov qword [r8 + 8], r13
movzx ebp, word [r8 + 0x10]
mov word [r15 + 0x10], bp
movups xmm0, xmmword [r8 + 0x18]
movups xmmword [r15 + 0x18], xmm0
mov ecx, 0x238
call fcn.140133b54
mov r14, rax
mov rcx, rax
mov rdx, r15
call fcn.14016bf40
mov ecx, 0x388
call fcn.140133b54
mov rbx, rax
mov qword [r15 + 8], r13
lea rax, [0x1401fba10]
mov qword [rbx], rax
lea rax, [0x1401fbae0]
mov qword [rbx + 8], rax
lea rax, [0x1401fbb30]
mov qword [rbx + 0x10], rax
lea rax, [0x1401fd390]
mov qword [rbx + 0x18], rax
mov rax, qword [r14 + 8]
mov qword [rbx + 0x20], rax
test rax, rax
je 0x1400213df
mov ecx, 1
lock xadd dword [rax], ecx
cmp ecx, 0x7fffffff
je 0x140021aa7
lea rax, [rsp + 0x48]
movabs r15, 0xaaaaaaaaaaaaaaaa
mov qword [rbx + 0x28], 2
mov qword [rbx + 0x30], r14
mov ecx, dword [rax - 0x18]
mov dword [rbx + 0x38], ecx
mov cl, byte [rax - 0x14]
mov byte [rbx + 0x3c], cl
mov qword [rbx + 0x40], r12
mov word [rbx + 0x48], bp
movupd xmm0, xmmword [rax]
movupd xmmword [rbx + 0x50], xmm0
test cl, 1
je 0x140021a09
lea r14, [rsp + 0x58]
mov qword [r14], r15
lea rcx, [rsp + 0x60]
mov qword [rcx], r14
mov qword [rcx + 8], 8
call fcn.1400a8600
movabs rax, 0x1fffffffffffff
and rax, qword [r14]
xorps xmm0, xmm0
cvtsi2sd xmm0, rax
mov edx, 0xffffffcb
call fcn.14015259c
movsd xmm1, qword [0x1401f0f30]
xor eax, eax
ucomisd xmm1, xmm0
seta al
lea rcx, [0x1402127b0]
movsd xmm6, qword [rcx + rax*8]
mov eax, dword [0x14023e414]
mov ecx, dword [0x14023adf0]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x140021a11
movabs r12, 0xfffffffc00000000
cmp byte [0x14023e410], 0
jne 0x1400214b4
xorps xmm6, xmm6
movsd qword [rbx + 0x60], xmm6
mov dword [rbx + 0x68], 2
lea r14, [rbx + 0x70]
mov qword [rbx + 0x70], 0
mov rax, r14
and rax, r12
cmp rax, qword [0x14022e648]
jne 0x1400214e3
mov rcx, r14
call fcn.1400037d0
lea rcx, [rbx + 0x78]
mov qword [rbx + 0x80], r14
mov byte [rbx + 0x88], 1
call qword [sym.imp.KERNEL32.dll_InitializeConditionVariable]
movzx eax, byte [rbx + 0x48]
mov dword [rbx + 0x90], eax
mov rax, qword [rbx + 0x20]
test rax, rax
je 0x140021aaa
mov ecx, 1
lock xadd dword [rax], ecx
cmp ecx, 0x7fffffff
je 0x140021ab1
mov rdx, qword [rbx + 0x20]
mov qword [rbx + 0x98], rax
xorps xmm6, xmm6
movups xmmword [rbx + 0xa0], xmm6
mov r14, qword [rbx + 0x40]
mov dword [rbx + 0xb0], 0
mov byte [rbx + 0x140], 0
movups xmmword [rbx + 0xb8], xmm6
movups xmmword [rbx + 0xc8], xmm6
movups xmmword [rbx + 0xd8], xmm6
movups xmmword [rbx + 0xe8], xmm6
movups xmmword [rbx + 0xf8], xmm6
movups xmmword [rbx + 0x108], xmm6
movups xmmword [rbx + 0x118], xmm6
movups xmmword [rbx + 0x121], xmm6
test rdx, rdx
je 0x1400215a2
mov eax, 1
lock xadd dword [rdx], eax
cmp eax, 0x7fffffff
je 0x140021ab4
lea r8, [rbx + 0x38]
lea rcx, [rbx + 0x148]
call fcn.140110e70
lea rax, [rbx + 0x1f0]
movups xmmword [rbx + 0x1d8], xmm6
xor ecx, ecx
mov qword [rbx + 0x1e8], rcx
mov qword [rbx + 0x1f0], rax
mov qword [rbx + 0x1f8], rax
mov qword [rbx + 0x200], rcx
mov dword [rbx + 0x208], ecx
lea rax, [rbx + 0x228]
movups xmmword [rbx + 0x210], xmm6
mov qword [rbx + 0x220], rcx
mov qword [rbx + 0x228], rax
mov qword [rbx + 0x230], rax
mov qword [rbx + 0x238], rcx
mov dword [rbx + 0x240], ecx
mov rax, r14
and rax, r12
cmp rax, qword [0x14022e648]
je 0x140021ad7
mov qword [rbx + 0x248], r14
mov qword [rbx + 0x250], 0
mov ecx, 0x40
call fcn.140133b54
mov r14, rax
mov rax, qword [rbx + 0x20]
test rax, rax
je 0x140021664
mov ecx, 1
lock xadd dword [rax], ecx
cmp ecx, 0x7fffffff
je 0x140021ab7
xorpd xmm0, xmm0
movupd xmmword [r14 + 0x1c], xmm0
movupd xmmword [r14 + 0x10], xmm0
mov qword [r14 + 0x30], rax
lea rax, [0x1401fd468]
mov qword [r14], rax
mov rax, rbx
and rax, r12
cmp rax, qword [0x14022e648]
jne 0x140021699
mov rcx, rbx
call fcn.1400037d0
mov qword [r14 + 0x38], rbx
mov qword [rbx + 0x258], r14
mov ecx, 0x38
call fcn.140133b54
mov rcx, qword [rbx + 0x20]
test rcx, rcx
je 0x1400216cc
mov edx, 1
lock xadd dword [rcx], edx
cmp edx, 0x7fffffff
je 0x140021aba
xorpd xmm0, xmm0
movupd xmmword [rax + 0x1c], xmm0
movupd xmmword [rax + 0x10], xmm0
mov qword [rax + 0x30], rcx
lea rcx, [0x1401fd488]
mov qword [rax], rcx
mov qword [rbx + 0x260], rax
xor r14d, r14d
mov byte [rbx + 0x268], r14b
mov qword [rbx + 0x270], r14
lea rax, [rbx + 0x280]
movupd xmmword [rbx + 0x280], xmm0
mov qword [rbx + 0x278], rax
lea rax, [rbx + 0x298]
movupd xmmword [rbx + 0x298], xmm0
mov qword [rbx + 0x290], rax
mov word [rbx + 0x2a8], 0
lea rax, [rbx + 0x300]
movupd xmmword [rbx + 0x2b0], xmm0
movupd xmmword [rbx + 0x2c0], xmm0
movupd xmmword [rbx + 0x2d0], xmm0
movupd xmmword [rbx + 0x2e0], xmm0
movupd xmmword [rbx + 0x2f0], xmm0
mov qword [rbx + 0x300], rax
mov qword [rbx + 0x308], rax
mov qword [rbx + 0x310], r14
mov dword [rbx + 0x318], r14d
lea r13, [rbx + 0x320]
mov qword [rbx + 0x320], r13
mov qword [rbx + 0x328], r13
mov qword [rbx + 0x330], r14
mov byte [rbx + 0x338], r14b
mov qword [rbx + 0x340], r14
mov ecx, 8
call fcn.140133b54
mov dword [rax], r14d
mov byte [rax + 4], r14b
mov qword [rbx + 0x348], rax
test rax, rax
je 0x1400217dc
mov ecx, 1
lock xadd dword [rax], ecx
cmp ecx, 0x7fffffff
je 0x140021abd
mov qword [rbx + 0x350], r13
lea rax, [rbx + 0x358]
mov qword [rbx + 0x358], rax
mov qword [rbx + 0x360], rax
mov qword [rbx + 0x368], 0
cmp byte [rbx + 0x3c], 1
jne 0x14002186f
lea r13, [rsp + 0x58]
mov qword [r13], r15
lea r14, [rsp + 0x60]
mov qword [r14], r13
mov ebp, 8
mov qword [r14 + 8], rbp
mov rcx, r14
call fcn.1400a8600
mov rax, r15
mov r15, rsi
mov rsi, qword [r13]
mov qword [r13], rax
mov qword [r14], r13
mov qword [r14 + 8], rbp
lea rcx, [rsp + 0x60]
call fcn.1400a8600
mov rax, qword [r13]
mov qword [rbx + 0x130], rsi
mov rsi, r15
mov qword [rbx + 0x138], rax
cmp byte [rbx + 0x140], 0
jne 0x14002186f
mov byte [rbx + 0x140], 1
mov rax, qword [rbx + 0x40]
mov qword [rbx + 0x370], rax
mov ecx, 8
call fcn.140133b54
mov dword [rax], 0
mov byte [rax + 4], 0
mov qword [rbx + 0x378], rax
test rax, rax
je 0x1400218af
mov ecx, 1
lock xadd dword [rax], ecx
cmp ecx, 0x7fffffff
je 0x140021ac0
lea r15, [rbx + 0x10]
mov qword [rbx + 0x380], rbx
mov qword [rsp + 0x58], 0xe8
mov al, byte [0x14023e068]
test al, al
jne 0x140021ae4
mov rax, r15
and rax, r12
cmp rax, qword [0x14022e648]
jne 0x1400218e8
mov rcx, r15
call fcn.1400037d0
mov rcx, qword [rbx + 0x1d0]
mov rax, rcx
and rax, r12
cmp rax, qword [0x14022e648]
jne 0x140021903
call fcn.140003910
mov r14, rbx
add r14, 8
mov qword [rbx + 0x1d0], r15
mov rax, qword [rbx + 0x370]
mov rax, qword [fcn.1401241a0]
lea rcx, [0x140124260]
lea r15, [rsp + 0x60]
cmp rax, rcx
jne 0x140021a96
mov qword [r15], 0
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rax, qword [r15]
movabs rcx, 0x8637bd05af6
cmp rax, rcx
jg 0x140021b0d
imul rax, rax, 0xf4240
cqo
idiv qword [0x14023e460]
add rax, 0x1c9c380
movabs rcx, 0x7fffffffffffffff
cmovno rcx, rax
mov qword [rbx + 0x270], rcx
mov rcx, qword [rbx + 0x30]
mov rax, qword [rcx]
mov rax, qword [rax + 0x28]
mov rdx, r14
call qword [0x14021e390]
mov qword [rsi], rbx
mov rcx, qword [rsp + 0x38]
mov rax, rcx
and rax, r12
cmp rax, qword [0x14022e648]
je 0x140021ac3
mov rcx, qword [rdi + 8]
and r12, rcx
cmp r12, qword [0x14022e648]
je 0x140021acd
mov qword [rdi + 8], 0
mov rcx, qword [rsp + 0xd8]
xor rcx, rsp
cmp rcx, qword [0x14022c040]
je 0x1400219ea
call fcn.1401363f0
int3
mov rax, rsi
movaps xmm6, xmmword [rsp + 0xe0]
add rsp, 0xf8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
xorps xmm6, xmm6
jmp 0x140021479
lea rcx, [0x14023e414]
call fcn.140133c60
cmp dword [0x14023e414], 0xffffffff
jne 0x14002149e
xorpd xmm0, xmm0
lea r14, [rsp + 0x60]
movupd xmmword [r14 + 0x1f], xmm0
movapd xmmword [r14 + 0x10], xmm0
movapd xmmword [r14], xmm0
mov rax, qword [str.unknown]
mov qword [r14 + 0x2f], rax
mov rax, qword [0x14021524c]
mov qword [r14 + 0x34], rax
movupd xmmword [r14 + 0x3c], xmm0
movupd xmmword [r14 + 0x4c], xmm0
movupd xmmword [r14 + 0x5c], xmm0
mov byte [r14 + 0x6c], 0
mov rcx, r14
xor edx, edx
call fcn.140042ec0
mov al, byte [r14 + 0x2d]
mov byte [0x14023e410], al
lea rcx, [0x14023e414]
call fcn.140133eb0
jmp 0x14002149e
mov rcx, r15
call qword [0x14021e390]
mov rax, qword [r15]
jmp 0x14002196a
int3
xor edx, edx
jmp 0x14002152b
int3
int3
int3
int3
int3
int3
call fcn.140003910
jmp 0x1400219b4
call fcn.140003910
jmp 0x1400219c8
mov rcx, r14
call fcn.1400037d0
jmp 0x140021627
movzx ecx, al
lea rax, str.SequenceManager
lea r8, [rsp + 0x60]
mov qword [r8], rax
mov qword [rsp + 0x20], rbx
lea rdx, [rsp + 0x58]
mov r9b, 0x4e
call fcn.140193a40
jmp 0x1400218d1
mov rcx, qword [0x14023e460]
cqo
idiv rcx
imul r8, rax, 0xf4240
imul rax, rdx, 0xf4240
cqo
idiv rcx
add rax, r8
jmp 0x14002196a