Function at 0x140016b65
Capabilities:
Encode data using base64

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0xa0
mov qword [rbp + 0x10], rcx
mov qword [rbp + 0x18], rdx
lea rax, str.reprEnum
mov qword [rbp - 0x78], rax
lea rax, str._usr_lib_nim_lib_system_repr.nim
mov qword [rbp - 0x68], rax
mov qword [rbp - 0x70], 0
mov word [rbp - 0x60], 0
lea rax, [rbp - 0x80]
mov rcx, rax
call sym.nimFrame_5
mov qword [rbp - 8], 0
mov qword [rbp - 0x70], 0x3d
lea rax, str._usr_lib_nim_lib_system_repr.nim
mov qword [rbp - 0x68], rax
mov rax, qword [rbp + 0x18]
mov rax, qword [rax + 0x20]
mov qword [rbp - 0x20], rax
mov qword [rbp - 0x70], 0x3e
lea rax, str._usr_lib_nim_lib_system_repr.nim
mov qword [rbp - 0x68], rax
mov rax, qword [rbp + 0x18]
movzx eax, byte [rax + 0x11]
movzx eax, al
and eax, 4
test eax, eax
jne 0x140016cc2
mov qword [rbp - 0x70], 0x3f
lea rax, str._usr_lib_nim_lib_system_repr.nim
mov qword [rbp - 0x68], rax
mov rax, qword [rbp - 0x20]
mov rax, qword [rax + 0x28]
mov rax, qword [rax]
mov rax, qword [rax + 8]
mov rdx, qword [rbp + 0x10]
sub rdx, rax
mov qword [rbp - 0x28], rdx
mov qword [rbp - 0x70], 0x40
lea rax, str._usr_lib_nim_lib_system_repr.nim
mov qword [rbp - 0x68], rax
mov byte [rbp - 9], 0
mov rax, qword [rbp - 0x28]
not rax
shr rax, 0x3f
mov byte [rbp - 9], al
movzx eax, byte [rbp - 9]
xor eax, 1
test al, al
jne 0x140016c72
mov rax, qword [rbp + 0x18]
mov rax, qword [rax + 0x20]
mov rdx, qword [rax + 0x20]
mov rax, qword [rbp - 0x28]
mov rcx, rax
call sym.ltpercent___system_1005_2
mov byte [rbp - 9], al
jmp 0x140016c73
nop
movzx eax, byte [rbp - 9]
xor eax, 1
test al, al
jne 0x140016cbc
mov qword [rbp - 0x70], 0x41
lea rax, str._usr_lib_nim_lib_system_repr.nim
mov qword [rbp - 0x68], rax
mov rax, qword [rbp - 0x20]
mov rax, qword [rax + 0x28]
mov rdx, qword [rbp - 0x28]
shl rdx, 3
add rax, rdx
mov rax, qword [rax]
mov rax, qword [rax + 0x18]
mov rcx, rax
call sym.cstrToNimstr
mov qword [rbp - 8], rax
jmp 0x140016e7f
nop
jmp 0x140016dfc
nop
mov qword [rbp - 0x70], 0x44
lea rax, str._usr_lib_nim_lib_system_repr.nim
mov qword [rbp - 0x68], rax
mov rax, qword [rbp - 0x20]
mov rax, qword [rax + 0x28]
mov qword [rbp - 0x30], rax
mov qword [rbp - 0x38], 0
mov qword [rbp - 0x40], 0
mov qword [rbp - 0x70], 0x45
lea rax, str._usr_lib_nim_lib_system_repr.nim
mov qword [rbp - 0x68], rax
mov rax, qword [rbp - 0x20]
mov rax, qword [rax + 0x20]
sub rax, 1
mov qword [rbp - 0x40], rax
mov qword [rbp - 0x70], 0x5a
lea rax, [0x140047650]
mov qword [rbp - 0x68], rax
mov qword [rbp - 0x18], 0
mov qword [rbp - 0x70], 0x5b
lea rax, [0x140047650]
mov qword [rbp - 0x68], rax
mov rax, qword [rbp - 0x18]
cmp rax, qword [rbp - 0x40]
jg 0x140016dfb
mov qword [rbp - 0x70], 0x45
lea rax, str._usr_lib_nim_lib_system_repr.nim
mov qword [rbp - 0x68], rax
mov rax, qword [rbp - 0x18]
mov qword [rbp - 0x38], rax
mov qword [rbp - 0x70], 0x46
lea rax, str._usr_lib_nim_lib_system_repr.nim
mov qword [rbp - 0x68], rax
mov rax, qword [rbp - 0x38]
lea rdx, [rax*8]
mov rax, qword [rbp - 0x30]
add rax, rdx
mov rax, qword [rax]
mov rax, qword [rax + 8]
cmp qword [rbp + 0x10], rax
jne 0x140016ddd
mov qword [rbp - 0x70], 0x47
lea rax, str._usr_lib_nim_lib_system_repr.nim
mov qword [rbp - 0x68], rax
mov rax, qword [rbp - 0x38]
lea rdx, [rax*8]
mov rax, qword [rbp - 0x30]
add rax, rdx
mov rax, qword [rax]
mov rax, qword [rax + 0x18]
mov rcx, rax
call sym.cstrToNimstr
mov qword [rbp - 8], rax
jmp 0x140016e7f
nop
mov qword [rbp - 0x70], 0x5d
lea rax, [0x140047650]
mov qword [rbp - 0x68], rax
add qword [rbp - 0x18], 1
jmp 0x140016d43
nop
mov qword [rbp - 0x70], 0x49
lea rax, str._usr_lib_nim_lib_system_repr.nim
mov qword [rbp - 0x68], rax
mov qword [rbp - 0x48], 0
mov qword [rbp - 0x50], 0
mov rax, qword [rbp + 0x10]
mov rcx, rax
call sym.dollar___systemZdollars_3
mov qword [rbp - 0x50], rax
cmp qword [rbp - 0x50], 0
je 0x140016e43
mov rax, qword [rbp - 0x50]
mov rax, qword [rax]
add rax, 0x10
jmp 0x140016e48
mov eax, 0x10
mov rcx, rax
call sym.rawNewString
mov qword [rbp - 0x48], rax
mov rdx, qword [rbp - 0x50]
mov rax, qword [rbp - 0x48]
mov rcx, rax
call sym.appendString_1
mov rax, qword [rbp - 0x48]
lea rdx, [0x1400470e0]
mov rcx, rax
call sym.appendString_1
mov rax, qword [rbp - 0x48]
mov qword [rbp - 8], rax
call sym.popFrame_5
mov rax, qword [rbp - 8]
add rsp, 0xa0
pop rbp
ret