Function at 0x140125c10
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 0x14012647c
mov rax, qword [rdx + 8]
test rax, rax
je 0x14012648c
mov rbx, rcx
mov rcx, qword [rdx + 0x10]
test rcx, rcx
je 0x14012649f
add rcx, r10
jb 0x1401264b9
mov rdi, r10
sub rdi, rax
jb 0x1401264d3
cmp r9, 0x11
jb 0x1401264ed
mov rax, rcx
shr rax, 0x3d
jne 0x1401264fd
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 + 0x88], rdi
mov word [rsp + 0x90], ax
mov ecx, eax
sub cx, r11w
js 0x140126517
and ecx, 0x3f
mov rsi, 0xffffffffffffffff
shr rsi, cl
mov r14, rsi
and r14, rdi
mov qword [rsp + 0x70], r14
cmp rdi, rsi
ja 0x140126454
shl rdi, cl
mov qword [rsp + 0x88], r10
mov word [rsp + 0x90], ax
mov rax, rsi
and rax, r10
mov qword [rsp + 0x70], rax
cmp r10, rsi
ja 0x140126454
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 0x14012643e
mov qword [rsp + 0x58], rbx
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x40], r8
shl r10, cl
shl rax, 4
lea r8, [0x1401c82a8]
mov rbp, qword [rax + r8]
movzx ecx, word [rax + r8 + 0xa]
mov dword [rsp + 0x28], ecx
mov r15, rdx
shr r15, 0x20
mov edx, edx
mov ecx, ebp
shr rbp, 0x20
mov r12, rbp
imul r12, rdx
mov r13, rcx
imul r13, r15
imul rdx, rcx
shr rdx, 0x20
mov r9d, r13d
add r9, rdx
mov ebx, r12d
add rbx, r9
add r11w, word [rax + r8 + 8]
mov r9, rdi
shr r9, 0x20
mov edx, edi
mov rax, rbp
imul rax, r9
mov qword [rsp + 0x38], rax
mov rsi, rbp
imul rsi, rdx
imul r9, rcx
imul rdx, rcx
shr rdx, 0x20
mov r8d, r9d
add r8, rdx
mov eax, esi
add rax, r8
mov r8, r10
shr r8, 0x20
mov edx, r10d
mov r14, rbp
imul r14, rdx
mov r10, rcx
imul r10, r8
imul rcx, rdx
shr rcx, 0x20
mov edx, r10d
add rdx, rcx
mov edi, r14d
add rdi, rdx
mov rcx, rbp
mov qword [rsp + 0xc8], r15
imul rcx, r15
sub rbx, 0xffffffff80000000
shr r13, 0x20
shr r12, 0x20
shr rbx, 0x20
neg r11d
sub rax, 0xffffffff80000000
shr r9, 0x20
shr rsi, 0x20
mov qword [rsp + 0x68], rsi
shr rax, 0x20
mov qword [rsp + 0x60], rax
mov qword [rsp + 0xd0], rbp
mov rsi, rbp
mov qword [rsp + 0xb0], r8
imul rsi, r8
sub rdi, 0xffffffff80000000
shr r10, 0x20
add rsi, r10
shr r14, 0x20
mov qword [rsp + 0xb8], r13
mov qword [rsp + 0x98], rcx
add rcx, r13
mov qword [rsp + 0xc0], r12
add rcx, r12
mov qword [rsp + 0x78], rbx
lea rdx, [rbx + rcx]
inc rdx
and r11d, 0x3f
mov qword [rsp + 0x30], rdx
mov ecx, r11d
shr rdx, cl
mov r8d, 1
shl r8, cl
mov qword [rsp + 0xa0], r14
add rsi, r14
shr rdi, 0x20
mov qword [rsp + 0x80], rdi
lea r15, [r8 - 1]
cmp edx, 0x2710
mov qword [rsp + 0x50], r8
mov qword [rsp + 0xa8], r10
jae 0x140125f67
cmp edx, 0x64
jae 0x140125f91
xor ecx, ecx
cmp edx, 0xa
setae cl
lea r13d, [rcx + rcx*8]
inc r13d
jmp 0x140125fad
cmp edx, 0xf4240
jae 0x1401262b6
cmp edx, 0x186a0
setb cl
mov r8d, 0x2710
mov r13d, 0x186a0
cmovb r13d, r8d
xor cl, 5
jmp 0x140125fad
cmp edx, 0x3e8
setb cl
mov r8d, 0x64
mov r13d, 0x3e8
cmovb r13d, r8d
xor cl, 3
mov edi, dword [rsp + 0x28]
mov r12, qword [rsp + 0x68]
mov rbp, qword [rsp + 0x60]
mov rax, qword [rsp + 0x38]
add rsi, qword [rsp + 0x80]
mov qword [rsp + 0x28], rsi
mov r14, qword [rsp + 0x30]
mov rbx, r14
and rbx, r15
movzx r8d, cl
mov ecx, r8d
sub ecx, edi
inc ecx
mov dword [rsp + 0x4c], ecx
add rax, r9
add rax, r12
add rax, rbp
mov qword [rsp + 0x38], rax
sub r14, rax
inc r14
mov rdi, r14
and rdi, r15
xor esi, esi
mov r10d, 0xcccccccd
mov r9, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x20]
nop word cs:[rax + rax]
mov eax, edx
xor edx, edx
div r13d
cmp rcx, rsi
je 0x14012641c
add al, 0x30
mov r12d, edx
mov ecx, r11d
shl r12, cl
mov byte [r9 + rsi], al
lea r9, [r12 + rbx]
mov rbp, r14
sub rbp, r9
ja 0x14012608f
cmp r8, rsi
je 0x1401261c7
mov eax, r13d
imul rax, r10
shr rax, 0x23
inc rsi
cmp r13d, 0xa
mov r13d, eax
mov r9, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x20]
jae 0x140126020
lea rcx, str.attempt_to_divide_by_zero
lea r8, str.librarycore_src_num_flt2dec_strategygrisu.rs
mov edx, 0x19
call fcn.14013bae0
ud2
mov r8d, r13d
mov ecx, r11d
shl r8, cl
lea rcx, [rsi + 1]
mov rdx, qword [rsp + 0x20]
cmp rsi, rdx
jae 0x140126531
mov r10, qword [rsp + 0x30]
sub r10, qword [rsp + 0x28]
lea r11, [r10 + 1]
dec r10
cmp rbp, r8
setae r15b
cmp r10, r9
jbe 0x14012634a
cmp rbp, r8
mov rbp, qword [rsp + 0x40]
jb 0x140126327
mov rdx, r10
mov qword [rsp + 0x30], r11
mov qword [rsp + 0x20], rcx
mov r15, qword [rsp + 0xc0]
mov r13, qword [rsp + 0xb8]
lea r10, [r15 + r13]
add r10, qword [rsp + 0x78]
add r10, qword [rsp + 0x98]
mov r11, r10
sub r11, qword [rsp + 0x28]
sub r11, r12
sub r11, rbx
sub r10, qword [rsp + 0x38]
lea rdi, [rbx + r8]
sub r10, rdi
sub r10, r12
mov rbp, qword [rsp + 0xa8]
add rbp, rdi
add rbp, qword [rsp + 0xa0]
add rbp, qword [rsp + 0x80]
mov r9, qword [rsp + 0xb0]
sub r9, qword [rsp + 0xc8]
mov rcx, qword [rsp + 0xd0]
imul rcx, r9
add rcx, rbp
mov rbp, qword [rsp + 0x40]
sub rcx, r13
sub rcx, r15
sub rcx, qword [rsp + 0x78]
add r10, 2
nop word cs:[rax + rax]
lea r13, [r12 + rdi]
cmp r13, rdx
jb 0x140126196
lea r9, [r12 + rcx]
cmp r11, r9
jb 0x140126314
dec al
mov r9, r10
sub r9, r8
setae r15b
add rbx, r8
mov byte [rbp + rsi], al
cmp r13, rdx
jae 0x1401261bf
sub r11, r8
add rcx, r8
add rdi, r8
cmp r10, r8
mov r10, r9
jae 0x140126180
add r12, rbx
jmp 0x14012631a
inc rsi
mov r9d, 1
mov r13, qword [rsp + 0x40]
mov rdx, qword [rsp + 0x20]
nop word [rax + rax]
cmp rsi, rdx
jae 0x14012642d
mov r12, r9
add rbx, rbx
lea rax, [rbx + rbx*4]
mov rbx, rax
and rbx, r15
lea rcx, [r9 + r9]
lea r9, [rcx + rcx*4]
mov r8, rdi
add r8, rdi
lea rdi, [r8 + r8*4]
mov ecx, r11d
shr rax, cl
lea ecx, [rax + 0x30]
mov byte [r13 + rsi], cl
inc rsi
mov r10, rdi
sub r10, rbx
jbe 0x1401261e0
mov rdx, qword [rsp + 0x30]
sub rdx, qword [rsp + 0x28]
imul rdx, r9
lea rcx, [rdx + r9]
mov qword [rsp + 0x20], rcx
cmp r10, qword [rsp + 0x50]
setae r10b
jb 0x1401262f6
sub rdx, r9
mov r9, rdx
sub r9, rbx
jbe 0x1401262f6
add al, 0x2f
lea r11, [r8 + r8*4]
mov rbp, qword [rsp + 0x50]
sub r11, rbp
sub r11, rbx
mov r14, rbp
sub r14, rdx
mov rcx, rbp
lea r8, [rbx + rbp]
cmp r8, rdx
jb 0x140126289
lea r10, [r14 + rbx]
cmp r9, r10
jb 0x14012639d
mov r15, r11
sub r15, rcx
setae r10b
mov byte [r13 + rsi - 1], al
cmp r8, rdx
jae 0x1401263a3
dec al
sub r9, rcx
mov rbp, rcx
mov rbx, r8
cmp r11, rcx
mov r11, r15
jae 0x140126270
jmp 0x1401262fe
cmp edx, 0x5f5e100
mov edi, dword [rsp + 0x28]
mov r12, qword [rsp + 0x68]
mov rbp, qword [rsp + 0x60]
mov rax, qword [rsp + 0x38]
jae 0x14012637c
cmp edx, 0x989680
setb cl
mov r8d, 0xf4240
mov r13d, 0x989680
cmovb r13d, r8d
xor cl, 7
jmp 0x140125fc0
mov r8, rbx
mov rbp, qword [rsp + 0x50]
mov rax, qword [rsp + 0x20]
mov rdx, rax
sub rdx, r8
ja 0x1401263b3
jmp 0x1401263c5
add r12, rbx
mov r15b, 1
mov r9, r12
mov rcx, qword [rsp + 0x20]
mov r11, qword [rsp + 0x30]
mov rax, r11
sub rax, r9
jbe 0x140126357
test r15b, r15b
je 0x140126357
add r8, r9
sub r8, r11
jb 0x1401263fc
cmp rax, r8
jb 0x140126357
jmp 0x1401263fc
mov rbp, qword [rsp + 0x40]
mov rax, r11
sub rax, r9
ja 0x14012632f
cmp r9, 2
mov rax, qword [rsp + 0x58]
jb 0x140126401
add r14, 0xfffffffffffffffc
cmp r9, r14
ja 0x140126401
mov qword [rax], rbp
mov qword [rax + 8], rcx
jmp 0x1401263f2
cmp edx, 0x3b9aca00
setb cl
mov r8d, 0x5f5e100
mov r13d, 0x3b9aca00
cmovb r13d, r8d
xor cl, 9
jmp 0x140125fc0
mov r10b, 1
mov r8, rbx
mov rbp, rcx
mov rax, qword [rsp + 0x20]
mov rdx, rax
sub rdx, r8
jbe 0x1401263c5
test r10b, r10b
je 0x1401263c5
add rbp, r8
sub rbp, rax
jb 0x1401263fc
cmp rdx, rbp
jae 0x1401263fc
lea rcx, [r12*4]
lea rcx, [rcx + rcx*4]
cmp rcx, r8
mov rax, qword [rsp + 0x58]
ja 0x140126401
shl r12, 3
lea rcx, [r12 + r12*4]
sub rdi, rcx
cmp r8, rdi
ja 0x140126401
mov qword [rax], r13
mov qword [rax + 8], rsi
mov ecx, dword [rsp + 0x4c]
mov word [rax + 0x10], cx
jmp 0x140126408
mov rax, qword [rsp + 0x58]
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 rdx, rcx
call fcn.14013bb80
ud2
lea r8, str.librarycore_src_num_flt2dec_strategygrisu.rs
mov rcx, rsi
call fcn.14013bb80
ud2
lea r8, str.librarycore_src_num_flt2dec_strategygrisu.rs
mov edx, 0x51
mov rcx, rax
call fcn.14013bb80
ud2
mov qword [rsp + 0xd8], 0
lea rcx, [rsp + 0x70]
lea rdx, [rsp + 0x88]
lea r8, [rsp + 0xd8]
call fcn.14013bc90
ud2
lea rcx, str.assertion_failed:_d.mant___0
lea r8, str.librarycore_src_num_flt2dec_strategygrisu.rs
jmp 0x1401264ad
lea rcx, str.assertion_failed:_d.minus___0
lea r8, str.librarycore_src_num_flt2dec_strategygrisu.rs
jmp 0x140126525
lea rcx, str.assertion_failed:_d.plus___0
lea r8, str.librarycore_src_num_flt2dec_strategygrisu.rs
mov edx, 0x1c
call fcn.14013bae0
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 fcn.14013bae0
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 fcn.14013bae0
ud2
lea rcx, str.assertion_failed:_buf.len_____MAX_SIG_DIGITS
lea r8, str.librarycore_src_num_flt2dec_strategygrisu.rs
jmp 0x14012650b
lea rcx, str.assertion_failed:_d.mant__d.plus____1____61_
lea r8, str.librarycore_src_num_flt2dec_strategygrisu.rs
mov edx, 0x2d
call fcn.14013bae0
ud2
lea rcx, str.assertion_failed:_edelta___0
lea r8, str.librarycore_src_numdiy_float.rs
mov edx, 0x1d
call fcn.14013bae0
ud2
lea r8, str.librarycore_src_num_flt2dec_strategygrisu.rs
call fcn.14013c010
ud2