Function at 0x140001690
Capabilities:
Create thread

Disassembly:
mov r11, rsp
mov qword [r11 + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [r11 - 0x5f]
sub rsp, 0x90
mov rax, qword [0x140008040]
xor rax, rsp
mov qword [rbp + 0x27], rax
xorps xmm0, xmm0
mov qword [r11 + 8], rbx
xor r14d, r14d
mov qword [r11 + 0x10], rsi
movdqu xmmword [rbp + 0xf], xmm0
mov qword [rbp + 0x1f], r14
mov edi, 1
movabs r15, 0x7fffffffffffffff
movabs r13, 0x8000000000000000
mov r12d, 0x16
nop
xorps xmm0, xmm0
movups xmmword [rbp - 0x11], xmm0
cmp rdi, r15
ja 0x140001a74
cmp rdi, 0xf
ja 0x14000172d
mov r8, rdi
mov qword [rbp - 1], rdi
mov edx, 0x20
mov qword [rbp + 7], 0xf
lea rcx, [rbp - 0x11]
call sub.VCRUNTIME140.dll_memset
mov byte [rbp + rdi - 0x11], r14b
jmp 0x1400017b4
mov rbx, rdi
or rbx, 0xf
cmp rbx, r15
jbe 0x140001742
mov rbx, r15
lea rax, [r13 + 0x27]
jmp 0x14000176d
cmp rbx, r12
cmovb rbx, r12
lea rcx, [rbx + 1]
test rcx, rcx
jne 0x140001757
mov rsi, r14
jmp 0x140001794
cmp rcx, 0x1000
jb 0x14000178c
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x140001a6e
mov rcx, rax
call fcn.140003590
test rax, rax
je 0x140001906
lea rsi, [rax + 0x27]
and rsi, 0xffffffffffffffe0
mov qword [rsi - 8], rax
jmp 0x140001794
call fcn.140003590
mov rsi, rax
mov r8, rdi
mov qword [rbp - 0x11], rsi
mov edx, 0x20
mov qword [rbp - 1], rdi
mov rcx, rsi
mov qword [rbp + 7], rbx
call sub.VCRUNTIME140.dll_memset
mov byte [rdi + rsi], r14b
mov ecx, 0x28
call fcn.140003590
movups xmm0, xmmword [rbp - 0x11]
mov rbx, rax
lea rcx, [rbp - 0x19]
movups xmm1, xmmword [rbp - 1]
mov qword [rbp - 0x19], r14
movups xmmword [rax], xmm0
movups xmmword [rax + 0x10], xmm1
lea rax, [0x140001290]
mov qword [rbx + 0x20], rax
call fcn.1400033f0
lea rax, [rbp - 0x21]
mov r9, rbx
mov qword [rsp + 0x28], rax
lea r8, [0x140003490]
xor edx, edx
mov dword [rsp + 0x20], r14d
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rbp - 0x29], rax
test rax, rax
je 0x140001a5e
mov rdx, qword [rbp + 0x17]
cmp rdx, qword [rbp + 0x1f]
je 0x140001837
movaps xmm1, xmmword [rbp - 0x29]
xorps xmm0, xmm0
movdqa xmmword [rbp - 0x29], xmm0
movups xmmword [rdx], xmm1
add qword [rbp + 0x17], 0x10
jmp 0x140001844
lea r8, [rbp - 0x29]
lea rcx, [rbp + 0xf]
call fcn.1400031e0
cmp dword [rbp - 0x21], r14d
jne 0x140001a57
inc rdi
cmp rdi, 0xfe
jle 0x1400016f0
mov rsi, r14
movabs r15, 0xde0b6b3a763ffff
nop dword [rax + rax]
mov rdx, rsi
lea rcx, [rbp - 0x11]
call fcn.140002bc0
mov ecx, 0x28
call fcn.140003590
movups xmm0, xmmword [rbp - 0x11]
mov rbx, rax
lea rcx, [rbp - 0x19]
movups xmm1, xmmword [rbp - 1]
mov qword [rbp - 0x19], r14
movups xmmword [rax], xmm0
movups xmmword [rax + 0x10], xmm1
lea rax, [0x140001290]
mov qword [rbx + 0x20], rax
call fcn.1400033f0
lea rax, [rbp - 0x21]
mov r9, rbx
mov qword [rsp + 0x28], rax
lea r8, [0x140003490]
xor edx, edx
mov dword [rsp + 0x20], r14d
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rbp - 0x29], rax
test rax, rax
je 0x140001a47
mov rdx, qword [rbp + 0x17]
cmp rdx, qword [rbp + 0x1f]
je 0x14000190d
movaps xmm1, xmmword [rbp - 0x29]
xorps xmm0, xmm0
movdqa xmmword [rbp - 0x29], xmm0
movups xmmword [rdx], xmm1
mov rdi, qword [rbp + 0x17]
add rdi, 0x10
mov qword [rbp + 0x17], rdi
jmp 0x14000191e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
lea r8, [rbp - 0x29]
lea rcx, [rbp + 0xf]
call fcn.1400031e0
mov rdi, qword [rbp + 0x17]
cmp dword [rbp - 0x21], r14d
jne 0x140001a40
inc rsi
cmp rsi, r15
jl 0x140001870
mov rbx, qword [rbp + 0xf]
cmp rbx, rdi
je 0x140001987
nop dword [rax]
cmp dword [rbx + 8], r14d
je 0x1400019ee
call qword [sym.imp.MSVCP140.dll__Thrd_id]
cmp dword [rbx + 8], eax
je 0x1400019e2
movups xmm0, xmmword [rbx]
xor edx, edx
lea rcx, [rbp - 0x29]
movaps xmmword [rbp - 0x29], xmm0
call qword [sym.imp.MSVCP140.dll__Thrd_join]
test eax, eax
jne 0x1400019d6
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
add rbx, 0x10
cmp rbx, rdi
jne 0x140001940
mov rdi, qword [rbp + 0x17]
mov rbx, qword [rbp + 0xf]
test rbx, rbx
je 0x140001a09
mov rax, rbx
cmp rbx, rdi
je 0x1400019a3
cmp dword [rax + 8], r14d
jne 0x1400019fa
add rax, 0x10
cmp rax, rdi
jne 0x140001994
mov rdx, qword [rbp + 0x1f]
mov rax, rbx
sub rdx, rbx
and rdx, 0xfffffffffffffff0
cmp rdx, 0x1000
jb 0x140001a01
mov rbx, qword [rbx - 8]
add rdx, 0x27
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140001a01
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov ecx, 2
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
mov ecx, 5
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
mov ecx, 1
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_terminate]
int3
mov rcx, rbx
call fcn.1400035cc
mov rsi, qword [rsp + 0xc8]
xor eax, eax
mov rbx, qword [rsp + 0xc0]
mov rcx, qword [rbp + 0x27]
xor rcx, rsp
call fcn.140003570
mov rdi, qword [rsp + 0xd0]
add rsp, 0x90
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_terminate]
int3
mov ecx, 6
mov dword [rbp - 0x21], r14d
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_terminate]
int3
mov ecx, 6
mov dword [rbp - 0x21], r14d
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
call fcn.140001110
int3
call fcn.1400011b0
int3