Function at 0x140087740
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 [0x14018e080]
xor rax, rsp
mov qword [rbp + 0x37], rax
movzx eax, byte [0x140171e72]
mov rdi, rcx
movzx ecx, word [0x140171e70]
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 0x1400879e5
cmp byte [0x14017123d], 0
movups xmm0, xmmword [str.d_MmRRYQH]
mov ecx, dword [0x140171238]
mov dword [rbp - 1], ecx
movzx ecx, word [0x14017123c]
movups xmmword [rbp - 0x19], xmm0
mov word [rbp + 3], cx
movsd xmm0, qword [0x140171230]
movsd qword [rbp - 9], xmm0
je 0x14008799e
xor ecx, ecx
cmp dword [reloc.WS2_32.dll_accept], 2
jl 0x14008795c
movdqa xmm0, xmmword [0x1401785a0]
lea rdx, [rbp - 0x15]
movdqa xmm5, xmmword [0x140178380]
movdqa xmm4, xmmword [0x140178530]
movdqa xmmword [rbp + 0x27], xmm0
mov r8d, dword [rbp + 0x27]
movaps xmmword [rsp + 0x90], xmm6
movdqa xmm6, xmmword [0x140178400]
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, 1
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 [0x140178520]
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, 1
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 [0x140178520]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rdx - 8]
xorps xmm2, xmm0
movd dword [rdx - 8], xmm2
cmp ecx, 0x18
jl 0x140087850
movaps xmm6, xmmword [rsp + 0x90]
cmp ecx, 0x1e
jge 0x14008799e
movsxd rax, ecx
lea r8, [rbp - 0x19]
add r8, rax
nop word [rax + rax]
mov eax, 0x94f2095
lea r8, [r8 + 1]
imul ecx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, 1
sub al, dl
movsx eax, al
imul edx, eax, 0x37
add dl, cl
inc ecx
xor byte [r8 - 1], dl
cmp ecx, 0x1e
jl 0x140087970
lea rdx, [rbp - 0x19]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x1400879dc
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.1401487e0
lea r11, [rsp + 0xa0]
mov rbx, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret