Function at 0x538f20
Capabilities:
Encode data using base64

Disassembly:
lea r12, [rsp - 0x18]
cmp r12, qword [r14 + 0x10]
jbe 0x53935b
push rbp
mov rbp, rsp
sub rsp, 0x90
mov qword [rsp + 0xe0], r9
mov qword [rsp + 0xe8], r10
mov qword [rsp + 0xd8], r8
mov qword [rsp + 0xd0], rsi
mov qword [rsp + 0xc8], rdi
mov qword [rsp + 0xc0], rcx
mov qword [rsp + 0xb8], rbx
mov qword [rsp + 0xb0], rax
mov rdx, qword [rsp + 0xa0]
mov r11, qword [rdx + 0x28]
mov rax, qword [rsp + 0xa8]
call r11
mov rcx, qword [rsp + 0xe8]
cmp rcx, 0xffffffffffffffff
jne 0x538fa4
mov rcx, rax
jmp 0x538faf
mov rcx, rax
mov rax, qword [rsp + 0xe8]
mov rdx, qword [rsp + 0xe0]
lea r11, [rdx + 7]
sar r11, 0x3f
shr r11, 0x3d
lea rbx, [r11 + rdx]
lea rbx, [rbx + 7]
sar rbx, 3
mov r11, qword [rsp + 0xd0]
nop word [rax + rax]
cmp r11, rbx
jne 0x5391bb
mov r11, qword [rsp + 0xb8]
cmp rcx, r11
jne 0x5391a4
lea r12, [rax + rcx]
lea r12, [r12 + 2]
cmp r12, rbx
jg 0x53918d
mov r12, qword [rsp + 0xc8]
movzx r13d, byte [rbx + r12 - 1]
nop word [rax + rax]
cmp r13b, 0xbc
jne 0x539176
mov r9, rbx
sub rbx, rcx
lea r13, [rbx - 1]
mov r10, qword [rsp + 0xd8]
mov r15, r10
sub r15, rbx
inc r15
mov rcx, r15
neg r15
sar r15, 0x3f
and r15, r13
mov rsi, r9
shl rsi, 3
sub rsi, rdx
sub r9, rbx
lea r8, [r12 + r15]
test rsi, rsi
jl 0x539355
mov rdx, rcx
mov rcx, rsi
mov r15d, 0xffffffff
shr r15b, cl
movzx edi, byte [r12]
cmp rcx, 8
sbb ecx, ecx
and ecx, r15d
mov r15d, ecx
not ecx
test dil, cl
jne 0x53915f
mov qword [rsp + 0x78], rbx
mov qword [rsp + 0x60], r13
mov qword [rsp + 0x70], rdx
mov qword [rsp + 0x88], r8
mov byte [rsp + 0x47], r15b
mov qword [rsp + 0x58], r9
mov qword [rsp + 0x68], rax
mov rax, r12
mov rbx, r13
mov rcx, r10
mov rdi, qword [rsp + 0xa0]
mov rsi, qword [rsp + 0xa8]
mov r10, rdx
call fcn.00539840
mov rax, qword [rsp + 0xc8]
movzx edx, byte [rax]
movzx r11d, byte [rsp + 0x47]
and r11d, edx
mov byte [rax], r11b
mov rdx, qword [rsp + 0x68]
test rdx, rdx
jne 0x539132
mov rbx, qword [rsp + 0x60]
mov rcx, qword [rsp + 0xd8]
mov edi, 1
call fcn.00489120
test rax, rax
jl 0x539148
mov rcx, qword [rsp + 0x78]
sub rcx, rax
lea rax, [rcx - 2]
mov rdx, rax
mov rax, qword [rsp + 0xc8]
mov rcx, qword [rsp + 0x78]
mov rsi, rcx
sub rcx, rdx
lea rdx, [rcx - 2]
xor ebx, ebx
jmp 0x5391d8
mov rax, qword [0x00ba5de0]
mov rbx, qword [0x00ba5de8]
add rsp, 0x90
pop rbp
ret
mov rax, qword [0x00ba5de0]
mov rbx, qword [0x00ba5de8]
add rsp, 0x90
pop rbp
ret
mov rax, qword [0x00ba5de0]
mov rbx, qword [0x00ba5de8]
add rsp, 0x90
pop rbp
ret
mov rax, qword [0x00ba5de0]
mov rbx, qword [0x00ba5de8]
add rsp, 0x90
pop rbp
ret
mov rax, qword [0x00ba5de0]
mov rbx, qword [0x00ba5de8]
add rsp, 0x90
pop rbp
ret
lea rax, [0x006e93c5]
mov ebx, 0x28
call fcn.00480900
add rsp, 0x90
pop rbp
ret
inc rbx
cmp rbx, rdx
jge 0x5391fd
movzx edi, byte [rax + rbx]
test dil, dil
je 0x5391d5
mov rax, qword [0x00ba5de0]
mov rbx, qword [0x00ba5de8]
add rsp, 0x90
pop rbp
ret
movzx edx, byte [rcx + rax - 2]
cmp dl, 1
jne 0x53933e
mov qword [rsp + 0x68], rcx
lea rax, [0x00678bc0]
call fcn.0040ee40
mov rcx, qword [rsp + 0xd8]
mov rdx, qword [rsp + 0x68]
sub rcx, rdx
mov rbx, qword [rsp + 0x78]
sub rbx, rdx
mov qword [rsp + 0x48], rbx
inc rcx
mov qword [rsp + 0x50], rcx
neg rcx
sar rcx, 0x3f
dec rdx
and rdx, rcx
mov rcx, qword [rsp + 0xc8]
add rcx, rdx
mov qword [rsp + 0x80], rcx
mov rdx, qword [rsp + 0xa0]
mov rdi, qword [rdx + 0x38]
mov r8, rax
mov rax, qword [rsp + 0xa8]
mov rbx, r8
mov ecx, 8
mov r11, rdi
mov rdi, rcx
call r11
mov rcx, qword [rsp + 0xa0]
mov rdx, qword [rcx + 0x38]
mov rax, qword [rsp + 0xa8]
mov rbx, qword [rsp + 0xb0]
mov rdi, qword [rsp + 0xc0]
mov rcx, qword [rsp + 0xb8]
call rdx
mov rcx, qword [rsp + 0xa0]
mov rdx, qword [rcx + 0x38]
mov rax, qword [rsp + 0xa8]
mov rbx, qword [rsp + 0x80]
mov rdi, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x48]
call rdx
mov rcx, qword [rsp + 0xa0]
mov rcx, qword [rcx + 0x30]
mov rax, qword [rsp + 0xa8]
xor ebx, ebx
xor edi, edi
mov rdx, rcx
mov rcx, rdi
call rdx
mov rdi, qword [rsp + 0x88]
mov rsi, qword [rsp + 0x58]
mov r8, qword [rsp + 0x70]
call fcn.00488e40
test al, al
je 0x539327
xor eax, eax
xor ebx, ebx
add rsp, 0x90
pop rbp
ret
mov rax, qword [0x00ba5de0]
mov rbx, qword [0x00ba5de8]
add rsp, 0x90
pop rbp
ret
mov rax, qword [0x00ba5de0]
mov rbx, qword [0x00ba5de8]
add rsp, 0x90
pop rbp
ret
call fcn.004393c0
nop
mov qword [rsp + 0x18], rax
mov qword [rsp + 0x20], rbx
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x40], r8
mov qword [rsp + 0x48], r9
mov qword [rsp + 0x50], r10
call fcn.00474300
mov rax, qword [rsp + 0x18]
mov rbx, qword [rsp + 0x20]
mov rcx, qword [rsp + 0x28]
mov rdi, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
mov r8, qword [rsp + 0x40]
mov r9, qword [rsp + 0x48]
mov r10, qword [rsp + 0x50]
jmp fcn.00538f20