Function at 0x1400aa080
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 qword [rsp + 0x40], r8
mov rbx, qword [rdx]
test rbx, rbx
je 0x1400aa887
mov rax, qword [rdx + 8]
test rax, rax
je 0x1400aa897
mov rdi, qword [rdx + 0x10]
test rdi, rdi
je 0x1400aa8aa
add rdi, rbx
jb 0x1400aa8c4
mov r13, rbx
sub r13, rax
jb 0x1400aa8de
cmp r9, 0x11
jb 0x1400aa8f8
mov rax, rdi
shr rax, 0x3d
jne 0x1400aa908
mov r8, rcx
mov eax, dword [rdx + 0x18]
mov rdx, rdi
shr rdx, 0x20
mov rcx, rdi
shl rcx, 0x20
lea esi, [rax - 0x20]
test rdx, rdx
cmovne rcx, rdi
cmovne esi, eax
mov rdx, rcx
shr rdx, 0x30
mov rdi, rcx
shl rdi, 0x10
lea ebp, [rsi - 0x10]
test rdx, rdx
cmovne rdi, rcx
cmovne ebp, esi
mov rdx, rdi
shr rdx, 0x38
mov rcx, rdi
shl rcx, 8
lea esi, [rbp - 8]
test rdx, rdx
cmovne rcx, rdi
cmovne esi, ebp
mov rbp, rcx
shr rbp, 0x3c
mov rdx, rcx
shl rdx, 4
test rbp, rbp
cmovne rdx, rcx
lea ecx, [rsi - 4]
cmovne ecx, esi
mov rbp, rdx
shr rbp, 0x3e
lea r10, [rdx*4]
lea edi, [rcx - 2]
test rbp, rbp
cmovne r10, rdx
cmovne edi, ecx
test r10, r10
setns cl
mov rdx, r10
shl rdx, cl
sar r10, 0x3f
not r10d
add r10d, edi
mov qword [rsp + 0x80], r13
mov word [rsp + 0x88], ax
mov ecx, eax
sub cx, r10w
js 0x1400aa922
and ecx, 0x3f
mov rbp, 0xffffffffffffffff
shr rbp, cl
mov rdi, rbp
and rdi, r13
mov qword [rsp + 0x60], rdi
cmp r13, rbp
ja 0x1400aa85f
shl r13, cl
mov qword [rsp + 0x80], rbx
mov word [rsp + 0x88], ax
mov rax, rbp
and rax, rbx
mov qword [rsp + 0x60], rax
cmp rbx, rbp
ja 0x1400aa85f
mov eax, 0xffffffa0
sub eax, r10d
cwde
lea eax, [rax + rax*4]
shl eax, 4
add eax, 0x153b0
cdqe
imul rax, rax, 0x7b4dc993
mov rbp, rax
shr rbp, 0x3f
sar rax, 0x2a
add eax, ebp
cdqe
cmp eax, 0x51
jae 0x1400aa849
mov qword [rsp + 0x48], r8
shl rbx, cl
shl rax, 4
lea rdi, [0x140158038]
mov rsi, rbx
mov r8, qword [rax + rdi]
movzx ecx, word [rax + rdi + 0xa]
mov dword [rsp + 0x28], ecx
mov rcx, rdx
shr rcx, 0x20
mov rbx, rcx
mov qword [rsp + 0x78], rcx
mov edx, edx
mov ecx, r8d
shr r8, 0x20
mov r11, r8
imul r11, rdx
mov r15, rcx
imul r15, rbx
imul rdx, rcx
shr rdx, 0x20
mov ebp, r15d
add rbp, rdx
mov ebx, r11d
add rbx, rbp
add r10w, word [rax + rdi + 8]
mov r12, r13
shr r12, 0x20
mov edx, r13d
mov rax, r8
imul rax, r12
mov qword [rsp + 0x30], rax
mov rax, r8
imul rax, rdx
imul r12, rcx
imul rdx, rcx
shr rdx, 0x20
mov ebp, r12d
add rbp, rdx
mov r14d, eax
add r14, rbp
mov r13, rsi
shr r13, 0x20
mov edx, esi
mov rdi, r8
imul rdi, rdx
mov rsi, rcx
imul rsi, r13
imul rcx, rdx
shr rcx, 0x20
mov edx, esi
add rdx, rcx
mov ebp, edi
add rbp, rdx
mov rcx, r8
imul rcx, qword [rsp + 0x78]
sub rbx, 0xffffffff80000000
shr r15, 0x20
shr r11, 0x20
shr rbx, 0x20
neg r10d
sub r14, 0xffffffff80000000
shr r12, 0x20
shr rax, 0x20
mov qword [rsp + 0xd0], rax
shr r14, 0x20
mov qword [rsp + 0xc8], r8
mov rax, r8
imul rax, r13
sub rbp, 0xffffffff80000000
shr rsi, 0x20
add rax, rsi
shr rdi, 0x20
mov qword [rsp + 0xb0], r15
mov qword [rsp + 0x90], rcx
add rcx, r15
mov qword [rsp + 0xb8], r11
add rcx, r11
mov qword [rsp + 0x68], rbx
lea r8, [rbx + rcx]
inc r8
and r10d, 0x3f
mov qword [rsp + 0x38], r8
mov ecx, r10d
shr r8, cl
mov edx, 1
shl rdx, cl
add rax, rdi
shr rbp, 0x20
mov qword [rsp + 0x70], rbp
lea rcx, [rdx - 1]
mov qword [rsp + 0x50], rcx
cmp r8d, 0x2710
mov qword [rsp + 0xc0], rdx
mov qword [rsp + 0xa8], r13
mov qword [rsp + 0xa0], rsi
mov qword [rsp + 0x98], rdi
jae 0x1400aa3da
cmp r8d, 0x64
jae 0x1400aa401
xor ecx, ecx
cmp r8d, 0xa
setae cl
lea r13d, [rcx + rcx*8]
inc r13d
jmp 0x1400aa41d
cmp r8d, 0xf4240
jae 0x1400aa428
cmp r8d, 0x186a0
setb cl
mov ebp, 0x2710
mov r13d, 0x186a0
cmovb r13d, ebp
xor cl, 5
jmp 0x1400aa41d
cmp r8d, 0x3e8
setb cl
mov ebp, 0x64
mov r13d, 0x3e8
cmovb r13d, ebp
xor cl, 3
mov rdx, qword [rsp + 0x30]
mov ebx, dword [rsp + 0x28]
jmp 0x1400aa474
cmp r8d, 0x5f5e100
mov ebx, dword [rsp + 0x28]
jae 0x1400aa453
cmp r8d, 0x989680
setb cl
mov ebp, 0xf4240
mov r13d, 0x989680
cmovb r13d, ebp
xor cl, 7
jmp 0x1400aa46f
cmp r8d, 0x3b9aca00
setb cl
mov ebp, 0x5f5e100
mov r13d, 0x3b9aca00
cmovb r13d, ebp
xor cl, 9
mov rdx, qword [rsp + 0x30]
add rax, qword [rsp + 0x70]
mov qword [rsp + 0x28], rax
mov r15, qword [rsp + 0x38]
mov r11, r15
mov rax, qword [rsp + 0x50]
and r11, rax
movzx ebp, cl
mov ecx, ebp
sub ecx, ebx
inc ecx
mov dword [rsp + 0x5c], ecx
add rdx, r12
add rdx, qword [rsp + 0xd0]
add rdx, r14
mov qword [rsp + 0x30], rdx
sub r15, rdx
inc r15
mov r14, r15
and r14, rax
xor esi, esi
mov ebx, 0xcccccccd
nop word cs:[rax + rax]
mov eax, r8d
xor edx, edx
div r13d
cmp r9, rsi
je 0x1400aa824
mov r8d, edx
mov rdx, r9
add al, 0x30
mov r12d, r8d
mov ecx, r10d
shl r12, cl
mov rcx, qword [rsp + 0x40]
mov byte [rcx + rsi], al
lea rdi, [r12 + r11]
mov r9, r15
sub r9, rdi
ja 0x1400aa543
cmp rbp, rsi
je 0x1400aa666
mov eax, r13d
imul rax, rbx
shr rax, 0x23
inc rsi
cmp r13d, 0xa
mov r13d, eax
mov r9, rdx
jae 0x1400aa4d0
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 r14d, r13d
mov ecx, r10d
shl r14, cl
lea r10, [rsi + 1]
cmp rsi, rdx
jae 0x1400aa93c
mov rdx, qword [rsp + 0x38]
sub rdx, qword [rsp + 0x28]
lea rbp, [rdx + 1]
dec rdx
cmp r9, r14
setae bl
cmp rdx, rdi
mov rcx, qword [rsp + 0xc8]
jbe 0x1400aa769
cmp r9, r14
jb 0x1400aa769
mov r8, rdx
mov qword [rsp + 0x50], rbp
mov qword [rsp + 0x38], r10
mov rbx, qword [rsp + 0xb8]
mov rdi, qword [rsp + 0xb0]
lea r9, [rdi + rbx]
add r9, qword [rsp + 0x68]
add r9, qword [rsp + 0x90]
mov r13, r9
sub r13, qword [rsp + 0x28]
sub r13, r12
sub r13, r11
sub r9, qword [rsp + 0x30]
lea rdx, [r11 + r14]
sub r9, rdx
sub r9, r12
mov r10, qword [rsp + 0xa0]
add r10, rdx
add r10, qword [rsp + 0x98]
add r10, qword [rsp + 0x70]
mov rbp, qword [rsp + 0xa8]
sub rbp, qword [rsp + 0x78]
imul rcx, rbp
add rcx, r10
sub rcx, rdi
sub rcx, rbx
sub rcx, qword [rsp + 0x68]
add r9, 2
mov r10, qword [rsp + 0x40]
nop word cs:[rax + rax]
lea rdi, [r12 + rdx]
cmp rdi, r8
jb 0x1400aa636
lea rbp, [r12 + rcx]
cmp r13, rbp
jb 0x1400aa757
dec al
mov rbp, r9
sub rbp, r14
setae bl
add r11, r14
mov byte [r10 + rsi], al
cmp rdi, r8
jae 0x1400aa65e
sub r13, r14
add rcx, r14
add rdx, r14
cmp r9, r14
mov r9, rbp
jae 0x1400aa620
add r12, r11
jmp 0x1400aa75c
inc rsi
mov eax, 1
mov r13, qword [rsp + 0xc0]
mov r8, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x40]
cmp rsi, rdx
jae 0x1400aa838
mov r15, rax
add r11, r11
lea rbx, [r11 + r11*4]
mov r11, rbx
and r11, r8
add rax, rax
lea rax, [rax + rax*4]
mov rbp, r14
add rbp, r14
lea r14, [rbp*4]
add r14, rbp
mov ecx, r10d
shr rbx, cl
lea ecx, [rbx + 0x30]
mov byte [rdi + rsi], cl
inc rsi
mov rcx, r14
sub rcx, r11
jbe 0x1400aa680
mov rdx, qword [rsp + 0x38]
sub rdx, qword [rsp + 0x28]
imul rdx, rax
lea r8, [rdx + rax]
sub rdx, rax
cmp rcx, r13
setae r9b
mov rax, rdx
sub rax, r11
jbe 0x1400aa7ab
cmp rcx, r13
jb 0x1400aa7ab
mov r12, rdx
add bl, 0x2f
lea rbp, [rbp + rbp*4]
sub rbp, r13
sub rbp, r11
mov r10, r13
sub r10, rdx
mov rdi, qword [rsp + 0x40]
nop word cs:[rax + rax]
lea rdx, [r11 + r13]
cmp rdx, r12
jb 0x1400aa732
lea rcx, [r10 + r11]
cmp rax, rcx
jb 0x1400aa7a8
mov rcx, rbp
sub rcx, r13
setae r9b
mov byte [rdi + rsi - 1], bl
cmp rdx, r12
jae 0x1400aa7ae
dec bl
sub rax, r13
mov r11, rdx
cmp rbp, r13
mov rbp, rcx
jae 0x1400aa720
jmp 0x1400aa7ae
add r12, r11
mov bl, 1
mov rdi, r12
mov r10, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x50]
mov rax, rbp
sub rax, rdi
jbe 0x1400aa786
test bl, bl
je 0x1400aa786
add r14, rdi
sub r14, rbp
jb 0x1400aa804
cmp rax, r14
jae 0x1400aa804
cmp rdi, 2
jb 0x1400aa804
add r15, 0xfffffffffffffffc
cmp rdi, r15
ja 0x1400aa804
mov rax, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x40]
mov qword [rax], rcx
mov qword [rax + 8], r10
jmp 0x1400aa7fa
mov r9b, 1
mov rdx, r11
mov rax, r8
sub rax, rdx
jbe 0x1400aa7c8
test r9b, r9b
je 0x1400aa7c8
add r13, rdx
sub r13, r8
jb 0x1400aa804
cmp rax, r13
jae 0x1400aa804
lea rax, [r15*4]
lea rax, [rax + rax*4]
cmp rax, rdx
mov rax, qword [rsp + 0x48]
ja 0x1400aa809
shl r15, 3
lea rcx, [r15 + r15*4]
sub r14, rcx
cmp rdx, r14
ja 0x1400aa809
mov rcx, qword [rsp + 0x40]
mov qword [rax], rcx
mov qword [rax + 8], rsi
mov ecx, dword [rsp + 0x5c]
mov word [rax + 0x10], cx
jmp 0x1400aa810
mov rax, qword [rsp + 0x48]
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, r9
mov rdx, r9
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 + 0x60]
lea rdx, [rsp + 0x80]
lea r8, [rsp + 0xd8]
call dbg.assert_failed<u64, u64>
ud2
lea rcx, [0x140157d57]
lea r8, str.librarycore_src_num_flt2dec_strategygrisu.rs
jmp 0x1400aa8b8
lea rcx, str.assertion_failed:_d.minus___0
lea r8, str.librarycore_src_num_flt2dec_strategygrisu.rs
jmp 0x1400aa930
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
jmp 0x1400aa916
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, [0x140157b91]
lea r8, [0x140157bd0]
mov edx, 0x1d
call dbg.panic
ud2
lea r8, str.librarycore_src_num_flt2dec_strategygrisu.rs
mov rcx, r10
call dbg.slice_end_index_len_fail
ud2