Function at 0x1400538e0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r12
push r14
push r15
mov rbp, rsp
sub rsp, 0x60
mov rax, qword [0x1403bbac0]
xor rax, rsp
mov qword [rbp - 0x10], rax
mov rbx, r8
mov rsi, rdx
mov qword [rbp - 0x40], rdx
xor edi, edi
lea rcx, [r8 + 0xab0]
call fcn.140048da0
mov r14, rax
lea rcx, [rax + 0x10]
call fcn.140048ba0
movsxd r15, eax
mov r12, r15
test eax, eax
jne 0x140053a4d
mov eax, dword [str.dv6r5]
mov dword [rbp - 0x40], eax
cmp byte [0x1400c7c7b], dil
je 0x140053a15
cmp dword [reloc.WS2_32.dll_accept], 2
jl 0x1400539ce
movdqa xmm3, xmmword [0x1400c6500]
movdqa xmm2, xmm3
punpckldq xmm2, xmm3
pmuldq xmm2, xmmword [0x1400c88f0]
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmmword [0x1400c88f0]
shufps xmm2, xmm0, 0xdd
paddd xmm2, xmm3
psrad xmm2, 5
movdqa xmm0, xmm2
psrld xmm0, 0x1f
paddd xmm0, xmm2
pmulld xmm0, xmmword [0x1400c87a0]
psubd xmm3, xmm0
andps xmm3, xmmword [0x1400c87b0]
packuswb xmm3, xmm3
packuswb xmm3, xmm3
paddb xmm3, xmmword [0x1400c87c0]
movd xmm0, eax
xorps xmm3, xmm0
movd dword [rbp - 0x40], xmm3
jmp 0x140053a15
lea r9, [rbp - 0x40]
mov r8d, edi
nop word [rax + rax]
mov eax, 0xa0a0a0a1
imul r8d
add edx, r8d
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, 1
sub al, dl
movsx eax, al
imul ecx, eax, 0x33
add cl, r8b
xor byte [r9], cl
inc r8d
lea r9, [r9 + 1]
cmp r8d, 4
jl 0x1400539e0
xorps xmm0, xmm0
movups xmmword [rsi], xmm0
mov qword [rsi + 0x10], rdi
mov qword [rsi + 0x18], rdi
lea rax, [rbp - 0x40]
mov rbx, 0xffffffffffffffff
nop
inc rbx
cmp byte [rax + rbx], dil
jne 0x140053a30
mov r8, rbx
lea rdx, [rbp - 0x40]
mov rcx, rsi
call fcn.140001fa0
jmp 0x140053ba2
lea rcx, [rbx - 6]
and ecx, 8
call fcn.140048b00
test al, al
je 0x140053ab2
movzx eax, word [0x1400c7c7c]
mov word [rbp - 0x40], ax
movzx eax, byte [0x1400c7c7e]
mov byte [rbp - 0x40], 0x41
xor byte [rbp - 0x3f], 0x34
xor al, 0x35
mov byte [rbp - 0x3e], al
xorps xmm0, xmm0
movups xmmword [rsi], xmm0
mov qword [rsi + 0x10], rdi
mov qword [rsi + 0x18], rdi
lea rax, [rbp - 0x40]
mov rbx, 0xffffffffffffffff
inc rbx
cmp byte [rax + rbx], dil
jne 0x140053a95
mov r8, rbx
lea rdx, [rbp - 0x40]
mov rcx, rsi
call fcn.140001fa0
jmp 0x140053ba2
lea rcx, [r14 + 8]
call fcn.140048da0
mov eax, 2
mul r12
mov rbx, 0xffffffffffffffff
cmovb rax, rbx
mov rcx, rax
call fcn.1400babe0
mov r14, rax
mov rcx, rax
lea edx, [r15 - 1]
and edx, 3
lea r8d, [r15 - 1]
cmp edi, r8d
jge 0x140053b01
add edx, 3
inc edi
movzx eax, dx
and ax, 7
add word [rcx], ax
add rcx, 2
jmp 0x140053ae7
xorps xmm0, xmm0
movups xmmword [rbp - 0x30], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x20], xmm1
inc rbx
cmp word [r14 + rbx*2], 0
jne 0x140053b10
mov r8, rbx
mov rdx, r14
lea rcx, [rbp - 0x30]
call fcn.140048370
nop
mov rcx, r14
call fcn.1400ba2a4
lea rdx, [rbp - 0x30]
cmp qword [rbp - 0x18], 7
cmova rdx, qword [rbp - 0x30]
mov rax, qword [rbp - 0x20]
lea r8, [rdx + rax*2]
lea rdx, [rbp - 0x30]
cmova rdx, qword [rbp - 0x30]
lea r9, [rbp - 0x38]
mov rcx, rsi
call fcn.140047c40
nop
mov rdx, qword [rbp - 0x18]
cmp rdx, 7
jbe 0x140053ba2
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140053b9d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140053b9d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400ba2a4
mov rax, rsi
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.1400ba720
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret