Function at 0x1004a920
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100cc6be
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push esi
push edi
mov eax, dword [0x100f0380]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x20], edx
mov edi, ecx
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x30], 0
mov dword [ebp - 4], 1
xorps xmm0, xmm0
mov dword [edi], 0
movups xmmword [edi + 4], xmm0
push 8
mov dword [edi + 0x14], 0
mov dword [edi + 0x18], 0
call fcn.100c8350
add esp, 4
mov dword [eax + 4], 0
mov dword [edi], eax
mov dword [eax], edi
mov dword [edi + 0x14], 0
mov dword [edi + 0x18], 0xf
mov byte [edi + 4], 0
mov ecx, dword [ebp + 8]
xor esi, esi
mov dword [ebp - 4], 0
mov dword [ebp - 0x30], 1
test ecx, ecx
je 0x1004ac79
mov edx, dword [sym.imp.ucrtbased.dll__CrtDbgReport]
mov eax, dword [ebp - 0x20]
dec ecx
inc dword [ebp - 0x20]
mov dword [ebp + 8], ecx
mov al, byte [eax]
mov byte [ebp + esi - 0x18], al
inc esi
mov al, byte [ebp - 0x16]
mov ah, byte [ebp - 0x17]
mov byte [ebp - 0x12], al
mov al, byte [ebp - 0x18]
mov byte [ebp - 0x21], ah
mov byte [ebp - 0x11], al
cmp esi, 3
jne 0x1004aae8
mov cl, byte [ebp - 0x11]
shr al, 2
and cl, 3
mov byte [ebp - 0x1c], al
mov al, ah
shl cl, 4
shr al, 4
add cl, al
mov al, byte [ebp - 0x12]
mov byte [ebp - 0x1b], cl
mov cl, ah
and cl, 0xf
shr al, 6
shl cl, 2
add cl, al
mov al, byte [ebp - 0x12]
and al, 0x3f
mov byte [ebp - 0x1a], cl
mov byte [ebp - 0x19], al
xor esi, esi
nop word [eax + eax]
movzx eax, byte [ebp + esi - 0x1c]
mov dword [ebp - 0x2c], eax
cmp eax, dword [0x101c2464]
jbe 0x1004aa82
push str.string_subscript_out_of_range
push 0x100d7fd0
push 0
push 0x8d8
push 0x100d8b80
push 2
call edx
add esp, 0x18
cmp eax, 1
jne 0x1004aa63
int3
push 0
push 0x8d8
push str.C:Program_FilesMicrosoft_Visual_Studio2022CommunityVCToolsMSVC14.41.34120includexstring
push 0x100d8104
push str._string_subscript_out_of_range_
call dword [sym.imp.ucrtbased.dll__invalid_parameter]
add esp, 0x14
cmp dword [0x101c2468], 0xf
mov eax, 0x101c2454
mov ecx, dword [ebp - 0x2c]
cmova eax, dword [0x101c2454]
mov dl, byte [eax + ecx]
mov ecx, dword [edi + 0x14]
mov byte [ebp - 0x10], dl
cmp ecx, dword [edi + 0x18]
jae 0x1004aac1
cmp dword [edi + 0x18], 0xf
lea eax, [ecx + 1]
mov dword [edi + 0x14], eax
lea eax, [edi + 4]
jbe 0x1004aab7
mov eax, dword [eax]
mov byte [eax + ecx], dl
mov byte [eax + ecx + 1], 0
jmp 0x1004aad3
push dword [ebp - 0x10]
mov byte [ebp - 0x28], 0
push dword [ebp - 0x28]
push ecx
mov ecx, edi
call fcn.10028cb0
mov edx, dword [sym.imp.ucrtbased.dll__CrtDbgReport]
inc esi
cmp esi, 4
jl 0x1004aa30
mov ecx, dword [ebp + 8]
xor esi, esi
test ecx, ecx
jne 0x1004a9c3
test esi, esi
je 0x1004ac79
mov eax, esi
cmp esi, 3
jge 0x1004ab1e
cmp eax, 3
jae 0x1004ac8c
mov byte [ebp + eax - 0x18], 0
inc eax
cmp eax, 3
jl 0x1004ab02
mov ch, byte [ebp - 0x16]
mov cl, byte [ebp - 0x17]
mov ah, byte [ebp - 0x18]
jmp 0x1004ab27
mov cl, byte [ebp - 0x21]
mov ah, byte [ebp - 0x11]
mov ch, byte [ebp - 0x12]
mov al, ah
and ah, 3
shr al, 2
mov byte [ebp - 0x1c], 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 - 0x1b], ah
shr al, 6
and ch, 0x3f
add cl, al
mov byte [ebp - 0x19], ch
mov byte [ebp - 0x1a], cl
xor eax, eax
lea ecx, [esi + 1]
mov dword [ebp - 0x20], eax
test ecx, ecx
jle 0x1004ac2b
nop word [eax + eax]
movzx eax, byte [ebp + eax - 0x1c]
mov dword [ebp - 0x28], eax
cmp eax, dword [0x101c2464]
jbe 0x1004abc2
push str.string_subscript_out_of_range
push 0x100d7fd0
push 0
push 0x8d8
push 0x100d8b80
push 2
call edx
add esp, 0x18
cmp eax, 1
jne 0x1004aba3
int3
push 0
push 0x8d8
push str.C:Program_FilesMicrosoft_Visual_Studio2022CommunityVCToolsMSVC14.41.34120includexstring
push 0x100d8104
push str._string_subscript_out_of_range_
call dword [sym.imp.ucrtbased.dll__invalid_parameter]
add esp, 0x14
cmp dword [0x101c2468], 0xf
mov eax, 0x101c2454
mov ecx, dword [ebp - 0x28]
cmova eax, dword [0x101c2454]
mov dl, byte [eax + ecx]
mov ecx, dword [edi + 0x14]
mov byte [ebp - 0x10], dl
cmp ecx, dword [edi + 0x18]
jae 0x1004ac01
cmp dword [edi + 0x18], 0xf
lea eax, [ecx + 1]
mov dword [edi + 0x14], eax
lea eax, [edi + 4]
jbe 0x1004abf7
mov eax, dword [eax]
mov byte [eax + ecx], dl
mov byte [eax + ecx + 1], 0
jmp 0x1004ac13
push dword [ebp - 0x10]
mov byte [ebp - 0x2c], 0
push dword [ebp - 0x2c]
push ecx
mov ecx, edi
call fcn.10028cb0
mov eax, dword [ebp - 0x20]
lea ecx, [esi + 1]
mov edx, dword [sym.imp.ucrtbased.dll__CrtDbgReport]
inc eax
mov dword [ebp - 0x20], eax
cmp eax, ecx
jl 0x1004ab70
cmp esi, 3
jge 0x1004ac79
mov eax, 3
sub eax, esi
mov dword [ebp - 0x20], eax
nop word [eax + eax]
mov ecx, dword [edi + 0x14]
mov edx, dword [edi + 0x18]
cmp ecx, edx
jae 0x1004ac62
lea eax, [ecx + 1]
mov dword [edi + 0x14], eax
lea eax, [edi + 4]
cmp edx, 0xf
jbe 0x1004ac5a
mov eax, dword [eax]
mov word [eax + ecx], 0x3d
jmp 0x1004ac73
push 0x3d
mov byte [ebp - 0x28], 0
push dword [ebp - 0x28]
push ecx
mov ecx, edi
call fcn.10028cb0
sub dword [ebp - 0x20], 1
jne 0x1004ac40
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
call fcn.100c8e40
int3