Function at 0x180081e40
Capabilities:
Encode data using base64

Disassembly:
mov qword [rsp + 0x18], r8
push rdi
push r13
push r14
sub rsp, 0x70
mov eax, dword [0x18016c350]
mov r10, r8
mov r13d, edx
mov r14, rcx
test al, 1
jne 0x180081e6a
or eax, 1
mov dword [0x18016c350], eax
mov qword [rsp + 0x90], rbx
lea edi, [rdx - 0xe]
mov qword [rsp + 0x68], rbp
lea rdx, [0x180000000]
mov qword [rsp + 0x60], rsi
mov qword [rsp + 0x58], r12
mov qword [rsp + 0x50], r15
cmp r13d, edi
jbe 0x1800820a0
lea ebx, [r13 - 0x69]
mov esi, 0x6665
mov ebp, 0x6968
mov r15d, 0x4a49
mov r12d, 0x5352
cmp ebx, 0x1d
ja case.0x180081ec6.2
mov ecx, dword [rdx + rbx*4 + 0x824f8]
add rcx, rdx
jmp rcx
mov byte [0x18016c31e], 0
jmp case.0x180081ec6.2
mov word [0x18016c31e], si
mov byte [0x18016c320], 0x67
jmp case.0x180081ec6.2
movzx eax, word [0x180148b2b]
mov word [0x18016c31b], ax
movzx eax, byte [0x180148b2d]
mov byte [0x18016c31d], al
jmp case.0x180081ec6.2
mov word [0x18016c308], r15w
lea rdx, [0x180148b71]
mov byte [0x18016c30a], 0
mov r8d, 4
lea rcx, [0x18016c300]
call fcn.1800b10a0
lea rdx, [0x180000000]
jmp case.0x180081ec6.2
mov rax, qword [r14]
lea r9, [rsp + 0xa8]
xor r8d, r8d
mov qword [rsp + 0xa8], rax
mov edx, 0xfd
mov qword [rsp + 0x20], 0
xor ecx, ecx
call fcn.18000bf80
test eax, eax
jne 0x1800824cf
mov rax, qword [r14]
lea r9, [rsp + 0x38]
mov qword [rsp + 0x40], rax
lea rdx, [rsp + 0x40]
lea rax, [rsp + 0x30]
mov dword [rsp + 0x30], 1
xor r8d, r8d
mov qword [rsp + 0x20], rax
mov ecx, 0x9b
mov dword [rsp + 0x38], 1
call fcn.18004ac10
mov dword [rsp + 0xa8], eax
lea rdx, [0x180000000]
jmp case.0x180081ec6.2
mov r8d, 3
mov word [0x18016c311], r12w
lea rdx, [0x180148ba3]
mov byte [0x18016c313], 0
lea rcx, [0x18016c313]
call fcn.1800b12e0
lea rdx, [0x180000000]
jmp case.0x180081ec6.2
mov byte [0x18016c323], 0
jmp case.0x180081ec6.2
mov word [0x18016c321], bp
jmp case.0x180081ec6.2
mov r8d, 4
lea rdx, str.ABCDefghijklmnopqrstuvwxyz0123456789_
lea rcx, [0x18016c300]
call fcn.1800b12e0
lea rdx, [0x180148c0c]
mov byte [0x18016c304], 0
jmp 0x180081f1d
mov r8d, 3
lea rdx, [0x180148c52]
lea rcx, [0x18016c30e]
call fcn.1800b12e0
lea rdx, [0x180000000]
mov byte [0x18016c311], 0
jmp case.0x180081ec6.2
mov r8d, 5
mov byte [0x18016c316], 0
lea rdx, [0x180148c76]
lea rcx, [0x18016c316]
call fcn.1800b12e0
lea rdx, [0x180000000]
jmp case.0x180081ec6.2
mov byte [0x18016c321], 0
dec ebx
lea eax, [rbx + 0x69]
cmp eax, edi
ja 0x180081eb3
mov r10, qword [rsp + 0xa0]
lea r9d, [r13 + 0x28a]
mov dword [rsp + 0x98], r9d
cmp r13d, r9d
jae case.0x180081ec6.0
mov r15, qword [rsp + 0xa8]
mov ecx, 0x2f2b
mov rbx, qword [rsp + 0xa8]
movabs r8, 0xaaaaaaaaaaaaaaab
mov rdi, qword [rsp + 0xa8]
mov ebp, dword [rsp + 0x98]
mov esi, dword [rsp + 0x98]
mov r12d, dword [rsp + 0x98]
mov r9, qword [0x18016c348]
mov eax, dword [rsp + 0x98]
cmp r13d, 0x1b2
ja 0x180082291
je 0x18008227e
lea eax, [r13 - 0x86]
cmp eax, 0xfa
ja case.default.0x1800822b5
movzx eax, byte [rdx + rax + 0x8258c]
mov ecx, dword [rdx + rax*4 + 0x82570]
add rcx, rdx
jmp rcx
movzx eax, byte [rsp + 0x98]
nop dword [rax]
nop dword [rax + rax]
mov ebx, 0x88
mov ecx, ebx
sub ecx, 0x88
je 0x180082178
cmp ecx, 0x3b
jne 0x1800821a2
cmp al, 2
je 0x1800821af
test al, al
jne 0x1800821a2
mov byte [rsp + 0xa8], al
jmp case.0x180081ec6.0
mov rax, qword [r14]
lea r8, [rsp + 0x40]
lea rdx, [rsp + 0x98]
mov qword [rsp + 0x40], rax
mov ecx, 0x9b
mov dword [rsp + 0x98], 2
call fcn.18007ec50
add ebx, 0x3b
cmp ebx, 0xfe
jb 0x180082155
jmp 0x180082150
mov byte [rsp + 0xa8], 1
jmp case.0x180081ec6.0
movzx eax, word [0x180148cd1]
mov word [0x18016c328], ax
movzx eax, byte [0x180148cd3]
mov byte [0x18016c32a], al
jmp case.0x1800822b5.490
mov byte [0x18016c330], 0x77
mov dword [0x18016c331], 0x307a7978
jmp case.0x1800822b5.490
mov r8d, 5
mov byte [0x18016c339], 0
lea rdx, [0x180148ce5]
lea rcx, [0x18016c339]
call fcn.1800b12e0
mov r9, qword [0x18016c348]
movabs r8, 0xaaaaaaaaaaaaaaab
jmp case.0x1800822b5.490
mov dword [0x18016c335], 0x34333231
jmp case.0x1800822b5.490
mov r8d, 5
mov byte [0x18016c32b], 0
lea rdx, [0x180148d52]
lea rcx, [0x18016c300]
call fcn.1800b10a0
jmp 0x180082212
mov eax, dword [str.jklmnOPQRSTN]
mov dword [0x18016c323], eax
movzx eax, byte [0x180148d64]
mov byte [0x18016c327], al
mov byte [0x18016c328], 0
jmp case.0x1800822b5.490
mov word [0x18016c33e], cx
mov byte [0x18016c340], 0
jmp 0x1800824ac
lea eax, [r13 - 0x1e4]
cmp eax, 0xfa
ja case.default.0x1800822b5
movzx eax, byte [rdx + rax + 0x826a4]
mov ecx, dword [rdx + rax*4 + 0x82688]
add rcx, rdx
jmp rcx
mov rax, r8
xor r15d, r15d
mul qword [r14 + 0x10]
shr rdx, 1
lea rcx, [rdx + rdx*2]
test rcx, rcx
je case.0x1800822b5.490
dec rcx
mov rax, r8
mul rcx
shr rdx, 1
inc rdx
lea r15, [rdx + rdx*2]
nop dword [rax]
nop dword [rax + rax]
mov r8d, 0xc6
mov eax, r8d
sub eax, 0xc6
je 0x18008231c
cmp eax, 1
jne 0x180082361
movzx eax, byte [rdi + 2]
and eax, 0x3f
movzx eax, byte [rax + r9]
mov byte [rbx], al
inc rbx
add rdi, 3
jmp 0x180082361
movzx eax, byte [rdi]
shr rax, 2
movzx eax, byte [rax + r9]
mov byte [rbx], al
movzx ecx, byte [rdi]
movzx eax, byte [rdi + 1]
and ecx, 3
shr eax, 4
shl ecx, 4
add ecx, eax
movzx ecx, byte [rcx + r9]
mov byte [rbx + 1], cl
movzx eax, byte [rdi + 2]
movzx ecx, byte [rdi + 1]
shr eax, 6
and ecx, 0xf
lea eax, [rax + rcx*4]
movzx eax, byte [rax + r9]
mov byte [rbx + 2], al
add rbx, 3
inc r8d
cmp r8d, 0xc8
jb 0x1800822f6
sub rdx, 1
jne 0x1800822f0
movabs r8, 0xaaaaaaaaaaaaaaab
jmp case.0x1800822b5.490
mov rcx, qword [r14 + 0x10]
mov rax, r8
add rcx, 2
mul rcx
mov rax, rdx
shr rax, 1
shl rax, 2
mov qword [rsp + 0x48], rax
jmp case.0x1800822b5.490
cmp qword [r14 + 0x18], 0x10
mov rdi, r14
jb 0x1800823b5
mov rdi, qword [r14]
cmp qword [r10 + 0x18], 0x10
mov rbx, r10
jb case.0x1800822b5.490
mov rbx, qword [r10]
jmp case.0x1800822b5.490
cmp r15, qword [r14 + 0x10]
jae case.0x1800822b5.490
mov edx, 0x3a
nop word [rax + rax]
mov eax, edx
sub eax, 0x3a
je 0x18008245b
sub eax, 1
je 0x180082456
sub eax, 1
je 0x18008242c
cmp eax, 1
jne 0x180082470
lea rax, [r15 + 1]
cmp rax, qword [r14 + 0x10]
jae 0x18008241f
mov eax, r12d
mov ecx, esi
shr eax, 6
and ecx, 0xf
lea eax, [rax + rcx*4]
movzx eax, byte [rax + r9]
mov byte [rbx], al
mov byte [rbx + 1], 0x3d
add rbx, 2
jmp 0x180082470
mov al, 0x3d
mov byte [rbx], al
mov byte [rbx + 1], al
add rbx, 2
jmp 0x180082470
mov ecx, ebp
mov eax, ebp
shr rax, 2
and ecx, 3
shl ecx, 4
movzx eax, byte [rax + r9]
mov byte [rbx], al
mov eax, esi
shr eax, 4
add ecx, eax
movzx ecx, byte [rcx + r9]
mov byte [rbx + 1], cl
add rbx, 2
jmp 0x180082470
xor r12d, r12d
jmp 0x180082470
movzx ebp, byte [rdi]
lea rax, [r15 + 1]
cmp rax, qword [r14 + 0x10]
jae 0x18008246e
movzx esi, byte [rdi + 1]
jmp 0x180082470
xor esi, esi
inc edx
cmp edx, 0x3e
jb 0x1800823e0
jmp case.0x1800822b5.490
mov rdx, qword [rsp + 0x48]
xor r8d, r8d
mov rcx, r10
call fcn.1800a2d10
jmp 0x180082212
lea r9, [0x18016c300]
mov qword [0x18016c348], r9
mov ecx, 0x2f2b
mov eax, dword [rsp + 0x98]
mov r10, qword [rsp + 0xa0]
lea rdx, [0x180000000]
add r13d, 0x32
cmp r13d, eax
jb 0x180082103
mov eax, dword [rsp + 0xa8]
mov r15, qword [rsp + 0x50]
mov r12, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x68]
mov rbx, qword [rsp + 0x90]
add rsp, 0x70
pop r14
pop r13
pop rdi
ret