Function at 0x140038b10
Capabilities:
Create thread

Disassembly:
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x3a0
movaps xmmword [rsp + 0x390], xmm6
mov rax, qword [0x1400d3400]
xor rax, rsp
mov qword [rsp + 0x380], rax
mov r13, r8
mov r15, rdx
mov r12, rcx
mov qword [rsp + 0x60], rcx
mov qword [rsp + 0x340], rdx
xor r14d, r14d
mov ecx, 0x28
call fcn.140076ae4
mov rdi, rax
mov qword [rsp + 0x50], rax
test rax, rax
je 0x140038b99
xorps xmm0, xmm0
movups xmmword [rax], xmm0
mov dword [rax + 8], 1
mov dword [rax + 0xc], 1
lea rax, [0x1400aaf38]
mov qword [rdi], rax
mov qword [rdi + 0x10], r14
mov qword [rdi + 0x18], r14
mov qword [rdi + 0x20], r14
jmp 0x140038b9c
mov rdi, r14
lea rax, [rdi + 0x10]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x38], rdi
mov rbx, qword [r12]
mov rbx, qword [rbx]
mov esi, 0xffffffff
cmp byte [rbx + 0x19], 0
jne 0x140038de4
mov r14d, dword [rbx + 0x1c]
test rdi, rdi
je 0x140038bd2
lock inc dword [rdi + 8]
mov rdi, qword [rsp + 0x38]
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x348], rax
mov qword [rsp + 0x350], rdi
mov rdx, r15
lea rcx, [rsp + 0x358]
call fcn.14000a320
nop
lea rax, vtable.std::_Func_impl_no_alloc_class__lambda_98cda6bc9b8603990fd4254cd0812f79___void__struct_HookParam_const____ptr64__class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const____ptr64_.0
mov qword [rsp + 0x80], rax
mov rax, qword [rsp + 0x348]
mov qword [rsp + 0x88], rax
mov rax, qword [rsp + 0x350]
mov qword [rsp + 0x90], rax
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x348], xmm0
movups xmm1, xmmword [rsp + 0x358]
movups xmmword [rsp + 0x98], xmm1
movups xmm0, xmmword [rsp + 0x368]
movups xmmword [rsp + 0xa8], xmm0
xor eax, eax
mov qword [rsp + 0x368], rax
mov qword [rsp + 0x370], 7
mov word [rsp + 0x358], ax
lea rax, [rsp + 0x80]
mov qword [rsp + 0xb8], rax
mov rax, r13
lea rcx, [rsp + 0xc0]
mov edx, 4
movups xmm0, xmmword [rax]
movups xmmword [rcx], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rcx + 0x10], xmm1
movups xmm0, xmmword [rax + 0x20]
movups xmmword [rcx + 0x20], xmm0
movups xmm1, xmmword [rax + 0x30]
movups xmmword [rcx + 0x30], xmm1
movups xmm0, xmmword [rax + 0x40]
movups xmmword [rcx + 0x40], xmm0
movups xmm1, xmmword [rax + 0x50]
movups xmmword [rcx + 0x50], xmm1
movups xmm0, xmmword [rax + 0x60]
movups xmmword [rcx + 0x60], xmm0
lea rcx, [rcx + 0x80]
movups xmm1, xmmword [rax + 0x70]
movups xmmword [rcx - 0x10], xmm1
lea rax, [rax + 0x80]
sub rdx, 1
jne 0x140038c91
movups xmm0, xmmword [rax]
movups xmmword [rcx], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rcx + 0x10], xmm1
movups xmm0, xmmword [rax + 0x20]
movups xmmword [rcx + 0x20], xmm0
movups xmm1, xmmword [rax + 0x30]
movups xmmword [rcx + 0x30], xmm1
movups xmm0, xmmword [rax + 0x40]
movups xmmword [rcx + 0x40], xmm0
movups xmm1, xmmword [rax + 0x50]
movups xmmword [rcx + 0x50], xmm1
movups xmm0, xmmword [rax + 0x60]
movups xmmword [rcx + 0x60], xmm0
mov rax, qword [rax + 0x70]
mov qword [rcx + 0x70], rax
lea r8, [rsp + 0x80]
lea rdx, [rsp + 0xc0]
mov ecx, r14d
call fcn.140050850
nop
lea rcx, [rsp + 0x358]
call fcn.14000d810
mov rcx, qword [rsp + 0x350]
test rcx, rcx
je 0x140038d8f
mov eax, esi
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x140038d8a
mov rdi, qword [rsp + 0x350]
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax]
mov eax, esi
lock xadd dword [rdi + 0xc], eax
cmp eax, 1
jne 0x140038d8a
mov rcx, qword [rsp + 0x350]
mov rax, qword [rcx]
call qword [rax + 8]
mov rdi, qword [rsp + 0x38]
mov rax, qword [rbx + 0x10]
cmp byte [rax + 0x19], 0
je 0x140038dbe
mov rax, qword [rbx + 8]
cmp byte [rax + 0x19], 0
jne 0x140038db6
cmp rbx, qword [rax + 0x10]
jne 0x140038db6
mov rbx, rax
mov rax, qword [rax + 8]
cmp byte [rax + 0x19], 0
je 0x140038da3
mov rbx, rax
jmp 0x140038bb6
mov rbx, rax
mov rcx, qword [rax]
cmp byte [rcx + 0x19], 0
jne 0x140038bb6
nop
mov rbx, rcx
mov rax, qword [rcx]
mov rcx, rax
cmp byte [rax + 0x19], 0
je 0x140038dd0
jmp 0x140038bb6
test rdi, rdi
je 0x140038df2
lock inc dword [rdi + 8]
mov rdi, qword [rsp + 0x38]
movaps xmm6, xmmword [rsp + 0x30]
movdqa xmmword [rsp + 0x70], xmm6
mov ecx, 0x10
call fcn.140076ae4
mov r9, rax
xor r14d, r14d
test rax, rax
je 0x140038e29
mov rax, qword [rsp + 0x30]
mov qword [r9], rax
mov qword [r9 + 8], rdi
xorps xmm6, xmm6
movdqa xmmword [rsp + 0x70], xmm6
jmp 0x140038e2c
mov r9, r14
mov qword [rsp + 0x50], r9
lea rax, [rsp + 0x48]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], r14d
lea r8, [0x14001e3d0]
xor edx, edx
xor ecx, ecx
call fcn.140089cec
mov qword [rsp + 0x40], rax
test rax, rax
je 0x140038f73
cmp dword [rsp + 0x48], 0
je 0x140038f68
movaps xmm0, xmmword [rsp + 0x40]
movdqa xmmword [rsp + 0x50], xmm0
lea rcx, [rsp + 0x50]
call fcn.1400585f4
test eax, eax
jne 0x140038f68
xorps xmm0, xmm0
movaps xmmword [rsp + 0x40], xmm0
movdqa xmmword [rsp + 0x40], xmm0
psrldq xmm6, 8
movq rcx, xmm6
test rcx, rcx
je 0x140038ed8
mov eax, esi
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x140038ed3
mov rbx, qword [rsp + 0x78]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, esi
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x140038ed3
mov rcx, qword [rsp + 0x78]
mov rax, qword [rcx]
call qword [rax + 8]
mov rdi, qword [rsp + 0x38]
test rdi, rdi
je 0x140038f29
mov eax, esi
lock xadd dword [rdi + 8], eax
cmp eax, 1
jne 0x140038f29
mov rbx, qword [rsp + 0x38]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
lock xadd dword [rbx + 0xc], esi
cmp esi, 1
jne 0x140038f29
mov rcx, qword [rsp + 0x38]
mov rax, qword [rcx]
call qword [rax + 8]
jmp 0x140038f29
mov rdx, r12
mov rcx, r12
call fcn.14001d480
nop
mov rcx, r15
call fcn.14000d810
mov rcx, qword [rsp + 0x380]
xor rcx, rsp
call fcn.140076c40
movaps xmm6, xmmword [rsp + 0x390]
add rsp, 0x3a0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
ret
mov ecx, 1
call fcn.14005832c
nop
mov dword [rsp + 0x48], r14d
mov ecx, 6
call fcn.14005832c
int3