Function at 0x140038f70
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 [0x1400d0400]
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.140074c88
mov rdi, rax
mov qword [rsp + 0x50], rax
test rax, rax
je 0x140038ff9
xorps xmm0, xmm0
movups xmmword [rax], xmm0
mov dword [rax + 8], 1
mov dword [rax + 0xc], 1
lea rax, [0x1400a8ed8]
mov qword [rdi], rax
mov qword [rdi + 0x10], r14
mov qword [rdi + 0x18], r14
mov qword [rdi + 0x20], r14
jmp 0x140038ffc
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 0x140039244
mov r14d, dword [rbx + 0x1c]
test rdi, rdi
je 0x140039032
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.14000a290
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 0x1400390f1
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.14004f900
nop
lea rcx, [rsp + 0x358]
call fcn.14000d740
mov rcx, qword [rsp + 0x350]
test rcx, rcx
je 0x1400391ef
mov eax, esi
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x1400391ea
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 0x1400391ea
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 0x14003921e
mov rax, qword [rbx + 8]
cmp byte [rax + 0x19], 0
jne 0x140039216
cmp rbx, qword [rax + 0x10]
jne 0x140039216
mov rbx, rax
mov rax, qword [rax + 8]
cmp byte [rax + 0x19], 0
je 0x140039203
mov rbx, rax
jmp 0x140039016
mov rbx, rax
mov rcx, qword [rax]
cmp byte [rcx + 0x19], 0
jne 0x140039016
nop
mov rbx, rcx
mov rax, qword [rcx]
mov rcx, rax
cmp byte [rax + 0x19], 0
je 0x140039230
jmp 0x140039016
test rdi, rdi
je 0x140039252
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.140074c88
mov r9, rax
xor r14d, r14d
test rax, rax
je 0x140039289
mov rax, qword [rsp + 0x30]
mov qword [r9], rax
mov qword [r9 + 8], rdi
xorps xmm6, xmm6
movdqa xmmword [rsp + 0x70], xmm6
jmp 0x14003928c
mov r9, r14
mov qword [rsp + 0x50], r9
lea rax, [rsp + 0x48]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], r14d
lea r8, [0x14001e290]
xor edx, edx
xor ecx, ecx
call fcn.140087e94
mov qword [rsp + 0x40], rax
test rax, rax
je 0x1400393d3
cmp dword [rsp + 0x48], 0
je 0x1400393c8
movaps xmm0, xmmword [rsp + 0x40]
movdqa xmmword [rsp + 0x50], xmm0
lea rcx, [rsp + 0x50]
call fcn.140056794
test eax, eax
jne 0x1400393c8
xorps xmm0, xmm0
movaps xmmword [rsp + 0x40], xmm0
movdqa xmmword [rsp + 0x40], xmm0
psrldq xmm6, 8
movq rcx, xmm6
test rcx, rcx
je 0x140039338
mov eax, esi
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x140039333
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 0x140039333
mov rcx, qword [rsp + 0x78]
mov rax, qword [rcx]
call qword [rax + 8]
mov rdi, qword [rsp + 0x38]
test rdi, rdi
je 0x140039389
mov eax, esi
lock xadd dword [rdi + 8], eax
cmp eax, 1
jne 0x140039389
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 0x140039389
mov rcx, qword [rsp + 0x38]
mov rax, qword [rcx]
call qword [rax + 8]
jmp 0x140039389
mov rdx, r12
mov rcx, r12
call fcn.14001d370
nop
mov rcx, r15
call fcn.14000d740
mov rcx, qword [rsp + 0x380]
xor rcx, rsp
call fcn.140074de0
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.1400564cc
nop
mov dword [rsp + 0x48], r14d
mov ecx, 6
call fcn.1400564cc
int3