Function at 0x180026030
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 0x20], rbx
push rbp
mov rbp, rsp
sub rsp, 0x70
xor ebx, ebx
mov qword [rax + 8], rsi
mov qword [rax + 0x10], rdi
lea rdx, [0x18003a3e0]
mov qword [rax + 0x18], r14
mov r14, rcx
lea rcx, [rbp - 0x50]
mov dword [rbp - 0x18], ebx
mov qword [rbp - 0x10], rbx
mov qword [rbp - 0x20], rbx
mov qword [rbp - 0x30], rbx
mov dword [rbp - 0x28], 7
mov qword [rbp - 0x50], rbx
mov dword [rbp - 0x48], ebx
call fcn.18001bf10
mov eax, dword [rbp - 0x48]
and eax, 0x1fffffff
cmp eax, 3
jb 0x1800261af
mov eax, dword [rbp - 0x28]
cmp eax, 6
jne 0x1800260b4
mov rax, qword [rbp - 0x10]
test rax, rax
je 0x1800260fd
sub rax, 4
lea rcx, [rbp - 0x10]
xor edx, edx
mov qword [rbp - 0x10], rax
call fcn.18000af70
jmp 0x1800260fd
add eax, 0xfffffff9
cmp eax, 1
ja 0x1800260fd
mov rdx, qword [rbp - 0x10]
test rdx, rdx
je 0x1800260fd
mov edi, ebx
cmp dword [rbp - 0x18], ebx
jbe 0x1800260ee
nop dword [rax]
mov eax, edi
lea rcx, [rax + rax*4]
lea rcx, [rdx + rcx*8]
xor edx, edx
call fcn.180012b70
inc edi
cmp edi, dword [rbp - 0x18]
jae 0x1800260ee
mov rdx, qword [rbp - 0x10]
jmp 0x1800260d0
xor edx, edx
lea rcx, [rbp - 0x10]
call fcn.18000af70
mov qword [rbp - 0x10], rbx
mov r11, qword [rbp - 0x50]
mov dword [rbp - 0x18], ebx
mov eax, dword [r11]
cmp eax, 0x4e534942
je 0x18002619c
and eax, 0x80808080
cmp eax, 0x80808080
jne 0x180026303
mov r9d, dword [rbp - 0x48]
add r11, 4
and r9d, 0x1fffffff
mov r10d, ebx
sub r9d, 4
mov eax, r9d
movzx ecx, r9b
shr eax, 8
movzx edi, al
imul edi, ecx
test r9d, r9d
je 0x18002619c
nop dword [rax]
movzx eax, r10b
movzx ecx, dil
and al, 0x7e
lea r11, [r11 + 1]
movzx r8d, al
imul r8d, ecx
movzx ecx, byte [r11 - 1]
movzx eax, cl
add r8b, r10b
sub al, r8b
add cl, r8b
test r10b, 1
movzx r8d, cl
movzx eax, al
cmove r8d, eax
inc r10d
xor r8b, dil
not r8b
sub r8b, 0x61
mov byte [r11 - 1], r8b
cmp r10d, r9d
jb 0x180026150
mov r8d, 4
lea rdx, [rbp - 0x50]
lea rcx, [rbp - 0x30]
call fcn.18001a360
movabs rax, 0x2da47fbcbd036b06
mov r10, rbx
mov qword [rbp - 0x40], rax
movabs r11, 0xf427de46c6d3be37
movabs rax, 0x39017b0437272588
mov qword [rbp - 0x38], rax
nop dword [rax + rax]
mov rax, qword [rbp + r10*8 - 0x40]
mov r9d, r10d
neg r9d
mov r8, r11
and r9d, 0xf
rol r8, 3
not r8
rol r11, 1
mov rdx, r8
mov ecx, r9d
neg ecx
and ecx, 0x3f
shl rdx, cl
mov ecx, r9d
shr r8, cl
or rdx, r8
xor rdx, rax
mov qword [rbp + r10*8 - 0x40], rdx
inc r10
cmp r10, 2
jb 0x1800261e0
lea r8, [rbp - 0x30]
mov ecx, 0x3e8
lea rdx, [rbp - 0x40]
call fcn.18000a200
mov rsi, rax
cmp dword [rax + 0x18], ebx
je 0x18002628c
mov rdi, qword [rax + 0x20]
test rdi, rdi
je 0x18002628c
cmp dword [rdi + 8], 6
jne 0x180026267
mov rdx, qword [rdi + 0x20]
test rdx, rdx
je 0x180026267
cmp byte [rdx], bl
je 0x180026267
cmp dword [rdx - 4], ebx
je 0x180026267
mov rcx, r14
call fcn.180010870
mov r8, qword [rsi + 0x20]
lea rdx, [rdi + 0x28]
mov rdi, rdx
cmp rdx, r8
jb 0x18002628c
mov eax, dword [rsi + 0x18]
lea rcx, [rax + rax*4]
lea rax, [r8 + rcx*8]
cmp rdx, rax
jae 0x18002628c
test rdx, rdx
jne 0x180026247
xor edx, edx
lea rcx, [rbp - 0x50]
call fcn.18002c560
mov rax, qword [rbp - 0x20]
mov r14, qword [rsp + 0x90]
mov rdi, qword [rsp + 0x88]
mov rsi, qword [rsp + 0x80]
test rax, rax
je 0x1800262cf
sub rax, 4
lea rcx, [rbp - 0x20]
xor edx, edx
mov qword [rbp - 0x20], rax
call fcn.18000af70
mov qword [rbp - 0x20], rbx
mov eax, dword [rbp - 0x28]
cmp eax, 6
jne 0x18002631b
mov rax, qword [rbp - 0x10]
test rax, rax
je 0x18002635a
sub rax, 4
lea rcx, [rbp - 0x10]
xor edx, edx
mov qword [rbp - 0x10], rax
call fcn.18000af70
xor eax, eax
mov rbx, qword [rsp + 0x98]
add rsp, 0x70
pop rbp
ret
xor r9d, r9d
lea rdx, [rbp - 0x50]
xor r8d, r8d
lea rcx, [rbp - 0x30]
call fcn.18001a660
jmp 0x1800261af
add eax, 0xfffffff9
cmp eax, 1
ja 0x18002635a
mov rdx, qword [rbp - 0x10]
test rdx, rdx
je 0x18002635a
cmp dword [rbp - 0x18], ebx
jbe 0x18002634f
mov eax, ebx
lea rcx, [rax + rax*4]
lea rcx, [rdx + rcx*8]
xor edx, edx
call fcn.180012b70
inc ebx
cmp ebx, dword [rbp - 0x18]
jae 0x18002634f
mov rdx, qword [rbp - 0x10]
jmp 0x180026331
xor edx, edx
lea rcx, [rbp - 0x10]
call fcn.18000af70
mov rbx, qword [rsp + 0x98]
xor eax, eax
add rsp, 0x70
pop rbp
ret