Function at 0x140076760
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 [0x1400f3c00]
xor rax, rsp
mov qword [rbp + 0x3f], rax
xor r12d, r12d
mov dword [rbp - 0x59], r12d
lea rcx, [rbp + 0x1f]
call fcn.14007c2d0
nop
mov rbx, qword [0x1400f7ad8]
mov rsi, qword [0x1400f7ae0]
cmp rbx, rsi
je 0x1400767fb
mov r14, qword [rbp + 0x37]
mov rdi, qword [rbp + 0x2f]
mov r15, qword [rbp + 0x1f]
mov rdx, rbx
cmp qword [rbx + 0x18], 0x10
jb 0x1400767d0
mov rdx, qword [rbx]
lea rcx, [rbp + 0x1f]
cmp r14, 0x10
cmovae rcx, r15
cmp rdi, qword [rbx + 0x10]
jne 0x1400767f2
mov r8, rdi
call fcn.1400acb90
test eax, eax
je 0x140076976
add rbx, 0x20
cmp rbx, rsi
jne 0x1400767c3
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.14004ae60
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.140030810
nop
lea rdx, [rbp - 0x41]
lea rcx, [0x1400f3f70]
call fcn.14003f020
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, [0x1400dbf48]
lea rcx, [rbp - 0x21]
call fcn.140030810
nop
lea rdx, [rbp - 0x21]
mov rcx, rbx
call fcn.14003f020
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.140040cb0
mov ecx, 0x202
lea rdx, [0x1400f3dc8]
call qword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
jne 0x140076976
xor r8d, r8d
lea edx, [rax + 1]
mov ebx, 2
mov ecx, ebx
call qword [sym.imp.WS2_32.dll_socket]
mov qword [0x1400f3dc0], rax
cmp rax, 0xffffffffffffffff
je 0x140076970
mov word [0x1400f3f60], bx
movzx ecx, word [0x1400f7ab0]
call qword [sym.imp.WS2_32.dll_htons]
mov word [0x1400f3f62], ax
lea rdx, [0x1400f7a90]
cmp qword [0x1400f7aa8], 0x10
cmovae rdx, qword [0x1400f7a90]
lea r8, [0x1400f3f64]
mov ecx, ebx
call qword [sym.imp.WS2_32.dll_inet_pton]
lea r8d, [rbx + 0xe]
lea rdx, [0x1400f3f60]
mov rcx, qword [0x1400f3dc0]
call qword [sym.imp.WS2_32.dll_connect]
cmp eax, 0xffffffff
jne 0x1400769f3
mov rcx, qword [0x1400f3dc0]
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 0x1400769b3
inc rdx
mov rcx, qword [rbp + 0x1f]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400769ae
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140076af5
call fcn.1400a9c00
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.1400a9be0
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, [0x1400d4640]
lea rcx, [rbp - 0x21]
call fcn.140075530
mov dword [rbp - 0x59], ebx
lea rdx, [rbp - 0x21]
lea rcx, [0x1400f3d60]
call fcn.14003fdf0
and ebx, 0xfffffffd
mov dword [rbp - 0x59], ebx
mov rdx, qword [rbp - 9]
cmp rdx, 8
jb 0x140076a5c
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x21]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140076a57
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140076afb
call fcn.1400a9c00
movdqa xmm0, xmmword [0x1400dcbe0]
movdqu xmmword [rbp - 0x11], xmm0
mov word [rbp - 0x21], r12w
lea rdx, [0x1400d4620]
lea rcx, [rbp - 0x41]
call fcn.140075530
or ebx, 4
mov dword [rbp - 0x59], ebx
lea rdx, [rbp - 0x41]
lea rcx, [0x1400f3d80]
call fcn.14003fdf0
and ebx, 0xfffffffb
mov dword [rbp - 0x59], ebx
mov rdx, qword [rbp - 0x29]
cmp rdx, 8
jb 0x140076ad6
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x41]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140076ad1
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140076aef
call fcn.1400a9c00
movdqa xmm0, xmmword [0x1400dcbe0]
movdqu xmmword [rbp - 0x31], xmm0
mov word [rbp - 0x41], r12w
mov bl, 1
jmp 0x140076978
call fcn.1400892f0
nop
call fcn.1400892f0
nop
call fcn.1400892f0
int3