Function at 0x14004c070
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 [0x1400ccbe0]
xor rax, rsp
mov qword [rbp + 0x4f], rax
xor edi, edi
mov dword [rbp - 0x49], edi
lea rcx, [rbp + 0x2f]
call fcn.1400512b0
nop
lea rax, [rbp - 0x41]
mov qword [rbp + 0xf], rax
mov byte [rbp - 0x41], dil
xor eax, eax
mov qword [rbp - 0x39], rax
lea rdx, [rbp + 0x2f]
lea rcx, [rbp - 0x41]
call fcn.140041c70
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.14002e190
nop
lea rdx, [rbp - 0x31]
lea rcx, [0x1400ccee0]
call fcn.14003a3d0
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, [0x1400b87a4]
lea rcx, [rbp - 0x11]
call fcn.14002e190
nop
lea rdx, [rbp - 0x11]
mov rcx, rbx
call fcn.14003a3d0
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.14003bb30
mov ecx, 0x202
lea rdx, [0x1400ccd38]
call qword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
jne 0x14004c21b
xor r8d, r8d
lea edx, [rdi + 1]
mov ebx, 2
mov ecx, ebx
call qword [sym.imp.WS2_32.dll_socket]
mov qword [0x1400ccd30], rax
cmp rax, 0xffffffffffffffff
je 0x14004c215
mov word [0x1400cced0], bx
movzx ecx, word [0x1400cffa0]
call qword [sym.imp.WS2_32.dll_htons]
mov word [0x1400cced2], ax
lea rdx, [0x1400cff80]
cmp qword [0x1400cff98], 0x10
cmovae rdx, qword [0x1400cff80]
lea r8, [0x1400cced4]
mov ecx, ebx
call qword [sym.imp.WS2_32.dll_inet_pton]
lea r8d, [rdi + 0x10]
lea rdx, [0x1400cced0]
mov rcx, qword [0x1400ccd30]
call qword [sym.imp.WS2_32.dll_connect]
cmp eax, 0xffffffff
jne 0x14004c28d
mov rcx, qword [0x1400ccd30]
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 0x14004c258
inc rdx
mov rcx, qword [rbp + 0x2f]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004c253
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14004c38d
call fcn.14008dd90
movdqa xmm0, xmmword [0x1400ba1f0]
movdqu xmmword [rbp + 0x3f], xmm0
mov byte [rbp + 0x2f], 0
movzx eax, bl
mov rcx, qword [rbp + 0x4f]
xor rcx, rsp
call fcn.14008dd70
lea r11, [rsp + 0xc0]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov rsp, r11
pop rbp
ret
lea rdx, [0x1400b34e8]
lea rcx, [rbp - 0x11]
call fcn.14004b2a0
mov dword [rbp - 0x49], ebx
lea rdx, [rbp - 0x11]
lea rcx, [0x1400cccd0]
call fcn.14003b1f0
and ebx, 0xfffffffd
mov dword [rbp - 0x49], ebx
mov rdx, qword [rbp + 7]
cmp rdx, 8
jb 0x14004c2f6
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x11]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004c2f1
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14004c393
call fcn.14008dd90
movdqa xmm0, xmmword [0x1400ba1e0]
movdqu xmmword [rbp - 1], xmm0
mov word [rbp - 0x11], di
lea rdx, [0x1400b34d8]
lea rcx, [rbp - 0x31]
call fcn.14004b2a0
or ebx, 4
mov dword [rbp - 0x49], ebx
lea rdx, [rbp - 0x31]
lea rcx, [0x1400cccf0]
call fcn.14003b1f0
and ebx, 0xfffffffb
mov dword [rbp - 0x49], ebx
mov rdx, qword [rbp - 0x19]
cmp rdx, 8
jb 0x14004c36f
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x31]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004c36a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14004c387
call fcn.14008dd90
movdqa xmm0, xmmword [0x1400ba1e0]
movdqu xmmword [rbp - 0x21], xmm0
mov word [rbp - 0x31], di
mov bl, 1
jmp 0x14004c21d
call fcn.14006ff04
nop
call fcn.14006ff04
nop
call fcn.14006ff04
int3