Function at 0x1400858a0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rdi
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0xa0
mov rax, qword [0x140189080]
xor rax, rsp
mov qword [rbp + 0x37], rax
movzx eax, byte [0x14016dba2]
mov rdi, rcx
movzx ecx, word [0x14016dba0]
xor al, 0x42
movsd xmm0, qword [0x14016db98]
movsd qword [rbp - 0x29], xmm0
xor byte [rbp - 0x28], 0x39
xor byte [rbp - 0x27], 0x3a
xor byte [rbp - 0x26], 0x3b
xor byte [rbp - 0x25], 0x3c
xor byte [rbp - 0x24], 0x3d
xor byte [rbp - 0x23], 0x3e
xor byte [rbp - 0x22], 0x3f
mov word [rbp - 0x21], cx
xor cl, 0x40
xor byte [rbp - 0x20], 0x41
mov byte [rbp - 0x21], cl
lea rcx, [rbp - 0x29]
mov byte [rbp - 0x29], 0x75
mov byte [rbp - 0x1f], al
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rbx, rax
test rax, rax
je 0x140085b44
cmp byte [0x14016d1e5], 0
movups xmm0, xmmword [str.kNlUSZP7]
mov ecx, dword [0x14016d1e0]
mov dword [rbp - 1], ecx
movzx ecx, word [0x14016d1e4]
movups xmmword [rbp - 0x19], xmm0
mov word [rbp + 3], cx
movsd xmm0, qword [0x14016d1d8]
movsd qword [rbp - 9], xmm0
je 0x140085afd
xor ecx, ecx
cmp dword [reloc.WS2_32.dll_accept], 2
jl 0x140085abc
movdqa xmm0, xmmword [0x140173d70]
lea rdx, [rbp - 0x15]
movdqa xmm5, xmmword [0x140173be0]
movdqa xmm4, xmmword [0x140173eb0]
movdqa xmmword [rbp + 0x27], xmm0
mov r8d, dword [rbp + 0x27]
movaps xmmword [rsp + 0x90], xmm6
movdqa xmm6, xmmword [0x140173c10]
nop dword [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
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
movdqa xmm1, xmm3
andps xmm2, xmmword [0x140173d30]
packuswb xmm2, xmm2
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movd xmm0, r8d
paddb xmm2, xmm0
movd xmm0, dword [rdx - 0xc]
xorps xmm2, xmm0
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
movd dword [rdx - 0xc], xmm2
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
movd xmm0, r8d
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x140173d30]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rdx - 8]
xorps xmm2, xmm0
movd dword [rdx - 8], xmm2
cmp ecx, 0x18
jl 0x1400859b0
movaps xmm6, xmmword [rsp + 0x90]
cmp ecx, 0x1e
jge 0x140085afd
movsxd rax, ecx
lea r8, [rbp - 0x19]
add r8, rax
nop word [rax + rax]
mov eax, 0x51eb851f
lea r8, [r8 + 1]
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x32
movzx eax, cl
inc ecx
sub al, dl
add al, 0x38
xor byte [r8 - 1], al
cmp ecx, 0x1e
jl 0x140085ad0
lea rdx, [rbp - 0x19]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x140085b3b
movdqa xmm0, xmmword [reloc.WS2_32.dll_closesocket]
lea rcx, [rbp + 0x27]
mov qword [rbp + 0xf], rcx
lea rdx, [rbp + 7]
mov rcx, rdi
mov dword [rbp + 7], reloc.WS2_32.dll_send
movdqu xmmword [rbp + 0x27], xmm0
mov dword [rbp + 0x17], reloc.WS2_32.dll_recv
call rax
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov rcx, qword [rbp + 0x37]
xor rcx, rsp
call fcn.140144a50
lea r11, [rsp + 0xa0]
mov rbx, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret