Function at 0x14006ab30
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x37]
sub rsp, 0xd0
mov rax, qword [0x14022b800]
xor rax, rsp
mov qword [rbp + 0x2f], rax
movzx r15d, r9b
mov esi, r8d
mov r14d, edx
mov rdi, rcx
mov rbx, qword [rcx + 0x18]
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x69], xmm1
test rbx, rbx
je 0x14006abc0
mov qword [rbp - 0x69], rbx
mov eax, 1
lock xadd dword [rbx], eax
inc eax
cmp eax, 1
jle 0x14006abae
mov rax, qword gs:[0x30]
mov ecx, dword [rax + 0x48]
cmp dword [rbx + 4], ecx
je 0x14006abbd
mov edx, 0xffffffff
mov rcx, qword [rbx + 0x10]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rax, qword gs:[0x30]
mov ecx, dword [rax + 0x48]
mov dword [rbx + 4], ecx
inc dword [rbx + 8]
mov rcx, rdi
call fcn.140066550
lea rbx, [rdi + 0x188]
xor r12d, r12d
cmp byte [rbx], r12b
je 0x14006ac97
mov dword [rbp + 0x17], r14d
lea rcx, [rdi + 0x1d8]
lea r8, [rbp + 0x17]
lea rdx, [rbp + 7]
call fcn.140107c30
mov rcx, qword [rax]
cmp byte [rcx + 0x14], r12b
je 0x14006ac97
test esi, esi
jne 0x14006acfc
xorps xmm0, xmm0
movups xmmword [rbp - 0x39], xmm0
lea ecx, [rsi + 0x20]
call fcn.14014f310
mov byte [rax], r15b
mov dword [rax + 4], r12d
mov dword [rax + 8], r14d
mov qword [rax + 0x10], rbx
lea rcx, [0x140107900]
mov qword [rax + 0x18], rcx
mov qword [rbp + 0x1f], rax
lea rcx, [rbp - 0x51]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], r12d
mov r9, rax
lea r8, [0x140108130]
xor edx, edx
xor ecx, ecx
call fcn.14016b4dc
mov qword [rbp - 0x59], rax
test rax, rax
je 0x14006adb2
movaps xmm1, xmmword [rbp - 0x59]
movdqa xmmword [rbp - 0x39], xmm1
movdqa xmm0, xmm1
psrldq xmm0, 8
movd eax, xmm0
test eax, eax
je 0x14006ad9f
movdqa xmmword [rbp - 0x29], xmm1
lea rcx, [rbp - 0x29]
call fcn.140129c40
test eax, eax
jne 0x14006adaa
mov rcx, qword [rbp - 0x69]
test rcx, rcx
je 0x14006acd4
add dword [rcx + 8], 0xffffffff
mov edx, dword [rcx + 8]
jne 0x14006acad
mov dword [rcx + 4], r12d
mov eax, 0xffffffff
lock xadd dword [rcx], eax
cmp eax, 1
je 0x14006acd4
test edx, edx
jne 0x14006acd4
xor r8d, r8d
lea edx, [r8 + 1]
mov rcx, qword [rbp - 0x69]
mov rcx, qword [rcx + 0x10]
call qword [sym.imp.KERNEL32.dll_ReleaseSemaphore]
mov rcx, qword [rbp + 0x2f]
xor rcx, rsp
call fcn.14014f2f0
lea r11, [rsp + 0xd0]
mov rbx, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
cmp esi, 1
jne 0x14006ac97
xorps xmm0, xmm0
movups xmmword [rbp - 0x19], xmm0
lea ecx, [rsi + 0x1f]
call fcn.14014f310
mov byte [rax], sil
mov dword [rax + 4], esi
mov dword [rax + 8], r14d
mov qword [rax + 0x10], rbx
lea rcx, [0x140107900]
mov qword [rax + 0x18], rcx
mov qword [rbp + 0x27], rax
lea rcx, [rbp - 0x41]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], r12d
mov r9, rax
lea r8, [0x140108130]
xor edx, edx
xor ecx, ecx
call fcn.14016b4dc
mov qword [rbp - 0x49], rax
test rax, rax
je 0x14006ad90
movaps xmm1, xmmword [rbp - 0x49]
movdqa xmmword [rbp - 0x19], xmm1
movdqa xmm0, xmm1
psrldq xmm0, 8
movd eax, xmm0
test eax, eax
je 0x14006adc1
movdqa xmmword [rbp - 9], xmm1
lea rcx, [rbp - 9]
call fcn.140129c40
test eax, eax
jne 0x14006ad88
jmp 0x14006ac97
mov ecx, eax
call fcn.1401299dc
nop
mov dword [rbp - 0x41], r12d
mov ecx, 6
call fcn.140129a18
nop
mov ecx, 1
call fcn.140129a18
int3
mov ecx, eax
call fcn.1401299dc
nop
mov dword [rbp - 0x51], r12d
mov ecx, 6
call fcn.140129a18
nop
mov ecx, 1
call fcn.140129a18
int3