Function at 0x1400a4480
Capabilities:
Create thread

Disassembly:
mov rax, rsp
mov qword [rax + 0x20], r9
mov qword [rax + 0x10], rdx
mov qword [rax + 8], rcx
push rbp
push rbx
push rsi
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x70]
sub rsp, 0x170
movaps xmmword [rax - 0x48], xmm6
movaps xmmword [rax - 0x58], xmm7
mov rsi, r9
mov r14, rdx
xor r12d, r12d
mov edx, r8d
lea rcx, [rbp + 0x10]
call fcn.14004eb10
mov rbx, rax
movabs rdi, 0x7fffffffffffffff
mov rcx, rdi
mov rdx, qword [0x1400fb6f0]
sub rcx, rdx
cmp rcx, 0x10
jb 0x1400a49a2
lea r9, [0x1400fb6e0]
cmp qword [0x1400fb6f8], 0xf
cmova r9, qword [0x1400fb6e0]
mov qword [rsp + 0x30], reloc.WS2_32.dll_recv
lea rax, str._apiratestars
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rdx
lea rcx, [rsp + 0x60]
call fcn.14004cca0
nop
mov r9, rbx
lea r8, [rsp + 0x60]
lea rcx, [rbp - 0x10]
call fcn.1400770c0
nop
lea r8d, [r12 + 4]
lea rdx, str.id
lea rcx, [rbp - 0x10]
call fcn.14004fde0
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], r12
mov qword [rsp + 0x58], r12
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x40], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x50], xmm1
mov qword [rax + 0x10], r12
mov qword [rax + 0x18], send
mov byte [rax], r12b
mov rdx, r14
cmp qword [r14 + 0x18], 0xf
jbe 0x1400a4588
mov rdx, qword [r14]
mov r8, qword [r14 + 0x10]
lea rcx, [rsp + 0x40]
call fcn.14004fde0
xorps xmm0, xmm0
movups xmmword [rbp - 0x50], xmm0
mov qword [rbp - 0x40], r12
mov qword [rbp - 0x38], r12
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x50], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x40], xmm1
mov qword [rax + 0x10], r12
mov qword [rax + 0x18], send
mov byte [rax], 0
mov r8d, 6
lea rdx, str.pcid
lea rcx, [rbp - 0x50]
call fcn.14004fde0
xorps xmm0, xmm0
movups xmmword [rbp - 0x70], xmm0
mov qword [rbp - 0x60], r12
mov qword [rbp - 0x58], r12
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x70], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x60], xmm1
mov qword [rax + 0x10], r12
mov qword [rax + 0x18], send
mov byte [rax], 0
mov rdx, rsi
cmp qword [rsi + 0x18], 0xf
jbe 0x1400a4613
mov rdx, qword [rsi]
mov r8, qword [rsi + 0x10]
lea rcx, [rbp - 0x70]
call fcn.14004fde0
movups xmm7, xmmword [rax]
movups xmmword [rbp - 0x30], xmm7
movups xmm6, xmmword [rax + 0x10]
movups xmmword [rbp - 0x20], xmm6
mov qword [rax + 0x10], r12
mov qword [rax + 0x18], send
mov byte [rax], 0
mov rdx, qword [rbp - 0x58]
cmp rdx, 0xf
jbe 0x1400a467c
inc rdx
mov rcx, qword [rbp - 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400a4677
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400a4677
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400c62ec
mov qword [rbp - 0x60], r12
mov qword [rbp - 0x58], send
mov byte [rbp - 0x70], 0
mov rdx, qword [rbp - 0x38]
cmp rdx, 0xf
jbe 0x1400a46ca
inc rdx
mov rcx, qword [rbp - 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400a46c5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400a46c5
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400c62ec
mov qword [rbp - 0x40], r12
mov qword [rbp - 0x38], send
mov byte [rbp - 0x50], 0
mov rdx, qword [rsp + 0x58]
cmp rdx, 0xf
jbe 0x1400a471a
inc rdx
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400a4715
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400a4715
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400c62ec
mov qword [rsp + 0x50], r12
mov qword [rsp + 0x58], send
mov byte [rsp + 0x40], 0
lea rcx, [rbp - 0x10]
call fcn.14004bc40
nop
lea rcx, [rsp + 0x60]
call fcn.14004bc40
nop
lea rcx, [rbp + 0x10]
call fcn.14004bc40
xorps xmm0, xmm0
movups xmmword [rsp + 0x60], xmm0
mov qword [rsp + 0x70], r12
mov qword [rsp + 0x78], r12
lea r15, [rbp - 0x30]
movq rcx, xmm7
movdqa xmm0, xmm6
psrldq xmm0, 8
movq rax, xmm0
cmp rax, 0xf
cmova r15, rcx
movq rbx, xmm6
cmp rbx, rdi
ja 0x1400a4996
mov qword [rsp + 0x78], send
cmp rbx, 0xf
ja 0x1400a47ac
mov qword [rsp + 0x70], rbx
movups xmm0, xmmword [r15]
movups xmmword [rsp + 0x60], xmm0
jmp 0x1400a4843
mov rax, rbx
or rax, 0xf
cmp rax, rdi
jbe 0x1400a47e4
movabs rax, 0x8000000000000000
add rax, 0x27
mov rcx, rax
call fcn.1400c6364
mov rcx, rax
test rax, rax
je 0x1400a480f
add rax, 0x27
and rax, 0xffffffffffffffe0
mov qword [rax - 8], rcx
jmp 0x1400a4825
mov ecx, socket
cmp rax, rcx
cmovb rax, rcx
mov rdi, rax
lea rcx, [rax + 1]
cmp rcx, 0x1000
jb 0x1400a4816
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x1400a499c
jmp 0x1400a47c6
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
test rcx, rcx
je 0x1400a4822
call fcn.1400c6364
jmp 0x1400a4825
mov rax, r12
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x70], rbx
mov qword [rsp + 0x78], rdi
lea r8, [rbx + 1]
mov rdx, r15
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy
lea rdx, [rsp + 0x60]
lea rcx, [rbp + 0x30]
call fcn.1400acf30
nop
lea rdx, [rbp - 0x30]
lea rcx, [rsp + 0x40]
call fcn.14004c7c0
nop
mov ecx, 0x20
call fcn.1400c6364
movups xmm0, xmmword [rsp + 0x40]
movups xmmword [rax], xmm0
movups xmm1, xmmword [rsp + 0x50]
movups xmmword [rax + 0x10], xmm1
mov qword [rsp + 0x50], r12
mov qword [rsp + 0x58], send
mov byte [rsp + 0x40], 0
mov qword [rbp + 0xb0], rax
lea rcx, [rbp - 0x78]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], r12d
mov r9, rax
lea r8, [0x1400a9370]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rbp - 0x80], rax
test rax, rax
je 0x1400a4986
lea rcx, [rsp + 0x40]
call fcn.14004bc40
cmp dword [rbp - 0x78], 0
je 0x1400a497a
movaps xmm0, xmmword [rbp - 0x80]
movdqa xmmword [rsp + 0x60], xmm0
lea rcx, [rsp + 0x60]
call qword [sym.imp.MSVCP140.dll__Thrd_detach]
test eax, eax
jne 0x1400a497a
xorps xmm0, xmm0
movdqa xmmword [rbp - 0x80], xmm0
lea rcx, [rbp + 0x30]
call fcn.14004bc40
nop
mov rdx, qword [rbp - 0x18]
cmp rdx, 0xf
jbe 0x1400a4947
inc rdx
mov rcx, qword [rbp - 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400a4941
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400a4941
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400c62ec
nop
mov rcx, r14
call fcn.14004bc40
nop
mov rcx, rsi
call fcn.14004bc40
movaps xmm6, xmmword [rsp + 0x160]
movaps xmm7, xmmword [rsp + 0x150]
add rsp, 0x170
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
mov ecx, 1
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
mov dword [rbp - 0x78], r12d
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
call fcn.14004adb0
int3
call fcn.14004ad10
nop
call fcn.14004adb0
int3