Function at 0x1800927a0
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 0x180092fac
mov rax, qword [rdx + 8]
test rax, rax
je 0x180092fc6
mov rbx, rcx
mov rcx, qword [rdx + 0x10]
test rcx, rcx
je 0x180092fe0
add rcx, r10
jb 0x180092ffa
mov rdi, r10
sub rdi, rax
jb 0x180093014
cmp r9, 0x11
jb 0x18009302e
mov rax, rcx
shr rax, 0x3d
jne 0x180093048
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 0x180093062
and ecx, 0x3f
mov rsi, 0xffffffffffffffff
shr rsi, cl
mov r14, rsi
and r14, rdi
mov qword [rsp + 0x50], r14
cmp rdi, rsi
ja 0x180092f87
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 0x180092f87
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 0x180092f71
mov qword [rsp + 0x30], r9
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x48], r8
shl r10, cl
shl rax, 4
lea rsi, [0x1800e0778]
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 0x180092add
cmp edx, 0x64
jae 0x180092b07
xor ecx, ecx
cmp edx, 0xa
setae cl
lea r13d, [rcx + rcx*8]
inc r13d
jmp 0x180092b23
cmp edx, 0xf4240
jae 0x180092e13
cmp edx, 0x186a0
setb cl
mov r8d, 0x2710
mov r13d, 0x186a0
cmovb r13d, r8d
xor cl, 5
jmp 0x180092b23
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 0x180092f4a
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 0x180092c09
lea rax, [r12 + rsi]
cmp rax, 1
je 0x180092d18
mov eax, r13d
mov ecx, 0xcccccccd
imul rax, rcx
shr rax, 0x23
inc rsi
cmp r13d, 0xa
mov r13d, eax
jae 0x180092b90
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 0x180092e9e
cmp r10, rdx
mov r12, qword [rsp + 0x48]
jb 0x180092e53
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 0x180092ce6
lea r8, [r15 + rbp]
cmp r10, r8
jb 0x180092e45
dec al
mov r8, r9
sub r8, rdx
setae dil
add rbx, rdx
mov byte [r12 + rsi - 1], al
cmp r14, r13
jae 0x180092d10
sub r10, rdx
add rbp, rdx
add r11, rdx
cmp r9, rdx
mov r9, r8
jae 0x180092cd0
add r15, rbx
jmp 0x180092e4b
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 0x180092f60
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 0x180092d40
sub r13, rdi
imul r13, r8
lea rcx, [r8 + r13]
mov rdx, qword [rsp + 0x60]
cmp r10, rdx
setae r10b
jb 0x180092ed1
sub r13, r8
mov r8, r13
sub r8, rbx
jbe 0x180092ed1
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 0x180092de6
lea r10, [rdi + rbx]
cmp r8, r10
jb 0x180092ece
mov r14, r11
sub r14, rdx
setae r10b
mov byte [r12 + rsi - 1], al
cmp r9, r13
jae 0x180092ed4
dec al
sub r8, rdx
mov rbx, r9
cmp r11, rdx
mov r11, r14
jae 0x180092dd0
jmp 0x180092ed4
cmp edx, 0x5f5e100
mov r10d, dword [rsp + 0x28]
jae 0x180092ead
cmp edx, 0x989680
setb cl
mov r8d, 0xf4240
mov r13d, 0x989680
cmovb r13d, r8d
xor cl, 7
jmp 0x180092b28
add r15, rbx
mov dil, 1
mov r8, r15
mov r9, qword [rsp + 0x30]
mov rax, r9
sub rax, r8
jbe 0x180092e75
test dil, dil
je 0x180092e75
add rdx, r8
sub rdx, r9
jb 0x180092f2a
cmp rax, rdx
jae 0x180092f2a
cmp r8, 2
mov rax, qword [rsp + 0x40]
jb 0x180092f2f
mov rcx, qword [rsp + 0xc8]
add rcx, 0xfffffffffffffffd
cmp r8, rcx
jbe 0x180092f19
jmp 0x180092f2f
mov r12, qword [rsp + 0x48]
mov rax, r9
sub rax, r8
ja 0x180092e5b
jmp 0x180092e75
cmp edx, 0x3b9aca00
setb cl
mov r8d, 0x5f5e100
mov r13d, 0x3b9aca00
cmovb r13d, r8d
xor cl, 9
jmp 0x180092b28
mov r10b, 1
mov r9, rbx
mov rdx, rcx
sub rdx, r9
jbe 0x180092ef3
test r10b, r10b
je 0x180092ef3
mov rax, qword [rsp + 0x60]
add rax, r9
sub rax, rcx
jb 0x180092f2a
cmp rdx, rax
jae 0x180092f2a
lea rcx, [r15*4]
lea rcx, [rcx + rcx*4]
cmp rcx, r9
mov rax, qword [rsp + 0x40]
ja 0x180092f2f
shl r15, 3
lea rcx, [r15 + r15*4]
sub rbp, rcx
cmp r9, rbp
ja 0x180092f2f
mov qword [rax], r12
mov qword [rax + 8], rsi
mov ecx, dword [rsp + 0x3c]
mov word [rax + 0x10], cx
jmp 0x180092f36
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, [0x1800e0368]
mov edx, 0x1d
call dbg.panic
ud2