Function at 0x1402b7ee0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0x90
mov ecx, dword [0x1403f2710]
mov edx, 0x75
movups xmm0, xmmword [str.LIN]
movzx eax, word [0x1403f2714]
mov rdi, qword [0x1405932a0]
xor ax, 0x43
movups xmmword [rbp - 9], xmm0
xor word [rbp - 7], 0x3a
xor word [rbp - 5], 0x3b
xor word [rbp - 3], 0x3c
xor word [rbp - 1], 0x3d
xor word [rbp + 1], 0x3e
xor word [rbp + 3], 0x3f
xor word [rbp + 5], 0x40
mov dword [rbp + 7], ecx
xor cx, 0x41
xor word [rbp + 9], 0x42
mov word [rbp + 7], cx
lea rcx, [rbp - 9]
mov word [rbp - 9], dx
mov word [rbp + 0xb], ax
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rbx, rax
test rax, rax
je 0x1402b8186
cmp byte [0x1403f225d], 0
movups xmm0, xmmword [0x1403f2240]
mov ecx, dword [0x1403f2258]
mov dword [rbp + 0x3f], ecx
movzx ecx, word [0x1403f225c]
movups xmmword [rbp + 0x27], xmm0
mov word [rbp + 0x43], cx
movsd xmm0, qword [0x1403f2250]
movsd qword [rbp + 0x37], xmm0
je 0x1402b813f
xor ecx, ecx
cmp dword [reloc.WS2_32.dll_accept], 2
jl 0x1402b8104
movdqa xmm0, xmmword [0x1403f4680]
lea rdx, [rbp + 0x2b]
movdqa xmm5, xmmword [0x1403f45a0]
movdqa xmm4, xmmword [0x1403f4810]
movdqa xmmword [rbp - 0x19], xmm0
mov r8d, dword [rbp - 0x19]
movaps xmmword [rsp + 0x80], xmm6
movdqa xmm6, xmmword [0x1403f45d0]
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
paddd xmm1, xmm2
psrad xmm1, 5
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 [0x1403f4630]
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
paddd xmm1, xmm3
psrad xmm1, 5
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 [0x1403f4630]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rdx - 8]
xorps xmm2, xmm0
movd dword [rdx - 8], xmm2
cmp ecx, 0x18
jl 0x1402b7ff0
movaps xmm6, xmmword [rsp + 0x80]
cmp ecx, 0x1e
jge 0x1402b813f
movsxd rax, ecx
lea r8, [rbp + 0x27]
add r8, rax
nop
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, 0x1e
jl 0x1402b8110
lea rdx, [rbp + 0x27]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x1402b817d
movdqa xmm0, xmmword [reloc.WS2_32.dll_closesocket]
lea rcx, [rbp - 0x19]
mov qword [rbp + 0x17], rcx
lea rdx, [rbp + 0xf]
mov rcx, rdi
mov dword [rbp + 0xf], reloc.WS2_32.dll_send
movdqu xmmword [rbp - 0x19], xmm0
mov dword [rbp + 0x1f], reloc.WS2_32.dll_recv
call rax
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov rsp, r11
pop rbp
ret