Function at 0x14001ae70
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Convert ip address from string
Create tcp socket
Encode data using xor
Initialize winsock library
Terminate process

Disassembly:
push rbx
sub rsp, 0x240
mov rax, qword [0x14013f080]
xor rax, rsp
mov qword [rsp + 0x200], rax
mov ecx, 0x202
lea rdx, [rsp + 0x60]
call qword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
jne 0x14001b291
mov ebx, 2
mov qword [0x140164e30], 0xffffffffffffffff
mov ecx, ebx
lea edx, [rax + 1]
lea r8d, [rax + 6]
call qword [sym.imp.WS2_32.dll_socket]
mov qword [0x140164e30], rax
cmp rax, 0xffffffffffffffff
je 0x14001b291
lea r8, [rsp + 0x4c]
mov word [rsp + 0x48], bx
lea rdx, str.127.0.0.1
mov ecx, ebx
call qword [sym.imp.WS2_32.dll_inet_pton]
mov ecx, 0xd431
call qword [sym.imp.WS2_32.dll_htons]
mov rcx, qword [0x140164e30]
lea r8d, [rbx + 0xe]
lea rdx, [rsp + 0x48]
mov word [rsp + 0x4a], ax
call qword [sym.imp.WS2_32.dll_connect]
cmp eax, 0xffffffff
jne 0x14001b29a
mov qword [rsp + 0x250], rsi
lea rdx, [rsp + 0x48]
mov qword [rsp + 0x258], rdi
movaps xmmword [rsp + 0x230], xmm6
movaps xmmword [rsp + 0x220], xmm7
movaps xmmword [rsp + 0x210], xmm8
call fcn.14001b2f0
xor ecx, ecx
lea edi, [rbx + 3]
lea esi, [rbx + 0x1d]
mov r11, rax
mov ebx, dword [reloc.WS2_32.dll_accept]
cmp byte [rax + 0xb], cl
je 0x14001b0b4
mov r8d, ecx
cmp ebx, 2
jl 0x14001b074
movdqa xmm2, xmmword [0x140131fd0]
mov r8d, 8
movdqa xmm3, xmmword [0x140131fe0]
movdqa xmm1, xmm2
movdqa xmm4, xmmword [0x140132180]
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
movd xmm5, edi
movd xmm6, esi
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, xmm5
movdqa xmm0, xmm1
psrld xmm0, xmm6
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x140132010]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
movd xmm0, dword [rax]
pshufd xmm2, xmm1, 0xd8
movdqa xmm1, xmm3
andps xmm2, xmmword [0x140132020]
packuswb xmm2, xmm2
paddb xmm2, xmmword [0x140132050]
xorps xmm2, xmm0
punpckldq xmm1, xmm3
movd dword [rax], xmm2
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm3
psrad xmm1, xmm5
movdqa xmm0, xmm1
psrld xmm0, xmm6
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x140132010]
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
movd xmm0, dword [rax + 4]
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x140132020]
packuswb xmm2, xmm2
paddb xmm2, xmmword [0x140132050]
xorps xmm2, xmm0
movd dword [rax + 4], xmm2
movsxd r9, r8d
add r9, r11
nop word [rax + rax]
mov eax, 0x92492493
lea r9, [r9 + 1]
imul r8d
add edx, r8d
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x38
movzx eax, r8b
inc r8d
sub al, dl
add al, 0x39
xor byte [r9 - 1], al
cmp r8d, 0xc
jl 0x14001b080
lea rdx, [rsp + 0x30]
call fcn.14001b2c0
mov r10, rax
cmp byte [rax + 0x15], cl
je 0x14001b24f
cmp ebx, 2
jl 0x14001b21a
movdqa xmm0, xmmword [0x140132050]
mov rdx, rax
movdqa xmm5, xmmword [0x140131fd0]
movdqa xmm4, xmmword [0x140132180]
movdqa xmm7, xmmword [0x140132010]
movdqa xmmword [rsp + 0x20], xmm0
mov r8d, dword [rsp + 0x20]
movd xmm6, edi
movd xmm8, esi
nop word [rax + rax]
movd xmm2, ecx
lea eax, [rcx + 4]
pshufd xmm2, xmm2, 0
lea rdx, [rdx + 8]
paddd xmm2, xmm5
movd xmm3, eax
movdqa xmm1, xmm2
pshufd xmm3, xmm3, 0
punpckldq xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
paddd xmm3, xmm5
pmuldq xmm0, xmm4
add ecx, 8
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm8
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
movdqa xmm1, xmm3
andps xmm2, xmmword [0x140132020]
packuswb xmm2, xmm2
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movd xmm0, r8d
paddb xmm2, xmm0
movd xmm0, dword [rdx - 8]
xorps xmm2, xmm0
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
movd dword [rdx - 8], xmm2
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm3
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm8
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
movd xmm0, r8d
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x140132020]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rdx - 4]
xorps xmm2, xmm0
movd dword [rdx - 4], xmm2
cmp ecx, 0x10
jl 0x14001b110
cmp ecx, 0x16
jge 0x14001b24f
movsxd r8, ecx
add r8, r10
mov eax, 0x92492493
lea r8, [r8 + 1]
imul ecx
add edx, ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x38
movzx eax, cl
inc ecx
sub al, dl
add al, 0x39
xor byte [r8 - 1], al
cmp ecx, 0x16
jl 0x14001b220
xor r9d, r9d
mov r8, r11
mov rdx, r10
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
movaps xmm8, xmmword [rsp + 0x210]
movaps xmm7, xmmword [rsp + 0x220]
movaps xmm6, xmmword [rsp + 0x230]
mov rdi, qword [rsp + 0x258]
mov rsi, qword [rsp + 0x250]
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
mov rcx, qword [rsp + 0x200]
xor rcx, rsp
call fcn.1400af390
add rsp, 0x240
pop rbx
ret