Function at 0x1400537e0
Capabilities:
Encode data using xor

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x48
mov rax, qword [0x1403a8f38]
xor rax, rsp
mov qword [rsp + 0x40], rax
test r8, r8
je 0x140053b63
mov r14, r9
mov rsi, r8
mov rbx, rdx
mov rdi, rcx
mov r13, qword [rsp + 0xb8]
mov r12, qword [rsp + 0xb0]
cmp rcx, 0x20
setae al
add rcx, 0xffffffffffffffe0
cmp rcx, rdx
setae cl
cmp rdi, rdx
jb 0x1400538a2
and al, cl
jne 0x1400538a2
cmp rsi, 0x10
jb 0x1400538fd
lea r15, [rsp + 0x30]
nop dword [rax]
mov rcx, rdi
mov rdx, r15
mov r8, r14
call r13
mov rax, qword [rdi]
mov rcx, qword [r12]
xor rcx, qword [rsp + 0x30]
mov qword [rbx], rcx
mov qword [r12], rax
mov rax, qword [rdi + 8]
mov rcx, qword [r12 + 8]
xor rcx, qword [rsp + 0x38]
mov qword [rbx + 8], rcx
mov qword [r12 + 8], rax
add rsi, 0xfffffffffffffff0
add rdi, 0x10
add rbx, 0x10
cmp rsi, 0xf
ja 0x140053850
test rsi, rsi
jne 0x1400538fd
jmp 0x140053b63
cmp rsi, 0x10
jb 0x1400538e9
mov rbp, r12
nop dword [rax + rax]
mov r15, rdi
mov rcx, rdi
mov rdx, rbx
mov r8, r14
call r13
mov rax, qword [rbp]
xor qword [rbx], rax
mov rax, qword [rbp + 8]
xor qword [rbx + 8], rax
add rsi, 0xfffffffffffffff0
add rdi, 0x10
add rbx, 0x10
mov rbp, r15
cmp rsi, 0xf
ja 0x1400538b0
lea rax, [rdi - 0x10]
jmp 0x1400538ec
mov rax, r12
movups xmm0, xmmword [rax]
movups xmmword [r12], xmm0
test rsi, rsi
je 0x140053b63
lea r15, [rsp + 0x30]
mov rcx, rdi
mov rdx, r15
mov r8, r14
call r13
cmp rsi, 0x20
jae 0x140053a1f
xor eax, eax
mov rcx, rax
or rcx, 1
mov rdx, rax
test sil, 1
je 0x140053942
movzx edx, byte [r12 + rax]
xor dl, byte [rsp + rax + 0x30]
movzx r8d, byte [rdi + rax]
mov byte [rbx + rax], dl
mov byte [r12 + rax], r8b
mov rdx, rcx
cmp rsi, rcx
je 0x1400539a5
mov rcx, rsi
neg rcx
dec rdx
mov rax, rdx
nop word cs:[rax + rax]
movzx edx, byte [r12 + rax + 1]
xor dl, byte [rsp + rax + 0x31]
movzx r8d, byte [rdi + rax + 1]
mov byte [rbx + rax + 1], dl
mov byte [r12 + rax + 1], r8b
movzx edx, byte [rdi + rax + 2]
movzx r8d, byte [r12 + rax + 2]
xor r8b, byte [rsp + rax + 0x32]
mov byte [rbx + rax + 2], r8b
mov byte [r12 + rax + 2], dl
lea rdx, [rcx + rax]
add rdx, 2
add rax, 2
cmp rdx, 0xffffffffffffffff
jne 0x140053960
cmp rax, 0xe
ja 0x140053b63
xor eax, eax
mov ecx, reloc.WS2_32.dll_ntohs
sub rcx, rsi
cmovae rax, rcx
inc rax
cmp rax, 8
jb 0x140053b43
lea rcx, [rsi + r12]
lea rdx, [rsi + rdi]
mov r8, rcx
sub r8, rdx
cmp r8, 0x10
jb 0x140053b43
cmp rax, 0x10
jae 0x140053b13
xor r8d, r8d
mov r9, rax
and r9, 0xfffffffffffffff8
add rsi, r9
nop dword [rax]
mov r10, qword [rdx + r8]
mov qword [rcx + r8], r10
add r8, 8
cmp r9, r8
jne 0x140053a00
cmp rax, r9
jne 0x140053b43
jmp 0x140053b63
lea rax, [rbx + rsi]
lea r14, [r12 + rsi]
lea r8, [rdi + rsi]
lea r9, [rsp + rsi]
add r9, 0x30
cmp rbx, r14
setb r13b
cmp rax, r12
seta bpl
cmp rbx, r8
setb cl
cmp rdi, rax
setb r10b
cmp rbx, r9
setb dl
cmp r15, rax
setb r11b
cmp r8, r12
seta r8b
cmp rdi, r14
setb byte [rsp + 0x2f]
cmp r9, r12
seta r9b
cmp r15, r14
setb r14b
xor eax, eax
test r13b, bpl
jne 0x14005391a
and cl, r10b
jne 0x14005391a
and dl, r11b
jne 0x14005391a
and r8b, byte [rsp + 0x2f]
jne 0x14005391a
and r9b, r14b
jne 0x14005391a
mov rax, rsi
and rax, 0xffffffffffffffe0
xor ecx, ecx
nop word cs:[rax + rax]
movups xmm0, xmmword [rdi + rcx]
movups xmm1, xmmword [rdi + rcx + 0x10]
movups xmm2, xmmword [r12 + rcx]
movups xmm3, xmmword [r12 + rcx + 0x10]
xorps xmm2, xmmword [rsp + rcx + 0x30]
xorps xmm3, xmmword [rsp + rcx + 0x40]
movups xmmword [rbx + rcx], xmm2
movups xmmword [rbx + rcx + 0x10], xmm3
movups xmmword [r12 + rcx], xmm0
movups xmmword [r12 + rcx + 0x10], xmm1
add rcx, 0x20
cmp rax, rcx
jne 0x140053ac0
cmp rsi, rax
jne 0x14005391a
dec rax
cmp rax, 0xe
jbe 0x1400539af
jmp 0x140053b63
mov r8, rax
and r8, 0xfffffffffffffff0
xor r9d, r9d
nop dword [rax]
movups xmm0, xmmword [rdx + r9]
movups xmmword [rcx + r9], xmm0
add r9, 0x10
cmp r8, r9
jne 0x140053b20
cmp rax, r8
je 0x140053b63
test al, 8
jne 0x1400539ef
add rsi, r8
dec rsi
nop word cs:[rax + rax]
movzx eax, byte [rdi + rsi + 1]
mov byte [r12 + rsi + 1], al
inc rsi
cmp rsi, 0xf
jb 0x140053b50
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.140265f80
nop
add rsp, 0x48
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret