Function at 0x14033b034
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r15
mov rbp, rsp
sub rsp, 0x50
mov rdi, rdx
mov rbx, rcx
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x30], xmm0
and qword [rbp - 0x20], 0
mov rsi, qword [rdx + 0x10]
test rsi, rsi
jne 0x14033b075
and qword [rcx], rsi
and qword [rcx + 8], rsi
and qword [rcx + 0x10], rsi
jmp 0x14033b281
xor r11d, r11d
mov r10, rsi
test sil, 3
je 0x14033b0a2
lea rdx, str.length_of_base64_string_is_not_an_even_multiple_of_4
lea rcx, [rbp - 0x18]
call fcn.14014eaac
lea rdx, [0x1404ae470]
lea rcx, [rbp - 0x18]
call sub.api_ms_win_crt_private_l1_1_0.dll__CxxThrowException
int3
mov r9, rdi
cmp qword [rdx + 0x18], 8
jb 0x14033b0af
mov r9, qword [rdx]
lea r15, [0x140410050]
lea rdx, [rbp + 0x28]
mov rcx, rdi
call fcn.1400f48e4
cmp r9, qword [rax]
je 0x14033b170
movzx eax, word [r9]
cmp rax, 0x80
jae 0x14033b14f
cmp byte [rax + r15], 0xff
je 0x14033b14f
cmp byte [rax + r15], 0xfe
jne 0x14033b104
inc r11
cmp r10, 2
ja 0x14033b12e
jne 0x14033b104
movzx eax, word [r9 + 2]
cmp rax, 0x80
jae 0x14033b10d
cmp byte [rax + r15], 0xfe
jne 0x14033b10d
add r9, 2
dec r10
jmp 0x14033b0b6
lea rdx, str.invalid_padding_character_found_in_base64_string
lea rcx, [rbp - 0x18]
call fcn.14014eaac
lea rdx, [0x1404ae470]
lea rcx, [rbp - 0x18]
call sub.api_ms_win_crt_private_l1_1_0.dll__CxxThrowException
int3
lea rdx, str.invalid_padding_character_found_in_base64_string
lea rcx, [rbp - 0x18]
call fcn.14014eaac
lea rdx, [0x1404ae470]
lea rcx, [rbp - 0x18]
call sub.api_ms_win_crt_private_l1_1_0.dll__CxxThrowException
int3
lea rdx, str.invalid_character_found_in_base64_string
lea rcx, [rbp - 0x18]
call fcn.14014eaac
lea rdx, [0x1404ae470]
lea rcx, [rbp - 0x18]
call sub.api_ms_win_crt_private_l1_1_0.dll__CxxThrowException
int3
cmp qword [rdi + 0x18], 8
jb 0x14033b17a
mov rdi, qword [rdi]
mov rax, rsi
shr rax, 2
lea rdx, [rax + rax*2]
sub rdx, r11
lea rcx, [rbp - 0x30]
call fcn.140091bc0
xor r10d, r10d
mov r11, qword [rbp - 0x30]
cmp rsi, 4
jbe 0x14033b208
add rsi, 0xfffffffffffffffb
shr rsi, 2
inc rsi
movzx eax, word [rdi]
mov cl, byte [rax + r15]
movzx eax, word [rdi + 2]
mov dl, byte [rax + r15]
movzx eax, word [rdi + 4]
mov r9b, byte [rax + r15]
movzx eax, word [rdi + 6]
mov r8b, byte [rax + r15]
mov al, dl
shr al, 4
and al, 3
shl cl, 2
or al, cl
mov byte [r11 + r10], al
mov al, r9b
shr al, 2
and al, 0xf
shl dl, 4
or al, dl
mov byte [r11 + r10 + 1], al
and r8b, 0x3f
shl r9b, 6
xor r8b, r9b
mov byte [r11 + r10 + 2], r8b
add rdi, 8
add r10, 3
sub rsi, 1
jne 0x14033b1a9
movzx eax, word [rdi]
mov cl, byte [rax + r15]
movzx eax, word [rdi + 2]
mov r9b, byte [rax + r15]
movzx eax, word [rdi + 4]
mov r8b, byte [rax + r15]
movzx eax, word [rdi + 6]
mov dl, byte [rax + r15]
mov al, r9b
shr al, 4
and al, 3
shl cl, 2
or al, cl
mov byte [r11 + r10], al
mov cl, r9b
shl cl, 4
cmp r8b, 0xfe
je 0x14033b2d4
mov al, r8b
shr al, 2
and al, 0xf
or al, cl
mov byte [r11 + r10 + 1], al
shl r8b, 6
cmp dl, 0xfe
je 0x14033b2ad
and dl, 0x3f
or dl, r8b
mov byte [r11 + r10 + 2], dl
mov rax, qword [rbp - 0x28]
mov qword [rbx + 8], rax
mov rax, qword [rbp - 0x20]
mov qword [rbx + 0x10], rax
mov qword [rbx], r11
xorps xmm0, xmm0
and qword [rbp - 0x20], 0
movdqu xmmword [rbp - 0x30], xmm0
lea rcx, [rbp - 0x30]
call fcn.14007a750
mov rax, rbx
lea r11, [rsp + 0x50]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop rdi
pop rbp
ret
cmp r8b, 0x40
jb 0x14033b26b
lea rdx, str.Invalid_end_of_base64_string
lea rcx, [rbp - 0x18]
call fcn.14014eaac
lea rdx, [0x1404ae470]
lea rcx, [rbp - 0x18]
call sub.api_ms_win_crt_private_l1_1_0.dll__CxxThrowException
int3
test r9b, 0xf
je 0x14033b26b
lea rdx, str.Invalid_end_of_base64_string
lea rcx, [rbp - 0x18]
call fcn.14014eaac
lea rdx, [0x1404ae470]
lea rcx, [rbp - 0x18]
call sub.api_ms_win_crt_private_l1_1_0.dll__CxxThrowException
int3