Function at 0x1008b9f0
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1027d1ce
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x1036413c]
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, 0x10478b89
mov dword [ebp - 0x1c], 0
call fcn.102758d0
mov ecx, ebx
call fcn.10048480
mov eax, dword [ebp + 8]
xor esi, esi
mov dword [ebp - 4], 0
mov dword [ebp - 0x1c], 1
test eax, eax
je 0x1008bc45
dec eax
mov dword [ebp + 8], eax
mov al, byte [edi]
inc edi
mov byte [ebp + esi - 0x14], al
inc esi
mov ch, byte [ebp - 0x12]
mov dl, byte [ebp - 0x13]
mov cl, byte [ebp - 0x14]
mov dword [ebp - 0x20], edi
mov byte [ebp - 0xf], ch
mov byte [ebp - 0xd], dl
mov byte [ebp - 0xe], cl
cmp esi, 3
jne 0x1008bb34
mov al, cl
and cl, 3
shr al, 2
mov byte [ebp - 0x18], al
mov al, dl
shl cl, 4
shr al, 4
add cl, al
mov al, ch
mov byte [ebp - 0x17], cl
and ch, 0x3f
mov cl, dl
shr al, 6
and cl, 0xf
mov byte [ebp - 0x15], ch
shl cl, 2
add cl, al
xor esi, esi
mov byte [ebp - 0x16], cl
nop
movzx edi, byte [ebp + esi - 0x18]
cmp edi, dword [0x1044bcec]
jbe 0x1008bb01
push str.string_subscript_out_of_range
push 0x102bdb00
push 0
push 0xeff
push 0x102bddb0
push 2
call fcn.101ebf50
add esp, 0x18
cmp eax, 1
jne 0x1008bae3
int3
push 0
push 0xeff
push str.C:Program_FilesMicrosoft_Visual_Studio2022CommunityVCToolsMSVC14.32.31326includexstring
push 0x102bdc34
push str._string_subscript_out_of_range_
call fcn.101ece00
add esp, 0x14
cmp dword [0x1044bcf0], 0x10
mov eax, 0x1044bcdc
mov ecx, ebx
cmovae eax, dword [0x1044bcdc]
movzx eax, byte [eax + edi]
push eax
call fcn.10047ae0
inc esi
cmp esi, 4
jl 0x1008bab0
mov edi, dword [ebp - 0x20]
xor esi, esi
mov dl, byte [ebp - 0xd]
mov cl, byte [ebp - 0xe]
mov ch, byte [ebp - 0xf]
mov eax, dword [ebp + 8]
test eax, eax
jne 0x1008ba52
test esi, esi
je 0x1008bc45
mov eax, esi
cmp esi, 3
jge 0x1008bb6b
cmp eax, 3
jae 0x1008bc59
mov byte [ebp + eax - 0x14], 0
inc eax
cmp eax, 3
jl 0x1008bb51
mov ch, byte [ebp - 0x12]
mov dl, byte [ebp - 0x13]
mov cl, byte [ebp - 0x14]
mov al, cl
xor edi, edi
shr al, 2
and cl, 3
mov byte [ebp - 0x18], al
mov al, dl
shr al, 4
and dl, 0xf
shl cl, 4
add cl, al
shl dl, 2
mov al, ch
mov byte [ebp - 0x17], cl
shr al, 6
and ch, 0x3f
add dl, al
mov byte [ebp - 0x15], ch
lea eax, [esi + 1]
mov byte [ebp - 0x16], dl
test eax, eax
jle 0x1008bc2b
nop word [eax + eax]
movzx ebx, byte [ebp + edi - 0x18]
cmp ebx, dword [0x1044bcec]
jbe 0x1008bc01
push str.string_subscript_out_of_range
push 0x102bdb00
push 0
push 0xeff
push 0x102bddb0
push 2
call fcn.101ebf50
add esp, 0x18
cmp eax, 1
jne 0x1008bbe3
int3
push 0
push 0xeff
push str.C:Program_FilesMicrosoft_Visual_Studio2022CommunityVCToolsMSVC14.32.31326includexstring
push 0x102bdc34
push str._string_subscript_out_of_range_
call fcn.101ece00
add esp, 0x14
cmp dword [0x1044bcf0], 0x10
mov eax, 0x1044bcdc
cmovae eax, dword [0x1044bcdc]
movzx eax, byte [eax + ebx]
mov ebx, dword [ebp - 0x24]
mov ecx, ebx
push eax
call fcn.10047ae0
inc edi
lea eax, [esi + 1]
cmp edi, eax
jl 0x1008bbb0
cmp esi, 3
jge 0x1008bc45
mov edi, 3
sub edi, esi
push 0x3d
mov ecx, ebx
call fcn.10047ae0
sub edi, 1
jne 0x1008bc37
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.101d6660
int3