Function at 0x14004b800
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 [0x1400c5be0]
xor rax, rsp
mov qword [rbp + 0x3f], rax
xor r12d, r12d
mov dword [rbp - 0x59], r12d
lea rcx, [rbp + 0x1f]
call fcn.140050a20
nop
mov rbx, qword [0x1400c8f18]
mov rsi, qword [0x1400c8f20]
cmp rbx, rsi
je 0x14004b89b
mov r14, qword [rbp + 0x37]
mov rdi, qword [rbp + 0x2f]
mov r15, qword [rbp + 0x1f]
mov rdx, rbx
cmp qword [rbx + 0x18], 0x10
jb 0x14004b870
mov rdx, qword [rbx]
lea rcx, [rbp + 0x1f]
cmp r14, 0x10
cmovae rcx, r15
cmp rdi, qword [rbx + 0x10]
jne 0x14004b892
mov r8, rdi
call fcn.14008fc40
test eax, eax
je 0x14004ba16
add rbx, 0x20
cmp rbx, rsi
jne 0x14004b863
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.140041510
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.14002de90
nop
lea rdx, [rbp - 0x41]
lea rcx, [0x1400c5ee0]
call fcn.140039f30
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, [0x1400b1424]
lea rcx, [rbp - 0x21]
call fcn.14002de90
nop
lea rdx, [rbp - 0x21]
mov rcx, rbx
call fcn.140039f30
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.14003b6f0
mov ecx, 0x202
lea rdx, [0x1400c5d38]
call qword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
jne 0x14004ba16
xor r8d, r8d
lea edx, [rax + 1]
mov ebx, 2
mov ecx, ebx
call qword [sym.imp.WS2_32.dll_socket]
mov qword [0x1400c5d30], rax
cmp rax, 0xffffffffffffffff
je 0x14004ba10
mov word [0x1400c5ed0], bx
movzx ecx, word [0x1400c8ef0]
call qword [sym.imp.WS2_32.dll_htons]
mov word [0x1400c5ed2], ax
lea rdx, [0x1400c8ed0]
cmp qword [0x1400c8ee8], 0x10
cmovae rdx, qword [0x1400c8ed0]
lea r8, [0x1400c5ed4]
mov ecx, ebx
call qword [sym.imp.WS2_32.dll_inet_pton]
lea r8d, [rbx + 0xe]
lea rdx, [0x1400c5ed0]
mov rcx, qword [0x1400c5d30]
call qword [sym.imp.WS2_32.dll_connect]
cmp eax, 0xffffffff
jne 0x14004ba93
mov rcx, qword [0x1400c5d30]
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 0x14004ba53
inc rdx
mov rcx, qword [rbp + 0x1f]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004ba4e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14004bb95
call fcn.14008d0c0
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.14008d0a0
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, [0x1400af488]
lea rcx, [rbp - 0x21]
call fcn.14004aa30
mov dword [rbp - 0x59], ebx
lea rdx, [rbp - 0x21]
lea rcx, [0x1400c5cd0]
call fcn.14003adb0
and ebx, 0xfffffffd
mov dword [rbp - 0x59], ebx
mov rdx, qword [rbp - 9]
cmp rdx, 8
jb 0x14004bafc
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x21]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004baf7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14004bb9b
call fcn.14008d0c0
movdqa xmm0, xmmword [0x1400b2eb0]
movdqu xmmword [rbp - 0x11], xmm0
mov word [rbp - 0x21], r12w
lea rdx, [0x1400af478]
lea rcx, [rbp - 0x41]
call fcn.14004aa30
or ebx, 4
mov dword [rbp - 0x59], ebx
lea rdx, [rbp - 0x41]
lea rcx, [0x1400c5cf0]
call fcn.14003adb0
and ebx, 0xfffffffb
mov dword [rbp - 0x59], ebx
mov rdx, qword [rbp - 0x29]
cmp rdx, 8
jb 0x14004bb76
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x41]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004bb71
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14004bb8f
call fcn.14008d0c0
movdqa xmm0, xmmword [0x1400b2eb0]
movdqu xmmword [rbp - 0x31], xmm0
mov word [rbp - 0x41], r12w
mov bl, 1
jmp 0x14004ba18
call fcn.14006f260
nop
call fcn.14006f260
nop
call fcn.14006f260
int3