Function at 0x140084330
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 [0x140104bf0]
xor rax, rsp
mov qword [rbp + 0x4f], rax
xor edi, edi
mov dword [rbp - 0x49], edi
lea rcx, [rbp + 0x2f]
call fcn.14008a3a0
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.1400542c0
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.140031d20
nop
lea rdx, [rbp - 0x31]
lea rcx, [0x140105070]
call fcn.140040ac0
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, [0x1400eb340]
lea rcx, [rbp - 0x11]
call fcn.140031d20
nop
lea rdx, [rbp - 0x11]
mov rcx, rbx
call fcn.140040ac0
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.140042e00
mov ecx, 0x202
lea rdx, [0x140104ec8]
call qword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
jne 0x1400844df
xor r8d, r8d
lea edx, [rdi + 1]
mov ebx, 2
mov ecx, ebx
call qword [sym.imp.WS2_32.dll_socket]
mov qword [0x140104ec0], rax
cmp rax, 0xffffffffffffffff
je 0x1400844d9
mov word [0x140105060], bx
movzx ecx, word [0x140104dc0]
call qword [sym.imp.WS2_32.dll_htons]
mov word [0x140105062], ax
lea rdx, [0x140104da0]
cmp qword [0x140104db8], 0x10
cmovae rdx, qword [0x140104da0]
lea r8, [0x140105064]
mov ecx, ebx
call qword [sym.imp.WS2_32.dll_inet_pton]
lea r8d, [rdi + 0x10]
lea rdx, [0x140105060]
mov rcx, qword [0x140104ec0]
call qword [sym.imp.WS2_32.dll_connect]
cmp eax, 0xffffffff
jne 0x140084551
mov rcx, qword [0x140104ec0]
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 0x14008451c
inc rdx
mov rcx, qword [rbp + 0x2f]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140084517
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140084651
call fcn.1400b4b80
movdqa xmm0, xmmword [0x1400eb4d0]
movdqu xmmword [rbp + 0x3f], xmm0
mov byte [rbp + 0x2f], 0
movzx eax, bl
mov rcx, qword [rbp + 0x4f]
xor rcx, rsp
call fcn.1400b4b60
lea r11, [rsp + 0xc0]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov rsp, r11
pop rbp
ret
lea rdx, [0x1400e25f0]
lea rcx, [rbp - 0x11]
call fcn.1400830d0
mov dword [rbp - 0x49], ebx
lea rdx, [rbp - 0x11]
lea rcx, [0x140104e60]
call fcn.1400417b0
and ebx, 0xfffffffd
mov dword [rbp - 0x49], ebx
mov rdx, qword [rbp + 7]
cmp rdx, 8
jb 0x1400845ba
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x11]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400845b5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140084657
call fcn.1400b4b80
movdqa xmm0, xmmword [0x1400eb4c0]
movdqu xmmword [rbp - 1], xmm0
mov word [rbp - 0x11], di
lea rdx, [0x1400e25d0]
lea rcx, [rbp - 0x31]
call fcn.1400830d0
or ebx, 4
mov dword [rbp - 0x49], ebx
lea rdx, [rbp - 0x31]
lea rcx, [0x140104e80]
call fcn.1400417b0
and ebx, 0xfffffffb
mov dword [rbp - 0x49], ebx
mov rdx, qword [rbp - 0x19]
cmp rdx, 8
jb 0x140084633
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x31]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14008462e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14008464b
call fcn.1400b4b80
movdqa xmm0, xmmword [0x1400eb4c0]
movdqu xmmword [rbp - 0x21], xmm0
mov word [rbp - 0x31], di
mov bl, 1
jmp 0x1400844e1
call fcn.140098678
nop
call fcn.140098678
nop
call fcn.140098678
int3