Function at 0x140007ab0
Capabilities:
Encode data using base64

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x48
mov r13, rcx
movabs rdi, 0xfffffffffffff
movq rcx, xmm1
mov rdx, rcx
not rdx
mov rax, rcx
and rax, rdi
movabs r8, 0x7ff0000000000000
test rdx, r8
jne 0x140007b27
xor edx, edx
test rcx, rcx
sets dl
lea rcx, str.inf_infNaN
lea r8, [0x14016a263]
cmovns r8, rcx
add rdx, 3
test rax, rax
mov edi, 3
cmove rdi, rdx
lea r13, [0x14016a267]
cmove r13, r8
jmp 0x14000840a
mov rdx, rcx
shr rdx, 0x34
test rcx, rcx
js 0x140007b43
xor r8d, r8d
and edx, 0x7ff
test rax, rax
je 0x140007b59
jmp 0x140007b7b
mov byte [r13], 0x2d
mov r8d, 1
and edx, 0x7ff
test rax, rax
jne 0x140007b7b
test edx, edx
jne 0x140007b7b
mov byte [r13 + r8 + 2], 0x30
mov word [r13 + r8], 0x2e30
shr rcx, 0x3f
add rcx, 3
mov rdi, rcx
jmp 0x14000840a
mov qword [rsp + 0x40], r13
lea ecx, [rdx - 0x435]
inc rdi
or rdi, rax
test edx, edx
mov ebp, 0xfffffbcc
cmovne ebp, ecx
cmove rdi, rax
lea r11, [rdi*4]
test rax, rax
setne al
cmp edx, 2
setb r13b
or r13b, al
movabs rsi, 0xcccccccccccccccd
movzx ebx, r13b
test ebp, ebp
mov qword [rsp + 0x38], r8
js 0x140007cea
mov qword [rsp + 0x30], rdi
imul edi, ebp, 0x13441
shr edi, 0x12
cmp ebp, 4
adc edi, 0xffffffff
imul r9d, edi, 0x12934f
shr r9d, 0x13
mov rax, rdi
shl rax, 4
lea rcx, [0x1401a0ff0]
mov r12, qword [rax + rcx]
mov r8, qword [rax + rcx + 8]
mov r14, r11
or r14, 2
mov rax, r12
mul r14
mov rcx, rdx
mov rax, r8
mul r14
mov r10, rdx
mov r15, rax
add r15, rcx
adc r10, 0
mov ecx, edi
sub ecx, ebp
add ecx, r9d
add cl, 0x3d
shrd r15, r10, cl
shr r10, cl
mov r9, rbx
not r9
add r9, r11
mov rax, r12
mul r9
mov rbp, rdx
mov rax, r8
mul r9
mov r9, rdx
mov r13, rax
add r13, rbp
adc r9, 0
shrd r13, r9, cl
shr r9, cl
mov rax, r12
mul r11
mov r12, rdx
mov rax, r8
mul r11
mov r8, rdx
add rax, r12
adc r8, 0
shrd rax, r8, cl
shr r8, cl
test cl, 0x40
cmove r10, r15
cmove r9, r13
cmove r8, rax
cmp edi, 0x16
jae 0x140007e5d
movabs rcx, 0x3333333333333334
mov rax, r11
mul rcx
lea eax, [rdx + rdx*4]
cmp eax, r11d
jne 0x140007df7
mov ecx, 0xffffffff
nop dword [rax]
mov rax, r11
mul rsi
shr rdx, 2
lea eax, [rdx + rdx*4]
inc ecx
cmp eax, r11d
mov r11, rdx
je 0x140007cc0
cmp ecx, edi
jb 0x140007e5d
mov bpl, 1
xor r13d, r13d
jmp 0x140007e2f
mov ecx, ebp
imul ebp, ebp, 0xfff4d105
shr ebp, 0x14
xor eax, eax
cmp ecx, 0xffffffff
setne al
sub ebp, eax
add ecx, ebp
mov eax, ecx
neg eax
mov dword [rsp + 0x2c], ecx
imul r9d, ecx, 0x3ed6cb1
shr r9d, 0x13
cdqe
shl rax, 4
lea rcx, [0x1401a2550]
mov r15, qword [rax + rcx]
mov r8, qword [rax + rcx + 8]
mov r10, r11
or r10, 2
mov rax, r15
mul r10
mov rcx, rdx
mov rax, r8
mul r10
mov r10, rdx
mov r14, rax
add r14, rcx
adc r10, 0
mov ecx, ebp
sub ecx, r9d
add cl, 0x3c
shrd r14, r10, cl
shr r10, cl
not rbx
add rbx, r11
mov rax, r15
mul rbx
mov r12, rdx
mov rax, r8
mul rbx
mov r9, rdx
mov rbx, rax
add rbx, r12
adc r9, 0
shrd rbx, r9, cl
shr r9, cl
mov rax, r15
mul r11
mov r15, rdx
mov rax, r8
mul r11
mov r8, rdx
add rax, r15
adc r8, 0
shrd rax, r8, cl
shr r8, cl
test cl, 0x40
cmove r10, r14
cmove r9, rbx
cmove r8, rax
cmp ebp, 2
jae 0x140007dd4
mov qword [rsp + 0x30], rdi
mov eax, edi
and eax, 1
sete cl
and r13b, cl
sub r10, rax
mov bpl, 1
jmp 0x140007f3d
cmp ebp, 0x3e
ja 0x140007df1
mov rax, 0xffffffffffffffff
mov ecx, ebp
shl rax, cl
not rax
test r11, rax
je 0x140007f32
mov ebp, dword [rsp + 0x2c]
jmp 0x140007e5f
test byte [rsp + 0x30], 1
jne 0x140007e3a
not rbx
add rbx, r11
mov ecx, 0xffffffff
nop dword [rax]
mov rax, rbx
mul rsi
shr rdx, 2
lea eax, [rdx + rdx*4]
inc ecx
cmp eax, ebx
mov rbx, rdx
je 0x140007e10
cmp ecx, edi
jb 0x140007e5d
mov r13b, 1
xor ebp, ebp
mov eax, edi
mov dword [rsp + 0x2c], edi
jmp 0x140007f3d
mov ecx, 0xffffffff
nop
mov rax, r14
mul rsi
shr rdx, 2
lea eax, [rdx + rdx*4]
inc ecx
cmp eax, r14d
mov r14, rdx
je 0x140007e40
cmp ecx, edi
adc r10, 0xffffffffffffffff
mov ebp, edi
mov rax, r10
shr rax, 2
movabs rbx, 0x28f5c28f5c28f5c3
mul rbx
mov r11, rdx
shr r11, 2
mov rax, r9
shr rax, 2
mul rbx
mov rcx, rdx
shr rcx, 2
xor edi, edi
cmp r11, rcx
jbe 0x140007eb7
mov rax, r8
shr rax, 2
mul rbx
shr rdx, 2
imul eax, edx, 0xffffff9c
add eax, r8d
cmp eax, 0x32
setae dil
mov ebx, 2
mov r8, rdx
jmp 0x140007ebf
xor ebx, ebx
mov rcx, r9
mov r11, r10
mov rax, r11
mul rsi
mov r9, rdx
mov rax, rcx
mul rsi
shr r9, 3
shr rdx, 3
cmp r9, rdx
jbe 0x140007f23
nop dword [rax + rax]
mov r10, r8
mov rcx, rdx
mov rax, r8
mul rsi
mov r8, rdx
shr r8, 3
inc ebx
mov rax, r9
mul rsi
mov r9, rdx
mov rax, rcx
mul rsi
shr r9, 3
shr rdx, 3
cmp r9, rdx
ja 0x140007ee0
lea eax, [r8 + r8]
lea eax, [rax + rax*4]
sub r10d, eax
cmp r10d, 5
setae dil
cmp r8, rcx
sete r13b
or r13b, dil
jmp 0x140008077
mov qword [rsp + 0x30], rdi
mov bpl, 1
xor r13d, r13d
mov rax, r10
mul rsi
mov r11, rdx
shr r11, 3
mov rax, r9
mul rsi
shr rdx, 3
xor edi, edi
xor ebx, ebx
cmp r11, rdx
jbe 0x140007fc2
xor r14d, r14d
mov rcx, rdx
lea edi, [rdx + rdx]
mov rax, r8
mul rsi
mov r10, rdx
lea eax, [rdi + rdi*4]
shr r10, 3
lea edx, [r10 + r10]
lea edi, [rdx + rdx*4]
neg edi
add dil, r8b
cmp eax, r9d
sete al
and r13b, al
test r14b, r14b
sete al
and bpl, al
mov rax, r11
mul rsi
inc ebx
mov r11, rdx
shr r11, 3
mov rax, rcx
mul rsi
shr rdx, 3
mov r8, r10
mov r9, rcx
mov r14d, edi
cmp r11, rdx
ja 0x140007f60
test r13b, r13b
jne 0x140007fcd
jmp 0x140008039
mov rcx, r9
mov r10, r8
test r13b, r13b
je 0x140008039
mov rax, rcx
mul rsi
mov r9, rdx
shr r9, 3
lea eax, [r9 + r9]
lea eax, [rax + rax*4]
cmp eax, ecx
jne 0x140008039
nop word cs:[rax + rax]
mov rax, r10
mul rsi
mov r8, rdx
shr r8, 3
lea eax, [r8 + r8]
lea r11d, [rax + rax*4]
neg r11d
add r11b, r10b
test dil, dil
sete al
and bpl, al
inc ebx
mov rax, r9
mul rsi
shr rdx, 3
lea eax, [rdx + rdx]
lea eax, [rax + rax*4]
mov rcx, r9
mov r10, r8
mov edi, r11d
cmp eax, r9d
mov r9, rdx
je 0x140007ff0
jmp 0x14000803f
mov r11d, edi
mov r8, r10
mov eax, r8d
and al, 1
or al, 4
cmp r11b, 5
movzx edx, r11b
movzx eax, al
cmovne eax, edx
test bpl, bpl
cmove eax, edx
cmp r8, rcx
sete cl
not r13b
or r13b, byte [rsp + 0x30]
cmp al, 5
setae al
and r13b, cl
or r13b, al
mov ebp, dword [rsp + 0x2c]
add ebp, ebx
movzx ebx, r13b
add rbx, r8
mov eax, 0x11
movabs rcx, 0x2386f26fc0ffff
cmp rbx, rcx
mov rdi, qword [rsp + 0x38]
ja 0x1400081a6
mov eax, 0x10
movabs rcx, 0x38d7ea4c67fff
cmp rbx, rcx
ja 0x1400081a6
mov eax, 0xf
movabs rcx, 0x5af3107a3fff
cmp rbx, rcx
ja 0x1400081a6
mov rcx, rbx
shr rcx, 0xd
mov eax, 0xe
cmp rcx, 0x48c27394
ja 0x1400081a6
mov rcx, rbx
shr rcx, 0xc
mov eax, 0xd
cmp rcx, 0xe8d4a50
ja 0x1400081a6
mov rcx, rbx
shr rcx, 0xb
mov eax, 0xc
add byte [rax - 0x7f], cl
stc
fmul qword [rsi]
jmp 0xce879017
add byte [rax], al
invalid
mov rcx, rbx
shr rcx, 0xa
mov eax, 0xb
cmp rcx, 0x9502f8
ja 0x1400081a6
mov eax, 0xa
cmp rbx, 0x3b9ac9ff
ja 0x1400081a6
mov eax, 9
cmp rbx, 0x5f5e0ff
ja 0x1400081a6
mov eax, 8
cmp rbx, 0x98967f
ja 0x1400081a6
mov eax, 7
cmp rbx, 0xf423f
ja 0x1400081a6
mov eax, 6
cmp rbx, 0x1869f
ja 0x1400081a6
mov eax, 5
cmp rbx, 0x270f
ja 0x1400081a6
mov eax, 4
cmp rbx, 0x3e7
ja 0x1400081a6
mov eax, 3
cmp rbx, 0x63
ja 0x1400081a6
cmp rbx, 0xa
mov eax, 1
sbb eax, 0xffffffff
mov r15d, eax
movsxd r12, ebp
lea r14, [r15 + r12]
test r12d, r12d
mov r13, qword [rsp + 0x40]
js 0x1400081fa
cmp r14, 0x11
jge 0x1400081fa
add r15, rdi
add r15, r13
mov rcx, rbx
mov rdx, r15
call fcn.1400f8380
test ebp, ebp
je 0x1400081e2
mov rcx, r15
mov dl, 0x30
mov r8, r12
call sub.VCRUNTIME140.dll_memset
lea rax, [r14 + rdi]
mov word [r13 + rax], 0x302e
add rdi, r14
add rdi, 2
jmp 0x14000840a
lea rsi, [r14 - 1]
cmp rsi, 0x10
jae 0x140008238
lea rsi, [rdi + r15]
inc rsi
lea rdx, [rsi + r13]
mov rcx, rbx
call fcn.1400f8380
lea rdx, [rdi + r13]
inc rdx
lea rcx, [rdi + r13]
mov r8, r14
mov eax, esi
lea rax, [r14 + 4]
cmp rax, 5
jae 0x14000828f
mov word [r13 + rdi], 0x2e30
mov esi, 2
sub rsi, r14
test r14, r14
jns case.0x140003605.361
lea rcx, [rdi + r13]
add rcx, 2
cmp rsi, 4
mov r8d, 3
cmovge r8, rsi
add r8, 0xfffffffffffffffe
mov dl, 0x30
xor al, ch
test byte [rdx + 0x15], dh
jb 0x14000828c
invalid