Function at 0x180014990
Capabilities:
Create thread

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov dword [rax + 0x20], r9d
mov qword [rax + 0x18], r8
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rax - 0xe8]
sub rsp, 0x1b0
movaps xmmword [rax - 0x48], xmm6
movaps xmmword [rax - 0x58], xmm7
movaps xmmword [rax - 0x68], xmm8
movaps xmmword [rax - 0x78], xmm9
mov rax, qword [0x180068400]
xor rax, rsp
mov qword [rbp + 0x60], rax
mov rdi, rdx
xor r13d, r13d
mov ecx, dword [0x1800698f4]
mov rax, qword gs:[0x58]
mov edx, 4
mov rax, qword [rax + rcx*8]
mov ecx, dword [rdx + rax]
cmp dword [0x180069a14], ecx
jle 0x180014a22
lea rcx, [0x180069a14]
call fcn.1800243e0
cmp dword [0x180069a14], 0xffffffff
jne 0x180014a22
lea rcx, [0x180069a14]
call fcn.180024374
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rbx, rax
movsxd rcx, dword [rax + 0x3c]
mov r12d, dword [rcx + rax + 0x50]
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp - 0x60], xmm0
mov qword [rbp - 0x50], rax
mov r8, rdi
lea rdx, [rbp - 0x60]
call fcn.180014ce0
nop
mov qword [rbp - 0x80], rbx
mov rax, qword [rbp - 0x58]
sub rax, qword [rbp - 0x60]
sar rax, 3
mov qword [rbp - 0x70], rax
mov qword [rbp - 0x68], r13
mov dword [rbp - 0x78], r13d
lea rax, [rbp - 0x80]
mov qword [rsp + 0x40], rax
lea rax, [rbp - 0x70]
mov qword [rsp + 0x48], rax
lea rax, [rbp - 0x60]
mov qword [rsp + 0x50], rax
lea rax, [rbp - 0x68]
mov qword [rsp + 0x58], rax
lea rax, [rbp + 0x108]
mov qword [rsp + 0x60], rax
lea rax, [rbp + 0x110]
mov qword [rsp + 0x68], rax
lea rax, [rbp + 0x100]
mov qword [rsp + 0x70], rax
lea rax, [rbp - 0x78]
mov qword [rsp + 0x78], rax
mov eax, 0xcccccccd
mul r12d
mov r15d, edx
shr r15d, 3
lea rax, [0x180014940]
mov qword [rsp + 0x20], rax
lea r9, [0x180014930]
mov edx, 0x10
lea r8d, [rdx - 6]
lea rcx, [rbp - 0x40]
call fcn.180024528
nop
mov esi, r13d
lea r14, [rbp - 0x40]
movaps xmm6, xmmword [rsp + 0x70]
movaps xmm7, xmmword [rsp + 0x60]
movaps xmm8, xmmword [rsp + 0x50]
movaps xmm9, xmmword [rsp + 0x40]
nop
mov edi, esi
imul edi, r15d
lea ebx, [rdi + r15]
cmp esi, 9
jne 0x180014b25
mov ebx, r12d
sub ebx, dword [rbp - 0x70]
mov ecx, 0x48
call fcn.180023de0
mov dword [rax], ebx
mov dword [rax + 4], edi
movups xmmword [rax + 8], xmm9
movups xmmword [rax + 0x18], xmm8
movups xmmword [rax + 0x28], xmm7
movups xmmword [rax + 0x38], xmm6
mov qword [rbp - 0x48], rax
lea rcx, [rsp + 0x38]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], r13d
mov r9, rax
lea r8, [0x1800161f0]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rsp + 0x30], rax
test rax, rax
je 0x180014cc1
cmp dword [r14 + 8], 0
jne 0x180014cba
xorps xmm0, xmm0
movaps xmm1, xmmword [rsp + 0x30]
movdqa xmmword [rsp + 0x30], xmm0
movups xmmword [r14], xmm1
inc esi
add r14, 0x10
cmp esi, 0xa
jl 0x180014b10
lea rbx, [rbp - 0x40]
nop dword [rax + rax]
cmp dword [rbx + 8], 0
je 0x180014cae
call qword [sym.imp.MSVCP140.dll__Thrd_id]
cmp dword [rbx + 8], eax
je 0x180014ca2
movups xmm0, xmmword [rbx]
movaps xmmword [rsp + 0x30], xmm0
xor edx, edx
lea rcx, [rsp + 0x30]
call qword [sym.imp.MSVCP140.dll__Thrd_join]
test eax, eax
jne 0x180014c96
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
add rbx, 0x10
lea rax, [rbp + 0x60]
cmp rbx, rax
jne 0x180014bb0
mov rbx, qword [rbp - 0x68]
lea r9, [0x180014940]
mov edx, 0x10
lea r8d, [rdx - 6]
lea rcx, [rbp - 0x40]
call fcn.180024458
nop
mov rcx, qword [rbp - 0x60]
test rcx, rcx
je 0x180014c58
mov rdx, qword [rbp - 0x50]
sub rdx, rcx
and rdx, 0xfffffffffffffff8
mov rax, rcx
cmp rdx, 0x1000
jb 0x180014c53
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180014c53
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180024194
mov rax, rbx
mov rcx, qword [rbp + 0x60]
xor rcx, rsp
call fcn.180023dc0
lea r11, [rsp + 0x1b0]
mov rbx, qword [r11 + 0x40]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
movaps xmm8, xmmword [r11 - 0x30]
movaps xmm9, xmmword [r11 - 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
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]
nop
mov dword [rsp + 0x38], r13d
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3