Function at 0x18002f230
Capabilities:
Create thread

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov dword [rax + 0x20], r9d
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 [0x18019d440]
xor rax, rsp
mov qword [rbp + 0x60], rax
mov rdi, rdx
xor r13d, r13d
mov ecx, dword [0x1801a8f94]
mov rax, qword gs:[0x58]
mov edx, 4
mov rax, qword [rax + rcx*8]
mov ecx, dword [rdx + rax]
cmp dword [0x1801e5fb0], ecx
jle 0x18002f2be
lea rcx, [0x1801e5fb0]
call fcn.1800d0994
cmp dword [0x1801e5fb0], 0xffffffff
jne 0x18002f2be
lea rcx, [0x1801e5fb0]
call fcn.1800d0928
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 - 0x68], xmm0
mov qword [rbp - 0x58], rax
mov r8, rdi
lea rdx, [rbp - 0x68]
call fcn.18002f580
nop
mov qword [rsp + 0x78], rbx
mov rax, qword [rbp - 0x60]
sub rax, qword [rbp - 0x68]
sar rax, 3
mov qword [rbp - 0x78], rax
mov qword [rbp - 0x70], r13
mov dword [rbp - 0x80], r13d
lea rax, [rsp + 0x78]
mov qword [rsp + 0x40], rax
lea rax, [rbp - 0x78]
mov qword [rsp + 0x48], rax
lea rax, [rbp - 0x68]
mov qword [rsp + 0x50], rax
lea rax, [rbp - 0x70]
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 - 0x80]
mov qword [rsp + 0x70], rax
mov eax, 0xcccccccd
mul r12d
mov r15d, edx
shr r15d, 3
lea rax, [0x18002f1e0]
mov qword [rsp + 0x20], rax
lea r9, [0x18002f1d0]
mov edx, reloc.WS2_32.dll_recv
lea r8d, [rdx - 6]
lea rcx, [rbp - 0x40]
call fcn.1800d0adc
nop
mov esi, r13d
lea r14, [rbp - 0x40]
movsd xmm6, qword [rsp + 0x70]
movups xmm7, xmmword [rsp + 0x60]
movups xmm8, xmmword [rsp + 0x50]
movups xmm9, xmmword [rsp + 0x40]
nop dword [rax]
nop word [rax + rax]
mov edi, esi
imul edi, r15d
lea ebx, [rdi + r15]
cmp esi, 9
jne 0x18002f3c5
mov ebx, r12d
sub ebx, dword [rbp - 0x78]
mov ecx, 0x40
call fcn.1800d0350
mov dword [rax], ebx
mov dword [rax + 4], edi
movups xmmword [rax + 8], xmm9
movups xmmword [rax + 0x18], xmm8
movups xmmword [rax + 0x28], xmm7
movsd qword [rax + 0x38], xmm6
mov qword [rbp - 0x50], rax
lea rcx, [rsp + 0x38]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], r13d
mov r9, rax
lea r8, [0x18002fc10]
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 0x18002f561
cmp dword [r14 + 8], 0
jne 0x18002f55a
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 0x18002f3b0
lea rbx, [rbp - 0x40]
nop dword [rax]
cmp dword [rbx + 8], 0
je 0x18002f54e
call qword [sym.imp.MSVCP140.dll__Thrd_id]
cmp dword [rbx + 8], eax
je 0x18002f542
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 0x18002f536
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
add rbx, 0x10
lea rax, [rbp + 0x60]
cmp rbx, rax
jne 0x18002f450
mov rbx, qword [rbp - 0x70]
lea r9, [0x18002f1e0]
mov edx, reloc.WS2_32.dll_recv
lea r8d, [rdx - 6]
lea rcx, [rbp - 0x40]
call fcn.1800d0a0c
nop
mov rcx, qword [rbp - 0x68]
test rcx, rcx
je 0x18002f4f8
mov rdx, qword [rbp - 0x58]
sub rdx, rcx
and rdx, 0xfffffffffffffff8
mov rax, rcx
cmp rdx, 0x1000
jb 0x18002f4f3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18002f4f3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800d0704
mov rax, rbx
mov rcx, qword [rbp + 0x60]
xor rcx, rsp
call fcn.1800d0330
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