Function at 0x4106ae
Capabilities:
Encode data using base64

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x90
mov qword [rbp + 0x10], rcx
mov qword [rbp + 0x18], rdx
lea rax, str.addInt
mov qword [rbp - 0x68], rax
lea rax, [0x00460a48]
mov qword [rbp - 0x58], rax
mov qword [rbp - 0x60], 0
mov word [rbp - 0x50], 0
lea rax, [rbp - 0x70]
mov rcx, rax
call sym.nimFrame_3
mov qword [rbp - 0x60], 0x33
lea rax, [0x00460a48]
mov qword [rbp - 0x58], rax
mov rax, qword [rbp + 0x10]
mov rax, qword [rax]
test rax, rax
je 0x41071c
mov rax, qword [rbp + 0x10]
mov rax, qword [rax]
mov rax, qword [rax]
jmp 0x410721
mov eax, 0
mov qword [rbp - 0x20], rax
mov qword [rbp - 0x60], 0x34
lea rax, [0x00460a48]
mov qword [rbp - 0x58], rax
mov rax, qword [rbp - 0x20]
lea rdx, [rax + 0x20]
mov rax, qword [rbp + 0x10]
mov rax, qword [rax]
mov rcx, rax
call sym.setLengthStr
mov rdx, rax
mov rcx, qword [rbp + 0x10]
call sym.unsureAsgnRef
mov qword [rbp - 0x60], 0x35
lea rax, [0x00460a48]
mov qword [rbp - 0x58], rax
mov qword [rbp - 8], 0
mov qword [rbp - 0x60], 0x36
lea rax, [0x00460a48]
mov qword [rbp - 0x58], rax
mov rax, qword [rbp + 0x18]
mov qword [rbp - 0x10], rax
mov qword [rbp - 0x60], 0x37
lea rax, [0x00460a48]
mov qword [rbp - 0x58], rax
mov qword [rbp - 0x60], 0x38
lea rax, [0x00460a48]
mov qword [rbp - 0x58], rax
mov rcx, qword [rbp - 0x10]
movabs rdx, 0x6666666666666667
mov rax, rcx
imul rdx
sar rdx, 2
mov rax, rcx
sar rax, 0x3f
sub rdx, rax
mov rax, rdx
mov qword [rbp - 0x28], rax
mov qword [rbp - 0x60], 0x39
lea rax, [0x00460a48]
mov qword [rbp - 0x58], rax
mov rdx, qword [rbp - 0x28]
mov eax, 0
sub rax, rdx
shl rax, 2
sub rax, rdx
add rax, rax
mov rdx, rax
mov rax, qword [rbp - 0x10]
add rax, rdx
test rax, rax
jle 0x410839
mov rax, qword [rbp - 0x10]
mov ecx, eax
mov rax, qword [rbp - 0x28]
mov edx, eax
mov eax, edx
shl eax, 2
add eax, edx
add eax, eax
sub ecx, eax
mov eax, ecx
add eax, 0x30
mov r8d, eax
jmp 0x410858
mov rax, qword [rbp - 0x28]
mov edx, eax
mov eax, edx
shl eax, 2
add eax, edx
add eax, eax
mov edx, eax
mov rax, qword [rbp - 0x10]
sub edx, eax
mov eax, edx
add eax, 0x30
mov r8d, eax
mov rax, qword [rbp + 0x10]
mov rax, qword [rax]
mov rcx, qword [rbp - 0x20]
mov rdx, qword [rbp - 8]
add rdx, rcx
mov byte [rax + rdx + 0x10], r8b
mov qword [rbp - 0x60], 0x3a
lea rax, [0x00460a48]
mov qword [rbp - 0x58], rax
add qword [rbp - 8], 1
mov qword [rbp - 0x60], 0x3b
lea rax, [0x00460a48]
mov qword [rbp - 0x58], rax
mov rax, qword [rbp - 0x28]
mov qword [rbp - 0x10], rax
mov qword [rbp - 0x60], 0x3c
lea rax, [0x00460a48]
mov qword [rbp - 0x58], rax
cmp qword [rbp - 0x10], 0
je 0x4108c2
nop
jmp 0x4107a4
nop
mov qword [rbp - 0x60], 0x3d
lea rax, [0x00460a48]
mov qword [rbp - 0x58], rax
cmp qword [rbp + 0x18], 0
jns 0x410921
mov qword [rbp - 0x60], 0x3e
lea rax, [0x00460a48]
mov qword [rbp - 0x58], rax
mov rax, qword [rbp + 0x10]
mov rax, qword [rax]
mov rcx, qword [rbp - 0x20]
mov rdx, qword [rbp - 8]
add rdx, rcx
mov byte [rax + rdx + 0x10], 0x2d
mov qword [rbp - 0x60], 0x3f
lea rax, [0x00460a48]
mov qword [rbp - 0x58], rax
add qword [rbp - 8], 1
jmp 0x410922
nop
mov qword [rbp - 0x60], 0x40
lea rax, [0x00460a48]
mov qword [rbp - 0x58], rax
mov rdx, qword [rbp - 0x20]
mov rax, qword [rbp - 8]
add rdx, rax
mov rax, qword [rbp + 0x10]
mov rax, qword [rax]
mov rcx, rax
call sym.setLengthStr
mov rdx, rax
mov rcx, qword [rbp + 0x10]
call sym.unsureAsgnRef
mov qword [rbp - 0x30], 0
mov qword [rbp - 0x38], 0
mov qword [rbp - 0x60], 0x42
lea rax, [0x00460a48]
mov qword [rbp - 0x58], rax
mov rax, qword [rbp - 8]
mov rdx, rax
shr rdx, 0x3f
add rax, rdx
sar rax, 1
sub rax, 1
mov qword [rbp - 0x38], rax
mov qword [rbp - 0x60], 0x4d
lea rax, [0x004608c8]
mov qword [rbp - 0x58], rax
mov qword [rbp - 0x18], 0
mov qword [rbp - 0x60], 0x4e
lea rax, [0x004608c8]
mov qword [rbp - 0x58], rax
mov rax, qword [rbp - 0x18]
cmp rax, qword [rbp - 0x38]
jg 0x410a94
mov qword [rbp - 0x60], 0x42
lea rax, [0x00460a48]
mov qword [rbp - 0x58], rax
mov rax, qword [rbp - 0x18]
mov qword [rbp - 0x30], rax
mov qword [rbp - 0x60], 0x43
lea rax, [0x00460a48]
mov qword [rbp - 0x58], rax
mov byte [rbp - 0x39], 0
mov rax, qword [rbp + 0x10]
mov rax, qword [rax]
mov rcx, qword [rbp - 0x20]
mov rdx, qword [rbp - 0x30]
add rdx, rcx
movzx eax, byte [rax + rdx + 0x10]
mov byte [rbp - 0x39], al
mov rax, qword [rbp + 0x10]
mov rdx, qword [rax]
mov rcx, qword [rbp - 0x20]
mov rax, qword [rbp - 8]
add rax, rcx
sub rax, qword [rbp - 0x30]
lea r8, [rax - 1]
mov rax, qword [rbp + 0x10]
mov rax, qword [rax]
mov r9, qword [rbp - 0x20]
mov rcx, qword [rbp - 0x30]
add rcx, r9
movzx edx, byte [rdx + r8 + 0x10]
mov byte [rax + rcx + 0x10], dl
mov rax, qword [rbp + 0x10]
mov rax, qword [rax]
mov rcx, qword [rbp - 0x20]
mov rdx, qword [rbp - 8]
add rdx, rcx
sub rdx, qword [rbp - 0x30]
lea rcx, [rdx - 1]
movzx edx, byte [rbp - 0x39]
mov byte [rax + rcx + 0x10], dl
mov qword [rbp - 0x60], 0x50
lea rax, [0x004608c8]
mov qword [rbp - 0x58], rax
add qword [rbp - 0x18], 1
jmp 0x4109c5
nop
call sym.popFrame_3
nop
add rsp, 0x90
pop rbp
ret