Function at 0x14014c520
Capabilities:
Encode data using base64

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x98
mov r10d, r9d
mov r12, rcx
mov eax, 1
mov ecx, r9d
shl eax, cl
movzx edi, r8w
lea r11d, [rdi + rax]
dec r11d
mov ecx, r9d
shr r11d, cl
cmp r11d, 0xffff
ja 0x14014c73b
test r8w, r8w
je 0x14014c764
mov r9, rdx
shl edi, 2
mov rax, rdx
shr rax, 0x20
je 0x14014c58c
mov rax, r9
xor edx, edx
div rdi
sub r9, rdx
cmp r9, rdi
jb 0x14014c59b
jmp 0x14014c5af
mov eax, r9d
xor edx, edx
div edi
sub r9, rdx
cmp r9, rdi
jae 0x14014c5af
add rsp, 0x98
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov eax, r10d
and al, 0x3f
mov edx, 4
mov ecx, r10d
shl rdx, cl
mov qword [rsp + 0x60], rdx
cmp al, 0x3d
ja 0x14014c79e
mov ecx, r11d
mov qword [rsp + 0x40], rcx
mov rdx, qword [rsp + 0x108]
movzx eax, al
mov qword [rsp + 0x38], rax
xor eax, eax
mov qword [rsp + 0x30], rdi
jmp 0x14014c609
mov r9, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x30]
cmp r9, rdi
mov r12, qword [rsp + 0x58]
mov rax, qword [rsp + 0x48]
jb 0x14014c59b
mov r8, rax
lea rax, [r12 + rdi]
mov qword [rsp + 0x58], rax
lea rax, [r8 + 1]
mov qword [rsp + 0x48], rax
mov rcx, qword [rsp + 0x38]
shr r8, cl
sub r9, rdi
mov qword [rsp + 0x50], r9
imul r8, qword [rsp + 0x40]
mov rcx, r8
xor ebp, ebp
jmp 0x14014c64e
add r12, rsi
sub rdi, rsi
inc rbp
test rdi, rdi
je 0x14014c5f0
mov rsi, qword [rsp + 0x60]
cmp rdi, rsi
cmovb rsi, rdi
lea rax, [rcx + rbp]
shl rax, 2
cmp rax, rdx
jae 0x14014c70e
mov r10, rax
or r10, 1
cmp r10, rdx
jae 0x14014c71d
mov r11, rax
or r11, 2
cmp r11, rdx
jae 0x14014c72c
mov r8, rsi
and r8, 0xfffffffffffffffc
sete r9b
test r12, r12
sete bl
or bl, r9b
jne 0x14014c640
mov r9, qword [rsp + 0x100]
movsx eax, byte [r9 + rax]
movsx r10d, byte [r9 + r10]
movsx r11d, byte [r9 + r11]
xor r9d, r9d
nop dword [rax + rax]
movzx ebx, byte [r12 + r9]
movsx r15d, byte [r12 + r9 + 1]
movzx r13d, byte [r12 + r9 + 2]
mov r14d, r15d
imul r14d, r11d
shr r14d, 5
add r14d, ebx
imul r15d, r10d
shr r15d, 5
add r15d, r13d
movsx ebx, r14b
mov byte [r12 + r9], bl
imul ebx, eax
shr ebx, 5
add ebx, r15d
mov byte [r12 + r9 + 2], bl
add r9, 4
cmp r8, r9
jne 0x14014c6c0
jmp 0x14014c640
lea r8, str.C:UsersWDAGUtilityAccount.cargo_registry_srcindex.crates.io_6f17d22bba15001fimage_webp_0.2.0_srclossless_transform.rs
mov rcx, rax
call fcn.14029d940
lea r8, str.C:UsersWDAGUtilityAccount.cargo_registry_srcindex.crates.io_6f17d22bba15001fimage_webp_0.2.0_srclossless_transform.rs
mov rcx, r10
call fcn.14029d940
lea r8, str.C:UsersWDAGUtilityAccount.cargo_registry_srcindex.crates.io_6f17d22bba15001fimage_webp_0.2.0_srclossless_transform.rs
mov rcx, r11
call fcn.14029d940
lea rax, [0x140338e18]
mov qword [rsp + 0x20], rax
lea rcx, [0x140338d28]
lea r9, [0x140338d08]
lea r8, [rsp + 0x68]
mov edx, 0x2b
call fcn.14029dbe0
lea rax, [0x140338cf8]
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x70], 1
mov qword [rsp + 0x78], 8
xorps xmm0, xmm0
movups xmmword [rsp + 0x80], xmm0
lea rdx, str.C:UsersWDAGUtilityAccount.cargo_registry_srcindex.crates.io_6f17d22bba15001fimage_webp_0.2.0_srclossless_transform.rs
lea rcx, [rsp + 0x68]
call fcn.14029d7b0
lea rax, [0x140338cf8]
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x70], 1
mov qword [rsp + 0x78], 8
xorps xmm0, xmm0
movups xmmword [rsp + 0x80], xmm0
lea rdx, str.C:UsersWDAGUtilityAccount.cargo_registry_srcindex.crates.io_6f17d22bba15001fimage_webp_0.2.0_srclossless_transform.rs
lea rcx, [rsp + 0x68]
call fcn.14029d7b0
int3