Function at 0x1400c3a50
Capabilities:
Encode data using base64

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x68
mov rax, qword [rdx]
test rax, rax
je 0x1400c3f28
mov r14, rcx
mov rcx, rax
shr rcx, 0x3d
jne 0x1400c3f42
mov r13, r9
test r9, r9
je 0x1400c3f5c
mov rcx, rax
shr rcx, 0x20
mov r9, rax
shl r9, 0x20
mov edx, dword [rdx + 0x18]
lea r10d, [rdx - 0x20]
test rcx, rcx
cmovne r9, rax
cmovne r10d, edx
mov rax, r9
shr rax, 0x30
mov rcx, r9
shl rcx, 0x10
lea edx, [r10 - 0x10]
test rax, rax
cmovne rcx, r9
cmovne edx, r10d
mov rax, rcx
shr rax, 0x38
mov r9, rcx
shl r9, 8
lea r10d, [rdx - 8]
test rax, rax
cmovne r9, rcx
cmovne r10d, edx
mov rax, r9
shr rax, 0x3c
mov rcx, r9
shl rcx, 4
lea r11d, [r10 - 4]
test rax, rax
cmovne rcx, r9
cmovne r11d, r10d
mov r9, rcx
shr r9, 0x3e
lea rax, [rcx*4]
lea edx, [r11 - 2]
test r9, r9
cmovne rax, rcx
cmovne edx, r11d
xor ecx, ecx
test rax, rax
setns cl
sub edx, ecx
mov ecx, 0xffffffa0
sub ecx, edx
movsx ecx, cx
lea ecx, [rcx + rcx*4]
shl ecx, 4
add ecx, 0x153b0
movsxd rcx, ecx
imul rcx, rcx, 0x7b4dc993
mov r9, rcx
shr r9, 0x3f
sar rcx, 0x2a
add ecx, r9d
movsxd rdi, ecx
cmp edi, 0x51
jae 0x1400c3f12
test rax, rax
setns cl
shl rax, cl
shl rdi, 4
lea rsi, [0x140119e90]
mov r9, qword [rdi + rsi]
mov rcx, rax
shr rcx, 0x20
mov eax, eax
mov r10d, r9d
shr r9, 0x20
mov r11, r9
imul r11, rcx
imul r9, rax
imul rcx, r10
imul r10, rax
shr r10, 0x20
mov ebx, ecx
add rbx, r10
mov eax, r9d
add rax, rbx
sub rax, 0xffffffff80000000
shr rcx, 0x20
add rcx, r11
shr r9, 0x20
add r9, rcx
shr rax, 0x20
add dx, word [rdi + rsi + 8]
add rax, r9
mov ecx, 0xffffffc0
sub ecx, edx
movzx r11d, cx
mov r10d, r11d
and r10d, 0x3f
mov rdx, rax
mov ecx, r10d
shr rdx, cl
mov ebx, 1
shl rbx, cl
movzx ecx, word [rdi + rsi + 0xa]
lea r12, [rbx - 1]
mov r15, rax
and r15, r12
je 0x1400c3c2a
movzx edi, word [rsp + 0xd0]
mov r9, r13
cmp edx, 0x2710
jae 0x1400c3c4a
cmp edx, 0x64
jae 0x1400c3c75
xor esi, esi
cmp edx, 0xa
setae sil
lea ebp, [rsi + rsi*8]
inc ebp
jmp 0x1400c3cdc
cmp r13, 0xa
ja 0x1400c3c3e
lea rsi, [0x14011a5f0]
cmp dword [rsi + r13*4 - 4], edx
jbe 0x1400c3bff
mov qword [r14], 0
jmp 0x1400c3de4
cmp edx, 0xf4240
jae 0x1400c3c98
cmp edx, 0x186a0
setb sil
mov r13d, edi
mov edi, 0x2710
mov ebp, 0x186a0
cmovb ebp, edi
mov edi, r13d
xor sil, 5
jmp 0x1400c3cdc
cmp edx, 0x3e8
setb sil
mov r13d, edi
mov edi, 0x64
mov ebp, 0x3e8
cmovb ebp, edi
mov edi, r13d
xor sil, 3
jmp 0x1400c3cdc
cmp edx, 0x5f5e100
jae 0x1400c3cbf
cmp edx, 0x989680
setb sil
mov r13d, 0xf4240
mov ebp, 0x989680
cmovb ebp, r13d
xor sil, 7
jmp 0x1400c3cdc
cmp edx, 0x3b9aca00
setb sil
mov r13d, 0x5f5e100
mov ebp, 0x3b9aca00
cmovb ebp, r13d
xor sil, 9
movzx esi, sil
mov r13d, esi
sub r13d, ecx
inc r13d
cmp r13w, di
jle 0x1400c3da0
mov qword [rsp + 0x58], rbx
mov qword [rsp + 0x60], r14
movsx rax, r13w
mov ecx, r13d
sub ecx, edi
movsx rdi, di
sub rax, rdi
cmp rax, r9
movsx rdi, cx
cmovae rdi, r9
neg rsi
mov qword [rsp + 0x50], r9
mov rcx, r9
neg rcx
mov ebx, 1
mov r14d, 0xcccccccd
nop word cs:[rax + rax]
lea r9, [rcx + rbx]
mov eax, edx
xor edx, edx
div ebp
cmp r9, 1
je 0x1400c3ee8
add al, 0x30
mov byte [r8 + rbx - 1], al
cmp rdi, rbx
je 0x1400c3df8
lea rax, [rsi + rbx]
cmp rax, 1
je 0x1400c3e4c
mov eax, ebp
imul rax, r14
shr rax, 0x23
inc rbx
cmp ebp, 0xa
mov ebp, eax
jae 0x1400c3d40
lea rcx, str.attempt_to_divide_by_zero
lea r8, str.librarycore_src_num_flt2dec_strategygrisu.rs
mov edx, 0x19
call dbg.panic
ud2
movabs rcx, 0xcccccccccccccccd
mul rcx
shr rdx, 3
mov eax, ebp
mov ecx, r10d
shl rax, cl
mov qword [rsp + 0x40], rbx
mov word [rsp + 0x28], di
mov word [rsp + 0x20], r13w
mov qword [rsp + 0x30], rdx
mov qword [rsp + 0x38], rax
mov rcx, r14
mov rdx, r8
mov r8, r9
xor r9d, r9d
call dbg.possibly_round
mov rax, r14
add rsp, 0x68
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov eax, edx
mov ecx, r10d
shl rax, cl
add rax, r15
mov edx, ebp
shl rdx, cl
mov rcx, qword [rsp + 0x58]
mov qword [rsp + 0x40], rcx
movzx ecx, word [rsp + 0xd0]
mov word [rsp + 0x28], cx
mov word [rsp + 0x20], r13w
mov qword [rsp + 0x38], rdx
mov qword [rsp + 0x30], rax
mov rsi, qword [rsp + 0x60]
mov rcx, rsi
mov rdx, r8
mov r8, qword [rsp + 0x50]
mov r9, rdi
call dbg.possibly_round
mov rax, rsi
jmp 0x1400c3de7
dec r11d
and r11d, 0x3f
mov eax, 1
mov r14, qword [rsp + 0x60]
mov r9, qword [rsp + 0x50]
nop word cs:[rax + rax]
mov rdx, rax
mov ecx, r11d
shr rdx, cl
test rdx, rdx
jne 0x1400c3c3e
cmp rbx, r9
jae 0x1400c3efe
add r15, r15
lea rdx, [r15 + r15*4]
mov r15, rdx
and r15, r12
add rax, rax
lea rax, [rax + rax*4]
mov ecx, r10d
shr rdx, cl
add dl, 0x30
mov byte [r8 + rbx], dl
inc rbx
cmp rdi, rbx
jne 0x1400c3e70
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], r15
movzx eax, word [rsp + 0xd0]
mov word [rsp + 0x28], ax
mov word [rsp + 0x20], r13w
mov rcx, r14
mov rdx, r8
mov r8, r9
mov r9, rdi
jmp 0x1400c3ddf
lea r8, str.librarycore_src_num_flt2dec_strategygrisu.rs
mov rcx, qword [rsp + 0x50]
mov rdx, rcx
call dbg.panic_bounds_check
ud2
lea r8, str.librarycore_src_num_flt2dec_strategygrisu.rs
mov rcx, rbx
mov rdx, r9
call dbg.panic_bounds_check
ud2
lea r8, str.librarycore_src_num_flt2dec_strategygrisu.rs
mov edx, 0x51
mov rcx, rdi
call dbg.panic_bounds_check
ud2
lea rcx, [0x140119bc7]
lea r8, str.librarycore_src_num_flt2dec_strategygrisu.rs
mov edx, 0x1c
call dbg.panic
ud2
lea rcx, str.assertion_failed:_d.mant____1____61_
lea r8, str.librarycore_src_num_flt2dec_strategygrisu.rs
mov edx, 0x24
call dbg.panic
ud2
lea rcx, str.assertion_failed:__buf.is_empty__called__Option::unwrap____on_a__None__value
lea r8, str.librarycore_src_num_flt2dec_strategygrisu.rs
mov edx, 0x21
call dbg.panic
ud2