Function at 0x180057b20
Capabilities:
Encode data using base64

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x10], rdx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
mov r9, rdx
mov r14, r8
lea edx, [rcx - 0xb]
mov r13d, ecx
mov dword [rsp + 0x70], edx
cmp ecx, edx
jbe 0x180057be0
mov rdi, qword [rsp + 0x88]
lea r12d, [rcx - 0x82]
mov rbx, qword [rsp + 0x88]
movabs r10, 0xaaaaaaaaaaaaaaab
mov ebp, dword [rsp + 0x70]
mov esi, dword [rsp + 0x70]
mov r15d, dword [rsp + 0x70]
lea r8, [0x180000000]
cmp r12d, 0x1a
ja case.0x180057ba0.2
movzx eax, byte [r8 + r12 + 0x57e54]
mov ecx, dword [r8 + rax*4 + 0x57e2c]
add rcx, r8
jmp rcx
mov rcx, qword [r14 + 0x10]
mov rax, r10
add rcx, 2
xor r8d, r8d
mul rcx
mov rcx, r9
shr rdx, 1
shl rdx, 2
call fcn.1800693b0
mov edx, dword [rsp + 0x70]
movabs r10, 0xaaaaaaaaaaaaaaab
mov r9, qword [rsp + 0x78]
dec r13d
dec r12d
cmp r13d, edx
ja 0x180057b7f
mov eax, dword [rsp + 0x70]
mov rbx, qword [rsp + 0x80]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
cmp qword [r14 + 0x18], 0x10
mov rdi, r14
jb case.0x180057ba0.2
mov rdi, qword [r14]
jmp case.0x180057ba0.2
cmp qword [r9 + 0x18], 0x10
mov rbx, r9
jb 0x180057c18
mov rbx, qword [r9]
mov rax, r10
mul qword [r14 + 0x10]
shr rdx, 1
lea rax, [rdx + rdx*2]
mov edx, dword [rsp + 0x70]
mov qword [rsp + 0x20], rax
jmp case.0x180057ba0.2
xor eax, eax
mov dword [rsp + 0x88], eax
jmp case.0x180057ba0.2
movzx eax, word [r9]
mov word [r14 + 0x2c], ax
jmp case.0x180057ba0.2
mov rax, qword [rsp + 0x20]
xor r9d, r9d
test rax, rax
je 0x180057cff
lea rcx, [rax - 1]
mov rax, r10
mul rcx
mov r8, rdx
shr r8, 1
inc r8
lea r9, [r8 + r8*2]
nop
mov eax, 0xa5
cmp eax, 0xa5
je 0x180057cce
cmp eax, 0x168f
je 0x180057cba
cmp eax, 0x2c79
je 0x180057ca7
cmp eax, 0x4263
je 0x180057c9e
cmp eax, 0x584d
jne 0x180057ce5
add rdi, 3
jmp 0x180057ce5
movzx edx, byte [rdi + 2]
and edx, 0x3f
jmp 0x180057cd5
movzx edx, byte [rdi + 1]
movzx ecx, byte [rdi + 2]
and edx, 0xf
shr ecx, 6
lea edx, [rcx + rdx*4]
jmp 0x180057cd5
movzx ecx, byte [rdi]
movzx edx, byte [rdi + 1]
and ecx, 3
shl ecx, 4
shr edx, 4
add edx, ecx
jmp 0x180057cd5
movzx edx, byte [rdi]
shr rdx, 2
mov rcx, qword [section..data]
movzx edx, byte [rdx + rcx]
mov byte [rbx], dl
inc rbx
add eax, 0x15ea
cmp eax, 0x6d92
jbe 0x180057c75
sub r8, 1
jne 0x180057c70
mov edx, dword [rsp + 0x70]
cmp r9, qword [r14 + 0x10]
jae 0x180057bd0
mov r8d, 0xbd
nop
mov eax, r8d
sub eax, 0xbd
je 0x180057db5
sub eax, 0x4f
je 0x180057db0
sub eax, 0x4f
je 0x180057d98
sub eax, 0x4f
je 0x180057d45
cmp eax, 0x4f
jne 0x180057dca
mov byte [rbx], 0x3d
inc rbx
jmp 0x180057dca
mov ecx, ebp
mov eax, esi
and ecx, 3
shr eax, 4
shl ecx, 4
add ecx, eax
mov rax, qword [section..data]
movzx ecx, byte [rcx + rax]
lea rax, [r9 + 1]
mov byte [rbx], cl
cmp rax, qword [r14 + 0x10]
jae 0x180057d8d
mov ecx, esi
mov eax, r15d
and ecx, 0xf
shr eax, 6
lea ecx, [rax + rcx*4]
mov rax, qword [section..data]
movzx edx, byte [rcx + rax]
mov byte [rbx + 1], dl
add rbx, 2
jmp 0x180057dca
mov dl, 0x3d
mov byte [rbx + 1], dl
add rbx, 2
jmp 0x180057dca
mov rax, qword [section..data]
mov ecx, ebp
shr rcx, 2
movzx ecx, byte [rcx + rax]
mov byte [rbx], cl
inc rbx
jmp 0x180057dca
xor r15d, r15d
jmp 0x180057dca
movzx ebp, byte [rdi]
lea rax, [r9 + 1]
cmp rax, qword [r14 + 0x10]
jae 0x180057dc8
movzx esi, byte [rdi + 1]
jmp 0x180057dca
xor esi, esi
add r8d, 0x4f
cmp r8d, 0x248
jb 0x180057d10
mov edx, dword [rsp + 0x70]
jmp 0x180057bd0
movzx eax, word [r14]
test word [r9], ax
mov eax, 0
setne al
mov dword [rsp + 0x88], eax
jmp case.0x180057ba0.2
mov eax, 0xe2
cmp eax, 0xe2
je 0x180057e1d
add eax, 0x2eca
cmp eax, 0x2eca
jbe 0x180057e05
jmp case.0x180057ba0.2
mov eax, dword [rsp + 0x88]
jmp 0x180057be4