Function at 0x140069880
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], r12
push rbp
push r14
push r15
lea rbp, [rsp - 0x47]
sub rsp, 0xc0
mov rax, qword [0x1400dabf0]
xor rax, rsp
mov qword [rbp + 0x3f], rax
xor r12d, r12d
mov dword [rbp - 0x59], r12d
lea rcx, [rbp + 0x1f]
call fcn.14006ea60
nop
mov rbx, qword [0x1400de3e8]
mov rsi, qword [0x1400de3f0]
cmp rbx, rsi
je 0x14006991b
mov r14, qword [rbp + 0x37]
mov rdi, qword [rbp + 0x2f]
mov r15, qword [rbp + 0x1f]
mov rdx, rbx
cmp qword [rbx + 0x18], 0x10
jb 0x1400698f0
mov rdx, qword [rbx]
lea rcx, [rbp + 0x1f]
cmp r14, 0x10
cmovae rcx, r15
cmp rdi, qword [rbx + 0x10]
jne 0x140069912
mov r8, rdi
call fcn.14009f4c0
test eax, eax
je 0x140069a96
add rbx, 0x20
cmp rbx, rsi
jne 0x1400698e3
lea rax, [rbp - 0x51]
mov qword [rbp - 1], rax
mov byte [rbp - 0x51], 0
xor eax, eax
mov qword [rbp - 0x49], rax
lea rdx, [rbp + 0x1f]
lea rcx, [rbp - 0x51]
call fcn.140048960
lea rax, [rbp - 0x51]
mov qword [rbp + 7], rax
lea rax, [rbp - 0x41]
mov qword [rbp + 0xf], rax
xorps xmm0, xmm0
movups xmmword [rbp - 0x41], xmm0
mov qword [rbp - 0x31], r12
mov qword [rbp - 0x29], r12
mov r8d, 6
lea rdx, str.system
lea rcx, [rbp - 0x41]
call fcn.14002efe0
nop
lea rdx, [rbp - 0x41]
lea rcx, [0x1400daf60]
call fcn.14003cfe0
mov rbx, rax
lea rax, [rbp - 0x21]
mov qword [rbp + 0x17], rax
xorps xmm0, xmm0
movups xmmword [rbp - 0x21], xmm0
mov qword [rbp - 0x11], r12
mov qword [rbp - 9], r12
mov r8d, 3
lea rdx, [0x1400c52b8]
lea rcx, [rbp - 0x21]
call fcn.14002efe0
nop
lea rdx, [rbp - 0x21]
mov rcx, rbx
call fcn.14003cfe0
nop
movzx edx, byte [rax]
movzx ecx, byte [rbp - 0x51]
mov byte [rax], cl
mov byte [rbp - 0x51], dl
mov rcx, qword [rax + 8]
mov rdx, qword [rbp - 0x49]
mov qword [rax + 8], rdx
mov qword [rbp - 0x49], rcx
movzx edx, byte [rbp - 0x51]
lea rcx, [rbp - 0x49]
call fcn.14003ecb0
mov ecx, 0x202
lea rdx, [0x1400dadb8]
call qword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
jne 0x140069a96
xor r8d, r8d
lea edx, [rax + 1]
mov ebx, 2
mov ecx, ebx
call qword [sym.imp.WS2_32.dll_socket]
mov qword [0x1400dadb0], rax
cmp rax, 0xffffffffffffffff
je 0x140069a90
mov word [0x1400daf50], bx
movzx ecx, word [0x1400de3c0]
call qword [sym.imp.WS2_32.dll_htons]
mov word [0x1400daf52], ax
lea rdx, [0x1400de3a0]
cmp qword [0x1400de3b8], 0x10
cmovae rdx, qword [0x1400de3a0]
lea r8, [0x1400daf54]
mov ecx, ebx
call qword [sym.imp.WS2_32.dll_inet_pton]
lea r8d, [rbx + 0xe]
lea rdx, [0x1400daf50]
mov rcx, qword [0x1400dadb0]
call qword [sym.imp.WS2_32.dll_connect]
cmp eax, 0xffffffff
jne 0x140069b13
mov rcx, qword [0x1400dadb0]
call qword [sym.imp.WS2_32.dll_closesocket]
call qword [sym.imp.WS2_32.dll_WSACleanup]
xor bl, bl
mov rdx, qword [rbp + 0x37]
cmp rdx, 0x10
jb 0x140069ad3
inc rdx
mov rcx, qword [rbp + 0x1f]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140069ace
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140069c15
call fcn.14009c6c0
mov qword [rbp + 0x2f], r12
mov qword [rbp + 0x37], send
mov byte [rbp + 0x1f], 0
movzx eax, bl
mov rcx, qword [rbp + 0x3f]
xor rcx, rsp
call fcn.14009c6a0
lea r11, [rsp + 0xc0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov r12, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
lea rdx, [0x1400c14f8]
lea rcx, [rbp - 0x21]
call fcn.140068ac0
mov dword [rbp - 0x59], ebx
lea rdx, [rbp - 0x21]
lea rcx, [0x1400dad50]
call fcn.14003de60
and ebx, 0xfffffffd
mov dword [rbp - 0x59], ebx
mov rdx, qword [rbp - 9]
cmp rdx, 8
jb 0x140069b7c
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x21]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140069b77
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140069c1b
call fcn.14009c6c0
movdqa xmm0, xmmword [0x1400c5c00]
movdqu xmmword [rbp - 0x11], xmm0
mov word [rbp - 0x21], r12w
lea rdx, [0x1400c14e8]
lea rcx, [rbp - 0x41]
call fcn.140068ac0
or ebx, 4
mov dword [rbp - 0x59], ebx
lea rdx, [rbp - 0x41]
lea rcx, [0x1400dad70]
call fcn.14003de60
and ebx, 0xfffffffb
mov dword [rbp - 0x59], ebx
mov rdx, qword [rbp - 0x29]
cmp rdx, 8
jb 0x140069bf6
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x41]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140069bf1
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140069c0f
call fcn.14009c6c0
movdqa xmm0, xmmword [0x1400c5c00]
movdqu xmmword [rbp - 0x31], xmm0
mov word [rbp - 0x41], r12w
mov bl, 1
jmp 0x140069a98
call fcn.14007e888
nop
call fcn.14007e888
nop
call fcn.14007e888
int3