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

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 0x582d29
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x1c8
mov eax, dword [0x5e8024]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x174], ecx
mov esi, dword [ebx + 8]
mov dword [ebp - 0x178], 0
mov eax, dword fs:[0x2c]
mov edx, dword [eax]
mov eax, dword [0x5eee40]
cmp eax, dword [edx + 4]
jle 0x518435
push 0x5eee40
call fcn.0052e34a
add esp, 4
cmp dword [0x5eee40], 0xffffffff
jne 0x518435
mov dword [ebp - 4], 0
push 0x587090
mov dword [0x5eee44], 0
mov dword [0x5eee54], 0
mov dword [0x5eee58], 7
call fcn.0052e202
add esp, 4
mov dword [ebp - 4], 0xffffffff
push 0x5eee40
call fcn.0052e300
add esp, 4
push ecx
push str._.______._
lea ecx, [ebp - 0x198]
call fcn.00519840
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x1d0]
call fcn.00519710
mov byte [ebp - 4], 2
cmp dword [esi + 0x14], 8
jb 0x51846c
mov edx, dword [esi]
mov ecx, dword [esi + 0x10]
lea eax, [edx + ecx*2]
jmp 0x518474
mov eax, dword [esi + 0x10]
mov edx, esi
lea eax, [esi + eax*2]
sub esp, 8
lea ecx, [ebp - 0x1d0]
push eax
push edx
lea edx, [ebp - 0x198]
call fcn.0051aaf0
add esp, 0x10
test al, al
jne 0x518520
cmp dword [esi + 0x14], 8
mov ecx, esi
mov edx, dword [esi + 0x10]
jb 0x5184a2
mov ecx, dword [esi]
sub esp, 8
mov eax, esp
push edx
push ecx
mov cl, 1
mov dword [eax], 0x5aaf30
mov dword [eax + 4], 3
call fcn.0048f3f0
add esp, 0x10
test al, al
je 0x518ced
push esi
lea eax, [ebp - 0x74]
push eax
call fcn.00519060
mov esi, eax
mov byte [ebp - 4], 4
cmp esi, 0x5eee44
je 0x518514
mov ecx, 0x5eee44
call fcn.00408570
movups xmm0, xmmword [esi]
xor eax, eax
movups xmmword [0x5eee44], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [0x5eee54], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x74]
jmp 0x518ce3
cmp esi, 0x5eee44
je 0x518540
cmp dword [esi + 0x14], 8
mov eax, dword [esi + 0x10]
jb 0x518533
mov esi, dword [esi]
push eax
push esi
mov ecx, 0x5eee44
call fcn.004082a0
nop
push ecx
push 1
lea ecx, [ebp - 0x184]
mov dword [ebp - 0x170], 1
call fcn.00496dd0
mov byte [ebp - 4], 6
mov eax, 0x2aaaaaab
mov ecx, dword [ebp - 0x1c4]
mov esi, dword [ebp - 0x1c8]
sub ecx, esi
imul ecx
lea ecx, [ebp - 0x1a4]
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, 2
jbe 0x518588
lea ecx, [esi + 0x18]
lea eax, [ebp - 0x44]
push eax
call fcn.00519670
mov byte [ebp - 4], 7
xor eax, eax
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 7
mov word [ebp - 0x2c], ax
mov byte [ebp - 4], 8
lea esi, [ebp - 0x44]
mov eax, dword [ebp - 0x34]
mov edx, 0x811c9dc5
cmp dword [ebp - 0x30], 8
cmovae esi, dword [ebp - 0x44]
xor ecx, ecx
lea edi, [eax + eax]
test edi, edi
je 0x5185f1
nop
movzx eax, byte [esi + ecx]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, edi
jb 0x5185e0
mov edi, dword [ebp - 0x174]
lea eax, [ebp - 0x44]
push edx
push eax
lea eax, [ebp - 0x1d8]
push eax
lea ecx, [edi + 0x1ac]
call fcn.0040b800
mov eax, dword [eax + 4]
test eax, eax
je 0x518640
cmp eax, dword [edi + 0x1b0]
je 0x518640
add eax, 0x20
lea ecx, [ebp - 0x2c]
cmp ecx, eax
je 0x518b17
cmp dword [eax + 0x14], 8
mov ecx, dword [eax + 0x10]
jb 0x518636
mov eax, dword [eax]
push ecx
push eax
lea ecx, [ebp - 0x2c]
jmp 0x518b12
mov edi, dword [edi + 4]
lea ecx, [ebp - 0x8c]
push 0xb
push str.ProductCode
mov eax, dword [edi]
mov dword [ebp - 0x8c], 0
mov dword [ebp - 0x7c], 0
mov dword [ebp - 0x78], 0
mov esi, dword [eax]
xor eax, eax
mov dword [ebp - 0x7c], 0
mov dword [ebp - 0x78], 7
mov word [ebp - 0x8c], ax
call fcn.004082a0
mov byte [ebp - 4], 9
lea eax, [ebp - 0x8c]
push eax
lea eax, [ebp - 0xec]
mov ecx, edi
push eax
call esi
mov byte [ebp - 4], 0xa
lea edx, [ebp - 0x44]
cmp dword [ebp - 0x30], 8
mov ecx, dword [eax + 0x10]
cmovae edx, dword [ebp - 0x44]
cmp dword [eax + 0x14], 8
jb 0x5186b8
mov eax, dword [eax]
cmp ecx, dword [ebp - 0x34]
jne 0x5186d3
push ecx
mov ecx, eax
call fcn.00407970
add esp, 4
mov byte [ebp - 0x165], 1
test eax, eax
je 0x5186da
mov byte [ebp - 0x165], 0
mov byte [ebp - 4], 9
lea ecx, [ebp - 0xec]
call fcn.00408570
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x8c]
call fcn.00408570
cmp byte [ebp - 0x165], 0
je 0x5188ca
mov edi, dword [ebp - 0x174]
lea ecx, [ebp - 0xbc]
push 0xe
push 0x5961f8
mov edi, dword [edi + 4]
mov eax, dword [edi]
mov dword [ebp - 0xbc], 0
mov dword [ebp - 0xac], 0
mov dword [ebp - 0xa8], 0
mov esi, dword [eax]
xor eax, eax
mov dword [ebp - 0xac], 0
mov dword [ebp - 0xa8], 7
mov word [ebp - 0xbc], ax
call fcn.004082a0
mov byte [ebp - 4], 0xb
lea eax, [ebp - 0xbc]
push eax
lea eax, [ebp - 0x14c]
mov ecx, edi
push eax
call esi
mov dword [ebp - 0x16c], eax
mov byte [ebp - 4], 0xc
mov eax, dword [ebp - 0x174]
push 0xb
push 0x598e64
mov edi, dword [eax + 4]
xor eax, eax
mov ecx, dword [edi]
mov dword [ebp - 0xa4], 0
mov dword [ebp - 0x94], 0
mov dword [ebp - 0x90], 0
mov esi, dword [ecx]
lea ecx, [ebp - 0xa4]
mov dword [ebp - 0x94], 0
mov dword [ebp - 0x90], 7
mov word [ebp - 0xa4], ax
call fcn.004082a0
mov byte [ebp - 4], 0xd
lea eax, [ebp - 0xa4]
push eax
lea eax, [ebp - 0x134]
mov ecx, edi
push eax
call esi
mov byte [ebp - 4], 0xe
mov edx, eax
push 0x5957f8
lea ecx, [ebp - 0x11c]
call fcn.00408ea0
add esp, 4
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0x104]
push dword [ebp - 0x16c]
push eax
push dword [ebp - 0x16c]
call fcn.00430440
mov edi, dword [ebp - 0x178]
mov esi, eax
or edi, 2
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x178], edi
cmp eax, esi
je 0x518867
mov ecx, eax
call fcn.00408570
movups xmm0, xmmword [esi]
xor eax, eax
movups xmmword [ebp - 0x2c], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [ebp - 0x1c], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
and edi, 0xfffffffd
mov dword [ebp - 0x178], edi
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x104]
call fcn.00408570
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x11c]
call fcn.00408570
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x134]
call fcn.00408570
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0xa4]
call fcn.00408570
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x14c]
call fcn.00408570
mov byte [ebp - 4], 8
lea ecx, [ebp - 0xbc]
jmp 0x518ae3
cmp dword [ebp - 0x30], 8
lea ecx, [ebp - 0x170]
mov edi, dword [sym.imp.msi.dll_MsiGetPropertyW]
lea eax, [ebp - 0x44]
cmovae eax, dword [ebp - 0x44]
push ecx
push dword [ebp - 0x184]
push str.InstalledProductName
push eax
call edi
cmp eax, 0xea
jne 0x518941
mov eax, dword [ebp - 0x170]
lea ecx, [ebp - 0x16c]
inc eax
mov dword [ebp - 0x16c], 0
push ecx
push eax
lea ecx, [ebp - 0x184]
mov dword [ebp - 0x170], eax
call fcn.004e6c20
cmp dword [ebp - 0x30], 8
lea ecx, [ebp - 0x170]
push ecx
push dword [ebp - 0x184]
lea eax, [ebp - 0x44]
cmovae eax, dword [ebp - 0x44]
push str.InstalledProductName
push eax
call edi
mov edx, dword [ebp - 0x184]
xor eax, eax
mov dword [ebp - 0x5c], 0
mov word [ebp - 0x5c], ax
mov eax, edx
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 7
lea esi, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x518975
sub eax, esi
lea ecx, [ebp - 0x5c]
sar eax, 1
push eax
push edx
call fcn.004082a0
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0x2c]
call fcn.00408570
movups xmm0, xmmword [ebp - 0x5c]
xor eax, eax
mov word [ebp - 0x5c], ax
movups xmmword [ebp - 0x2c], xmm0
movq xmm0, qword [ebp - 0x4c]
movq qword [ebp - 0x1c], xmm0
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 7
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x5c]
call fcn.00408570
cmp dword [ebp - 0x1c], 0
je 0x518b17
cmp dword [ebp - 0x30], 8
lea ecx, [ebp - 0x170]
push ecx
push dword [ebp - 0x184]
lea eax, [ebp - 0x44]
cmovae eax, dword [ebp - 0x44]
push str.VersionString
push eax
call edi
cmp eax, 0xea
jne 0x518a47
mov eax, dword [ebp - 0x170]
lea ecx, [ebp - 0x16c]
inc eax
mov dword [ebp - 0x16c], 0
push ecx
push eax
lea ecx, [ebp - 0x184]
mov dword [ebp - 0x170], eax
call fcn.004e6c20
cmp dword [ebp - 0x30], 8
lea ecx, [ebp - 0x170]
push ecx
push dword [ebp - 0x184]
lea eax, [ebp - 0x44]
cmovae eax, dword [ebp - 0x44]
push str.VersionString
push eax
call edi
mov edx, dword [ebp - 0x184]
xor eax, eax
mov ecx, edx
mov dword [ebp - 0x74], 0
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x60], 7
lea esi, [ecx + 2]
mov word [ebp - 0x74], ax
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x518a80
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x74]
call fcn.004082a0
mov byte [ebp - 4], 0x12
lea eax, [ebp - 0x74]
push eax
mov edx, 0x5957f8
lea ecx, [ebp - 0x164]
call fcn.004278b0
add esp, 4
mov byte [ebp - 4], 0x13
cmp dword [eax + 0x14], 8
mov ecx, dword [eax + 0x10]
jb 0x518ac3
mov eax, dword [eax]
push ecx
push eax
lea ecx, [ebp - 0x2c]
call fcn.00408c60
mov byte [ebp - 4], 0x12
lea ecx, [ebp - 0x164]
call fcn.00408570
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x74]
call fcn.00408570
mov ecx, dword [ebp - 0x174]
lea eax, [ebp - 0x44]
push eax
lea ecx, [ecx + 0x1ac]
call fcn.00426f10
lea ecx, [ebp - 0x2c]
cmp eax, ecx
je 0x518b17
cmp dword [ebp - 0x18], 8
push dword [ebp - 0x1c]
cmovae ecx, dword [ebp - 0x2c]
push ecx
mov ecx, eax
call fcn.004082a0
mov esi, dword [ebp - 0x1c]
test esi, esi
je 0x518bb7
cmp dword [ebp - 0x18], 8
lea edx, [ebp - 0x2c]
push esi
cmovae edx, dword [ebp - 0x2c]
lea ecx, [ebp - 0x44]
cmp dword [ebp - 0x30], 8
mov eax, 0x5eee44
push edx
push dword [ebp - 0x34]
cmovae ecx, dword [ebp - 0x44]
cmp dword [0x5eee58], 8
push ecx
push dword [0x5eee54]
cmovae eax, dword [0x5eee44]
lea ecx, [ebp - 0xd4]
push eax
call fcn.0048ea00
add esp, 0x18
mov esi, eax
mov byte [ebp - 4], 0x14
cmp esi, 0x5eee44
je 0x518ba8
mov ecx, 0x5eee44
call fcn.00408570
movups xmm0, xmmword [esi]
xor eax, eax
movups xmmword [0x5eee44], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [0x5eee54], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
mov byte [ebp - 4], 8
lea ecx, [ebp - 0xd4]
call fcn.00408570
cmp dword [0x5eee58], 8
mov edi, 0x5eee44
mov ecx, dword [ebp - 0x1c4]
mov eax, 0x2aaaaaab
cmovae edi, dword [0x5eee44]
mov esi, dword [ebp - 0x1c8]
sub ecx, esi
imul ecx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, 2
lea eax, [ebp - 0x1a4]
jbe 0x518bf6
lea eax, [esi + 0x18]
mov eax, dword [eax]
sub eax, dword [ebp - 0x1d0]
sar eax, 1
lea esi, [edi + eax*2]
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x2c]
call fcn.00408570
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x44]
call fcn.00408570
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x184]
call fcn.00496ff0
sub esp, 8
lea edx, [ebp - 0x198]
lea ecx, [ebp - 0x1d0]
push esi
push edi
call fcn.0051aaf0
add esp, 0x10
test al, al
jne 0x518540
cmp dword [0x5eee58], 8
mov edx, 0x5eee44
mov ecx, dword [0x5eee54]
cmovae edx, dword [0x5eee44]
sub esp, 8
mov eax, esp
push ecx
push edx
mov cl, 1
mov dword [eax], 0x5aaf30
mov dword [eax + 4], 3
call fcn.0048f3f0
add esp, 0x10
test al, al
je 0x518ce8
push 0x5eee44
lea eax, [ebp - 0xd4]
push eax
call fcn.00519060
mov esi, eax
mov byte [ebp - 4], 0x15
cmp esi, 0x5eee44
je 0x518cd9
mov ecx, 0x5eee44
call fcn.00408570
movups xmm0, xmmword [esi]
xor eax, eax
movups xmmword [0x5eee44], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [0x5eee54], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xd4]
call fcn.00408570
mov esi, 0x5eee44
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1c8]
call fcn.00456280
mov dword [ebp - 4], 0x17
lea ecx, [ebp - 0x198]
call fcn.005199c0
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x194]
mov dword [ebp - 0x16c], eax
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x188]
test ecx, ecx
je 0x518d45
mov eax, dword [ecx]
mov eax, dword [eax + 8]
call eax
test eax, eax
je 0x518d45
mov edx, dword [eax]
mov ecx, eax
push 1
call dword [edx]
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.0052df57
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 4