Function at 0x180026480
Capabilities:
Encode data using base64
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.18001bef0
mov eax, dword [rbp - 0x48]
and eax, 0x1fffffff
cmp eax, 3
jb 0x1800265ff
mov eax, dword [rbp - 0x28]
cmp eax, 6
jne 0x180026504
mov rax, qword [rbp - 0x10]
test rax, rax
je 0x18002654d
sub rax, 4
lea rcx, [rbp - 0x10]
xor edx, edx
mov qword [rbp - 0x10], rax
call fcn.18000af20
jmp 0x18002654d
add eax, 0xfffffff9
cmp eax, 1
ja 0x18002654d
mov rdx, qword [rbp - 0x10]
test rdx, rdx
je 0x18002654d
mov edi, ebx
cmp dword [rbp - 0x18], ebx
jbe 0x18002653e
nop dword [rax]
mov eax, edi
lea rcx, [rax + rax*4]
lea rcx, [rdx + rcx*8]
xor edx, edx
call fcn.180012b50
inc edi
cmp edi, dword [rbp - 0x18]
jae 0x18002653e
mov rdx, qword [rbp - 0x10]
jmp 0x180026520
xor edx, edx
lea rcx, [rbp - 0x10]
call fcn.18000af20
mov qword [rbp - 0x10], rbx
mov r11, qword [rbp - 0x50]
mov dword [rbp - 0x18], ebx
mov eax, dword [r11]
cmp eax, 0x4e534942
je 0x1800265ec
and eax, 0x80808080
cmp eax, 0x80808080
jne 0x180026753
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 0x1800265ec
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
add r8b, 0x3d
mov byte [r11 - 1], r8b
cmp r10d, r9d
jb 0x1800265a0
mov r8d, 4
lea rdx, [rbp - 0x50]
lea rcx, [rbp - 0x30]
call fcn.18001a340
movabs rax, 0x284be5721173f16b
mov r10, rbx
mov qword [rbp - 0x40], rax
movabs r11, 0x549a2d1f135dad7a
movabs rax, 0x50b56cba5c1d944a
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 0x180026630
lea r8, [rbp - 0x30]
mov ecx, 0x3e8
lea rdx, [rbp - 0x40]
call fcn.18000a1b0
mov rsi, rax
cmp dword [rax + 0x18], ebx
je 0x1800266dc
mov rdi, qword [rax + 0x20]
test rdi, rdi
je 0x1800266dc
cmp dword [rdi + 8], 6
jne 0x1800266b7
mov rdx, qword [rdi + 0x20]
test rdx, rdx
je 0x1800266b7
cmp byte [rdx], bl
je 0x1800266b7
cmp dword [rdx - 4], ebx
je 0x1800266b7
mov rcx, r14
call fcn.180010860
mov r8, qword [rsi + 0x20]
lea rdx, [rdi + 0x28]
mov rdi, rdx
cmp rdx, r8
jb 0x1800266dc
mov eax, dword [rsi + 0x18]
lea rcx, [rax + rax*4]
lea rax, [r8 + rcx*8]
cmp rdx, rax
jae 0x1800266dc
test rdx, rdx
jne 0x180026697
xor edx, edx
lea rcx, [rbp - 0x50]
call fcn.18002cb90
mov rax, qword [rbp - 0x20]
mov r14, qword [rsp + 0x90]
mov rdi, qword [rsp + 0x88]
mov rsi, qword [rsp + 0x80]
test rax, rax
je 0x18002671f
sub rax, 4
lea rcx, [rbp - 0x20]
xor edx, edx
mov qword [rbp - 0x20], rax
call fcn.18000af20
mov qword [rbp - 0x20], rbx
mov eax, dword [rbp - 0x28]
cmp eax, 6
jne 0x18002676b
mov rax, qword [rbp - 0x10]
test rax, rax
je 0x1800267aa
sub rax, 4
lea rcx, [rbp - 0x10]
xor edx, edx
mov qword [rbp - 0x10], rax
call fcn.18000af20
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.18001a640
jmp 0x1800265ff
add eax, 0xfffffff9
cmp eax, 1
ja 0x1800267aa
mov rdx, qword [rbp - 0x10]
test rdx, rdx
je 0x1800267aa
cmp dword [rbp - 0x18], ebx
jbe 0x18002679f
mov eax, ebx
lea rcx, [rax + rax*4]
lea rcx, [rdx + rcx*8]
xor edx, edx
call fcn.180012b50
inc ebx
cmp ebx, dword [rbp - 0x18]
jae 0x18002679f
mov rdx, qword [rbp - 0x10]
jmp 0x180026781
xor edx, edx
lea rcx, [rbp - 0x10]
call fcn.18000af20
mov rbx, qword [rsp + 0x98]
xor eax, eax
add rsp, 0x70
pop rbp
ret