Function at 0x40b3ff
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, str._usr_lib_nim_system_strmantle.nim
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_1
mov qword [rbp - 0x60], 0x33
lea rax, str._usr_lib_nim_system_strmantle.nim
mov qword [rbp - 0x58], rax
mov rax, qword [rbp + 0x10]
mov rax, qword [rax]
test rax, rax
je 0x40b46d
mov rax, qword [rbp + 0x10]
mov rax, qword [rax]
mov rax, qword [rax]
jmp 0x40b472
mov eax, 0
mov qword [rbp - 0x20], rax
mov qword [rbp - 0x60], 0x34
lea rax, str._usr_lib_nim_system_strmantle.nim
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, str._usr_lib_nim_system_strmantle.nim
mov qword [rbp - 0x58], rax
mov qword [rbp - 8], 0
mov qword [rbp - 0x60], 0x36
lea rax, str._usr_lib_nim_system_strmantle.nim
mov qword [rbp - 0x58], rax
mov rax, qword [rbp + 0x18]
mov qword [rbp - 0x10], rax
mov qword [rbp - 0x60], 0x37
lea rax, str._usr_lib_nim_system_strmantle.nim
mov qword [rbp - 0x58], rax
mov qword [rbp - 0x60], 0x38
lea rax, str._usr_lib_nim_system_strmantle.nim
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, str._usr_lib_nim_system_strmantle.nim
mov qword [rbp - 0x58], rax
mov rax, qword [rbp - 0x28]
imul rdx, rax, 0xfffffffffffffff6
mov rax, qword [rbp - 0x10]
add rax, rdx
test rax, rax
jle 0x40b579
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 0x40b598
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, str._usr_lib_nim_system_strmantle.nim
mov qword [rbp - 0x58], rax
add qword [rbp - 8], 1
mov qword [rbp - 0x60], 0x3b
lea rax, str._usr_lib_nim_system_strmantle.nim
mov qword [rbp - 0x58], rax
mov rax, qword [rbp - 0x28]
mov qword [rbp - 0x10], rax
mov qword [rbp - 0x60], 0x3c
lea rax, str._usr_lib_nim_system_strmantle.nim
mov qword [rbp - 0x58], rax
cmp qword [rbp - 0x10], 0
je 0x40b602
nop
jmp 0x40b4f5
nop
mov qword [rbp - 0x60], 0x3d
lea rax, str._usr_lib_nim_system_strmantle.nim
mov qword [rbp - 0x58], rax
cmp qword [rbp + 0x18], 0
jns 0x40b661
mov qword [rbp - 0x60], 0x3e
lea rax, str._usr_lib_nim_system_strmantle.nim
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, str._usr_lib_nim_system_strmantle.nim
mov qword [rbp - 0x58], rax
add qword [rbp - 8], 1
jmp 0x40b662
nop
mov qword [rbp - 0x60], 0x40
lea rax, str._usr_lib_nim_system_strmantle.nim
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, str._usr_lib_nim_system_strmantle.nim
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], 0xa96
lea rax, [0x00412cf1]
mov qword [rbp - 0x58], rax
mov qword [rbp - 0x18], 0
mov qword [rbp - 0x60], 0xa97
lea rax, [0x00412cf1]
mov qword [rbp - 0x58], rax
mov rax, qword [rbp - 0x18]
cmp rax, qword [rbp - 0x38]
jg 0x40b7d4
mov qword [rbp - 0x60], 0x42
lea rax, str._usr_lib_nim_system_strmantle.nim
mov qword [rbp - 0x58], rax
mov rax, qword [rbp - 0x18]
mov qword [rbp - 0x30], rax
mov qword [rbp - 0x60], 0x43
lea rax, str._usr_lib_nim_system_strmantle.nim
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], 0xa99
lea rax, [0x00412cf1]
mov qword [rbp - 0x58], rax
add qword [rbp - 0x18], 1
jmp 0x40b705
nop
call sym.popFrame_1
nop
add rsp, 0x90
pop rbp
ret