Function at 0x14004c010
Capabilities:
Encode data using base64

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x78
mov r9d, dword [rcx + 0x94]
mov eax, r9d
mov rsi, rcx
mov ecx, dword [rcx + 0x98]
mov rbp, rdx
sub eax, ecx
cmp eax, 0x3f
ja 0x14004c100
movdqu xmm0, xmmword [0x140367020]
lea rdi, [rsp + 0x50]
lea rbx, [rsp + 0x30]
mov r8, rdx
lea r9, [rsi + 0x70]
mov rdx, rdi
mov rcx, rbx
mov qword [rsp + 0x48], 0
mov qword [rsp + 0x68], 0
movups xmmword [rsp + 0x38], xmm0
movups xmmword [rsp + 0x58], xmm0
call method.CryptoPP::PolynomialMod2.Divide_CryptoPP::PolynomialMod2__CryptoPP::PolynomialMod2__CryptoPP::PolynomialMod2_const__CryptoPP::PolynomialMod2_const_
mov rdx, qword [rsp + 0x68]
test rdx, rdx
je 0x14004c0ac
mov rax, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x58]
mov rdi, rdx
cmp rcx, rax
cmova rcx, rax
xor eax, eax
rep stosq qword [rdi], rax
mov rcx, rdx
call method.CryptoPP.UnalignedDeallocate_void_
add rsi, 0x50
mov rdx, rbx
mov rcx, rsi
call method.CryptoPP::SecBlock_unsigned_long_long__CryptoPP::AllocatorWithCleanup_unsigned_long_long__false___.Assign_CryptoPP::SecBlock_unsigned_long_long__CryptoPP::AllocatorWithCleanup_unsigned_long_long__false____const_
mov rdx, qword [rsp + 0x48]
test rdx, rdx
je 0x14004c0e6
mov rax, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x38]
mov rdi, rdx
cmp rcx, rax
cmova rcx, rax
xor eax, eax
rep stosq qword [rdi], rax
mov rcx, rdx
call method.CryptoPP.UnalignedDeallocate_void_
mov rax, rsi
add rsp, 0x78
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
mov rdi, qword [rdx + 0x10]
mov r14, qword [rdx + 8]
mov rax, rdi
shr rax, 0x3d
jne 0x14004c401
test rdi, rdi
je 0x14004c2f0
lea r12, [rdi*8]
mov rcx, r12
call method.CryptoPP.UnalignedAllocate_unsigned_long_long_
mov rbx, rax
test rax, rax
je 0x14004c158
mov rdx, qword [rbp + 0x18]
test rdx, rdx
je 0x14004c158
mov r8, qword [rbp + 0x10]
shl r8, 3
cmp r12, r8
jb 0x14004c3a8
mov rcx, rax
call sym.memcpy
mov r10d, dword [rsi + 0x94]
lea rax, [rdi - 1]
mov r9, r10
add r10, 0x3f
shr r10, 6
cmp rax, r10
jb 0x14004c261
mov ecx, dword [rsi + 0x98]
mov ebp, r9d
mov edx, 0x40
mov r13d, r9d
mov r12d, r9d
sub ebp, ecx
mov r15d, edx
and r13d, 0x3f
mov dword [rsp + 0x24], r9d
mov r11d, ebp
mov qword [rsp + 0x28], r14
shr r12d, 6
sub r15d, r13d
and r11d, 0x3f
mov qword [rsp + 0xc0], rsi
shr ebp, 6
sub edx, r11d
mov dword [rsp + 0x20], edx
jmp 0x14004c21e
mov ecx, r13d
mov rsi, rdx
shr rsi, cl
mov rcx, rsi
mov rsi, rdx
xor rcx, r14
mov qword [r9], rcx
mov ecx, r15d
shl rsi, cl
xor qword [rbx + r8 - 8], rsi
mov r8, rax
sub r8, rbp
shl r8, 3
lea r9, [rbx + r8]
mov r14, qword [r9]
test r11d, r11d
je 0x14004c240
mov rsi, rdx
mov ecx, r11d
sub rax, 1
shr rsi, cl
mov rcx, rsi
xor rcx, r14
mov qword [r9], rcx
movzx ecx, byte [rsp + 0x20]
shl rdx, cl
xor qword [rbx + r8 - 8], rdx
cmp rax, r10
jb 0x14004c24f
mov r8, rax
mov rdx, qword [rbx + rax*8]
sub r8, r12
shl r8, 3
lea r9, [rbx + r8]
mov r14, qword [r9]
test r13d, r13d
jne 0x14004c1c0
xor r14, rdx
mov qword [r9], r14
jmp 0x14004c1e0
xor rdx, r14
sub rax, 1
mov qword [r9], rdx
cmp rax, r10
jae 0x14004c21e
mov r9d, dword [rsp + 0x24]
mov r14, qword [rsp + 0x28]
mov rsi, qword [rsp + 0xc0]
sub r10, 1
cmp r10, rax
je 0x14004c310
mov r8, qword [rsi + 0xb0]
mov rcx, qword [rsi + 0xb8]
test r8, r8
je 0x14004c296
shl r8, 3
xor edx, edx
call sym.memset
mov r8, qword [rsi + 0xb0]
mov rcx, rax
cmp rcx, rbx
je 0x14004c2d8
cmp rdi, r8
mov rdx, rbx
cmovbe r8, rdi
add rsi, 0xa0
shl r8, 3
call sym.memcpy
cmp r14, rdi
cmovbe rdi, r14
xor eax, eax
mov rcx, rdi
mov rdi, rbx
rep stosq qword [rdi], rax
mov rcx, rbx
call method.CryptoPP.UnalignedDeallocate_void_
jmp 0x14004c0e6
add rsi, 0xa0
test rbx, rbx
je 0x14004c0e6
jmp 0x14004c2b5
mov r10d, r9d
mov rax, 0xffffffffffffffff
xor ebx, ebx
add r10, 0x3f
shr r10, 6
jmp 0x14004c17d
mov r8d, r9d
and r8d, 0x3f
je 0x14004c26e
mov ecx, r8d
mov edx, 1
mov r11, rax
shl rdx, cl
lea rcx, [rbx + rax*8]
mov r10, rdx
sub rdx, 1
and rdx, qword [rcx]
neg r10
and r10, qword [rcx]
mov qword [rcx], rdx
mov edx, r9d
shr edx, 6
mov ecx, r8d
sub r9d, dword [rsi + 0x98]
sub r11, rdx
mov rdx, r10
shr rdx, cl
xor qword [rbx + r11*8], rdx
mov edx, r9d
shr edx, 6
sub rax, rdx
shl rax, 3
lea rdx, [rbx + rax]
and r9d, 0x3f
je 0x14004c3a0
mov r15, r10
mov ecx, r9d
shr r15, cl
xor qword [rdx], r15
cmp r8d, r9d
jae 0x14004c26e
mov ecx, 0x40
sub ecx, r9d
shl r10, cl
xor qword [rbx + rax - 8], r10
jmp 0x14004c26e
xor qword [rdx], r10
jmp 0x14004c26e
mov ecx, 0x30
lea rdi, [rsp + 0x50]
call sym.__cxa_allocate_exception
lea rdx, [0x140366eab]
mov rcx, rdi
mov rsi, rax
call fcn.140352400
mov r8, rdi
mov edx, 1
mov rcx, rsi
call fcn.140244f70
lea rax, fcn.1402132b0
mov rcx, rdi
mov qword [rsi], rax
call method.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___._M_dispose__
lea r8, [fcn.1402132b0]
lea rdx, [0x1403982a0]
mov rcx, rsi
call sym.__cxa_throw
mov ecx, 0x30
lea rdi, [rsp + 0x50]
call sym.__cxa_allocate_exception
lea rdx, [0x140366e70]
mov rcx, rdi
mov rsi, rax
call fcn.140352400
mov r8, rdi
mov edx, 1
mov rcx, rsi
call fcn.140244f70
jmp 0x14004c3d9