Function at 0x505470
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x57e5a0
mov eax, dword fs:[0]
push eax
sub esp, 0xbc
mov eax, dword [0x5e8024]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x8c], edi
mov eax, dword [ebp + 8]
mov dword [ebp - 0x80], eax
mov dword [ebp - 0xa0], 0
mov dword [ebp - 0x9c], 0
mov dword [ebp - 0x98], 0
mov dword [ebp - 4], 0
lea eax, [ebp - 0xa0]
mov dword [ebp - 0xb4], eax
lea ecx, [ebp - 0x28]
mov eax, dword [ebp - 0xa0]
mov dword [ebp - 0x9c], eax
mov eax, dword [edi]
push 9
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x18], 0
mov esi, dword [eax + 4]
xor eax, eax
mov dword [ebp - 0x14], 0
push str.Component
mov dword [ebp - 0xb8], 0x596fc0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
call fcn.004082a0
mov byte [ebp - 4], 1
lea eax, [ebp - 0xb8]
push eax
push 0
push 0
push 0x5ec64c
lea eax, [ebp - 0x28]
mov ecx, edi
push eax
call esi
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.00408570
mov edi, dword [ebp - 0xa0]
mov eax, dword [ebp - 0x9c]
mov dword [ebp - 0x94], edi
mov dword [ebp - 0xb0], eax
cmp edi, eax
je 0x50585c
mov eax, dword [edi]
cmp dword [eax + 0x14], 8
jb 0x505581
mov eax, dword [eax]
lea ecx, [ebp - 0x88]
push ecx
lea ecx, [ebp - 0xa4]
push ecx
push eax
mov eax, dword [ebp - 0x8c]
push dword [eax + 4]
call dword [sym.imp.msi.dll_MsiGetFeatureInfoA]
mov ecx, dword [ebp - 0x88]
cmp ecx, 0xffffffff
jne 0x5055be
cmp dword [ebp - 0xa4], 2
cmovne ecx, dword [ebp - 0xa4]
mov dword [ebp - 0x88], ecx
xor eax, eax
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov byte [ebp - 4], 2
mov dword [ebp - 0x78], eax
mov dword [ebp - 0x90], eax
call fcn.00409d30
mov ecx, eax
test ecx, ecx
je 0x50588b
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
lea esi, [eax + 0x10]
mov dword [ebp - 0x7c], esi
mov byte [ebp - 4], 4
mov ecx, 1
mov dword [ebp - 0xa8], 0x64
mov eax, dword [esi - 8]
sub ecx, dword [esi - 4]
sub eax, 0x64
or eax, ecx
jge 0x50563d
push 0x64
lea ecx, [ebp - 0x7c]
call fcn.00409790
mov esi, dword [ebp - 0x7c]
cmp dword [esi - 8], 0x64
jl 0x505895
xor eax, eax
mov dword [esi - 0xc], 0x64
mov word [esi + 0xc8], ax
mov eax, dword [edi]
cmp dword [eax + 0x14], 8
jb 0x505661
mov eax, dword [eax]
lea ecx, [ebp - 0x90]
push ecx
lea ecx, [ebp - 0x78]
push ecx
lea ecx, [ebp - 0xa8]
push ecx
push esi
push dword [ebp - 0x88]
push 0
push eax
mov eax, dword [ebp - 0x8c]
push dword [eax + 4]
call dword [sym.imp.msi.dll_MsiProvideAssemblyA]
cmp dword [esi - 4], 1
mov dword [ebp - 0x84], eax
jle 0x5056a6
push dword [esi - 0xc]
lea ecx, [ebp - 0x7c]
call fcn.004096b0
mov esi, dword [ebp - 0x7c]
mov eax, esi
lea edx, [eax + 2]
nop dword [eax + eax]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x5056b0
sub eax, edx
lea ecx, [ebp - 0x28]
sar eax, 1
push eax
push esi
call fcn.004082a0
mov byte [ebp - 4], 2
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x5056e5
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
cmp dword [ebp - 0x84], 0x103
je 0x50583b
mov eax, dword [ebp - 0x78]
lea ecx, [ebp - 0x5c]
push dword [ebp - 0x18]
test eax, eax
cmove eax, dword [ebp - 0x90]
cmp dword [ebp - 0x14], 8
mov dword [ebp - 0x78], eax
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call fcn.0048f250
add esp, 8
mov dword [ebp - 0xac], eax
mov byte [ebp - 4], 6
cmp dword [eax + 0x14], 8
mov esi, dword [eax + 0x10]
mov dword [ebp - 0x84], eax
jb 0x50573f
mov ecx, dword [eax]
mov dword [ebp - 0x84], ecx
xor ecx, ecx
mov edx, 0x811c9dc5
add esi, esi
je 0x50576d
mov edi, dword [ebp - 0x84]
movzx eax, byte [ecx + edi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, esi
jb 0x505750
mov edi, dword [ebp - 0x94]
mov eax, dword [ebp - 0xac]
mov ecx, dword [ebp - 0x80]
push edx
push eax
lea eax, [ebp - 0xc0]
push eax
call fcn.0040b800
mov esi, dword [eax + 4]
test esi, esi
jne 0x50578b
mov eax, dword [ebp - 0x80]
mov esi, dword [eax + 4]
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x5c]
call fcn.00408570
mov eax, dword [ebp - 0x80]
cmp esi, dword [eax + 4]
jne 0x505835
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
push dword [ebp - 0x18]
cmovae eax, dword [ebp - 0x28]
lea ecx, [ebp - 0x74]
push eax
call fcn.0048f250
add esp, 8
mov byte [ebp - 4], 7
xor ecx, ecx
movups xmm0, xmmword [eax]
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x34], 0
movups xmmword [ebp - 0x44], xmm0
mov dword [ebp - 0x30], 0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x34], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
mov byte [ebp - 4], 8
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0x2c], eax
mov byte [ebp - 4], 9
lea eax, [ebp - 0x44]
mov ecx, dword [ebp - 0x80]
push eax
lea eax, [ebp - 0xc8]
push eax
call fcn.00507110
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x44]
call fcn.00408570
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x74]
call fcn.00408570
jmp 0x50583b
mov eax, dword [ebp - 0x78]
add dword [esi + 0x20], eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.00408570
add edi, 0xc
mov dword [ebp - 0x94], edi
cmp edi, dword [ebp - 0xb0]
jne 0x505577
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xa0]
call fcn.0042fa50
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0052df57
mov esp, ebp
pop ebp
ret 4
push 0x80004005
call fcn.00409a00
push 0x80070057
call fcn.00409a00
int3