Function at 0x14007ca70
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 0x14007cf32
mov r14, rcx
mov rcx, rax
shr rcx, 0x3d
jne 0x14007cf4a
mov r13, r9
test r9, r9
je 0x14007cf62
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 0x14007cf1e
test rax, rax
setns cl
shl rax, cl
shl rdi, 4
lea rsi, [0x14128d640]
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 0x14007cc4a
movzx edi, word [rsp + 0xd0]
mov r9, r13
cmp edx, 0x2710
jae 0x14007cc6a
cmp edx, 0x64
jae 0x14007cc95
xor esi, esi
cmp edx, 0xa
setae sil
lea ebp, [rsi + rsi*8]
inc ebp
jmp 0x14007ccfc
cmp r13, 0xa
ja 0x14007cc5e
lea rsi, [0x14128dd78]
cmp dword [rsi + r13*4 - 4], edx
jbe 0x14007cc1f
mov qword [r14], 0
jmp 0x14007ce02
cmp edx, 0xf4240
jae 0x14007ccb8
cmp edx, 0x186a0
setb sil
mov r13d, edi
mov edi, 0x2710
mov ebp, 0x186a0
cmovb ebp, edi
mov edi, r13d
xor sil, 5
jmp 0x14007ccfc
cmp edx, 0x3e8
setb sil
mov r13d, edi
mov edi, 0x64
mov ebp, 0x3e8
cmovb ebp, edi
mov edi, r13d
xor sil, 3
jmp 0x14007ccfc
cmp edx, 0x5f5e100
jae 0x14007ccdf
cmp edx, 0x989680
setb sil
mov r13d, 0xf4240
mov ebp, 0x989680
cmovb ebp, r13d
xor sil, 7
jmp 0x14007ccfc
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 0x14007cdbe
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 0x14007cef8
add al, 0x30
mov byte [r8 + rbx - 1], al
cmp rdi, rbx
je 0x14007ce16
lea rax, [rsi + rbx]
cmp rax, 1
je 0x14007ce6a
mov eax, ebp
imul rax, r14
shr rax, 0x23
inc rbx
cmp ebp, 0xa
mov ebp, eax
jae 0x14007cd60
lea rcx, [0x14128dc60]
lea r8, [0x14128dda0]
mov edx, 0x19
call sym.core::panicking::panic::hef3431a3c19424e4
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 sym.core::num::flt2dec::strategy::grisu::format_exact_opt::possibly_round::h8cda3faff281e453
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 sym.core::num::flt2dec::strategy::grisu::format_exact_opt::possibly_round::h8cda3faff281e453
mov rax, rsi
jmp 0x14007ce05
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 0x14007cc5e
cmp rbx, r9
jae 0x14007cf0c
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 0x14007ce80
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 0x14007cdfd
lea r8, [0x14128ddb8]
mov rcx, qword [rsp + 0x50]
mov rdx, rcx
call sym.core::panicking::panic_bounds_check::hbf008b51f5cecb48
lea r8, [0x14128ddd0]
mov rcx, rbx
mov rdx, r9
call sym.core::panicking::panic_bounds_check::hbf008b51f5cecb48
lea r8, [0x14128db80]
mov edx, 0x51
mov rcx, rdi
call sym.core::panicking::panic_bounds_check::hbf008b51f5cecb48
lea rcx, [0x14128d377]
lea r8, [0x14128dd08]
mov edx, 0x1c
call sym.core::panicking::panic::hef3431a3c19424e4
lea rcx, [0x14128dd20]
lea r8, [0x14128dd48]
mov edx, 0x24
call sym.core::panicking::panic::hef3431a3c19424e4
lea rcx, [0x14128dce0]
lea r8, [0x14128dd60]
mov edx, 0x21
call sym.core::panicking::panic::hef3431a3c19424e4
int3