Function at 0x1400471d0
Capabilities:
Encode data using base64

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x68
lea rbp, [rsp + 0x60]
test rdx, rdx
je 0x140047631
mov rax, rdx
shr rax, 0x3d
jne 0x140047649
mov r14, rcx
mov rax, rdx
shr rax, 0x20
mov rcx, rdx
shl rcx, 0x20
lea r10d, [r8 - 0x20]
test rax, rax
cmovne r10d, r8d
cmovne rcx, rdx
mov rax, rcx
shr rax, 0x30
mov rdx, rcx
shl rdx, 0x10
lea r8d, [r10 - 0x10]
test rax, rax
cmovne r8d, r10d
cmovne rdx, rcx
mov rax, rdx
shr rax, 0x38
mov rcx, rdx
shl rcx, 8
lea r10d, [r8 - 8]
test rax, rax
cmovne r10d, r8d
cmovne rcx, rdx
mov rax, rcx
shr rax, 0x3c
mov r8, rcx
shl r8, 4
lea r11d, [r10 - 4]
test rax, rax
cmovne r11d, r10d
cmovne r8, rcx
mov rcx, r8
shr rcx, 0x3e
lea rax, [r8*4]
lea edx, [r11 - 2]
test rcx, rcx
cmovne edx, r11d
cmovne rax, r8
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 r8, rcx
shr r8, 0x3f
sar rcx, 0x2a
add ecx, r8d
movsxd rdi, ecx
cmp edi, 0x51
jae 0x140047661
test rax, rax
setns cl
shl rax, cl
shl rdi, 4
lea r8, [0x140245d10]
mov r10, qword [rdi + r8]
mov rcx, rax
shr rcx, 0x20
mov eax, eax
mov r11d, r10d
shr r10, 0x20
mov rsi, r10
imul rsi, rcx
imul r10, rax
imul rcx, r11
imul r11, rax
shr r11, 0x20
mov ebx, ecx
add rbx, r11
mov eax, r10d
add rax, rbx
sub rax, 0xffffffff80000000
shr rcx, 0x20
add rcx, rsi
shr r10, 0x20
add r10, rcx
shr rax, 0x20
add dx, word [rdi + r8 + 8]
add rax, r10
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
lea rcx, [rbx - 1]
mov r12, rax
and r12, rcx
je 0x140047399
movzx edi, word [rdi + r8 + 0xa]
cmp edx, 0x2710
mov qword [rbp - 0x10], rcx
jae 0x1400473a5
cmp edx, 0x64
jae 0x1400473cb
xor ecx, ecx
cmp edx, 0xa
setae cl
lea r15d, [rcx + rcx*8]
inc r15d
jmp 0x14004742b
mov qword [r14], 0
jmp 0x1400475f8
cmp edx, 0xf4240
jae 0x1400473e9
cmp edx, 0x186a0
setb cl
mov r8d, 0x2710
mov r15d, 0x186a0
cmovb r15d, r8d
xor cl, 5
jmp 0x14004742b
cmp edx, 0x3e8
setb cl
mov r8d, 0x64
mov r15d, 0x3e8
cmovb r15d, r8d
xor cl, 3
jmp 0x14004742b
cmp edx, 0x5f5e100
jae 0x14004740f
cmp edx, 0x989680
setb cl
mov r8d, 0xf4240
mov r15d, 0x989680
cmovb r15d, r8d
xor cl, 7
jmp 0x14004742b
cmp edx, 0x3b9aca00
setb cl
mov r8d, 0x5f5e100
mov r15d, 0x3b9aca00
cmovb r15d, r8d
xor cl, 9
mov r8, qword [rbp + 0x70]
movzx ecx, cl
mov esi, ecx
sub esi, edi
inc esi
movzx edi, word [rbp + 0x78]
cmp si, di
jle 0x1400474d2
mov qword [rbp], rbx
mov qword [rbp - 8], r14
movsx rax, si
mov ebx, esi
sub ebx, edi
movsx rdi, di
sub rax, rdi
cmp rax, r8
movsx rdi, bx
cmovae rdi, r8
neg rcx
neg r8
mov ebx, 1
mov r14d, 0xcccccccd
nop dword [rax + rax]
lea r13, [r8 + rbx]
mov eax, edx
xor edx, edx
div r15d
cmp r13, 1
je 0x140047609
add al, 0x30
mov byte [r9 + rbx - 1], al
cmp rdi, rbx
je 0x140047518
lea rax, [rcx + rbx]
cmp rax, 1
je 0x14004755a
mov eax, r15d
imul rax, r14
shr rax, 0x23
inc rbx
cmp r15d, 0xa
mov r15d, eax
jae 0x140047480
lea rcx, str.librarycore_src_num_flt2dec_strategygrisu.rs
call fcn.140231fb0
movabs rcx, 0xcccccccccccccccd
mul rcx
shr rdx, 3
mov eax, r15d
mov ecx, r10d
shl rax, cl
mov qword [rsp + 0x40], rbx
mov word [rsp + 0x28], di
mov word [rsp + 0x20], si
mov qword [rsp + 0x30], rdx
mov qword [rsp + 0x38], rax
mov rcx, r14
mov rdx, r9
xor r9d, r9d
call fcn.140047680
jmp 0x1400475f8
mov eax, edx
mov ecx, r10d
shl rax, cl
add rax, r12
mov edx, r15d
shl rdx, cl
mov rcx, qword [rbp]
mov qword [rsp + 0x40], rcx
movzx ecx, word [rbp + 0x78]
mov word [rsp + 0x28], cx
mov word [rsp + 0x20], si
mov qword [rsp + 0x38], rdx
mov qword [rsp + 0x30], rax
mov rcx, qword [rbp - 8]
mov rdx, r9
mov r8, qword [rbp + 0x70]
jmp 0x1400475e7
dec r11d
and r11d, 0x3f
mov eax, 1
mov r15, qword [rbp - 8]
mov r14, qword [rbp - 0x10]
mov r8, qword [rbp + 0x70]
nop word cs:[rax + rax]
mov rdx, rax
mov ecx, r11d
shr rdx, cl
test rdx, rdx
jne 0x1400475f1
cmp rbx, r8
jae 0x14004761c
add r12, r12
lea rdx, [r12 + r12*4]
mov r12, rdx
and r12, r14
add rax, rax
lea rax, [rax + rax*4]
mov ecx, r10d
shr rdx, cl
add dl, 0x30
mov byte [r9 + rbx], dl
inc rbx
cmp rdi, rbx
jne 0x140047580
mov qword [rsp + 0x40], rax
mov rax, qword [rbp]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], r12
movzx eax, word [rbp + 0x78]
mov word [rsp + 0x28], ax
mov word [rsp + 0x20], si
mov rcx, r15
mov rdx, r9
mov r9, rdi
call fcn.140047680
jmp 0x1400475f8
mov qword [r15], 0
add rsp, 0x68
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
lea r8, str.librarycore_src_num_flt2dec_strategygrisu.rs
mov rcx, qword [rbp + 0x70]
mov rdx, rcx
call fcn.140231cf0
lea rax, str.librarycore_src_num_flt2dec_strategygrisu.rs
mov rcx, rbx
mov rdx, r8
mov r8, rax
call fcn.140231cf0
lea rcx, [0x140245a8f]
lea r8, str.librarycore_src_num_flt2dec_strategygrisu.rs
mov edx, 0x1c
call fcn.140231dd0
lea rcx, str.assertion_failed:_d.mant____1____61_
lea r8, str.librarycore_src_num_flt2dec_strategygrisu.rs
mov edx, 0x24
call fcn.140231dd0
lea r8, str.librarycore_src_num_flt2dec_strategygrisu.rs
mov edx, 0x51
mov rcx, rdi
call fcn.140231cf0
int3