Function at 0x10080bd0
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10197dee
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x102480b4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, edx
mov ebx, ecx
mov dword [ebp - 0x24], ebx
mov ecx, 0x1028ab9b
mov dword [ebp - 0x1c], 0
call fcn.10193940
mov ecx, ebx
call fcn.10042910
mov ecx, dword [ebp + 8]
xor esi, esi
mov dword [ebp - 4], 0
mov dword [ebp - 0x1c], 1
test ecx, ecx
je 0x10080e3e
mov edx, dword [sym.imp.ucrtbased.dll__CrtDbgReport]
mov al, byte [edi]
dec ecx
mov byte [ebp + esi - 0x14], al
inc edi
mov al, byte [ebp - 0x12]
inc esi
mov ah, byte [ebp - 0x13]
mov byte [ebp - 0xe], al
mov al, byte [ebp - 0x14]
mov dword [ebp + 8], ecx
mov dword [ebp - 0x20], edi
mov byte [ebp - 0xf], ah
mov byte [ebp - 0xd], al
cmp esi, 3
jne 0x10080d22
mov cl, byte [ebp - 0xd]
shr al, 2
and cl, 3
mov byte [ebp - 0x18], al
mov al, ah
shl cl, 4
shr al, 4
add cl, al
mov al, byte [ebp - 0xe]
mov byte [ebp - 0x17], cl
mov cl, ah
and cl, 0xf
shr al, 6
shl cl, 2
add cl, al
mov al, byte [ebp - 0xe]
and al, 0x3f
mov byte [ebp - 0x16], cl
mov byte [ebp - 0x15], al
xor esi, esi
nop dword [eax + eax]
movzx edi, byte [ebp + esi - 0x18]
cmp edi, dword [0x1025d930]
jbe 0x10080cef
push str.string_subscript_out_of_range
push 0x101ad5ac
push 0
push 0xeff
push 0x101ad858
push 2
call edx
add esp, 0x18
cmp eax, 1
jne 0x10080cd0
int3
push 0
push 0xeff
push str.C:Program_FilesMicrosoft_Visual_Studio2022CommunityVCToolsMSVC14.32.31326includexstring
push 0x101ad6dc
push str._string_subscript_out_of_range_
call dword [sym.imp.ucrtbased.dll__invalid_parameter]
add esp, 0x14
cmp dword [0x1025d934], 0x10
mov eax, 0x1025d920
mov ecx, ebx
cmovae eax, dword [0x1025d920]
movzx eax, byte [eax + edi]
push eax
call fcn.10042340
mov edx, dword [sym.imp.ucrtbased.dll__CrtDbgReport]
inc esi
cmp esi, 4
jl 0x10080ca0
mov ecx, dword [ebp + 8]
xor esi, esi
mov edi, dword [ebp - 0x20]
test ecx, ecx
jne 0x10080c38
test esi, esi
je 0x10080e3e
mov eax, esi
cmp esi, 3
jge 0x10080d58
cmp eax, 3
jae 0x10080e52
mov byte [ebp + eax - 0x14], 0
inc eax
cmp eax, 3
jl 0x10080d3c
mov ch, byte [ebp - 0x12]
mov cl, byte [ebp - 0x13]
mov ah, byte [ebp - 0x14]
jmp 0x10080d61
mov cl, byte [ebp - 0xf]
mov ah, byte [ebp - 0xd]
mov ch, byte [ebp - 0xe]
mov al, ah
xor edi, edi
shr al, 2
and ah, 3
mov byte [ebp - 0x18], al
mov al, cl
shr al, 4
and cl, 0xf
shl ah, 4
add ah, al
shl cl, 2
mov al, ch
mov byte [ebp - 0x17], ah
shr al, 6
and ch, 0x3f
add cl, al
mov byte [ebp - 0x15], ch
lea eax, [esi + 1]
mov byte [ebp - 0x16], cl
test eax, eax
jle 0x10080e1f
nop dword [eax]
movzx ebx, byte [ebp + edi - 0x18]
cmp ebx, dword [0x1025d930]
jbe 0x10080def
push str.string_subscript_out_of_range
push 0x101ad5ac
push 0
push 0xeff
push 0x101ad858
push 2
call edx
add esp, 0x18
cmp eax, 1
jne 0x10080dd0
int3
push 0
push 0xeff
push str.C:Program_FilesMicrosoft_Visual_Studio2022CommunityVCToolsMSVC14.32.31326includexstring
push 0x101ad6dc
push str._string_subscript_out_of_range_
call dword [sym.imp.ucrtbased.dll__invalid_parameter]
add esp, 0x14
cmp dword [0x1025d934], 0x10
mov eax, 0x1025d920
cmovae eax, dword [0x1025d920]
movzx eax, byte [eax + ebx]
mov ebx, dword [ebp - 0x24]
mov ecx, ebx
push eax
call fcn.10042340
mov edx, dword [sym.imp.ucrtbased.dll__CrtDbgReport]
lea eax, [esi + 1]
inc edi
cmp edi, eax
jl 0x10080da0
cmp esi, 3
jge 0x10080e3e
mov edi, 3
sub edi, esi
nop dword [eax + eax]
push 0x3d
mov ecx, ebx
call fcn.10042340
sub edi, 1
jne 0x10080e30
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.10192190
int3