Function at 0x14008f239
Capabilities:
Encode data using base64

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x78
lea rbp, [rsp + 0x70]
mov qword [rbp], 0xfffffffffffffffe
mov r14, rdx
movabs rdx, 0xaaaaaaaaaaaaaaab
mov rax, r8
mul rdx
mov rax, r8
shr rax, 0x3e
cmp eax, 2
ja 0x14008f97c
mov rbx, r8
mov rsi, rdx
shr rsi, 1
lea rax, [rsi + rsi*2]
mov r15, r8
sub r15, rax
shl rsi, 2
test r15, r15
je 0x14008f29f
add rsi, 4
jb 0x14008f97c
mov qword [rbp - 0x10], rcx
mov rcx, rsi
mov dl, 1
call fcn.140065fba
mov qword [rbp - 0x18], rax
mov rdi, rdx
xor ecx, ecx
mov r8, rbx
mov eax, 0
sub r8, 0x1a
cmovb r8, rcx
jbe 0x14008f5a4
mov edx, 0x20
xor eax, eax
lea r9, [0x1404cecf4]
mov rcx, rdx
lea rdx, [rax + 0x1a]
cmp rdx, rbx
ja 0x14008f8a9
test rcx, rcx
je 0x14008f8c8
cmp rcx, rsi
ja 0x14008f8ea
mov rdx, qword [r14 + rax]
bswap rdx
mov r10, rdx
shr r10, 0x3a
mov r10b, byte [r10 + r9 + 3]
mov byte [rdi + rcx - 0x20], r10b
mov r10, rdx
shr r10, 0x34
and r10d, 0x3f
mov r10b, byte [r10 + r9 + 3]
mov byte [rdi + rcx - 0x1f], r10b
mov r10, rdx
shr r10, 0x2e
and r10d, 0x3f
mov r10b, byte [r10 + r9 + 3]
mov byte [rdi + rcx - 0x1e], r10b
mov r10, rdx
shr r10, 0x28
and r10d, 0x3f
mov r10b, byte [r10 + r9 + 3]
mov byte [rdi + rcx - 0x1d], r10b
mov r10, rdx
shr r10, 0x22
and r10d, 0x3f
mov r10b, byte [r10 + r9 + 3]
mov byte [rdi + rcx - 0x1c], r10b
mov r10, rdx
shr r10, 0x1c
and r10d, 0x3f
mov r10b, byte [r10 + r9 + 3]
mov byte [rdi + rcx - 0x1b], r10b
mov r10d, edx
shr r10d, 0x16
and r10d, 0x3f
mov r10b, byte [r10 + r9 + 3]
mov byte [rdi + rcx - 0x1a], r10b
shr edx, 0x10
and edx, 0x3f
mov dl, byte [rdx + r9 + 3]
mov byte [rdi + rcx - 0x19], dl
mov rdx, qword [r14 + rax + 6]
bswap rdx
mov r10, rdx
shr r10, 0x3a
mov r10b, byte [r10 + r9 + 3]
mov byte [rdi + rcx - 0x18], r10b
mov r10, rdx
shr r10, 0x34
and r10d, 0x3f
mov r10b, byte [r10 + r9 + 3]
mov byte [rdi + rcx - 0x17], r10b
mov r10, rdx
shr r10, 0x2e
and r10d, 0x3f
mov r10b, byte [r10 + r9 + 3]
mov byte [rdi + rcx - 0x16], r10b
mov r10, rdx
shr r10, 0x28
and r10d, 0x3f
mov r10b, byte [r10 + r9 + 3]
mov byte [rdi + rcx - 0x15], r10b
mov r10, rdx
shr r10, 0x22
and r10d, 0x3f
mov r10b, byte [r10 + r9 + 3]
mov byte [rdi + rcx - 0x14], r10b
mov r10, rdx
shr r10, 0x1c
and r10d, 0x3f
mov r10b, byte [r10 + r9 + 3]
mov byte [rdi + rcx - 0x13], r10b
mov r10d, edx
shr r10d, 0x16
and r10d, 0x3f
mov r10b, byte [r10 + r9 + 3]
mov byte [rdi + rcx - 0x12], r10b
shr edx, 0x10
and edx, 0x3f
mov dl, byte [rdx + r9 + 3]
mov byte [rdi + rcx - 0x11], dl
mov rdx, qword [r14 + rax + 0xc]
bswap rdx
mov r10, rdx
shr r10, 0x3a
mov r10b, byte [r10 + r9 + 3]
mov byte [rdi + rcx - 0x10], r10b
mov r10, rdx
shr r10, 0x34
and r10d, 0x3f
mov r10b, byte [r10 + r9 + 3]
mov byte [rdi + rcx - 0xf], r10b
mov r10, rdx
shr r10, 0x2e
and r10d, 0x3f
mov r10b, byte [r10 + r9 + 3]
mov byte [rdi + rcx - 0xe], r10b
mov r10, rdx
shr r10, 0x28
and r10d, 0x3f
mov r10b, byte [r10 + r9 + 3]
mov byte [rdi + rcx - 0xd], r10b
mov r10, rdx
shr r10, 0x22
and r10d, 0x3f
mov r10b, byte [r10 + r9 + 3]
mov byte [rdi + rcx - 0xc], r10b
mov r10, rdx
shr r10, 0x1c
and r10d, 0x3f
mov r10b, byte [r10 + r9 + 3]
mov byte [rdi + rcx - 0xb], r10b
mov r10d, edx
shr r10d, 0x16
and r10d, 0x3f
mov r10b, byte [r10 + r9 + 3]
mov byte [rdi + rcx - 0xa], r10b
shr edx, 0x10
and edx, 0x3f
mov dl, byte [rdx + r9 + 3]
mov byte [rdi + rcx - 9], dl
mov rdx, qword [r14 + rax + 0x12]
bswap rdx
mov r10, rdx
shr r10, 0x3a
mov r10b, byte [r10 + r9 + 3]
mov byte [rdi + rcx - 8], r10b
mov r10, rdx
shr r10, 0x34
and r10d, 0x3f
mov r10b, byte [r10 + r9 + 3]
mov byte [rdi + rcx - 7], r10b
mov r10, rdx
shr r10, 0x2e
and r10d, 0x3f
mov r10b, byte [r10 + r9 + 3]
mov byte [rdi + rcx - 6], r10b
mov r10, rdx
shr r10, 0x28
and r10d, 0x3f
mov r10b, byte [r10 + r9 + 3]
mov byte [rdi + rcx - 5], r10b
mov r10, rdx
shr r10, 0x22
and r10d, 0x3f
mov r10b, byte [r10 + r9 + 3]
mov byte [rdi + rcx - 4], r10b
mov r10, rdx
shr r10, 0x1c
and r10d, 0x3f
mov r10b, byte [r10 + r9 + 3]
mov byte [rdi + rcx - 3], r10b
mov r10d, edx
shr r10d, 0x16
and r10d, 0x3f
mov r10b, byte [r10 + r9 + 3]
mov byte [rdi + rcx - 2], r10b
shr edx, 0x10
and edx, 0x3f
mov dl, byte [rdx + r9 + 3]
mov byte [rdi + rcx - 1], dl
add rax, 0x18
lea rdx, [rcx + 0x20]
cmp rax, r8
jbe 0x14008f2da
mov r10, rbx
sub r10, r15
cmp rax, r10
jae 0x14008f665
lea r8, [0x1404cecf4]
lea r9, [rax + 3]
cmp rax, 0xfffffffffffffffc
ja 0x14008f906
cmp r9, rbx
ja 0x14008f925
lea rdx, [rcx + 4]
cmp rcx, 0xfffffffffffffffb
ja 0x14008f944
cmp rdx, rsi
ja 0x14008f95d
movzx r11d, byte [r14 + rax]
mov r12d, r11d
shr r12d, 2
mov r12b, byte [r12 + r8 + 3]
mov byte [rdi + rcx], r12b
mov r12b, byte [r14 + rax + 1]
shl r11b, 4
mov r13d, r12d
shr r13b, 4
or r13b, r11b
movzx r11d, r13b
and r11d, 0x3f
mov r11b, byte [r11 + r8 + 3]
mov byte [rdi + rcx + 1], r11b
movzx eax, byte [r14 + rax + 2]
shl r12b, 2
mov r11d, eax
shr r11b, 6
or r11b, r12b
movzx r11d, r11b
and r11d, 0x3f
mov r11b, byte [r11 + r8 + 3]
mov byte [rdi + rcx + 2], r11b
and eax, 0x3f
mov al, byte [rax + r8 + 3]
mov byte [rdi + rcx + 3], al
add ecx, dword [rcx + rcx*4 - 0x38]
mov rcx, rdx
cmp r9, r10
jb 0x14008f5ba
jmp 0x14008f668
mov rdx, rcx
cmp r15, 1
je 0x14008f6f2
cmp r15, 2
jne 0x14008f741
cmp rdx, rsi
jae 0x14008f7f8
movzx r9d, byte [r14 + r10]
mov eax, r9d
shr eax, 2
lea r8, [0x1404cecf4]
mov al, byte [rax + r8 + 3]
add ecx, dword [rax - 0xb6e8fc]
ret 0x3949
fimul dword [rdi]
invalid
mov eax, dword [rcx]
add byte [rax], al
lea rcx, [rdx + 1]
cmp rcx, rsi
jae 0x14008f871
mov al, byte [r14 + r10]
mov ecx, eax
shr cl, 4
shl r9b, 4
or r9b, cl
movzx ecx, r9b
and ecx, 0x3f
mov cl, byte [rcx + r8 + 3]
mov byte [rdi + rdx + 1], cl
lea rcx, [rdx + 2]
cmp rcx, rsi
jae 0x14008f88d
shl al, 2
and al, 0x3c
mov r8d, 3
jmp 0x14008f72c
cmp rdx, rsi
jae 0x14008f817
movzx eax, byte [r14 + r10]
mov ecx, eax
shr ecx, 2
lea r8, [0x1404cecf4]
mov cl, byte [rcx + r8 + 3]
mov byte [rdi + rdx], cl
lea rcx, [rdx + 1]
cmp rcx, rsi
jae 0x14008f855
shl al, 4
and al, 0x30
mov r8d, 2
movzx eax, al
lea r9, [0x1404cecf4]
mov al, byte [rax + r9 + 3]
mov byte [rdi + rcx], al
add rdx, r8
mov rcx, rsi
sub rcx, rdx
jb 0x14008f994
mov eax, edx
neg eax
and eax, 3
loopne 0x14008f757
mov qword [rbp - 0x10], rdi
mov byte [rbp - 1], 0
lea r8, str.C:UsersDevelopUser.cargo_registry_srcindex.crates.io_6f17d22bba15001f_base64_0.21.7_srcenginegeneral_purposemod.rs
mov rcx, rdx
mov rdx, rsi
call fcn.1400d9050
jmp 0x14008fa15
mov qword [rbp - 0x10], rdi
mov byte [rbp - 1], 0
lea r8, str.C:UsersDevelopUser.cargo_registry_srcindex.crates.io_6f17d22bba15001f_base64_0.21.7_srcenginegeneral_purposemod.rs
mov rcx, rdx
mov rdx, rsi
call fcn.1400d9050
jmp 0x14008fa15
mov qword [rbp - 0x10], rdi
mov byte [rbp - 1], 0
lea r8, str.C:UsersDevelopUser.cargo_registry_srcindex.crates.io_6f17d22bba15001f_base64_0.21.7_srcenginegeneral_purposemod.rs
mov rcx, r10
mov rdx, rbx
call fcn.1400d9050
jmp 0x14008fa15
mov qword [rbp - 0x10], rdi
mov byte [rbp - 1], 0
lea r8, str.C:UsersDevelopUser.cargo_registry_srcindex.crates.io_6f17d22bba15001f_base64_0.21.7_srcenginegeneral_purposemod.rs
mov rdx, rsi
call fcn.1400d9050
jmp 0x14008fa15
mov qword [rbp - 0x10], rdi
mov byte [rbp - 1], 0
lea r8, str.C:UsersDevelopUser.cargo_registry_srcindex.crates.io_6f17d22bba15001f_base64_0.21.7_srcenginegeneral_purposemod.rs
mov rdx, rsi
call fcn.1400d9050
jmp 0x14008fa15
mov qword [rbp - 0x10], rdi
mov byte [rbp - 1], 0
lea r8, str.C:UsersDevelopUser.cargo_registry_srcindex.crates.io_6f17d22bba15001f_base64_0.21.7_srcenginegeneral_purposemod.rs
mov rdx, rsi
call fcn.1400d9050
jmp 0x14008fa15
mov qword [rbp - 0x10], rdi
mov byte [rbp - 1], 0
lea r8, str.C:UsersDevelopUser.cargo_registry_srcindex.crates.io_6f17d22bba15001f_base64_0.21.7_srcenginegeneral_purposemod.rs
mov rcx, rdx
mov rdx, rbx
call fcn.1400d90d0
jmp 0x14008fa15
mov qword [rbp - 0x10], rdi
mov byte [rbp - 1], 0
lea r8, str.C:UsersDevelopUser.cargo_registry_srcindex.crates.io_6f17d22bba15001f_base64_0.21.7_srcenginegeneral_purposemod.rs
mov rcx, 0xffffffffffffffe0
xor edx, edx
call fcn.1400d9350
jmp 0x14008fa15
mov qword [rbp - 0x10], rdi
mov byte [rbp - 1], 0
lea r8, str.C:UsersDevelopUser.cargo_registry_srcindex.crates.io_6f17d22bba15001f_base64_0.21.7_srcenginegeneral_purposemod.rs
mov rdx, rsi
call fcn.1400d90d0
jmp 0x14008fa15
mov qword [rbp - 0x10], rdi
mov byte [rbp - 1], 0
lea r8, str.C:UsersDevelopUser.cargo_registry_srcindex.crates.io_6f17d22bba15001f_base64_0.21.7_srcenginegeneral_purposemod.rs
mov rcx, rax
mov rdx, r9
call fcn.1400d9350
jmp 0x14008fa15
mov qword [rbp - 0x10], rdi
mov byte [rbp - 1], 0
lea r8, str.C:UsersDevelopUser.cargo_registry_srcindex.crates.io_6f17d22bba15001f_base64_0.21.7_srcenginegeneral_purposemod.rs
mov rcx, r9
mov rdx, rbx
call fcn.1400d90d0
jmp 0x14008fa15
mov qword [rbp - 0x10], rdi
mov byte [rbp - 1], 0
lea r8, str.C:UsersDevelopUser.cargo_registry_srcindex.crates.io_6f17d22bba15001f_base64_0.21.7_srcenginegeneral_purposemod.rs
call fcn.1400d9350
jmp 0x14008fa15
mov qword [rbp - 0x10], rdi
mov byte [rbp - 1], 0
lea r8, str.C:UsersDevelopUser.cargo_registry_srcindex.crates.io_6f17d22bba15001f_base64_0.21.7_srcenginegeneral_purposemod.rs
mov rcx, rdx
mov rdx, rsi
call fcn.1400d90d0
jmp 0x14008fa15
lea rcx, str.integer_overflow_when_calculating_buffer_sizeC:UsersDevelopUser.cargo_registry_srcindex.crates.io_6f17d22bba15001f_base64_0.21.7_srcenginemod.rs
lea r8, [0x1404cdd48]
mov edx, 0x2d
call fcn.1400d94d0
mov qword [rbp - 0x10], rdi
mov byte [rbp - 1], 0
lea r8, [0x1404cdc50]
mov rcx, rdx
mov rdx, rsi
call fcn.1400d8fd0
jmp 0x14008fa15