Function at 0x180003560
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x70
mov rax, qword [0x18010a090]
xor rax, rsp
mov qword [rsp + 0x60], rax
xor ecx, ecx
mov ebp, dword [0x18010bce4]
mov r12d, dword [0x18010bc78]
mov eax, r12d
mov r14d, dword [0x18010bce0]
sub eax, r14d
inc eax
cdq
idiv ebp
mov r15d, eax
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x48], xmm1
mov qword [rsp + 0x58], rcx
mov edi, ecx
test ebp, ebp
jle 0x1800036b7
mov r13, qword [0x18010bbe8]
add r13, 0x18
dec eax
lea ecx, [rbp - 1]
add eax, r14d
mov ebx, r12d
cmp edi, ecx
cmovne ebx, eax
mov ecx, reloc.WS2_32.dll_recv
call fcn.1800d2ae0
mov rsi, rax
mov qword [rsp + 0x30], rax
mov ecx, Ordinal_26
call fcn.1800d2ae0
mov dword [rax], ebx
mov dword [rax + 4], r14d
mov qword [rax + 8], r13
lea rcx, [0x1800032b0]
mov qword [rax + 0x10], rcx
mov qword [rsp + 0x40], rax
lea rbx, [rsi + 8]
mov qword [rsp + 0x28], rbx
mov dword [rsp + 0x20], 0
mov r9, rax
lea r8, [0x18001af70]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rsi], rax
test rax, rax
je 0x1800036a5
mov qword [rsp + 0x40], rsi
mov rdx, qword [rsp + 0x50]
cmp rdx, qword [rsp + 0x58]
je 0x180003663
xor ecx, ecx
mov qword [rdx], rsi
add qword [rsp + 0x50], 8
jmp 0x180003677
lea r8, [rsp + 0x40]
lea rcx, [rsp + 0x48]
call fcn.180013b60
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x18000368c
cmp dword [rcx + 8], 0
jne 0x18000369e
mov edx, reloc.WS2_32.dll_recv
call fcn.1800d2e9c
inc edi
add r14d, r15d
cmp edi, ebp
jge 0x1800036b7
lea eax, [r15 - 1]
jmp 0x1800035d4
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_terminate]
nop
mov dword [rbx], 0
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
mov rbx, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
cmp rbx, rsi
je 0x18000370c
nop word [rax + rax]
mov rdi, qword [rbx]
cmp dword [rdi + 8], 0
je 0x18000377a
movups xmm0, xmmword [rdi]
movaps xmmword [rsp + 0x30], xmm0
lea rcx, [rsp + 0x30]
call qword [sym.imp.MSVCP140.dll__Thrd_detach]
test eax, eax
jne 0x18000377a
xorps xmm0, xmm0
movups xmmword [rdi], xmm0
add rbx, 8
cmp rbx, rsi
jne 0x1800036d0
mov rbx, qword [rsp + 0x48]
test rbx, rbx
je 0x180003795
mov rdi, qword [rsp + 0x50]
cmp rbx, rdi
je 0x180003746
nop
mov rcx, qword [rbx]
test rcx, rcx
je 0x180003738
cmp dword [rcx + 8], 0
jne 0x180003786
mov edx, reloc.WS2_32.dll_recv
call fcn.1800d2e9c
add rbx, 8
cmp rbx, rdi
jne 0x180003720
mov rbx, qword [rsp + 0x48]
mov rdx, qword [rsp + 0x58]
sub rdx, rbx
and rdx, 0xfffffffffffffff8
mov rax, rbx
cmp rdx, 0x1000
jb 0x18000378d
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18000378d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
mov ecx, 1
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_terminate]
int3
mov rcx, rbx
call fcn.1800d2e9c
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.1800d2740
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret