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

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r12
push rbp
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xd0
movaps xmmword [rax - 0x28], xmm6
mov rax, qword [0x14012dc00]
xor rax, rsp
mov qword [rbp + 0x2f], rax
xor r12d, r12d
mov dword [rbp - 0x69], r12d
lea rcx, [rbp + 0xf]
call fcn.14007f7c0
nop
mov rbx, qword [0x14012df20]
mov rsi, qword [0x14012df28]
cmp rbx, rsi
je 0x140079bed
mov r14, qword [rbp + 0x27]
mov rdi, qword [rbp + 0x1f]
mov r15, qword [rbp + 0xf]
mov rdx, rbx
cmp qword [rbx + 0x18], 0xf
jbe 0x140079bc2
mov rdx, qword [rbx]
lea rcx, [rbp + 0xf]
cmp r14, 0xf
cmova rcx, r15
cmp rdi, qword [rbx + 0x10]
jne 0x140079be4
mov r8, rdi
call fcn.1400bfb00
test eax, eax
je 0x140079d98
add rbx, 0x20
cmp rbx, rsi
jne 0x140079bb5
lea rax, [rbp - 0x61]
mov qword [rbp - 0x11], rax
xorps xmm0, xmm0
movups xmmword [rbp - 0x61], xmm0
xor eax, eax
mov qword [rbp - 0x59], rax
lea rdx, [rbp + 0xf]
lea rcx, [rbp - 0x61]
call fcn.140052500
nop
lea rax, [rbp - 0x61]
mov qword [rbp - 9], rax
lea rax, [rbp - 0x31]
mov qword [rbp - 1], rax
xorps xmm0, xmm0
movups xmmword [rbp - 0x31], xmm0
mov qword [rbp - 0x21], r12
mov qword [rbp - 0x19], r12
mov r8d, 6
lea rdx, str.system
lea rcx, [rbp - 0x31]
call fcn.140030300
nop
lea rdx, [rbp - 0x31]
lea rcx, [0x14012e1c0]
call fcn.14003eec0
mov rbx, rax
lea rax, [rbp - 0x51]
mov qword [rbp + 7], rax
xorps xmm0, xmm0
movups xmmword [rbp - 0x51], xmm0
mov qword [rbp - 0x41], r12
mov qword [rbp - 0x39], r12
mov r8d, 3
lea rdx, [0x1401143d4]
lea rcx, [rbp - 0x51]
call fcn.140030300
nop
lea rdx, [rbp - 0x51]
mov rcx, rbx
call fcn.14003eec0
nop
movzx edx, byte [rax]
movzx ecx, byte [rbp - 0x61]
mov byte [rax], cl
mov byte [rbp - 0x61], dl
mov rcx, qword [rax + 8]
mov rdx, qword [rbp - 0x59]
mov qword [rax + 8], rdx
mov qword [rbp - 0x59], rcx
movzx edx, byte [rbp - 0x61]
lea rcx, [rbp - 0x59]
call fcn.140041100
mov ecx, 0x202
lea rdx, [0x14012e018]
call qword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
jne 0x140079d98
xor r8d, r8d
mov edi, 1
mov edx, edi
mov r14d, 2
mov ecx, r14d
call qword [sym.imp.WS2_32.dll_socket]
mov qword [0x14012e010], rax
cmp rax, 0xffffffffffffffff
je 0x140079d92
mov word [0x14012e1b0], r14w
movzx ecx, word [0x14012def8]
call qword [sym.imp.WS2_32.dll_htons]
mov word [0x14012e1b2], ax
mov rbx, qword [0x14012dec0]
mov rsi, qword [0x14012dec8]
cmp rbx, rsi
je 0x140079e3d
mov rcx, rbx
call fcn.140087850
mov rdx, rbx
cmp qword [rbx + 0x18], 0xf
jbe 0x140079d49
mov rdx, qword [rbx]
lea r8, [0x14012e1b4]
mov ecx, r14d
call qword [sym.imp.WS2_32.dll_inet_pton]
mov r8d, reloc.WS2_32.dll_recv
lea rdx, [0x14012e1b0]
mov rcx, qword [0x14012e010]
call qword [sym.imp.WS2_32.dll_connect]
cmp eax, 0xffffffff
jne 0x140079e1a
add rbx, 0x20
cmp rbx, rsi
jne 0x140079d34
mov rcx, qword [0x14012e010]
call qword [sym.imp.WS2_32.dll_closesocket]
call qword [sym.imp.WS2_32.dll_WSACleanup]
xor bl, bl
mov rdx, qword [rbp + 0x27]
cmp rdx, 0xf
jbe 0x140079dd5
inc rdx
mov rcx, qword [rbp + 0xf]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140079dd0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140079f3f
call fcn.1400ac9a0
mov qword [rbp + 0x1f], r12
mov qword [rbp + 0x27], send
mov byte [rbp + 0xf], 0
movzx eax, bl
mov rcx, qword [rbp + 0x2f]
xor rcx, rsp
call fcn.1400ac980
lea r11, [rsp + 0xd0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov r12, qword [r11 + 0x38]
movaps xmm6, xmmword [r11 - 0x10]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
lea rcx, [0x14012ded8]
cmp rcx, rbx
je 0x140079e3d
mov r8, qword [rbx + 0x10]
cmp qword [rbx + 0x18], 0xf
jbe 0x140079e34
mov rbx, qword [rbx]
mov rdx, rbx
call fcn.140041710
nop
lea rdx, [0x1400f2630]
lea rcx, [rbp - 0x51]
call fcn.140078d80
mov dword [rbp - 0x69], edi
lea rdx, [rbp - 0x51]
lea rcx, [0x14012dfb0]
call fcn.14003fc90
and edi, 0xfffffffe
mov dword [rbp - 0x69], edi
mov rdx, qword [rbp - 0x39]
cmp rdx, 7
jbe 0x140079ea6
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x51]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140079ea1
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140079f45
call fcn.1400ac9a0
movdqa xmm6, xmmword [0x140115000]
movdqu xmmword [rbp - 0x41], xmm6
mov word [rbp - 0x51], r12w
lea rdx, [0x1400f2620]
lea rcx, [rbp - 0x51]
call fcn.140078d80
or edi, 2
mov dword [rbp - 0x69], edi
lea rdx, [rbp - 0x51]
lea rcx, [0x14012dfd0]
call fcn.14003fc90
and edi, 0xfffffffd
mov dword [rbp - 0x69], edi
mov rdx, qword [rbp - 0x39]
cmp rdx, 7
jbe 0x140079f28
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x51]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140079f1b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140079f39
call fcn.1400ac9a0
movdqa xmm6, xmmword [0x140115000]
movdqu xmmword [rbp - 0x41], xmm6
mov word [rbp - 0x51], r12w
mov bl, 1
jmp 0x140079d9a
call fcn.14008fb78
nop
call fcn.14008fb78
nop
call fcn.14008fb78
int3