Function at 0x14007db50
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 0x14007e367
mov rax, qword [rdx + 8]
test rax, rax
je 0x14007e381
mov rbx, rcx
mov rcx, qword [rdx + 0x10]
test rcx, rcx
je 0x14007e39b
add rcx, r10
jb 0x14007e3b5
mov rdi, r10
sub rdi, rax
jb 0x14007e3cf
cmp r9, 0x10
jbe 0x14007e3e9
mov rax, rcx
shr rax, 0x3d
jne 0x14007e403
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 + 0x90], rdi
mov word [rsp + 0x98], ax
mov ecx, eax
sub cx, r11w
js 0x14007e41d
and ecx, 0x3f
mov rsi, 0xffffffffffffffff
shr rsi, cl
mov r14, rsi
and r14, rdi
mov qword [rsp + 0x60], r14
cmp rdi, rsi
ja 0x14007e33f
shl rdi, cl
mov qword [rsp + 0x90], r10
mov word [rsp + 0x98], ax
mov rax, rsi
and rax, r10
mov qword [rsp + 0x60], rax
cmp r10, rsi
ja 0x14007e33f
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 0x14007e329
mov qword [rsp + 0x30], r9
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x48], r8
shl r10, cl
shl rax, 4
lea rsi, [0x1400b3200]
mov r8, qword [rax + rsi]
movzx ecx, word [rax + rsi + 0xa]
mov dword [rsp + 0x28], ecx
mov rbx, rdx
shr rbx, 0x20
mov edx, edx
mov ecx, r8d
shr r8, 0x20
mov r9, r8
imul r9, rdx
mov r15, rcx
imul r15, rbx
imul rdx, rcx
shr rdx, 0x20
mov r14d, r15d
add r14, rdx
mov ebp, r9d
add rbp, r14
add r11w, word [rax + rsi + 8]
mov rax, rdi
shr rax, 0x20
mov edx, edi
mov rsi, r8
imul rsi, rax
mov qword [rsp + 0x58], rsi
mov r12, r8
imul r12, rdx
imul rax, rcx
imul rdx, rcx
shr rdx, 0x20
mov edi, eax
add rdi, rdx
mov esi, r12d
add rsi, rdi
mov rdi, r10
shr rdi, 0x20
mov edx, r10d
mov r13, r8
imul r13, rdx
mov r10, rcx
imul r10, rdi
imul rcx, rdx
shr rcx, 0x20
mov edx, r10d
add rdx, rcx
mov r14d, r13d
add r14, rdx
mov rcx, r8
mov qword [rsp + 0xc8], rbx
imul rcx, rbx
sub rbp, 0xffffffff80000000
shr r15, 0x20
shr r9, 0x20
shr rbp, 0x20
neg r11d
sub rsi, 0xffffffff80000000
shr rax, 0x20
shr r12, 0x20
shr rsi, 0x20
mov qword [rsp + 0xa8], r8
mov rbx, r8
mov qword [rsp + 0xc0], rdi
imul rbx, rdi
sub r14, 0xffffffff80000000
shr r10, 0x20
mov qword [rsp + 0xb8], r10
add rbx, r10
shr r13, 0x20
mov qword [rsp + 0x68], rcx
add rcx, r15
add rcx, r9
mov qword [rsp + 0x50], rbp
lea r10, [rcx + rbp]
inc r10
and r11d, 0x3f
mov rdx, r10
mov ecx, r11d
shr rdx, cl
mov edi, 1
shl rdi, cl
mov qword [rsp + 0xb0], r13
add rbx, r13
mov r13, r14
shr r13, 0x20
lea rcx, [rdi - 1]
mov qword [rsp + 0x88], rcx
cmp edx, 0x2710
mov qword [rsp + 0x78], r15
mov qword [rsp + 0x70], r9
mov qword [rsp + 0xd0], rdi
jae 0x14007de98
cmp edx, 0x64
jae 0x14007dec2
xor ecx, ecx
cmp edx, 0xa
setae cl
lea r9d, [rcx + rcx*8]
inc r9d
jmp 0x14007dede
cmp edx, 0xf4240
jae 0x14007e1ed
cmp edx, 0x186a0
setb cl
mov r8d, 0x2710
mov r9d, 0x186a0
cmovb r9d, r8d
xor cl, 5
jmp 0x14007dede
cmp edx, 0x3e8
setb cl
mov r8d, 0x64
mov r9d, 0x3e8
cmovb r9d, r8d
xor cl, 3
mov r14d, dword [rsp + 0x28]
add rbx, r13
mov qword [rsp + 0x28], rbx
mov rbx, r10
mov r8, qword [rsp + 0x88]
and rbx, r8
movzx ebp, cl
mov ecx, ebp
sub ecx, r14d
inc ecx
mov dword [rsp + 0x3c], ecx
mov rcx, qword [rsp + 0x58]
add rcx, rax
add rcx, r12
add rcx, rsi
mov qword [rsp + 0x80], r10
mov qword [rsp + 0x58], rcx
sub r10, rcx
mov qword [rsp + 0xa0], r10
lea r12, [r10 + 1]
mov r14, r12
and r14, r8
neg rbp
mov rdi, qword [rsp + 0x30]
neg rdi
mov esi, 1
nop word [rax + rax]
lea rcx, [rdi + rsi]
mov eax, edx
xor edx, edx
div r9d
cmp rcx, 1
je 0x14007e302
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, r12
sub r10, r8
ja 0x14007dfc9
lea rax, [rsi + rbp]
cmp rax, 1
je 0x14007e0d2
mov eax, r9d
mov ecx, 0xcccccccd
imul rax, rcx
shr rax, 0x23
inc rsi
cmp r9d, 0xa
mov r9d, eax
jae 0x14007df50
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, r9d
mov ecx, r11d
shl rdx, cl
mov r12, qword [rsp + 0x80]
sub r12, qword [rsp + 0x28]
lea rcx, [r12 + 1]
dec r12
cmp r10, rdx
setb dil
cmp r12, r8
jbe 0x14007e21b
cmp r10, rdx
mov r14, qword [rsp + 0x48]
jb 0x14007e250
mov qword [rsp + 0x30], rcx
mov rdi, qword [rsp + 0x78]
mov rbp, qword [rsp + 0x70]
lea r9, [rdi + rbp]
add r9, qword [rsp + 0x50]
add r9, qword [rsp + 0x68]
mov r10, r9
sub r10, qword [rsp + 0x28]
sub r10, r15
sub r10, rbx
sub r9, qword [rsp + 0x58]
lea r11, [rbx + rdx]
sub r9, r11
sub r9, r15
mov rcx, qword [rsp + 0xb8]
add rcx, r11
add rcx, qword [rsp + 0xb0]
add rcx, r13
mov r8, qword [rsp + 0xc0]
sub r8, qword [rsp + 0xc8]
mov r13, qword [rsp + 0xa8]
imul r13, r8
add r13, rcx
mov rcx, r13
sub rcx, rdi
sub rcx, rbp
sub rcx, qword [rsp + 0x50]
add r9, 2
nop word cs:[rax + rax]
lea r8, [r15 + r11]
cmp r8, r12
jb 0x14007e0a6
lea rdi, [r15 + rcx]
cmp r10, rdi
jb 0x14007e243
dec al
mov byte [r14 + rsi - 1], al
sub r9, rdx
setb dil
add rbx, rdx
cmp r8, r12
jae 0x14007e0ca
sub r10, rdx
add r11, rdx
add rcx, rdx
test dil, dil
je 0x14007e090
add r15, rbx
jmp 0x14007e248
mov r9d, 1
mov r12, qword [rsp + 0x48]
mov rdx, qword [rsp + 0x30]
mov r13, qword [rsp + 0x80]
mov rbp, qword [rsp + 0xd0]
mov rdi, qword [rsp + 0x88]
nop word [rax + rax]
cmp rsi, rdx
jae 0x14007e318
mov r15, r9
add rbx, rbx
lea rax, [rbx + rbx*4]
mov rbx, rax
and rbx, rdi
lea rcx, [r9 + r9]
lea r9, [rcx + rcx*4]
mov r8, r14
add r8, r14
lea r14, [r8 + r8*4]
mov ecx, r11d
shr rax, cl
lea ecx, [rax + 0x30]
mov byte [r12 + rsi], cl
inc rsi
mov r10, r14
sub r10, rbx
jbe 0x14007e100
sub r13, qword [rsp + 0x28]
imul r13, r9
lea rcx, [r9 + r13]
cmp r10, rbp
setb r10b
jb 0x14007e28e
sub r13, r9
mov r11, r13
sub r11, rbx
jbe 0x14007e28e
add al, 0x2f
lea r8, [r8 + r8*4]
sub r8, rbp
sub r8, rbx
mov rdx, qword [rsp + 0x78]
add rdx, qword [rsp + 0x70]
add rdx, qword [rsp + 0x50]
add rdx, qword [rsp + 0x68]
add rdx, rdx
lea r9, [rdx + rdx*4]
mov rdx, qword [rsp + 0x28]
add rdx, rdx
lea rdi, [rdx + rdx*4]
sub rdi, r9
imul rdi, r15
add rdi, rbp
nop dword [rax]
lea r9, [rbx + rbp]
cmp r9, r13
jb 0x14007e1c6
lea r10, [rdi + rbx]
cmp r11, r10
jb 0x14007e28b
mov byte [r12 + rsi - 1], al
sub r8, rbp
setb r10b
cmp r9, r13
jae 0x14007e291
dec al
sub r11, rbp
mov rbx, r9
test r10b, r10b
je 0x14007e1b0
jmp 0x14007e291
cmp edx, 0x5f5e100
mov r14d, dword [rsp + 0x28]
jae 0x14007e222
cmp edx, 0x989680
setb cl
mov r8d, 0xf4240
mov r9d, 0x989680
cmovb r9d, r8d
xor cl, 7
jmp 0x14007dee3
mov r14, qword [rsp + 0x48]
jmp 0x14007e250
cmp edx, 0x3b9aca00
setb cl
mov r8d, 0x5f5e100
mov r9d, 0x3b9aca00
cmovb r9d, r8d
xor cl, 9
jmp 0x14007dee3
add r15, rbx
xor edi, edi
mov r8, r15
mov rcx, qword [rsp + 0x30]
mov rax, rcx
sub rax, r8
jbe 0x14007e26a
test dil, dil
jne 0x14007e26a
add rdx, r8
sub rdx, rcx
jb 0x14007e2e2
cmp rax, rdx
jae 0x14007e2e2
cmp r8, 2
mov rax, qword [rsp + 0x40]
jb 0x14007e2e7
mov rcx, qword [rsp + 0xa0]
add rcx, 0xfffffffffffffffd
cmp r8, rcx
ja 0x14007e2e7
mov qword [rax], r14
jmp 0x14007e2d4
xor r10d, r10d
mov r9, rbx
mov rdx, rcx
sub rdx, r9
jbe 0x14007e2ab
test r10b, r10b
jne 0x14007e2ab
add rbp, r9
sub rbp, rcx
jb 0x14007e2e2
cmp rdx, rbp
jae 0x14007e2e2
lea rcx, [r15*4]
lea rcx, [rcx + rcx*4]
cmp rcx, r9
mov rax, qword [rsp + 0x40]
ja 0x14007e2e7
shl r15, 3
lea rcx, [r15 + r15*4]
sub r14, rcx
cmp r9, r14
ja 0x14007e2e7
mov qword [rax], r12
mov qword [rax + 8], rsi
mov ecx, dword [rsp + 0x3c]
mov word [rax + 0x10], cx
jmp 0x14007e2ee
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 + 0x60]
lea rdx, [rsp + 0x90]
lea r8, [rsp + 0xd8]
call dbg.assert_failed<u64, u64>
ud2
lea rcx, [0x1400b2f37]
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, [0x1400b2d99]
lea r8, [0x1400b2dd8]
mov edx, 0x1d
call dbg.panic
ud2