Function at 0x140007e80
Capabilities:
Check for time delay via queryperformancecounter

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r14
lea rbp, [rsp - 0x3a0]
sub rsp, 0x4a0
mov rax, qword [0x1400c5040]
xor rax, rsp
mov qword [rbp + 0x380], rax
mov rdi, qword [rcx + 8]
lea rdx, str.Connecting_to_server__.s:_u...
mov esi, dword [rcx]
mov r14, rcx
mov r9, rdi
mov dword [rsp + 0x20], 0x2694
mov r8d, esi
mov ecx, 1
call fcn.140006aa0
mov rbx, qword [0x1400c72d0]
lea r8, [rbp + 0x360]
movups xmm0, xmmword [r14]
lea rax, [rbx + 0x1e98]
movaps xmmword [rbp + 0x360], xmm0
lea rcx, [rbx + 0x1668]
mov qword [rsp + 0x20], rax
call fcn.14000e290
test eax, eax
je 0x140007f85
cmp eax, 1
jne 0x140007f20
mov rax, qword [0x1400c7918]
lea rcx, [0x1400c7920]
jmp 0x140007f56
cmp eax, 0x13
ja 0x140007f3c
lea rcx, [0x1400c5f00]
cdqe
add rax, rax
movups xmm1, xmmword [rcx + rax*8]
mov rcx, qword [rcx + rax*8 + 8]
jmp 0x140007f51
movaps xmm1, xmmword [reloc.WS2_32.dll_send]
movdqa xmm0, xmm1
psrldq xmm0, 8
movq rcx, xmm0
movq rax, xmm1
mov qword [rsp + 0x30], rcx
lea rdx, str.Failed_to_connect_to_server_on__.s:_u:__.s.
mov dword [rsp + 0x28], eax
mov ecx, 3
mov r9, rdi
mov dword [rsp + 0x20], 0x2694
mov r8d, esi
call fcn.140006aa0
xor al, al
jmp 0x14000825d
mov rdi, qword [0x1400c72d0]
lea rax, [0x1400c5ab0]
mov byte [rbp + 0x360], 0x4b
mov dword [rbp + 0x364], 0xffffffff
mov qword [rbp + 0x368], 1
mov qword [rsp + 0x4c8], r15
xor r15d, r15d
mov word [rbp + 0x361], r15w
mov byte [rbp + 0x363], r15b
movups xmm0, xmmword [rbp + 0x360]
mov qword [rbp + 0x370], r15
movsd xmm1, qword [rbp + 0x370]
movups xmmword [rbx + 0x1234], xmm0
mov qword [rbp + 0x360], rax
movsd qword [rbx + 0x1244], xmm1
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x368], xmm0
mov qword [rbp + 0x378], r15
movups xmm0, xmmword [rbp + 0x360]
mov dword [rbx + 0x1228], 4
movups xmm1, xmmword [rbp + 0x370]
mov dword [rbx + 0x122c], 2
movups xmmword [rbx + 0x1ea8], xmm0
mov dword [rbx + 0x1230], 1
movups xmmword [rbx + 0x1eb8], xmm1
mov qword [rbx + 0x1ea8], rax
mov dword [rbx + 0x124c], r15d
mov qword [rbx + 0x1a78], r15
mov qword [rbx + 0x1e90], r15
mov ebx, 5
movaps xmmword [rsp + 0x490], xmm6
mov qword [rbp + 0x348], r15
mov qword [rbp + 0x350], r15
nop dword [rax + rax]
mov r8d, 1
lea rdx, [rsp + 0x40]
lea rcx, [rdi + 0x1228]
call fcn.14000e690
sub rbx, 1
jne 0x140008080
mov rdi, qword [0x1400c72d0]
lea rcx, [rbp + 0x360]
add rdi, 0x1228
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
movsd xmm6, qword [0x1400b8608]
mov rbx, qword [rbp + 0x360]
nop word [rax + rax]
lea rcx, [rbp + 0x360]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
cmp byte [0x1400c7318], r15b
jne 0x1400080fc
lea rcx, [0x1400c7320]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
test eax, eax
setne byte [0x1400c7318]
mov rax, qword [rbp + 0x360]
xorps xmm1, xmm1
sub rax, rbx
xorps xmm0, xmm0
cvtsi2sd xmm0, qword [0x1400c7320]
cvtsi2sd xmm1, rax
divsd xmm1, xmm0
comisd xmm6, xmm1
jbe 0x1400081ba
mov rcx, rdi
call fcn.14000e970
test al, al
je 0x1400080d0
lea rdx, [rdi + 0x28]
mov rcx, rdi
call fcn.14000e440
cmp byte [rdi + 0x3c], 2
jne 0x1400080d0
mov rdx, qword [0x1400c72d0]
lea rcx, [rbp + 0x360]
mov eax, dword [rdi + 0x2c]
mov dword [rdi + 0x10], eax
lea rax, [rdx + 0x48]
mov qword [rdx + 0x1ec8], rax
mov eax, dword [rdx + 0x1238]
mov dword [rdx + 0x1ee8], eax
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rax, qword [0x1400c72d0]
mov r8d, esi
mov rdx, qword [rbp + 0x360]
mov ecx, 1
mov r9, qword [r14 + 8]
mov dword [rsp + 0x20], 0x2694
mov qword [rax + 0x1ef0], rdx
mov qword [rax + 0x1ef8], rdx
lea rdx, str.Connected_to_server_on__.s:_u.
call fcn.140006aa0
mov al, 1
jmp 0x14000824d
mov r9, qword [r14 + 8]
lea rdx, str.Failed_to_connect_to_server_on__.s:_u:_The_server_didnt_respond.
mov r8d, esi
mov dword [rsp + 0x20], 0x2694
mov ecx, 3
call fcn.140006aa0
mov rdi, qword [0x1400c72d0]
cmp dword [rdi + 0x1228], 3
je 0x140008202
mov rcx, qword [rdi + 0x1668]
call qword [sym.imp.WS2_32.dll_closesocket]
mov qword [rdi + 0x1668], 0xffffffffffffffff
mov rdx, qword [rdi + 0x1eb0]
test rdx, rdx
je 0x140008228
nop
mov rax, qword [rdi + 0x1ea8]
mov rbx, qword [rdx]
mov rcx, qword [rax]
call qword [rax + reloc.WS2_32.dll_recv]
mov rdx, rbx
test rbx, rbx
jne 0x140008210
mov qword [rdi + 0x1eb0], r15
xor al, al
mov qword [rdi + 0x1eb8], r15
mov qword [rdi + 0x1ec0], r15
mov qword [rdi + 0x122c], r15
mov dword [rdi + 0x1228], r15d
mov r15, qword [rsp + 0x4c8]
movaps xmm6, xmmword [rsp + 0x490]
mov rcx, qword [rbp + 0x380]
xor rcx, rsp
call fcn.140074360
lea r11, [rsp + 0x4a0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret