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

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0xc0
mov rax, qword [0x140131c08]
xor rax, rsp
mov qword [rbp + 0x4f], rax
xor edi, edi
mov dword [rbp - 0x49], edi
lea rcx, [rbp + 0x2f]
call fcn.14007ec10
nop
lea rax, [rbp - 0x41]
mov qword [rbp + 0xf], rax
xorps xmm0, xmm0
movups xmmword [rbp - 0x41], xmm0
xor eax, eax
mov qword [rbp - 0x39], rax
lea rdx, [rbp + 0x2f]
lea rcx, [rbp - 0x41]
call fcn.140054080
nop
lea rax, [rbp - 0x41]
mov qword [rbp + 0x17], rax
lea rax, [rbp - 0x31]
mov qword [rbp + 0x1f], rax
xorps xmm0, xmm0
movups xmmword [rbp - 0x31], xmm0
mov qword [rbp - 0x21], rdi
mov qword [rbp - 0x19], rdi
lea r8d, [rdi + 6]
lea rdx, str.system
lea rcx, [rbp - 0x31]
call fcn.140031c90
nop
lea rdx, [rbp - 0x31]
lea rcx, [0x140132110]
call fcn.140040a70
mov rbx, rax
lea rax, [rbp - 0x11]
mov qword [rbp + 0x27], rax
xorps xmm0, xmm0
movups xmmword [rbp - 0x11], xmm0
mov qword [rbp - 1], rdi
mov qword [rbp + 7], rdi
lea r8d, [rdi + 3]
lea rdx, [0x140119f28]
lea rcx, [rbp - 0x11]
call fcn.140031c90
nop
lea rdx, [rbp - 0x11]
mov rcx, rbx
call fcn.140040a70
nop
movzx edx, byte [rax]
movzx ecx, byte [rbp - 0x41]
mov byte [rax], cl
mov byte [rbp - 0x41], dl
mov rcx, qword [rax + 8]
mov rdx, qword [rbp - 0x39]
mov qword [rax + 8], rdx
mov qword [rbp - 0x39], rcx
movzx edx, byte [rbp - 0x41]
lea rcx, [rbp - 0x39]
call fcn.140042c90
mov ecx, 0x202
lea rdx, [0x140131f68]
call qword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
jne 0x140078d6f
xor r8d, r8d
lea edx, [rdi + 1]
mov ebx, 2
mov ecx, ebx
call qword [sym.imp.WS2_32.dll_socket]
mov qword [0x140131f60], rax
cmp rax, 0xffffffffffffffff
je 0x140078d69
mov word [0x140132100], bx
movzx ecx, word [0x140131e40]
call qword [sym.imp.WS2_32.dll_htons]
mov word [0x140132102], ax
lea rdx, [0x140131e20]
cmp qword [0x140131e38], 0x10
cmovae rdx, qword [0x140131e20]
lea r8, [0x140132104]
mov ecx, ebx
call qword [sym.imp.WS2_32.dll_inet_pton]
lea r8d, [rdi + 0x10]
lea rdx, [0x140132100]
mov rcx, qword [0x140131f60]
call qword [sym.imp.WS2_32.dll_connect]
cmp eax, 0xffffffff
jne 0x140078de1
mov rcx, qword [0x140131f60]
call qword [sym.imp.WS2_32.dll_closesocket]
call qword [sym.imp.WS2_32.dll_WSACleanup]
xor bl, bl
mov rdx, qword [rbp + 0x47]
cmp rdx, 0x10
jb 0x140078dac
inc rdx
mov rcx, qword [rbp + 0x2f]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140078da7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140078ee1
call fcn.1400ab870
movdqa xmm0, xmmword [0x14011a1a0]
movdqu xmmword [rbp + 0x3f], xmm0
mov byte [rbp + 0x2f], 0
movzx eax, bl
mov rcx, qword [rbp + 0x4f]
xor rcx, rsp
call fcn.1400ab850
lea r11, [rsp + 0xc0]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov rsp, r11
pop rbp
ret
lea rdx, [0x1400f46f0]
lea rcx, [rbp - 0x11]
call fcn.140077d10
mov dword [rbp - 0x49], ebx
lea rdx, [rbp - 0x11]
lea rcx, [0x140131f00]
call fcn.1400417d0
and ebx, 0xfffffffd
mov dword [rbp - 0x49], ebx
mov rdx, qword [rbp + 7]
cmp rdx, 8
jb 0x140078e4a
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x11]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140078e45
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140078ee7
call fcn.1400ab870
movdqa xmm0, xmmword [0x14011a190]
movdqu xmmword [rbp - 1], xmm0
mov word [rbp - 0x11], di
lea rdx, [0x1400f46e0]
lea rcx, [rbp - 0x31]
call fcn.140077d10
or ebx, 4
mov dword [rbp - 0x49], ebx
lea rdx, [rbp - 0x31]
lea rcx, [0x140131f20]
call fcn.1400417d0
and ebx, 0xfffffffb
mov dword [rbp - 0x49], ebx
mov rdx, qword [rbp - 0x19]
cmp rdx, 8
jb 0x140078ec3
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x31]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140078ebe
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140078edb
call fcn.1400ab870
movdqa xmm0, xmmword [0x14011a190]
movdqu xmmword [rbp - 0x21], xmm0
mov word [rbp - 0x31], di
mov bl, 1
jmp 0x140078d71
call fcn.14008f288
nop
call fcn.14008f288
nop
call fcn.14008f288
int3