Function at 0x4b5220
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x30
call fcn.006286f0
mov eax, dword [0x70d514]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov edi, edx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
xor edx, edx
mov esi, ecx
mov dword [ebp - 0x28], edi
push 0x60
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x1c], edx
mov dword [0x70e32c], edx
call fcn.006328cd
mov ebx, eax
add esp, 4
mov dword [ebp - 0x24], ebx
test ebx, ebx
je 0x4b55de
push 0x50
lea eax, [ebx + 8]
push 0
push eax
call fcn.0062b820
add esp, 0xc
mov dword [ebx + 4], 0x30
mov dword [ebx], 0
lea ecx, [edi + 1]
mov dword [ebx + 0x58], 0
mov dword [ebx + 0x5c], 0
mov al, byte [edi]
inc edi
test al, al
jne 0x4b52a0
lea eax, [ebp - 8]
sub edi, ecx
push eax
push 0xb
mov edx, str._____BEGIN
mov dword [ebp - 0x2c], edi
mov ecx, esi
call fcn.0046ae80
add esp, 8
mov ebx, 7
test eax, eax
cmovg eax, dword [ebp - 8]
xor esi, esi
cmp eax, 0xb
jne 0x4b55e5
test edi, edi
js 0x4b55e3
mov edx, dword [ebp - 0x28]
lea eax, [ebp - 8]
mov ecx, dword [ebp - 0x14]
push eax
push edi
call fcn.0046ae80
add esp, 8
test eax, eax
cmovg eax, dword [ebp - 8]
cmp eax, edi
jne 0x4b55e5
mov ecx, dword [ebp - 0x14]
lea eax, [ebp - 8]
push eax
push 6
mov edx, str.______n
call fcn.0046ae80
add esp, 8
test eax, eax
cmovg eax, dword [ebp - 8]
cmp eax, 6
jne 0x4b55e5
mov edx, dword [ebp - 0x20]
mov edi, edx
lea ecx, [edi + 1]
nop dword [eax]
mov al, byte [edi]
inc edi
test al, al
jne 0x4b5330
sub edi, ecx
test edi, edi
jle 0x4b5378
mov ecx, dword [ebp - 0x14]
xor esi, esi
push edi
call fcn.0046afb0
add esp, 4
cmp eax, edi
jne 0x4b55e5
mov ecx, dword [ebp - 0x14]
lea eax, [ebp - 8]
push eax
push 1
mov edx, 0x6d6e08
call fcn.0046ae80
add esp, 8
test eax, eax
cmovg eax, dword [ebp - 8]
cmp eax, 1
jne 0x4b55e5
push 0x2000
mov dword [0x70e32c], 0
call fcn.006328cd
mov edi, eax
add esp, 4
mov dword [ebp - 0x1c], edi
test edi, edi
je 0x4b55de
mov eax, dword [ebp + 0x10]
xor edx, edx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x20], edx
test eax, eax
jle 0x4b543f
mov ebx, 0x1400
jmp 0x4b53b9
mov edi, dword [ebp - 0x1c]
cmp eax, 0x1400
mov ecx, eax
mov eax, dword [ebp - 0x30]
cmova ecx, ebx
add eax, edx
push ecx
push eax
lea eax, [ebp - 8]
mov dword [ebp - 0xc], ecx
mov ecx, dword [ebp - 0x24]
mov edx, edi
push eax
mov ebx, 7
xor esi, esi
call fcn.0046dd60
add esp, 0xc
test eax, eax
je 0x4b55e5
mov edi, dword [ebp - 8]
test edi, edi
je 0x4b541d
jns 0x4b53fa
xor eax, eax
jmp 0x4b5413
mov edx, dword [ebp - 0x1c]
lea eax, [ebp - 0x10]
mov ecx, dword [ebp - 0x14]
push eax
push edi
call fcn.0046ae80
add esp, 8
test eax, eax
cmovg eax, dword [ebp - 0x10]
xor esi, esi
cmp eax, edi
jne 0x4b55e5
mov eax, dword [ebp + 0x10]
mov ebx, 0x1400
mov edx, dword [ebp - 0x18]
sub eax, dword [ebp - 0xc]
add edx, dword [ebp - 0xc]
add dword [ebp - 0x20], edi
mov dword [ebp + 0x10], eax
mov dword [ebp - 0x18], edx
test eax, eax
jg 0x4b53b6
mov ecx, dword [ebp - 0x24]
mov edi, dword [ecx]
test edi, edi
je 0x4b556f
mov edx, dword [ebp - 0x1c]
lea ebx, [ecx + 8]
xor eax, eax
mov dword [ebp - 0xc], str.0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz._
test byte [ecx + 0x5c], 2
mov esi, edx
mov ecx, str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_
mov dword [ebp - 0x18], eax
cmovne ecx, dword [ebp - 0xc]
mov dword [ebp - 8], ecx
test edi, edi
jle 0x4b5531
movzx edx, byte [ebx]
cmp edi, 3
jb 0x4b54cb
movzx ecx, byte [ebx + 1]
movzx eax, byte [ebx + 2]
shl edx, 8
or ecx, edx
mov edx, dword [ebp - 8]
shl ecx, 8
or ecx, eax
mov eax, ecx
shr eax, 0x12
movzx eax, byte [eax + edx]
mov byte [esi], al
mov eax, ecx
shr eax, 0xc
and eax, 0x3f
movzx eax, byte [eax + edx]
mov byte [esi + 1], al
mov eax, ecx
shr eax, 6
add esi, 2
and eax, 0x3f
and ecx, 0x3f
movzx eax, byte [eax + edx]
mov byte [esi], al
mov dl, byte [ecx + edx]
mov ecx, dword [ebp - 8]
jmp 0x4b550f
shl edx, 0x10
cmp edi, 2
jne 0x4b54dc
movzx eax, byte [ebx + 1]
shl eax, 8
or edx, eax
mov eax, edx
shr eax, 0x12
movzx eax, byte [eax + ecx]
mov byte [esi], al
mov eax, edx
shr eax, 0xc
and eax, 0x3f
movzx eax, byte [eax + ecx]
mov byte [esi + 1], al
add esi, 2
cmp edi, 1
jne 0x4b5502
mov al, 0x3d
jmp 0x4b550b
shr edx, 6
and edx, 0x3f
mov al, byte [edx + ecx]
mov byte [esi], al
mov dl, 0x3d
lea eax, [esi + 1]
sub edi, 3
lea esi, [eax + 1]
mov byte [eax], dl
mov eax, dword [ebp - 0x18]
add ebx, 3
add eax, 4
mov dword [ebp - 0x18], eax
test edi, edi
jg 0x4b5478
mov edx, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x24]
mov byte [esi], 0
test byte [ecx + 0x5c], 1
jne 0x4b5545
mov byte [eax + edx], 0xa
inc eax
mov dword [ebp - 0x18], eax
mov byte [eax + edx], 0
mov dword [ecx], 0
test eax, eax
jle 0x4b5573
mov ecx, dword [ebp - 0x14]
mov ebx, 7
push eax
xor esi, esi
call fcn.0046afb0
mov edi, dword [ebp - 0x18]
add esp, 4
cmp eax, edi
jne 0x4b55e5
jmp 0x4b5576
xor edi, edi
jmp 0x4b5576
mov edi, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x14]
lea eax, [ebp - 0xc]
push eax
push 9
mov edx, str._____END
call fcn.0046ae80
add esp, 8
mov ebx, 7
test eax, eax
cmovg eax, dword [ebp - 0xc]
xor esi, esi
cmp eax, 9
jne 0x4b55e5
push dword [ebp - 0x2c]
mov edx, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x14]
call fcn.0046afb0
add esp, 4
cmp eax, dword [ebp - 0x2c]
jne 0x4b55e5
mov ecx, dword [ebp - 0x14]
lea eax, [ebp - 0xc]
push eax
push 6
mov edx, str.______n
call fcn.0046ae80
add esp, 8
test eax, eax
cmovg eax, dword [ebp - 0xc]
cmp eax, 6
jne 0x4b55e5
mov esi, dword [ebp - 0x20]
add esi, edi
jne 0x4b5600
jmp 0x4b55e5
mov ebx, 0x41
xor esi, esi
mov edx, 0x72
push 0x292
push str.C:mediagetdependencies_installeropenssl1_1_win_build_1.1.1qcryptopempem_lib.c
push ebx
lea ecx, [edx - 0x69]
call fcn.004818c0
add esp, 0xc
push dword [ebp - 0x24]
call fcn.0062f1c7
mov ebx, dword [ebp - 0x1c]
add esp, 4
test ebx, ebx
je 0x4b5626
push 0x2000
push ebx
call fcn.00401320
push ebx
call fcn.0062f1c7
add esp, 0xc
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.006285ca
mov esp, ebp
pop ebp
ret