Function at 0x1400b0190
Capabilities:
Encode data using base64

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x108
mov r10, qword [rdx]
test r10, r10
je 0x1400b099c
mov rax, qword [rdx + 8]
test rax, rax
je 0x1400b09b6
mov rbx, rcx
mov rcx, qword [rdx + 0x10]
test rcx, rcx
je 0x1400b09d0
add rcx, r10
jb 0x1400b09ea
mov rdi, r10
sub rdi, rax
jb 0x1400b0a04
cmp r9, 0x11
jb 0x1400b0a1e
mov rax, rcx
shr rax, 0x3d
jne 0x1400b0a38
mov eax, dword [rdx + 0x18]
mov rdx, rcx
shr rdx, 0x20
mov rsi, rcx
shl rsi, 0x20
lea r14d, [rax - 0x20]
test rdx, rdx
cmovne rsi, rcx
cmovne r14d, eax
mov rcx, rsi
shr rcx, 0x30
mov rdx, rsi
shl rdx, 0x10
lea r11d, [r14 - 0x10]
test rcx, rcx
cmovne rdx, rsi
cmovne r11d, r14d
mov rcx, rdx
shr rcx, 0x38
mov r14, rdx
shl r14, 8
lea r15d, [r11 - 8]
test rcx, rcx
cmovne r14, rdx
cmovne r15d, r11d
mov rcx, r14
shr rcx, 0x3c
mov rsi, r14
shl rsi, 4
test rcx, rcx
cmovne rsi, r14
lea ecx, [r15 - 4]
cmovne ecx, r15d
mov r14, rsi
shr r14, 0x3e
lea rdx, [rsi*4]
lea r11d, [rcx - 2]
test r14, r14
cmovne rdx, rsi
cmovne r11d, ecx
xor ecx, ecx
test rdx, rdx
setns cl
shl rdx, cl
sub r11d, ecx
mov qword [rsp + 0x78], rdi
mov word [rsp + 0x80], ax
mov ecx, eax
sub cx, r11w
js 0x1400b0a52
and ecx, 0x3f
mov rsi, 0xffffffffffffffff
shr rsi, cl
mov r14, rsi
and r14, rdi
mov qword [rsp + 0x50], r14
cmp rdi, rsi
ja 0x1400b0977
shl rdi, cl
mov qword [rsp + 0x78], r10
mov word [rsp + 0x80], ax
mov rax, rsi
and rax, r10
mov qword [rsp + 0x50], rax
cmp r10, rsi
ja 0x1400b0977
mov eax, 0xffffffa0
sub eax, r11d
cwde
lea eax, [rax + rax*4]
shl eax, 4
add eax, 0x153b0
cdqe
imul rax, rax, 0x7b4dc993
mov rsi, rax
shr rsi, 0x3f
sar rax, 0x2a
add eax, esi
cdqe
cmp eax, 0x51
jae 0x1400b0961
mov qword [rsp + 0x30], r9
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x48], r8
shl r10, cl
shl rax, 4
lea rsi, [0x140125cc8]
mov r12, qword [rax + rsi]
movzx ecx, word [rax + rsi + 0xa]
mov dword [rsp + 0x28], ecx
mov rcx, rdx
shr rcx, 0x20
mov r8, rcx
mov qword [rsp + 0x70], rcx
mov edx, edx
mov ecx, r12d
shr r12, 0x20
mov r13, r12
imul r13, rdx
mov rbx, rcx
imul rbx, r8
imul rdx, rcx
shr rdx, 0x20
mov r9d, ebx
add r9, rdx
mov r15d, r13d
add r15, r9
add r11w, word [rax + rsi + 8]
mov rax, rdi
shr rax, 0x20
mov edx, edi
mov rdi, r12
imul rdi, rax
mov rsi, r12
imul rsi, rdx
imul rax, rcx
imul rdx, rcx
shr rdx, 0x20
mov r9d, eax
add r9, rdx
mov ebp, esi
add rbp, r9
mov r9, r10
shr r9, 0x20
mov edx, r10d
mov r14, r12
imul r14, rdx
mov r10, rcx
imul r10, r9
imul rcx, rdx
shr rcx, 0x20
mov edx, r10d
add rdx, rcx
mov r8d, r14d
add r8, rdx
mov rcx, r12
imul rcx, qword [rsp + 0x70]
sub r15, 0xffffffff80000000
shr rbx, 0x20
shr r13, 0x20
shr r15, 0x20
neg r11d
sub rbp, 0xffffffff80000000
shr rax, 0x20
shr rsi, 0x20
shr rbp, 0x20
mov qword [rsp + 0xc0], r12
mov qword [rsp + 0xa0], r9
imul r12, r9
sub r8, 0xffffffff80000000
shr r10, 0x20
mov qword [rsp + 0x98], r10
add r12, r10
shr r14, 0x20
mov qword [rsp + 0xb0], rbx
mov qword [rsp + 0x88], rcx
add rcx, rbx
add rcx, r13
mov qword [rsp + 0x58], r15
lea r9, [r15 + rcx]
inc r9
and r11d, 0x3f
mov rdx, r9
mov ecx, r11d
shr rdx, cl
mov r10d, 1
shl r10, cl
mov qword [rsp + 0x90], r14
add r12, r14
shr r8, 0x20
mov qword [rsp + 0x68], r8
mov qword [rsp + 0x60], r10
lea r14, [r10 - 1]
cmp edx, 0x2710
mov qword [rsp + 0xb8], r13
jae 0x1400b04cd
cmp edx, 0x64
jae 0x1400b04f7
xor ecx, ecx
cmp edx, 0xa
setae cl
lea r13d, [rcx + rcx*8]
inc r13d
jmp 0x1400b0513
cmp edx, 0xf4240
jae 0x1400b0803
cmp edx, 0x186a0
setb cl
mov r8d, 0x2710
mov r13d, 0x186a0
cmovb r13d, r8d
xor cl, 5
jmp 0x1400b0513
cmp edx, 0x3e8
setb cl
mov r8d, 0x64
mov r13d, 0x3e8
cmovb r13d, r8d
xor cl, 3
mov r10d, dword [rsp + 0x28]
add r12, qword [rsp + 0x68]
mov qword [rsp + 0x28], r12
mov r8, r9
mov rbx, r9
and rbx, r14
movzx r12d, cl
mov ecx, r12d
sub ecx, r10d
inc ecx
mov dword [rsp + 0x3c], ecx
add rdi, rax
add rdi, rsi
add rdi, rbp
mov qword [rsp + 0xa8], rdi
sub r8, rdi
mov qword [rsp + 0xc8], r8
mov rax, r14
lea r14, [r8 + 1]
mov rbp, r14
mov qword [rsp + 0xd0], rax
and rbp, rax
neg r12
mov rdi, qword [rsp + 0x30]
neg rdi
mov esi, 1
nop dword [rax]
lea rcx, [rdi + rsi]
mov eax, edx
xor edx, edx
div r13d
cmp rcx, 1
je 0x1400b093a
add al, 0x30
mov r15d, edx
mov ecx, r11d
shl r15, cl
mov rcx, qword [rsp + 0x48]
mov byte [rcx + rsi - 1], al
lea r8, [r15 + rbx]
mov r10, r14
sub r10, r8
ja 0x1400b05f9
lea rax, [r12 + rsi]
cmp rax, 1
je 0x1400b0708
mov eax, r13d
mov ecx, 0xcccccccd
imul rax, rcx
shr rax, 0x23
inc rsi
cmp r13d, 0xa
mov r13d, eax
jae 0x1400b0580
lea rcx, str.attempt_to_divide_by_zero
lea r8, str.librarycore_src_num_flt2dec_strategygrisu.rs
mov edx, 0x19
call dbg.panic
ud2
mov edx, r13d
mov ecx, r11d
shl rdx, cl
mov r13, r9
mov rcx, qword [rsp + 0x28]
sub r13, rcx
lea r9, [r13 + 1]
dec r13
cmp r10, rdx
setae dil
cmp r13, r8
jbe 0x1400b088e
cmp r10, rdx
mov r12, qword [rsp + 0x48]
jb 0x1400b0843
mov qword [rsp + 0x30], r9
mov rdi, qword [rsp + 0xb8]
mov r8, rcx
mov r14, qword [rsp + 0xb0]
lea r9, [r14 + rdi]
add r9, qword [rsp + 0x58]
add r9, qword [rsp + 0x88]
mov r10, r9
sub r10, rcx
sub r10, r15
sub r10, rbx
sub r9, qword [rsp + 0xa8]
lea r11, [rbx + rdx]
sub r9, r11
sub r9, r15
mov rcx, qword [rsp + 0x98]
add rcx, r11
add rcx, qword [rsp + 0x90]
add rcx, qword [rsp + 0x68]
mov r8, qword [rsp + 0xa0]
sub r8, qword [rsp + 0x70]
mov rbp, qword [rsp + 0xc0]
imul rbp, r8
add rbp, rcx
sub rbp, r14
sub rbp, rdi
sub rbp, qword [rsp + 0x58]
add r9, 2
nop dword [rax]
lea r14, [r15 + r11]
cmp r14, r13
jb 0x1400b06d6
lea r8, [r15 + rbp]
cmp r10, r8
jb 0x1400b0835
dec al
mov r8, r9
sub r8, rdx
setae dil
add rbx, rdx
mov byte [r12 + rsi - 1], al
cmp r14, r13
jae 0x1400b0700
sub r10, rdx
add rbp, rdx
add r11, rdx
cmp r9, rdx
mov r9, r8
jae 0x1400b06c0
add r15, rbx
jmp 0x1400b083b
mov r8d, 1
mov r12, qword [rsp + 0x48]
mov rdx, qword [rsp + 0x30]
mov r13, r9
mov rdi, qword [rsp + 0x28]
mov r14, qword [rsp + 0xd0]
nop dword [rax + rax]
cmp rsi, rdx
jae 0x1400b0950
mov r15, r8
add rbx, rbx
lea rax, [rbx + rbx*4]
mov rbx, rax
and rbx, r14
lea rcx, [r8 + r8]
lea r8, [rcx + rcx*4]
mov r9, rbp
add r9, rbp
lea rbp, [r9 + r9*4]
mov ecx, r11d
shr rax, cl
lea ecx, [rax + 0x30]
mov byte [r12 + rsi], cl
inc rsi
mov r10, rbp
sub r10, rbx
jbe 0x1400b0730
sub r13, rdi
imul r13, r8
lea rcx, [r8 + r13]
mov rdx, qword [rsp + 0x60]
cmp r10, rdx
setae r10b
jb 0x1400b08c1
sub r13, r8
mov r8, r13
sub r8, rbx
jbe 0x1400b08c1
add al, 0x2f
lea r11, [r9 + r9*4]
sub r11, rdx
sub r11, rbx
mov rdi, rdx
sub rdi, r13
nop word cs:[rax + rax]
lea r9, [rbx + rdx]
cmp r9, r13
jb 0x1400b07d6
lea r10, [rdi + rbx]
cmp r8, r10
jb 0x1400b08be
mov r14, r11
sub r14, rdx
setae r10b
mov byte [r12 + rsi - 1], al
cmp r9, r13
jae 0x1400b08c4
dec al
sub r8, rdx
mov rbx, r9
cmp r11, rdx
mov r11, r14
jae 0x1400b07c0
jmp 0x1400b08c4
cmp edx, 0x5f5e100
mov r10d, dword [rsp + 0x28]
jae 0x1400b089d
cmp edx, 0x989680
setb cl
mov r8d, 0xf4240
mov r13d, 0x989680
cmovb r13d, r8d
xor cl, 7
jmp 0x1400b0518
add r15, rbx
mov dil, 1
mov r8, r15
mov r9, qword [rsp + 0x30]
mov rax, r9
sub rax, r8
jbe 0x1400b0865
test dil, dil
je 0x1400b0865
add rdx, r8
sub rdx, r9
jb 0x1400b091a
cmp rax, rdx
jae 0x1400b091a
cmp r8, 2
mov rax, qword [rsp + 0x40]
jb 0x1400b091f
mov rcx, qword [rsp + 0xc8]
add rcx, 0xfffffffffffffffd
cmp r8, rcx
jbe 0x1400b0909
jmp 0x1400b091f
mov r12, qword [rsp + 0x48]
mov rax, r9
sub rax, r8
ja 0x1400b084b
jmp 0x1400b0865
cmp edx, 0x3b9aca00
setb cl
mov r8d, 0x5f5e100
mov r13d, 0x3b9aca00
cmovb r13d, r8d
xor cl, 9
jmp 0x1400b0518
mov r10b, 1
mov r9, rbx
mov rdx, rcx
sub rdx, r9
jbe 0x1400b08e3
test r10b, r10b
je 0x1400b08e3
mov rax, qword [rsp + 0x60]
add rax, r9
sub rax, rcx
jb 0x1400b091a
cmp rdx, rax
jae 0x1400b091a
lea rcx, [r15*4]
lea rcx, [rcx + rcx*4]
cmp rcx, r9
mov rax, qword [rsp + 0x40]
ja 0x1400b091f
shl r15, 3
lea rcx, [r15 + r15*4]
sub rbp, rcx
cmp r9, rbp
ja 0x1400b091f
mov qword [rax], r12
mov qword [rax + 8], rsi
mov ecx, dword [rsp + 0x3c]
mov word [rax + 0x10], cx
jmp 0x1400b0926
mov rax, qword [rsp + 0x40]
mov qword [rax], 0
add rsp, 0x108
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
lea r8, str.librarycore_src_num_flt2dec_strategygrisu.rs
mov rcx, qword [rsp + 0x30]
mov rdx, rcx
call dbg.panic_bounds_check
ud2
lea r8, str.librarycore_src_num_flt2dec_strategygrisu.rs
mov rcx, rsi
call dbg.panic_bounds_check
ud2
lea r8, str.librarycore_src_num_flt2dec_strategygrisu.rs
mov edx, 0x51
mov rcx, rax
call dbg.panic_bounds_check
ud2
mov qword [rsp + 0xd8], 0
lea rcx, [rsp + 0x50]
lea rdx, [rsp + 0x78]
lea r8, [rsp + 0xd8]
call dbg.assert_failed<u64, u64>
ud2
lea rcx, str.assertion_failed:_d.mant___0
lea r8, str.librarycore_src_num_flt2dec_strategygrisu.rs
mov edx, 0x1c
call dbg.panic
ud2
lea rcx, str.assertion_failed:_d.minus___0
lea r8, str.librarycore_src_num_flt2dec_strategygrisu.rs
mov edx, 0x1d
call dbg.panic
ud2
lea rcx, str.assertion_failed:_d.plus___0
lea r8, str.librarycore_src_num_flt2dec_strategygrisu.rs
mov edx, 0x1c
call dbg.panic
ud2
lea rcx, str.assertion_failed:_d.mant.checked_add_d.plus_.is_some__
lea r8, str.librarycore_src_num_flt2dec_strategygrisu.rs
mov edx, 0x36
call dbg.panic
ud2
lea rcx, str.assertion_failed:_d.mant.checked_sub_d.minus_.is_some__
lea r8, str.librarycore_src_num_flt2dec_strategygrisu.rs
mov edx, 0x37
call dbg.panic
ud2
lea rcx, str.assertion_failed:_buf.len_____MAX_SIG_DIGITS
lea r8, str.librarycore_src_num_flt2dec_strategygrisu.rs
mov edx, 0x2d
call dbg.panic
ud2
lea rcx, str.assertion_failed:_d.mant__d.plus____1____61_
lea r8, str.librarycore_src_num_flt2dec_strategygrisu.rs
mov edx, 0x2d
call dbg.panic
ud2
lea rcx, str.assertion_failed:_edelta___0
lea r8, [0x1401258b8]
mov edx, 0x1d
call dbg.panic
ud2