Function at 0x140060e41
Capabilities:
Encode data using base64

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x50
mov qword [rbp + 0x10], rcx
mov dword [rbp + 0x18], edx
mov qword [rbp + 0x20], r8
mov qword [rbp + 0x28], r9
mov dword [rbp - 4], 0
mov dword [rbp - 0x24], 0
mov eax, dword [rbp + 0x18]
mov edx, dword [rbp + 0x18]
add edx, 0x3f
shr edx, 6
sub eax, edx
mov dword [rbp - 0x10], eax
mov byte [rbp - 0x11], 0x7a
mov eax, dword [rbp - 0x10]
lea edx, [rax + 1]
mov eax, edx
add eax, eax
add eax, edx
shr eax, 2
mov dword [rbp - 0x10], eax
mov rax, qword [rbp + 0x28]
mov eax, dword [rax]
cmp eax, dword [rbp - 0x10]
jae 0x1400611a7
mov eax, 0xffffff53
jmp 0x1400611e9
mov dword [rbp - 8], 0
mov dword [rbp - 0xc], 0
lea rcx, [rbp - 0x24]
lea rdx, [rbp + 0x18]
mov rax, qword [rbp + 0x10]
mov r8, rcx
mov rcx, rax
call fcn.140060d1a
mov dword [rbp - 0x18], eax
cmp dword [rbp - 0x18], 0
je 0x140060ee9
cmp dword [rbp - 0x18], 0xffffff7c
je 0x1400611b5
mov eax, dword [rbp - 0x18]
jmp 0x1400611e9
mov eax, dword [rbp - 0x24]
lea edx, [rax + 1]
mov dword [rbp - 0x24], edx
mov edx, eax
mov rax, qword [rbp + 0x10]
add rax, rdx
movzx eax, byte [rax]
mov byte [rbp - 0x19], al
cmp byte [rbp - 0x19], 0
je 0x1400611b8
mov eax, dword [rbp + 0x18]
sub eax, 1
mov dword [rbp + 0x18], eax
lea rcx, [rbp - 0x24]
lea rdx, [rbp + 0x18]
mov rax, qword [rbp + 0x10]
mov r8, rcx
mov rcx, rax
call fcn.140060d1a
mov dword [rbp - 0x18], eax
cmp dword [rbp - 0x18], 0
je 0x140060f3c
mov eax, dword [rbp - 0x18]
jmp 0x1400611e9
mov eax, dword [rbp - 0x24]
lea edx, [rax + 1]
mov dword [rbp - 0x24], edx
mov edx, eax
mov rax, qword [rbp + 0x10]
add rax, rdx
movzx eax, byte [rax]
mov byte [rbp - 0x1a], al
mov eax, dword [rbp + 0x18]
sub eax, 1
mov dword [rbp + 0x18], eax
lea rcx, [rbp - 0x24]
lea rdx, [rbp + 0x18]
mov rax, qword [rbp + 0x10]
mov r8, rcx
mov rcx, rax
call fcn.140060d1a
mov dword [rbp - 0x18], eax
cmp dword [rbp - 0x18], 0
je 0x140060f85
mov eax, dword [rbp - 0x18]
jmp 0x1400611e9
mov eax, dword [rbp - 0x24]
lea edx, [rax + 1]
mov dword [rbp - 0x24], edx
mov edx, eax
mov rax, qword [rbp + 0x10]
add rax, rdx
movzx eax, byte [rax]
mov byte [rbp - 0x1b], al
mov eax, dword [rbp + 0x18]
sub eax, 1
mov dword [rbp + 0x18], eax
lea rcx, [rbp - 0x24]
lea rdx, [rbp + 0x18]
mov rax, qword [rbp + 0x10]
mov r8, rcx
mov rcx, rax
call fcn.140060d1a
mov dword [rbp - 0x18], eax
cmp dword [rbp - 0x18], 0
je 0x140060fce
mov eax, dword [rbp - 0x18]
jmp 0x1400611e9
mov eax, dword [rbp - 0x24]
lea edx, [rax + 1]
mov dword [rbp - 0x24], edx
mov edx, eax
mov rax, qword [rbp + 0x10]
add rax, rdx
movzx eax, byte [rax]
mov byte [rbp - 0x1c], al
mov eax, dword [rbp + 0x18]
sub eax, 1
mov dword [rbp + 0x18], eax
cmp byte [rbp - 0x1b], 0x3d
jne 0x140060ffc
mov dword [rbp - 8], 1
cmp byte [rbp - 0x1c], 0x3d
jne 0x140061009
mov dword [rbp - 0xc], 1
cmp dword [rbp - 8], 0
je 0x14006101f
cmp dword [rbp - 0xc], 0
jne 0x14006101f
mov eax, 0xffffff66
jmp 0x1400611e9
cmp byte [rbp - 0x19], 0x2a
jbe 0x140061037
cmp byte [rbp - 0x1a], 0x2a
jbe 0x140061037
cmp byte [rbp - 0x1b], 0x2a
jbe 0x140061037
cmp byte [rbp - 0x1c], 0x2a
ja 0x140061041
mov eax, 0xffffff66
jmp 0x1400611e9
movzx eax, byte [rbp - 0x19]
cmp byte [rbp - 0x11], al
jb 0x140061065
movzx eax, byte [rbp - 0x1a]
cmp byte [rbp - 0x11], al
jb 0x140061065
movzx eax, byte [rbp - 0x1b]
cmp byte [rbp - 0x11], al
jb 0x140061065
movzx eax, byte [rbp - 0x1c]
cmp byte [rbp - 0x11], al
jae 0x14006106f
mov eax, 0xffffff66
jmp 0x1400611e9
cmp dword [rbp - 8], 0
sete al
movzx edx, al
mov eax, dword [rbp - 4]
add edx, eax
cmp dword [rbp - 0xc], 0
sete al
movzx eax, al
add eax, edx
lea edx, [rax + 1]
mov rax, qword [rbp + 0x28]
mov eax, dword [rax]
cmp eax, edx
jae 0x1400610a1
mov eax, 0xffffff53
jmp 0x1400611e9
movzx eax, byte [rbp - 0x19]
mov ecx, eax
call fcn.140060cb0
mov byte [rbp - 0x19], al
movzx eax, byte [rbp - 0x1a]
mov ecx, eax
call fcn.140060cb0
mov byte [rbp - 0x1a], al
cmp byte [rbp - 0x1b], 0x3d
je 0x1400610d0
movzx eax, byte [rbp - 0x1b]
mov ecx, eax
call fcn.140060cb0
jmp 0x1400610d5
mov eax, 0
mov byte [rbp - 0x1b], al
cmp byte [rbp - 0x1c], 0x3d
je 0x1400610eb
movzx eax, byte [rbp - 0x1c]
mov ecx, eax
call fcn.140060cb0
jmp 0x1400610f0
mov eax, 0
mov byte [rbp - 0x1c], al
cmp byte [rbp - 0x19], 0xff
je 0x14006110b
cmp byte [rbp - 0x1a], 0xff
je 0x14006110b
cmp byte [rbp - 0x1b], 0xff
je 0x14006110b
cmp byte [rbp - 0x1c], 0xff
jne 0x140061115
mov eax, 0xffffff66
jmp 0x1400611e9
movzx eax, byte [rbp - 0x19]
lea edx, [rax*4]
movzx eax, byte [rbp - 0x1a]
shr al, 4
or eax, edx
mov byte [rbp - 0x1d], al
movzx eax, byte [rbp - 0x1a]
shl eax, 4
mov edx, eax
movzx eax, byte [rbp - 0x1b]
shr al, 2
or eax, edx
mov byte [rbp - 0x1e], al
movzx eax, byte [rbp - 0x1b]
shl eax, 6
mov edx, eax
movzx eax, byte [rbp - 0x1c]
or eax, edx
mov byte [rbp - 0x1f], al
mov eax, dword [rbp - 4]
lea edx, [rax + 1]
mov dword [rbp - 4], edx
mov edx, eax
mov rax, qword [rbp + 0x20]
add rdx, rax
movzx eax, byte [rbp - 0x1d]
mov byte [rdx], al
cmp dword [rbp - 8], 0
jne 0x140061189
mov eax, dword [rbp - 4]
lea edx, [rax + 1]
mov dword [rbp - 4], edx
mov edx, eax
mov rax, qword [rbp + 0x20]
add rdx, rax
movzx eax, byte [rbp - 0x1e]
mov byte [rdx], al
cmp dword [rbp - 0xc], 0
jne 0x1400611bb
mov eax, dword [rbp - 4]
lea edx, [rax + 1]
mov dword [rbp - 4], edx
mov edx, eax
mov rax, qword [rbp + 0x20]
add rdx, rax
movzx eax, byte [rbp - 0x1f]
mov byte [rdx], al
mov eax, dword [rbp + 0x18]
cmp eax, 3
ja 0x140060ea6
jmp 0x1400611bc
nop
jmp 0x1400611bc
nop
jmp 0x1400611bc
nop
cmp qword [rbp + 0x20], 0
je 0x1400611db
mov rax, qword [rbp + 0x28]
mov eax, dword [rax]
cmp dword [rbp - 4], eax
jae 0x1400611db
mov edx, dword [rbp - 4]
mov rax, qword [rbp + 0x20]
add rax, rdx
mov byte [rax], 0
mov rax, qword [rbp + 0x28]
mov edx, dword [rbp - 4]
mov dword [rax], edx
mov eax, 0
add rsp, 0x50
pop rbp
ret