Function at 0x140002970
Capabilities:
Encode data using base64

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x60
mov rsi, rdx
mov rbx, rcx
mov qword [rsp + 0x50], rcx
xor r14d, r14d
mov dword [rsp + 0x38], r14d
lea edi, [r14 + 0x20]
mov qword [rcx], r14
xorps xmm0, xmm0
movups xmmword [rcx + 8], xmm0
mov qword [rcx + 0x18], r14
mov qword [rcx + 0x20], r14
lea ecx, [rdi - 0x10]
call fcn.14000fc20
mov qword [rax + 8], r14
mov qword [rbx], rax
mov qword [rax], rbx
mov qword [rbx + 0x18], r14
mov qword [rbx + 0x20], 0xf
mov byte [rbx + 8], r14b
mov dword [rsp + 0x38], 1
mov ebp, r14d
mov ecx, r14d
lea r8, str.string_subscript_out_of_range
lea r9, [0x14008287c]
nop dword [rax]
nop word [rax + rax]
dec rdi
mov qword [rsp + 0x40], rdi
movzx eax, byte [rsi]
inc rsi
mov qword [rsp + 0x48], rsi
mov byte [rsp + rcx + 0x30], al
inc ebp
inc rcx
movzx edx, byte [rsp + 0x32]
movzx r12d, byte [rsp + 0x31]
movzx r13d, byte [rsp + 0x30]
cmp rcx, 3
jne 0x140002d9d
movzx eax, r13b
shr al, 2
movzx esi, al
mov byte [rsp + 0x34], sil
movzx edi, r13b
and dil, cl
shl dil, 4
movzx eax, r12b
shr al, 4
add dil, al
movzx ebp, r12b
and bpl, 0xf
shl bpl, 2
movzx eax, dl
shr al, 6
add bpl, al
movzx r14d, dl
and r14b, 0x3f
cmp rsi, qword [0x14008d3b0]
jbe 0x140002ad3
mov qword [rsp + 0x28], r8
mov qword [rsp + 0x20], r9
xor r9d, r9d
mov r8d, 0xfc1
lea rdx, [0x1400830b0]
lea ecx, [r9 + 2]
call fcn.14001b550
cmp eax, 1
jne 0x140002aaa
int3
mov qword [rsp + 0x20], 0
mov r9d, 0xfc1
lea r8, str.C:Program_FilesMicrosoft_Visual_Studio2022CommunityVCToolsMSVC14.37.32822includexstring
lea rdx, [0x1400829b4]
lea rcx, str._string_subscript_out_of_range_
call fcn.14001c440
lea rax, [0x14008d3a0]
cmp qword [0x14008d3b8], 0x10
cmovae rax, qword [0x14008d3a0]
movzx r9d, byte [rax + rsi]
mov rcx, qword [rbx + 0x18]
mov rdx, qword [rbx + 0x20]
cmp rcx, rdx
jae 0x140002b1d
lea rax, [rcx + 1]
mov qword [rbx + 0x18], rax
lea rax, [rbx + 8]
cmp rdx, 0x10
jb 0x140002b12
mov rax, qword [rbx + 8]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x140002b2c
xor r8d, r8d
lea edx, [r8 + 1]
mov rcx, rbx
call fcn.14000b650
movzx edi, dil
cmp rdi, qword [0x14008d3b0]
jbe 0x140002b99
lea rax, str.string_subscript_out_of_range
mov qword [rsp + 0x28], rax
lea rax, [0x14008287c]
mov qword [rsp + 0x20], rax
xor r9d, r9d
mov r8d, 0xfc1
lea rdx, [0x1400830b0]
lea ecx, [r9 + 2]
call fcn.14001b550
cmp eax, 1
jne 0x140002b70
int3
mov qword [rsp + 0x20], 0
mov r9d, 0xfc1
lea r8, str.C:Program_FilesMicrosoft_Visual_Studio2022CommunityVCToolsMSVC14.37.32822includexstring
lea rdx, [0x1400829b4]
lea rcx, str._string_subscript_out_of_range_
call fcn.14001c440
lea rax, [0x14008d3a0]
cmp qword [0x14008d3b8], 0x10
cmovae rax, qword [0x14008d3a0]
movzx r9d, byte [rax + rdi]
mov rcx, qword [rbx + 0x18]
mov rdx, qword [rbx + 0x20]
cmp rcx, rdx
jae 0x140002be3
lea rax, [rcx + 1]
mov qword [rbx + 0x18], rax
lea rax, [rbx + 8]
cmp rdx, 0x10
jb 0x140002bd8
mov rax, qword [rbx + 8]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x140002bf2
xor r8d, r8d
lea edx, [r8 + 1]
mov rcx, rbx
call fcn.14000b650
mov rsi, rbx
movzx edi, bpl
lea rbp, str.string_subscript_out_of_range
cmp rdi, qword [0x14008d3b0]
jbe 0x140002c62
mov qword [rsp + 0x28], rbp
lea rax, [0x14008287c]
mov qword [rsp + 0x20], rax
xor r9d, r9d
mov r8d, 0xfc1
lea rdx, [0x1400830b0]
lea ecx, [r9 + 2]
call fcn.14001b550
cmp eax, 1
jne 0x140002c39
int3
mov qword [rsp + 0x20], 0
mov r9d, 0xfc1
lea r8, str.C:Program_FilesMicrosoft_Visual_Studio2022CommunityVCToolsMSVC14.37.32822includexstring
lea rdx, [0x1400829b4]
lea rcx, str._string_subscript_out_of_range_
call fcn.14001c440
lea rax, [0x14008d3a0]
cmp qword [0x14008d3b8], 0x10
cmovae rax, qword [0x14008d3a0]
movzx r9d, byte [rax + rdi]
mov rcx, qword [rbx + 0x18]
cmp rcx, qword [rbx + 0x20]
jae 0x140002caa
lea rax, [rcx + 1]
mov qword [rbx + 0x18], rax
lea rax, [rbx + 8]
cmp qword [rsi + 0x20], 0x10
jb 0x140002c9f
mov rax, qword [rbx + 8]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x140002cb9
xor r8d, r8d
lea edx, [r8 + 1]
mov rcx, rbx
call fcn.14000b650
movzx edi, r14b
cmp rdi, qword [0x14008d3b0]
jbe 0x140002d20
mov qword [rsp + 0x28], rbp
lea rax, [0x14008287c]
mov qword [rsp + 0x20], rax
xor r9d, r9d
mov r8d, 0xfc1
lea rdx, [0x1400830b0]
lea ecx, [r9 + 2]
call fcn.14001b550
cmp eax, 1
jne 0x140002cf6
int3
xor r14d, r14d
mov qword [rsp + 0x20], r14
mov r9d, 0xfc1
lea r8, str.C:Program_FilesMicrosoft_Visual_Studio2022CommunityVCToolsMSVC14.37.32822includexstring
lea rdx, [0x1400829b4]
lea rcx, str._string_subscript_out_of_range_
call fcn.14001c440
jmp 0x140002d23
xor r14d, r14d
lea rax, [0x14008d3a0]
cmp qword [0x14008d3b8], 0x10
cmovae rax, qword [0x14008d3a0]
movzx r9d, byte [rax + rdi]
mov rcx, qword [rbx + 0x18]
cmp rcx, qword [rbx + 0x20]
jae 0x140002d6b
lea rax, [rcx + 1]
mov qword [rbx + 0x18], rax
lea rax, [rbx + 8]
cmp qword [rsi + 0x20], 0x10
jb 0x140002d60
mov rax, qword [rbx + 8]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x140002d7a
xor r8d, r8d
lea edx, [r8 + 1]
mov rcx, rbx
call fcn.14000b650
mov ebp, r14d
mov rcx, r14
mov rdi, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
movzx edx, byte [rsp + 0x32]
lea r8, str.string_subscript_out_of_range
lea r9, [0x14008287c]
test rdi, rdi
jne 0x140002a00
test ebp, ebp
je 0x140002f52
movsxd rax, ebp
cmp rax, 3
jge 0x140002ddc
jae 0x140002f73
mov byte [rsp + rax + 0x30], 0
inc rax
cmp rax, 3
jl 0x140002db7
movzx edx, byte [rsp + 0x32]
movzx r12d, byte [rsp + 0x31]
movzx r13d, byte [rsp + 0x30]
movzx eax, r13b
shr al, 2
mov byte [rsp + 0x34], al
and r13b, 3
shl r13b, 4
movzx eax, r12b
shr al, 4
add r13b, al
mov byte [rsp + 0x35], r13b
and r12b, 0xf
shl r12b, 2
movzx eax, dl
shr al, 6
add r12b, al
mov byte [rsp + 0x36], r12b
and dl, 0x3f
mov byte [rsp + 0x37], dl
lea eax, [rbp + 1]
test eax, eax
jle 0x140002f01
lea rdi, [rsp + 0x34]
mov r14d, eax
nop
movzx esi, byte [rdi]
cmp rsi, qword [0x14008d3b0]
jbe 0x140002e8e
mov qword [rsp + 0x28], r8
mov qword [rsp + 0x20], r9
xor r9d, r9d
mov r8d, 0xfc1
lea rdx, [0x1400830b0]
lea ecx, [r9 + 2]
call fcn.14001b550
cmp eax, 1
jne 0x140002e65
int3
mov qword [rsp + 0x20], 0
mov r9d, 0xfc1
lea r8, str.C:Program_FilesMicrosoft_Visual_Studio2022CommunityVCToolsMSVC14.37.32822includexstring
lea rdx, [0x1400829b4]
lea rcx, str._string_subscript_out_of_range_
call fcn.14001c440
lea rax, [0x14008d3a0]
cmp qword [0x14008d3b8], 0x10
cmovae rax, qword [0x14008d3a0]
movzx r9d, byte [rax + rsi]
mov rcx, qword [rbx + 0x18]
mov rdx, qword [rbx + 0x20]
cmp rcx, rdx
jae 0x140002ed7
lea rax, [rcx + 1]
mov qword [rbx + 0x18], rax
lea rax, [rbx + 8]
cmp rdx, 0x10
jb 0x140002ecc
mov rax, qword [rax]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x140002ee6
xor r8d, r8d
lea edx, [r8 + 1]
mov rcx, rbx
call fcn.14000b650
inc rdi
sub r14, 1
lea r8, str.string_subscript_out_of_range
lea r9, [0x14008287c]
jne 0x140002e30
cmp ebp, 3
jge 0x140002f52
mov edi, 3
sub edi, ebp
nop dword [rax]
mov rcx, qword [rbx + 0x18]
mov rdx, qword [rbx + 0x20]
cmp rcx, rdx
jae 0x140002f3a
lea rax, [rcx + 1]
mov qword [rbx + 0x18], rax
lea rax, [rbx + 8]
cmp rdx, 0x10
jb 0x140002f32
mov rax, qword [rax]
mov word [rax + rcx], 0x3d
jmp 0x140002f4c
mov r9b, 0x3d
xor r8d, r8d
lea edx, [r8 + 1]
mov rcx, rbx
call fcn.14000b650
sub rdi, 1
jne 0x140002f10
mov rax, rbx
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
call fcn.14000fa00
int3