Function at 0x14002d2d0
Capabilities:
Create thread
Resume thread

Disassembly:
mov r11, rsp
push rdi
push r14
push r15
sub rsp, 0x90
mov qword [r11 - 0x58], 0xfffffffffffffffe
mov qword [r11 + 0x10], rbx
mov qword [r11 + 0x18], rbp
mov qword [r11 + 0x20], rsi
mov rax, qword [0x14011c018]
xor rax, rsp
mov qword [rsp + 0x80], rax
mov rbx, rdx
mov rdi, rcx
xor r15d, r15d
mov qword [r11 - 0x38], r15
lea rdx, [rcx + 0x18]
lea rcx, [r11 - 0x38]
call fcn.140001c04
nop
mov rax, qword [rdi]
mov qword [rsp + 0x78], rax
mov rdx, qword [rdi + 8]
mov qword [rsp + 0x30], rdx
cmp rax, rdx
je 0x14002d357
mov qword [rsp + 0x30], rdx
nop dword [rax + rax]
cmp rbx, qword [rax]
je 0x14002d5c6
add rax, 0x18
mov qword [rsp + 0x78], rax
cmp rax, rdx
jne 0x14002d340
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x40], r15
mov dword [rsp + 0x48], r15d
cmp qword [rdi + 0x10], rdx
je 0x14002d390
mov ecx, 0x18
call fcn.140001bf0
movups xmm0, xmmword [rsp + 0x38]
movups xmmword [rax], xmm0
movsd xmm1, qword [rsp + 0x48]
movsd qword [rax + 0x10], xmm1
add qword [rdi + 8], 0x18
jmp 0x14002d39d
lea r8, [rsp + 0x38]
mov rcx, rdi
call fcn.14002f780
mov rcx, qword [rdi + 0x20]
mov rsi, 0xffffffffffffffff
test rcx, rcx
je 0x14002d3fa
xor edx, edx
call fcn.140093a70
mov rax, qword [rdi + 0x20]
mov rcx, qword [rax + 0x10]
test rcx, rcx
je 0x14002d3cf
movzx eax, byte [rcx + 0x10]
test al, al
je 0x14002d3cf
mov rcx, qword [rdi + 0x20]
jmp 0x14002d3f1
mov rcx, qword [rdi + 0x20]
test rcx, rcx
je 0x14002d3fa
mov eax, esi
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x14002d3ea
mov rax, qword [rcx]
call qword [rax + 8]
mov qword [rdi + 0x20], r15
mov rcx, r15
test rcx, rcx
jne 0x14002d5c6
mov rcx, qword [rdi + 0x60]
test rcx, rcx
je 0x14002d409
call qword [sym.imp.KERNEL32.dll_ResetEvent]
mov rcx, qword [rdi + 0x30]
test rcx, rcx
je 0x14002d418
call qword [sym.imp.KERNEL32.dll_ResetEvent]
mov ecx, 0x18
call fcn.1400a08c4
mov r14, rax
mov qword [rsp + 0x58], rax
xor eax, eax
mov qword [r14 + 8], rax
mov qword [r14 + 0x10], rax
lea rax, vtable.RC::RCRefCounted.0
mov qword [r14], rax
mov dword [r14 + 8], r15d
lea rax, vtable.RC::RCThread.0
mov qword [r14], rax
mov ecx, 0x70
call fcn.1400a08c4
mov qword [rsp + 0x60], rax
mov rcx, rax
call fcn.140093470
nop
mov qword [r14 + 0x10], rax
test rax, rax
je 0x14002d47f
mov qword [rax], rdi
mov rax, qword [r14 + 0x10]
lea rcx, [0x14002d8a0]
mov qword [rax + 8], rcx
mov rbx, qword [rdi + 0x20]
mov ebp, 1
cmp rbx, r14
je 0x14002d4b6
mov eax, ebp
lock xadd dword [r14 + 8], eax
mov rcx, qword [rdi + 0x20]
test rcx, rcx
je 0x14002d4af
mov eax, esi
lock xadd dword [rcx + 8], eax
cmp eax, ebp
jne 0x14002d4af
mov rax, qword [rcx]
call qword [rax + 8]
mov qword [rdi + 0x20], r14
mov rbx, r14
mov rdx, qword [rbx + 0x10]
test rdx, rdx
je 0x14002d5c6
mov qword [rsp + 0x68], r15
add rdx, 0x38
lea rcx, [rsp + 0x68]
call fcn.140001c04
nop
mov rax, qword [rbx + 0x10]
cmp qword [rax + 8], 0
je 0x14002d5bb
lock xadd dword [rbx + 8], ebp
mov rax, qword [rbx + 0x10]
add rax, 0x14
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 4
mov r9, rbx
lea r8, [0x140093790]
xor edx, edx
xor ecx, ecx
call fcn.1400bc774
mov rcx, qword [rbx + 0x10]
mov qword [rcx + 0x18], rax
mov rax, qword [rbx + 0x10]
cmp qword [rax + 0x18], 0
jne 0x14002d571
mov eax, esi
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x14002d53b
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 8]
mov rbx, qword [rbx + 0x10]
mov rcx, qword [rbx + 0x18]
cmp rcx, 0xffffffffffffffff
je 0x14002d553
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rbx + 0x18], rsi
mov rcx, qword [rbx + 0x20]
cmp rcx, 0xffffffffffffffff
je 0x14002d567
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rbx + 0x20], rsi
mov byte [rbx + 0x10], 0
mov dword [rbx + 0x14], r15d
jmp 0x14002d5bb
mov byte [rax + 0x10], 1
mov rcx, qword [rbx + 0x10]
mov rax, qword [rcx + 0x40]
test rax, rax
je 0x14002d58f
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_ResetEvent]
mov rcx, qword [rbx + 0x10]
mov rcx, qword [rcx + 0x18]
call qword [sym.imp.KERNEL32.dll_ResumeThread]
cmp eax, 0xffffffff
jne 0x14002d5bb
lock xadd dword [rbx + 8], esi
cmp esi, 1
jne 0x14002d5b1
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 8]
mov rcx, qword [rbx + 0x10]
call fcn.140093910
nop
lea rcx, [rsp + 0x68]
call fcn.140001c2c
nop
lea rcx, [rsp + 0x70]
call fcn.140001c2c
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.1400a08a0
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rdi
ret