Function at 0x4098bf
Capabilities:
Encode data using base64

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0xb8
mov rbp, r8
mov rsi, rdx
mov r15, rcx
mov rcx, r8
call fcn.004096c0
lea r14, [rsp + 0x28]
mov qword [r14], rax
mov qword [r14 + 8], rdx
and qword [r14 + 0x10], 0
xor ebx, ebx
cmp rbp, rbx
je 0x40994d
mov dil, byte [rsi + rbx]
lea edx, [rdi - 0x41]
cmp dl, 0x19
jbe 0x409921
lea eax, [rdi - 0x61]
cmp al, 0x19
ja 0x409914
add dil, 0xb9
jmp 0x40991f
lea eax, [rdi - 0x30]
cmp al, 9
ja 0x40992e
add dil, 4
mov edx, edi
mov rcx, r14
call fcn.00409821
inc rbx
jmp 0x4098f6
cmp dil, 0x2b
je 0x409945
cmp dil, 0x2f
je 0x409949
cmp dil, 0x3d
je 0x409929
jmp 0x409c31
mov dl, 0x3e
jmp 0x409921
mov dl, 0x3f
jmp 0x409921
mov r12, qword [rsp + 0x38]
mov eax, r12d
and eax, 3
cmp rax, 1
jne 0x4099ae
mov sil, 2
mov rcx, qword [rsp + 0x28]
mov rdx, qword [rsp + 0x30]
call fcn.004096e7
mov byte [r15 + 8], sil
mov byte [r15 + 9], dil
mov eax, dword [rsp + 0x20]
mov dword [r15 + 0xa], eax
movzx eax, word [rsp + 0x24]
mov word [r15 + 0xe], ax
mov qword [r15 + 0x10], rbp
movups xmm0, xmmword [rsp + 0x68]
movups xmm1, xmmword [rsp + 0x78]
movups xmmword [r15 + 0x18], xmm0
movups xmmword [r15 + 0x28], xmm1
mov qword [r15], 1
jmp 0x409c1d
mov qword [rsp + 0x60], r15
and r12, 0xfffffffffffffffc
lea rcx, [r12 + r12*2]
shr rcx, 2
mov qword [rsp + 0x58], rax
add rcx, rax
call fcn.004096c0
lea r14, [rsp + 0x88]
mov qword [r14], rax
mov qword [r14 + 8], rdx
and qword [r14 + 0x10], 0
xor esi, esi
lea rdi, [rsp + 0x28]
lea r15, str._root_.cargo_registry_src_github.com_1ecc6299db9ec823_base64_0.1.1_src_lib.rs
lea r13, str._root_.cargo_registry_src_github.com_1ecc6299db9ec823_base64_0.1.1_src_lib.rs
cmp rsi, r12
jae 0x409aad
mov rcx, rdi
mov rdx, rsi
lea r8, str._root_.cargo_registry_src_github.com_1ecc6299db9ec823_base64_0.1.1_src_lib.rs
call fcn.00409c3c
mov bl, byte [rax]
shl bl, 2
lea rbp, [rsi + 1]
mov rcx, rdi
mov rdx, rbp
lea r8, str._root_.cargo_registry_src_github.com_1ecc6299db9ec823_base64_0.1.1_src_lib.rs
call fcn.00409c3c
mov dl, byte [rax]
shr dl, 4
or dl, bl
mov rcx, r14
call fcn.00409821
mov rcx, rdi
mov rdx, rbp
lea r8, str._root_.cargo_registry_src_github.com_1ecc6299db9ec823_base64_0.1.1_src_lib.rs
call fcn.00409c3c
mov bl, byte [rax]
shl bl, 4
lea rbp, [rsi + 2]
mov rcx, rdi
mov rdx, rbp
lea r8, str._root_.cargo_registry_src_github.com_1ecc6299db9ec823_base64_0.1.1_src_lib.rs
call fcn.00409c3c
mov dl, byte [rax]
shr dl, 2
or dl, bl
mov rcx, r14
call fcn.00409821
mov rcx, rdi
mov rdx, rbp
mov r8, r15
call fcn.00409c3c
mov bl, byte [rax]
shl bl, 6
lea rdx, [rsi + 3]
mov rcx, rdi
mov r8, r13
call fcn.00409c3c
or bl, byte [rax]
mov rcx, r14
mov edx, ebx
call fcn.00409821
add rsi, 4
jmp 0x4099f5
mov rbp, qword [rsp + 0x58]
cmp ebp, 1
jbe 0x409b4f
lea r8, str._root_.cargo_registry_src_github.com_1ecc6299db9ec823_base64_0.1.1_src_lib.rs
lea rdi, [rsp + 0x28]
mov rcx, rdi
mov rdx, r12
call fcn.00409c3c
mov bl, byte [rax]
shl bl, 2
mov rsi, r12
or rsi, 1
lea r8, str._root_.cargo_registry_src_github.com_1ecc6299db9ec823_base64_0.1.1_src_lib.rs
mov rcx, rdi
mov rdx, rsi
call fcn.00409c3c
mov dl, byte [rax]
shr dl, 4
or dl, bl
lea rcx, [rsp + 0x88]
call fcn.00409821
cmp ebp, 3
jne 0x409b4f
lea r8, str._root_.cargo_registry_src_github.com_1ecc6299db9ec823_base64_0.1.1_src_lib.rs
lea rdi, [rsp + 0x28]
mov rcx, rdi
mov rdx, rsi
call fcn.00409c3c
mov bl, byte [rax]
shl bl, 4
or r12, 2
lea r8, str._root_.cargo_registry_src_github.com_1ecc6299db9ec823_base64_0.1.1_src_lib.rs
mov rcx, rdi
mov rdx, r12
call fcn.00409c3c
mov dl, byte [rax]
shr dl, 2
or dl, bl
lea rcx, [rsp + 0x88]
call fcn.00409821
lea rsi, [rsp + 0x88]
movzx ebx, word [rsi]
mov eax, dword [rsi + 2]
mov dword [rsp + 0x20], eax
movzx eax, word [rsi + 6]
mov word [rsp + 0x24], ax
mov rbp, qword [rsi + 8]
mov rax, qword [rsi + 0x10]
mov qword [rsp + 0x68], rax
lea rdi, [rsp + 0x28]
mov rcx, qword [rdi]
mov rdx, qword [rdi + 8]
call fcn.004096e7
mov word [rdi], bx
mov eax, dword [rsp + 0x20]
mov dword [rdi + 2], eax
movzx eax, word [rsp + 0x24]
mov word [rdi + 6], ax
mov qword [rdi + 8], rbp
mov rax, qword [rsp + 0x68]
mov qword [rdi + 0x10], rax
mov rcx, rsi
mov rdx, rdi
call fcn.0040979e
cmp dword [rsi], 1
mov rdx, qword [rsp + 0x60]
jne 0x409c09
mov rax, qword [rsi + 0x28]
mov qword [rsp + 0x4f], rax
movups xmm0, xmmword [rsi + 8]
movups xmm1, xmmword [rsi + 0x18]
movups xmmword [rsp + 0x3f], xmm1
movups xmmword [rsp + 0x2f], xmm0
mov byte [rdx + 8], 0
movups xmm0, xmmword [rsp + 0x28]
movups xmm1, xmmword [rsp + 0x38]
mov rax, qword [rsp + 0x47]
mov rcx, qword [rsp + 0x4f]
movups xmmword [rdx + 9], xmm0
movups xmmword [rdx + 0x19], xmm1
mov qword [rdx + 0x28], rax
mov qword [rdx + 0x30], rcx
mov qword [rdx], 1
jmp 0x409c1d
mov rax, qword [rsi + 0x18]
mov qword [rdx + 0x18], rax
movups xmm0, xmmword [rsi + 8]
movups xmmword [rdx + 8], xmm0
and qword [rdx], 0
add rsp, 0xb8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov sil, 1
mov rbp, rbx
jmp 0x409961