Function at 0x140088540
Capabilities:
Encode data using xor

Disassembly:
push rbp
push rbx
push rsi
lea rbp, [rsp - 0x47]
sub rsp, 0xa0
mov rax, qword [0x1402bf070]
xor rax, rsp
mov qword [rbp + 0x17], rax
mov rbx, rcx
test rcx, rcx
je 0x140088801
mov rsi, 0xffffffffffffffff
mov rax, rsi
inc rax
cmp word [rcx + rax*2], 0
jne 0x140088574
test rax, rax
je 0x140088801
mov qword [rsp + 0xc8], rdi
mov qword [rsp + 0xd0], r12
mov qword [rsp + 0x98], r14
mov qword [rsp + 0x90], r15
mov dword [rbp - 0x39], 0xb085ba12
mov dword [rbp - 0x35], 0xcf0135ca
mov dword [rbp - 0x31], 0x17d34c2f
mov dword [rbp - 0x2d], 0x6ee15cfc
inc rsi
cmp word [rcx + rsi*2], 0
jne 0x1400885c3
movsxd r15, esi
lea rcx, [r15 + 8]
call fcn.1400b9fa0
xor edi, edi
mov qword [rbp - 0x19], rax
movsxd r10, esi
mov r12, rax
mov r14d, edi
mov r8d, edi
test esi, esi
jle 0x14008864b
mov r9, rax
mov rdx, rax
mov r11d, 0x30
nop dword [rax + rax]
movzx ecx, byte [rbx]
mov eax, 0x37
cmp cl, 0x41
cmovb eax, r11d
sub cl, al
mov eax, r8d
mov byte [rdx], cl
and eax, 0x80000001
jge 0x140088624
dec eax
or eax, 0xfffffffe
inc eax
cmp eax, 1
jne 0x14008863b
movzx eax, cl
inc r14d
shl al, 4
or al, byte [rdx - 1]
mov byte [r9], al
inc r9
inc r8d
add rbx, 2
inc rdx
sub r10, 1
jne 0x140088600
lea rcx, [r15 + 8]
call fcn.1400b9fa0
mov qword [rbp - 0x21], rax
mov rsi, rax
cmp r14d, 1
jl 0x1400886a6
movsxd rdx, r14d
movzx ecx, byte [rdx + r12 - 1]
xor cl, byte [r12]
mov byte [rdx + rax - 1], cl
lea ecx, [r14 - 2]
movsxd rdx, ecx
test ecx, ecx
js 0x1400886a6
mov r8, rax
lea rcx, [rdx + r12]
sub r8, r12
inc rdx
nop word [rax + rax]
movzx eax, byte [r8 + rcx + 1]
xor al, byte [rcx]
mov byte [r8 + rcx], al
lea rcx, [rcx - 1]
sub rdx, 1
jne 0x140088690
movsxd rax, r14d
mov byte [rax + rsi], dil
movsxd rax, r14d
mov byte [rax + rsi + 1], dil
test r14d, r14d
je 0x1400887d4
movaps xmm0, xmmword [rbp - 0x39]
mov eax, r14d
shr eax, 4
and r14d, 0xf
mov qword [rsp + 0xd8], r13
xorps xmm1, xmm1
movdqa xmmword [rbp + 7], xmm0
mov r13d, edi
movups xmmword [rbp - 9], xmm1
test eax, eax
je 0x14008877c
mov r13d, dword [rbp - 9]
lea r15, [rsi + 8]
mov edi, dword [rbp + 3]
mov esi, dword [rbp - 1]
mov r12d, eax
mov dword [rbp - 0x29], r12d
movaps xmmword [rsp + 0x80], xmm6
nop dword [rax + rax]
movups xmm6, xmmword [r15 - 8]
lea r8, [rbp + 7]
lea rdx, [r15 - 8]
lea rcx, [r15 - 8]
call fcn.140088360
xor dword [r15 - 8], r13d
lea r15, [r15 + 0x10]
mov eax, dword [rbp - 5]
xor dword [r15 - 0x14], eax
xor dword [r15 - 0x10], esi
xor dword [r15 - 0xc], edi
movdqa xmmword [rbp - 9], xmm6
mov edi, dword [rbp + 3]
mov esi, dword [rbp - 1]
rol edi, 2
rol esi, 5
movd r13d, xmm6
mov dword [rbp - 1], esi
mov dword [rbp + 3], edi
rol r13d, 1
mov dword [rbp - 9], r13d
sub r12, 1
jne 0x140088710
mov rsi, qword [rbp - 0x21]
xor edi, edi
mov r12, qword [rbp - 0x19]
mov r13d, dword [rbp - 0x29]
movaps xmm6, xmmword [rsp + 0x80]
shl r13d, 4
movsxd rcx, r13d
mov r13, qword [rsp + 0xd8]
add rcx, rsi
test r14d, r14d
je 0x1400887d4
mov eax, dword [rbp - 0x39]
ror dword [rbp + 0xb], 2
rol eax, 1
mov dword [rbp + 7], eax
mov eax, dword [rbp + 0xf]
rol eax, 5
ror eax, 1
mov dword [rbp + 0xf], eax
mov eax, dword [rbp + 0x13]
rol eax, 2
ror eax, 5
mov edx, r14d
mov dword [rbp + 0x13], eax
test rdx, rdx
jle 0x1400887d4
nop
movzx eax, byte [rbp + rdi - 9]
xor al, byte [rbp + rdi + 7]
xor byte [rdi + rcx], al
inc rdi
cmp rdi, rdx
jl 0x1400887c0
mov rcx, r12
call fcn.1400b9f90
mov r15, qword [rsp + 0x90]
mov rax, rsi
mov r14, qword [rsp + 0x98]
mov r12, qword [rsp + 0xd0]
mov rdi, qword [rsp + 0xc8]
jmp 0x140088803
xor eax, eax
mov rcx, qword [rbp + 0x17]
xor rcx, rsp
call fcn.1400b9f70
add rsp, 0xa0
pop rsi
pop rbx
pop rbp
ret