Function at 0x1401140b0
Capabilities:
Encode data using base64

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x20
mov r10, rdx
mov r9, qword [rsp + 0x88]
mov rdi, qword [rsp + 0x80]
mov eax, r8d
shr eax, 0x10
movsx rax, al
lea rdx, str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789__._0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz._ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_________0123456789_ABCDEFGHIJKLMNPQRSTUVXYZ__abcdehijklmpqr
mov rbx, qword [rdx + rax*8]
xor r11d, r11d
mov rdx, r10
mov esi, 0
sub rdx, 0x1a
cmovb rdx, r11
jbe 0x1401143da
mov eax, 0x20
xor esi, esi
nop word cs:[rax + rax]
mov r11, rax
lea rax, [rsi + 0x1a]
cmp rax, r10
ja 0x140114662
test r11, r11
je 0x140114676
cmp r11, r9
ja 0x14011468d
mov rax, qword [rcx + rsi]
bswap rax
mov r14, rax
shr r14, 0x3a
movzx ebp, byte [rbx + r14]
mov byte [rdi + r11 - 0x20], bpl
mov r14, rax
shr r14, 0x34
and r14d, 0x3f
movzx ebp, byte [rbx + r14]
mov byte [rdi + r11 - 0x1f], bpl
mov r14, rax
shr r14, 0x2e
and r14d, 0x3f
movzx ebp, byte [rbx + r14]
mov byte [rdi + r11 - 0x1e], bpl
mov r14, rax
shr r14, 0x28
and r14d, 0x3f
movzx ebp, byte [rbx + r14]
mov byte [rdi + r11 - 0x1d], bpl
mov r14, rax
shr r14, 0x22
and r14d, 0x3f
movzx ebp, byte [rbx + r14]
mov byte [rdi + r11 - 0x1c], bpl
mov r14, rax
shr r14, 0x1c
and r14d, 0x3f
movzx ebp, byte [rbx + r14]
mov byte [rdi + r11 - 0x1b], bpl
mov r14d, eax
shr r14d, 0x16
and r14d, 0x3f
movzx ebp, byte [rbx + r14]
mov byte [rdi + r11 - 0x1a], bpl
shr eax, 0x10
and eax, 0x3f
movzx ebp, byte [rbx + rax]
mov rax, qword [rcx + rsi + 6]
bswap rax
mov byte [rdi + r11 - 0x19], bpl
mov r14, rax
shr r14, 0x3a
movzx ebp, byte [rbx + r14]
mov byte [rdi + r11 - 0x18], bpl
mov r14, rax
shr r14, 0x34
and r14d, 0x3f
movzx ebp, byte [rbx + r14]
mov byte [rdi + r11 - 0x17], bpl
mov r14, rax
shr r14, 0x2e
and r14d, 0x3f
movzx ebp, byte [rbx + r14]
mov byte [rdi + r11 - 0x16], bpl
mov r14, rax
shr r14, 0x28
and r14d, 0x3f
movzx ebp, byte [rbx + r14]
mov byte [rdi + r11 - 0x15], bpl
mov r14, rax
shr r14, 0x22
and r14d, 0x3f
movzx ebp, byte [rbx + r14]
mov byte [rdi + r11 - 0x14], bpl
mov r14, rax
shr r14, 0x1c
and r14d, 0x3f
movzx ebp, byte [rbx + r14]
mov byte [rdi + r11 - 0x13], bpl
mov r14d, eax
shr r14d, 0x16
and r14d, 0x3f
movzx ebp, byte [rbx + r14]
mov byte [rdi + r11 - 0x12], bpl
shr eax, 0x10
and eax, 0x3f
movzx eax, byte [rbx + rax]
mov byte [rdi + r11 - 0x11], al
mov rax, qword [rcx + rsi + 0xc]
bswap rax
mov r14, rax
shr r14, 0x3a
movzx ebp, byte [rbx + r14]
mov byte [rdi + r11 - 0x10], bpl
mov r14, rax
shr r14, 0x34
and r14d, 0x3f
movzx ebp, byte [rbx + r14]
mov byte [rdi + r11 - 0xf], bpl
mov r14, rax
shr r14, 0x2e
and r14d, 0x3f
movzx ebp, byte [rbx + r14]
mov byte [rdi + r11 - 0xe], bpl
mov r14, rax
shr r14, 0x28
and r14d, 0x3f
movzx ebp, byte [rbx + r14]
mov byte [rdi + r11 - 0xd], bpl
mov r14, rax
shr r14, 0x22
and r14d, 0x3f
movzx ebp, byte [rbx + r14]
mov byte [rdi + r11 - 0xc], bpl
mov r14, rax
shr r14, 0x1c
and r14d, 0x3f
movzx ebp, byte [rbx + r14]
mov byte [rdi + r11 - 0xb], bpl
mov r14d, eax
shr r14d, 0x16
and r14d, 0x3f
movzx ebp, byte [rbx + r14]
mov byte [rdi + r11 - 0xa], bpl
shr eax, 0x10
and eax, 0x3f
movzx eax, byte [rbx + rax]
mov byte [rdi + r11 - 9], al
mov rax, qword [rcx + rsi + 0x12]
bswap rax
mov r14, rax
shr r14, 0x3a
movzx ebp, byte [rbx + r14]
mov byte [rdi + r11 - 8], bpl
mov r14, rax
shr r14, 0x34
and r14d, 0x3f
movzx ebp, byte [rbx + r14]
mov byte [rdi + r11 - 7], bpl
mov r14, rax
shr r14, 0x2e
and r14d, 0x3f
movzx ebp, byte [rbx + r14]
mov byte [rdi + r11 - 6], bpl
mov r14, rax
shr r14, 0x28
and r14d, 0x3f
movzx ebp, byte [rbx + r14]
mov byte [rdi + r11 - 5], bpl
mov r14, rax
shr r14, 0x22
and r14d, 0x3f
movzx ebp, byte [rbx + r14]
mov byte [rdi + r11 - 4], bpl
mov r14, rax
shr r14, 0x1c
and r14d, 0x3f
movzx ebp, byte [rbx + r14]
mov byte [rdi + r11 - 3], bpl
mov r14d, eax
shr r14d, 0x16
and r14d, 0x3f
movzx ebp, byte [rbx + r14]
mov byte [rdi + r11 - 2], bpl
shr eax, 0x10
and eax, 0x3f
movzx eax, byte [rbx + rax]
mov byte [rdi + r11 - 1], al
add rsi, 0x18
lea rax, [r11 + 0x20]
cmp rsi, rdx
jbe 0x140114110
movabs rdx, 0xaaaaaaaaaaaaaaab
mov rax, r10
mul rdx
shr rdx, 1
lea rax, [rdx + rdx*2]
cmp rsi, rax
jae 0x140114530
nop word [rax + rax]
cmp rsi, 0xfffffffffffffffc
ja 0x1401146a1
lea r14, [rsi + 3]
cmp r14, r10
ja 0x1401146b6
lea rdx, [r11 + 4]
cmp r11, 0xfffffffffffffffb
ja 0x1401146ce
cmp rdx, r9
ja 0x1401146df
movzx ebp, byte [rcx + rsi]
mov r15d, ebp
shr r15d, 2
movzx r15d, byte [rbx + r15]
mov byte [rdi + r11], r15b
movzx r15d, byte [rcx + rsi + 1]
shl bpl, 4
mov r12d, r15d
shr r12b, 4
or r12b, bpl
movzx r12d, r12b
and r12d, 0x3f
movzx ebp, byte [rbx + r12]
mov byte [rdi + r11 + 1], bpl
movzx esi, byte [rcx + rsi + 2]
shl r15b, 2
mov ebp, esi
shr bpl, 6
or bpl, r15b
movzx r15d, bpl
and r15d, 0x3f
movzx ebp, byte [rbx + r15]
mov byte [rdi + r11 + 2], bpl
and esi, 0x3f
movzx esi, byte [rbx + rsi]
mov byte [rdi + r11 + 3], sil
mov rsi, r14
mov r11, rdx
cmp r14, rax
jb 0x140114400
mov r11, r10
sub r11, rax
cmp r11, 1
je 0x140114543
cmp r11, 2
jne 0x140114581
cmp rdx, r9
jae 0x1401145fb
movzx esi, byte [rcx + rax]
mov r14d, esi
shr r14d, 2
movzx ebp, byte [rbx + r14]
mov byte [rdi + rdx], bpl
inc rax
cmp rax, r10
jae 0x140114618
lea r10, [rdx + 1]
cmp r10, r9
jae 0x14011463d
movzx eax, byte [rcx + rax]
mov ecx, eax
shr cl, 4
shl sil, 4
or sil, cl
movzx ecx, sil
and ecx, 0x3f
movzx ecx, byte [rbx + rcx]
mov byte [rdi + rdx + 1], cl
lea rcx, [rdx + 2]
cmp rcx, r9
jae 0x140114651
shl al, 2
and al, 0x3c
mov r10d, 3
jmp 0x140114574
mov rdx, r11
mov r11, r10
sub r11, rax
cmp r11, 1
jne 0x1401144b7
cmp rdx, r9
jae 0x140114604
movzx eax, byte [rcx + rax]
mov ecx, eax
shr ecx, 2
movzx ecx, byte [rbx + rcx]
mov byte [rdi + rdx], cl
lea rcx, [rdx + 1]
cmp rcx, r9
jae 0x14011462c
shl al, 4
and al, 0x30
mov r10d, 2
movzx eax, al
movzx eax, byte [rbx + rax]
mov byte [rdi + rcx], al
add rdx, r10
test r8b, 1
jne 0x14011458b
xor eax, eax
jmp 0x1401145d2
mov rcx, r9
sub rcx, rdx
jb 0x14011470d
xor eax, eax
test r11, r11
je 0x1401145d2
xor r11, 3
je 0x1401145d2
cmp r9, rdx
je 0x1401145ea
mov byte [rdi + rdx], 0x3d
cmp r11, 1
je 0x1401145cf
cmp rcx, 1
je 0x1401145ea
mov byte [rdi + rdx + 1], 0x3d
cmp r11, 2
je 0x1401145cf
cmp rcx, 2
je 0x1401145ea
mov byte [rdi + rdx + 2], 0x3d
mov rax, r11
add rdx, rax
jb 0x1401146f3
add rsp, 0x20
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
lea r8, str.C:Usersuser.cargo_registry_srcindex.crates.io_6f17d22bba15001f_base64_0.13.1_srcencode.rs
mov rdx, rcx
call fcn.140207890
ud2
lea r8, str.C:Usersuser.cargo_registry_srcindex.crates.io_6f17d22bba15001f_base64_0.13.1_srcencode.rs
jmp 0x14011460b
lea r8, str.C:Usersuser.cargo_registry_srcindex.crates.io_6f17d22bba15001f_base64_0.13.1_srcencode.rs
mov rcx, rdx
mov rdx, r9
call fcn.140207890
ud2
lea r8, str.C:Usersuser.cargo_registry_srcindex.crates.io_6f17d22bba15001f_base64_0.13.1_srcencode.rs
mov rcx, rax
mov rdx, r10
call fcn.140207890
ud2
lea r8, str.C:Usersuser.cargo_registry_srcindex.crates.io_6f17d22bba15001f_base64_0.13.1_srcencode.rs
mov rdx, r9
call fcn.140207890
ud2
lea r8, str.C:Usersuser.cargo_registry_srcindex.crates.io_6f17d22bba15001f_base64_0.13.1_srcencode.rs
mov rcx, r10
mov rdx, r9
call fcn.140207890
ud2
lea r8, str.C:Usersuser.cargo_registry_srcindex.crates.io_6f17d22bba15001f_base64_0.13.1_srcencode.rs
mov rdx, r9
call fcn.140207890
ud2
lea r8, str.C:Usersuser.cargo_registry_srcindex.crates.io_6f17d22bba15001f_base64_0.13.1_srcencode.rs
mov rcx, rax
mov rdx, r10
call fcn.140207c60
ud2
lea r8, str.C:Usersuser.cargo_registry_srcindex.crates.io_6f17d22bba15001f_base64_0.13.1_srcencode.rs
mov rcx, 0xffffffffffffffe0
xor edx, edx
call fcn.140207cd0
ud2
lea r8, str.C:Usersuser.cargo_registry_srcindex.crates.io_6f17d22bba15001f_base64_0.13.1_srcencode.rs
mov rcx, r11
mov rdx, r9
call fcn.140207c60
ud2
lea rdx, [rsi + 3]
lea r8, str.C:Usersuser.cargo_registry_srcindex.crates.io_6f17d22bba15001f_base64_0.13.1_srcencode.rs
mov rcx, rsi
call fcn.140207cd0
ud2
add rsi, 3
lea r8, str.C:Usersuser.cargo_registry_srcindex.crates.io_6f17d22bba15001f_base64_0.13.1_srcencode.rs
mov rcx, rsi
mov rdx, r10
call fcn.140207c60
ud2
lea r8, str.C:Usersuser.cargo_registry_srcindex.crates.io_6f17d22bba15001f_base64_0.13.1_srcencode.rs
mov rcx, r11
call fcn.140207cd0
ud2
lea r8, str.C:Usersuser.cargo_registry_srcindex.crates.io_6f17d22bba15001f_base64_0.13.1_srcencode.rs
mov rcx, rdx
mov rdx, r9
call fcn.140207c60
ud2
lea rcx, str.usize_overflow_when_calculating_b64_length
lea r8, str.C:Usersuser.cargo_registry_srcindex.crates.io_6f17d22bba15001f_base64_0.13.1_srcencode.rs
mov edx, 0x2a
call fcn.1402076f0
ud2
lea r8, str.C:Usersuser.cargo_registry_srcindex.crates.io_6f17d22bba15001f_base64_0.13.1_srcencode.rs
mov rcx, rdx
mov rdx, r9
call fcn.140207bf0
ud2