Function at 0x4766b0
Capabilities:
Encode data using base64
Encrypt data using dpapi

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6826c2
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x148
mov eax, dword [0x79cac4]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x7c], esi
mov dword [ebp - 0x64], esi
mov edi, dword [ebx + 8]
mov dword [ebp - 0x64], esi
mov dword [ebp - 0x88], 0
mov eax, dword [edx + 0x10]
test eax, eax
jne 0x476721
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], 0xf
mov byte [esi], al
jmp 0x476a72
cmp dword [edx + 0x14], 0x10
xorps xmm0, xmm0
movlpd qword [ebp - 0x9c], xmm0
jb 0x476734
mov edx, dword [edx]
push 0x20
push str.77CA6E220B1240aa86265FD787D0AD57
lea ecx, [ebp - 0x44]
mov dword [ebp - 0x98], edx
mov dword [ebp - 0x9c], eax
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0xf
mov byte [ebp - 0x44], 0
call fcn.0044fad0
mov dword [ebp - 4], 0
lea eax, [ebp - 0x44]
cmp dword [ebp - 0x30], 0x10
mov dword [ebp - 0x4c], 0
cmovae eax, dword [ebp - 0x44]
mov dword [ebp - 0xa0], eax
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0xa4], eax
mov dword [ebp - 0x48], 0xf
mov byte [ebp - 0x5c], 0
lea eax, [ebp - 0x84]
mov byte [ebp - 4], 1
push eax
push 0
push 0
push 0
lea eax, [ebp - 0xa4]
xorps xmm0, xmm0
push eax
push 0
lea eax, [ebp - 0x9c]
movlpd qword [ebp - 0x84], xmm0
push eax
call dword [sym.imp.CRYPT32.dll_CryptProtectData]
test eax, eax
je 0x4769a3
mov ecx, dword [ebp - 0x80]
mov eax, dword [ebp - 0x84]
push dword [ebp - 0x64]
add eax, ecx
mov dword [ebp - 0x74], 0
push eax
push ecx
lea ecx, [ebp - 0x74]
mov dword [ebp - 0x70], 0
mov dword [ebp - 0x6c], 0
call fcn.00476be0
mov byte [ebp - 4], 3
mov edi, 0
mov eax, dword [ebp - 0x70]
mov esi, dword [ebp - 0x74]
sub eax, esi
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0xf
mov byte [ebp - 0x2c], 0
mov dword [ebp - 0x88], 6
mov dword [ebp - 0x78], eax
je 0x4768fe
xor esi, esi
xor edx, edx
xor eax, eax
lea ecx, [eax + edi]
shl esi, 8
cmp ecx, dword [ebp - 0x78]
jae 0x47684e
mov ecx, dword [ebp - 0x74]
add ecx, eax
movzx ecx, byte [ecx + edi]
or esi, ecx
inc edx
inc eax
cmp eax, 3
jne 0x476837
mov eax, esi
mov dword [ebp - 0x60], edx
shr eax, 0x12
lea ecx, [ebp - 0x2c]
and eax, 0x3f
movzx eax, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_S]
mov byte [ebp - 0x8c], al
push dword [ebp - 0x8c]
call fcn.00459750
mov eax, esi
lea ecx, [ebp - 0x2c]
shr eax, 0xc
and eax, 0x3f
movzx eax, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_S]
mov byte [ebp - 0x90], al
push dword [ebp - 0x90]
call fcn.00459750
cmp dword [ebp - 0x60], 1
lea ecx, [ebp - 0x2c]
jle 0x4768c2
mov eax, esi
shr eax, 6
and eax, 0x3f
mov al, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_S]
mov byte [ebp - 0x94], al
push dword [ebp - 0x94]
jmp 0x4768c4
push 0x3d
call fcn.00459750
cmp dword [ebp - 0x60], 2
lea ecx, [ebp - 0x2c]
jle 0x4768f4
and esi, 0x3f
mov al, byte [esi + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_S]
mov byte [ebp - 0x64], al
push dword [ebp - 0x64]
call fcn.00459750
add edi, 3
cmp edi, dword [ebp - 0x78]
jne 0x476831
jmp 0x4768fb
push 0x3d
call fcn.00459750
mov esi, dword [ebp - 0x74]
lea ecx, [ebp - 0x5c]
call fcn.0044fa30
movq xmm0, qword [ebp - 0x1c]
push dword [ebp - 0x80]
movq qword [ebp - 0x68], xmm0
call dword [sym.imp.KERNEL32.dll_LocalFree]
test esi, esi
je 0x47694a
mov ecx, dword [ebp - 0x6c]
mov eax, esi
sub ecx, esi
cmp ecx, 0x1000
jb 0x476940
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x476a92
push ecx
push esi
call fcn.006113da
add esp, 8
mov esi, dword [ebp - 0x7c]
movups xmm0, xmmword [ebp - 0x2c]
mov edx, dword [ebp - 0x30]
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
movups xmmword [esi], xmm0
movq xmm0, qword [ebp - 0x68]
movq qword [esi + 0x10], xmm0
cmp edx, 0x10
jb 0x476a72
mov ecx, dword [ebp - 0x44]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x476a68
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x476a97
jmp 0x476a68
sub esp, 8
lea ecx, [ebp - 0x158]
call fcn.00473100
push 0x7137c0
mov byte [ebp - 4], 4
call dword [sym.imp.KERNEL32.dll_GetLastError]
push ecx
push eax
push ecx
lea eax, [ebp - 0x148]
push str.CryptProtectData_failed_with_error
push eax
call fcn.00454a20
add esp, 0xc
mov ecx, eax
call fcn.00452040
add esp, 4
push eax
call fcn.00454a20
add esp, 8
lea eax, [ebp - 0x2c]
lea ecx, [ebp - 0x140]
push eax
call fcn.004535d0
lea eax, [ebp - 0x2c]
cmp edi, eax
je 0x476a1a
mov ecx, edi
call fcn.0044fa30
movups xmm0, xmmword [ebp - 0x2c]
movups xmmword [edi], xmm0
movq xmm0, qword [ebp - 0x1c]
movq qword [edi + 0x10], xmm0
jmp 0x476a4a
mov edx, dword [ebp - 0x18]
cmp edx, 0x10
jb 0x476a4a
mov ecx, dword [ebp - 0x2c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x476a40
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x476a9c
push edx
push ecx
call fcn.006113da
add esp, 8
lea ecx, [ebp - 0x158]
call fcn.00473020
movq xmm0, qword [ebp - 0x4c]
movq qword [ebp - 0x68], xmm0
movups xmm0, xmmword [ebp - 0x5c]
jmp 0x476951
push edx
push ecx
call fcn.006113da
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00611399
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
call fcn.00655ae8
call fcn.00655ae8
call fcn.00655ae8
int3