Function at 0x140088710
Capabilities:
Create thread
Initialize winsock library

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
lea rbp, [rsp - 0x120]
sub rsp, 0x220
xor esi, esi
mov rdi, qword [0x1400fd178]
mov rbx, qword [0x1400fd188]
call qword [sym.imp.api_ms_win_crt_time_l1_1_0.dll_clock]
sub eax, dword [rbx]
xorps xmm0, xmm0
cvtsi2ss xmm0, rax
divss xmm0, dword [0x1400e3eb0]
comiss xmm0, dword [0x1400e3c00]
jbe 0x140088990
mov byte [rdi + 0x13], 1
mov rbx, qword [0x1400fd188]
call qword [sym.imp.api_ms_win_crt_time_l1_1_0.dll_clock]
mov dword [rbx], eax
mov eax, 1
xchg byte [rdi + 0x10], al
cmp dword [rdi + 8], esi
je 0x1400887c1
call qword [sym.imp.MSVCP140.dll__Thrd_id]
cmp dword [rdi + 8], eax
jne 0x140088791
lea ecx, [rsi + 5]
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
movups xmm0, xmmword [rdi]
movaps xmmword [rsp + 0x60], xmm0
xor edx, edx
lea rcx, [rsp + 0x60]
call qword [sym.imp.MSVCP140.dll__Thrd_join]
test eax, eax
je 0x1400887b6
mov ecx, 2
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
xorps xmm0, xmm0
movups xmmword [rsp + 0x70], xmm0
movups xmmword [rdi], xmm0
mov rcx, qword [0x140101d50]
call qword [sym.imp.WS2_32.dll_closesocket]
mov word [rsp + 0x3e], si
mov qword [rsp + 0x40], send
mov qword [rsp + 0x48], send
movsd xmm0, qword [str.Connecting...]
movsd qword [rsp + 0x30], xmm0
mov eax, dword [0x1400de3b8]
mov dword [rsp + 0x38], eax
movzx eax, byte [0x1400de3bc]
mov byte [rsp + 0x3c], al
mov byte [rsp + 0x3d], sil
mov r8b, 1
lea rdx, [rsp + 0x30]
mov ecx, recv
call fcn.14007e0c0
mov ecx, 0x202
lea rdx, [rbp - 0x80]
call qword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
je 0x140088898
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x40], rsi
mov qword [rsp + 0x48], send
mov ecx, 0x20
call fcn.1400c6364
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x40], reloc.WS2_32.dll_recvfrom
mov qword [rsp + 0x48], 0x1f
movups xmm0, xmmword [str.WSAStartup_failed]
movups xmmword [rax], xmm0
movzx ecx, byte [0x1400dff80]
mov byte [rax + 0x10], cl
mov byte [rax + 0x11], sil
mov r8b, 1
lea rdx, [rsp + 0x30]
mov ecx, recv
call fcn.14007e0c0
jmp 0x140088924
mov eax, esi
xchg byte [rdi + 0x10], al
mov ecx, 8
call fcn.1400c6364
mov qword [rax], rdi
mov qword [rbp + 0x148], rax
lea rcx, [rsp + 0x58]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], esi
mov r9, rax
lea r8, [0x140090960]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rsp + 0x50], rax
test rax, rax
je 0x1400889b6
cmp dword [rdi + 8], 0
jne 0x1400889af
xorps xmm0, xmm0
movaps xmm1, xmmword [rsp + 0x50]
movdqa xmmword [rsp + 0x50], xmm0
movups xmmword [rdi], xmm1
cmp dword [rdi + 8], 0
je 0x1400889a3
movaps xmmword [rsp + 0x50], xmm1
lea rcx, [rsp + 0x50]
call qword [sym.imp.MSVCP140.dll__Thrd_detach]
test eax, eax
jne 0x1400889a3
xorps xmm0, xmm0
movups xmmword [rdi], xmm0
mov qword [rdi + 0x38], rsi
mov qword [rdi + 0xbc], rsi
mov qword [rdi + 0x40], rsi
mov qword [rdi + 0x48], rsi
mov qword [rdi + 0x50], rsi
mov qword [rdi + 0x58], rsi
mov qword [rdi + 0x60], rsi
mov qword [rdi + 0x68], rsi
mov qword [rdi + 0x74], rsi
mov qword [rdi + 0x94], rsi
mov qword [rdi + 0xc4], rsi
mov qword [rdi + 0xcc], rsi
mov qword [rdi + 0xd4], 0
mov dword [rdi + 0x7c], esi
mov qword [rdi + 0x88], rsi
mov dword [rdi + 0x90], esi
mov qword [rdi + 0x9c], rsi
mov qword [rdi + 0xa4], rsi
mov qword [rdi + 0xac], rsi
mov rbx, qword [rsp + 0x250]
add rsp, 0x220
pop rdi
pop rsi
pop rbp
ret
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 + 0x58], esi
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3