Function at 0x140146c50
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 0x140147112
mov r14, rcx
mov rcx, rax
shr rcx, 0x3d
jne 0x14014712a
mov r13, r9
test r9, r9
je 0x140147142
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 0x1401470fe
test rax, rax
setns cl
shl rax, cl
shl rdi, 4
lea rsi, [0x1401f6968]
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 0x140146e2a
movzx edi, word [rsp + 0xd0]
mov r9, r13
cmp edx, 0x2710
jae 0x140146e4a
cmp edx, 0x64
jae 0x140146e75
xor esi, esi
cmp edx, 0xa
setae sil
lea ebp, [rsi + rsi*8]
inc ebp
jmp 0x140146edc
cmp r13, 0xa
ja 0x140146e3e
lea rsi, [0x1401f7098]
cmp dword [rsi + r13*4 - 4], edx
jbe 0x140146dff
mov qword [r14], 0
jmp 0x140146fe2
cmp edx, 0xf4240
jae 0x140146e98
cmp edx, 0x186a0
setb sil
mov r13d, edi
mov edi, 0x2710
mov ebp, 0x186a0
cmovb ebp, edi
mov edi, r13d
xor sil, 5
jmp 0x140146edc
cmp edx, 0x3e8
setb sil
mov r13d, edi
mov edi, 0x64
mov ebp, 0x3e8
cmovb ebp, edi
mov edi, r13d
xor sil, 3
jmp 0x140146edc
cmp edx, 0x5f5e100
jae 0x140146ebf
cmp edx, 0x989680
setb sil
mov r13d, 0xf4240
mov ebp, 0x989680
cmovb ebp, r13d
xor sil, 7
jmp 0x140146edc
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 0x140146f9e
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 0x1401470d8
add al, 0x30
mov byte [r8 + rbx - 1], al
cmp rdi, rbx
je 0x140146ff6
lea rax, [rsi + rbx]
cmp rax, 1
je 0x14014704a
mov eax, ebp
imul rax, r14
shr rax, 0x23
inc rbx
cmp ebp, 0xa
mov ebp, eax
jae 0x140146f40
lea rcx, str.attempt_to_divide_by_zero
lea r8, str.librarycore_src_num_flt2dec_strategygrisu.rs
mov edx, 0x19
call fcn.14015ab50
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 fcn.140147160
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 fcn.140147160
mov rax, rsi
jmp 0x140146fe5
dec r11d
and r11d, 0x3f
mov eax, 1
mov r14, qword [rsp + 0x60]
mov r9, qword [rsp + 0x50]
mov rdx, rax
mov ecx, r11d
shr rdx, cl
test rdx, rdx
jne 0x140146e3e
cmp rbx, r9
jae 0x1401470ec
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 0x140147060
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 0x140146fdd
lea r8, str.librarycore_src_num_flt2dec_strategygrisu.rs
mov rcx, qword [rsp + 0x50]
mov rdx, rcx
call fcn.14015ac10
lea r8, str.librarycore_src_num_flt2dec_strategygrisu.rs
mov rcx, rbx
mov rdx, r9
call fcn.14015ac10
lea r8, str.librarycore_src_num_flt2dec_strategygrisu.rs
mov edx, 0x51
mov rcx, rdi
call fcn.14015ac10
lea rcx, [0x1401f669f]
lea r8, str.librarycore_src_num_flt2dec_strategygrisu.rs
mov edx, 0x1c
call fcn.14015ab50
lea rcx, str.assertion_failed:_d.mant____1____61_
lea r8, str.librarycore_src_num_flt2dec_strategygrisu.rs
mov edx, 0x24
call fcn.14015ab50
lea rcx, str.assertion_failed:__buf.is_empty__
lea r8, str.librarycore_src_num_flt2dec_strategygrisu.rs
mov edx, 0x21
call fcn.14015ab50
int3