Function at 0x1400869d0
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 [0x14018c080]
xor rax, rsp
mov qword [rbp + 0x37], rax
movzx eax, byte [0x14016f9aa]
mov rdi, rcx
movzx ecx, word [0x14016f9a8]
xor al, 0x41
movsd xmm0, qword [str.BKH_b]
movsd qword [rbp - 0x29], xmm0
xor byte [rbp - 0x28], 0x38
xor byte [rbp - 0x27], 0x39
xor byte [rbp - 0x26], 0x3a
xor byte [rbp - 0x25], 0x3b
xor byte [rbp - 0x24], 0x3c
xor byte [rbp - 0x23], 0x3d
xor byte [rbp - 0x22], 0x3e
mov word [rbp - 0x21], cx
xor cl, 0x3f
xor byte [rbp - 0x20], 0x40
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 0x140086c74
cmp byte [0x14016f785], 0
movups xmm0, xmmword [str.d_MmRRYQH]
mov ecx, dword [0x14016f780]
mov dword [rbp - 1], ecx
movzx ecx, word [0x14016f784]
movups xmmword [rbp - 0x19], xmm0
mov word [rbp + 3], cx
movsd xmm0, qword [0x14016f778]
movsd qword [rbp - 9], xmm0
je 0x140086c2d
xor ecx, ecx
cmp dword [reloc.WS2_32.dll_accept], 2
jl 0x140086bec
movdqa xmm0, xmmword [0x140176090]
lea rdx, [rbp - 0x15]
movdqa xmm5, xmmword [0x140175f00]
movdqa xmm4, xmmword [0x1401761e0]
movdqa xmmword [rbp + 0x27], xmm0
mov r8d, dword [rbp + 0x27]
movaps xmmword [rsp + 0x90], xmm6
movdqa xmm6, xmmword [0x140175f30]
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 [0x140176040]
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 [0x140176040]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rdx - 8]
xorps xmm2, xmm0
movd dword [rdx - 8], xmm2
cmp ecx, 0x18
jl 0x140086ae0
movaps xmm6, xmmword [rsp + 0x90]
cmp ecx, 0x1e
jge 0x140086c2d
movsxd rax, ecx
lea r8, [rbp - 0x19]
add r8, rax
nop word [rax + rax]
mov eax, 0x5397829d
lea r8, [r8 + 1]
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x31
movzx eax, cl
inc ecx
sub al, dl
add al, 0x37
xor byte [r8 - 1], al
cmp ecx, 0x1e
jl 0x140086c00
lea rdx, [rbp - 0x19]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x140086c6b
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.1401468a0
lea r11, [rsp + 0xa0]
mov rbx, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret