Function at 0x40ba8f
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.0040b890
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 0x40bb1d
mov dil, byte [rsi + rbx]
lea edx, [rdi - 0x41]
cmp dl, 0x19
jbe 0x40baf1
lea eax, [rdi - 0x61]
cmp al, 0x19
ja 0x40bae4
add dil, 0xb9
jmp 0x40baef
lea eax, [rdi - 0x30]
cmp al, 9
ja 0x40bafe
add dil, 4
mov edx, edi
mov rcx, r14
call fcn.0040b9f1
inc rbx
jmp 0x40bac6
cmp dil, 0x2b
je 0x40bb15
cmp dil, 0x2f
je 0x40bb19
cmp dil, 0x3d
je 0x40baf9
jmp 0x40be01
mov dl, 0x3e
jmp 0x40baf1
mov dl, 0x3f
jmp 0x40baf1
mov r12, qword [rsp + 0x38]
mov eax, r12d
and eax, 3
cmp rax, 1
jne 0x40bb7e
mov sil, 2
mov rcx, qword [rsp + 0x28]
mov rdx, qword [rsp + 0x30]
call fcn.0040b8b7
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 0x40bded
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.0040b890
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 0x40bc7d
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.0040be0c
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.0040be0c
mov dl, byte [rax]
shr dl, 4
or dl, bl
mov rcx, r14
call fcn.0040b9f1
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.0040be0c
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.0040be0c
mov dl, byte [rax]
shr dl, 2
or dl, bl
mov rcx, r14
call fcn.0040b9f1
mov rcx, rdi
mov rdx, rbp
mov r8, r15
call fcn.0040be0c
mov bl, byte [rax]
shl bl, 6
lea rdx, [rsi + 3]
mov rcx, rdi
mov r8, r13
call fcn.0040be0c
or bl, byte [rax]
mov rcx, r14
mov edx, ebx
call fcn.0040b9f1
add rsi, 4
jmp 0x40bbc5
mov rbp, qword [rsp + 0x58]
cmp ebp, 1
jbe 0x40bd1f
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.0040be0c
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.0040be0c
mov dl, byte [rax]
shr dl, 4
or dl, bl
lea rcx, [rsp + 0x88]
call fcn.0040b9f1
cmp ebp, 3
jne 0x40bd1f
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.0040be0c
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.0040be0c
mov dl, byte [rax]
shr dl, 2
or dl, bl
lea rcx, [rsp + 0x88]
call fcn.0040b9f1
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.0040b8b7
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.0040b96e
cmp dword [rsi], 1
mov rdx, qword [rsp + 0x60]
jne 0x40bdd9
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 0x40bded
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 0x40bb31