Function at 0x50e710
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 0x574292
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x1d8
mov eax, dword [0x5d6024]
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 - 0x188], ecx
mov esi, dword [ebx + 8]
mov dword [ebp - 0x16c], 0
mov eax, dword fs:[0x2c]
mov edx, dword [eax]
mov eax, dword [0x5dcca8]
cmp eax, dword [edx + 4]
jle 0x50e7d3
push 0x5dcca8
call fcn.00521857
add esp, 4
cmp dword [0x5dcca8], 0xffffffff
jne 0x50e7d3
mov dword [ebp - 4], 0
xor eax, eax
push 0x577cf0
mov dword [0x5dccbc], 0
mov dword [0x5dccc0], 7
mov word [0x5dccac], ax
call fcn.0052170f
add esp, 4
mov dword [ebp - 4], 0xffffffff
push 0x5dcca8
call fcn.0052180d
add esp, 4
push ecx
push str._.______._
lea ecx, [ebp - 0x19c]
call fcn.0050fcc0
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x1d4]
call fcn.0050fb90
mov byte [ebp - 4], 2
cmp dword [esi + 0x14], 8
jb 0x50e80a
mov edx, dword [esi]
mov ecx, dword [esi + 0x10]
lea eax, [edx + ecx*2]
jmp 0x50e812
mov eax, dword [esi + 0x10]
mov edx, esi
lea eax, [esi + eax*2]
sub esp, 8
lea ecx, [ebp - 0x1d4]
push eax
push edx
lea edx, [ebp - 0x19c]
call fcn.00510f60
add esp, 0x10
test al, al
jne 0x50e8c4
cmp dword [esi + 0x14], 8
mov ecx, esi
mov edx, dword [esi + 0x10]
jb 0x50e840
mov ecx, dword [esi]
sub esp, 8
mov eax, esp
push edx
push ecx
mov cl, 1
mov dword [eax], 0x59b318
mov dword [eax + 4], 3
call fcn.00487e50
add esp, 0x10
test al, al
je 0x50f1a8
push esi
lea eax, [ebp - 0x8c]
push eax
call fcn.0050f520
mov esi, eax
mov byte [ebp - 4], 4
cmp esi, 0x5dccac
je 0x50e8b5
mov ecx, 0x5dccac
call fcn.00407f50
movups xmm0, xmmword [esi]
xor eax, eax
movups xmmword [0x5dccac], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [0x5dccbc], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x8c]
jmp 0x50f19e
cmp esi, 0x5dccac
je 0x50e8e3
cmp dword [esi + 0x14], 8
mov eax, dword [esi + 0x10]
jb 0x50e8d7
mov esi, dword [esi]
push eax
push esi
mov ecx, 0x5dccac
call fcn.00407c80
push ecx
push 1
lea ecx, [ebp - 0x184]
mov dword [ebp - 0x174], 1
call fcn.0048f830
mov byte [ebp - 4], 6
mov eax, 0x2aaaaaab
mov ecx, dword [ebp - 0x1c8]
mov esi, dword [ebp - 0x1cc]
sub ecx, esi
imul ecx
lea ecx, [ebp - 0x1a8]
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, 2
jbe 0x50e92b
lea ecx, [esi + 0x18]
lea eax, [ebp - 0x44]
push eax
call fcn.0050fb00
mov byte [ebp - 4], 7
xor eax, eax
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 0x50e991
nop word [eax + eax]
movzx eax, byte [esi + ecx]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, edi
jb 0x50e980
mov edi, dword [ebp - 0x188]
lea eax, [ebp - 0x44]
push edx
push eax
lea eax, [ebp - 0x1dc]
push eax
lea ecx, [edi + 0x1ac]
call fcn.0040add0
mov eax, dword [eax + 4]
test eax, eax
je 0x50e9e0
cmp eax, dword [edi + 0x1b0]
je 0x50e9e0
add eax, 0x20
lea ecx, [ebp - 0x2c]
cmp ecx, eax
je 0x50ef70
cmp dword [eax + 0x14], 8
mov ecx, dword [eax + 0x10]
jb 0x50e9d6
mov eax, dword [eax]
push ecx
push eax
lea ecx, [ebp - 0x2c]
jmp 0x50ef6b
mov edi, dword [edi + 4]
lea ecx, [ebp - 0xa4]
push 0xb
push str.ProductCode
mov eax, dword [edi]
mov dword [ebp - 0x94], 0
mov dword [ebp - 0x90], 0
mov dword [ebp - 0x94], 0
mov esi, dword [eax]
xor eax, eax
mov dword [ebp - 0x90], 7
mov word [ebp - 0xa4], ax
call fcn.00407c80
mov byte [ebp - 4], 9
lea eax, [ebp - 0xa4]
push eax
lea eax, [ebp - 0x104]
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 0x50ea5a
mov eax, dword [eax]
cmp ecx, dword [ebp - 0x34]
jne 0x50ea75
push ecx
mov ecx, eax
call fcn.00407350
add esp, 4
mov byte [ebp - 0x165], 1
test eax, eax
je 0x50ea7c
mov byte [ebp - 0x165], 0
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x104]
call fcn.00407f50
mov byte [ebp - 4], 8
lea ecx, [ebp - 0xa4]
call fcn.00407f50
cmp byte [ebp - 0x165], 0
je 0x50ec58
mov edi, dword [ebp - 0x188]
lea ecx, [ebp - 0xd4]
push 0xe
push 0x586888
mov edi, dword [edi + 4]
mov eax, dword [edi]
mov dword [ebp - 0xc4], 0
mov dword [ebp - 0xc0], 0
mov dword [ebp - 0xc4], 0
mov esi, dword [eax]
xor eax, eax
mov dword [ebp - 0xc0], 7
mov word [ebp - 0xd4], ax
call fcn.00407c80
mov byte [ebp - 4], 0xb
lea eax, [ebp - 0xd4]
push eax
lea eax, [ebp - 0x164]
mov ecx, edi
push eax
call esi
mov dword [ebp - 0x178], eax
mov byte [ebp - 4], 0xc
mov eax, dword [ebp - 0x188]
push 0xb
push 0x5894d0
mov edi, dword [eax + 4]
xor eax, eax
mov ecx, dword [edi]
mov dword [ebp - 0xac], 0
mov dword [ebp - 0xa8], 0
mov dword [ebp - 0xac], 0
mov esi, dword [ecx]
lea ecx, [ebp - 0xbc]
mov dword [ebp - 0xa8], 7
mov word [ebp - 0xbc], ax
call fcn.00407c80
mov byte [ebp - 4], 0xd
lea eax, [ebp - 0xbc]
push eax
lea eax, [ebp - 0x14c]
mov ecx, edi
push eax
call esi
mov byte [ebp - 4], 0xe
mov edx, eax
push 0x585e8c
lea ecx, [ebp - 0x134]
call fcn.00408880
add esp, 4
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0x11c]
push dword [ebp - 0x178]
push eax
push dword [ebp - 0x170]
call fcn.0042e6b0
mov edi, dword [ebp - 0x16c]
mov esi, eax
or edi, 2
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x16c], edi
cmp eax, esi
je 0x50ebf5
mov ecx, eax
call fcn.00407f50
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 - 0x16c], edi
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x11c]
call fcn.00407f50
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x134]
call fcn.00407f50
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x14c]
call fcn.00407f50
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0xbc]
call fcn.00407f50
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x164]
call fcn.00407f50
mov byte [ebp - 4], 8
lea ecx, [ebp - 0xd4]
jmp 0x50ef3c
cmp dword [ebp - 0x30], 8
lea ecx, [ebp - 0x174]
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 0x50ed39
mov edi, dword [ebp - 0x180]
mov ecx, edi
mov edx, dword [ebp - 0x174]
mov esi, dword [ebp - 0x184]
inc edx
sub ecx, esi
mov dword [ebp - 0x174], edx
sar ecx, 1
mov dword [ebp - 0x178], 0
mov dword [ebp - 0x170], edi
cmp edx, ecx
jae 0x50ecc7
lea eax, [esi + edx*2]
mov dword [ebp - 0x180], eax
jmp 0x50ed18
jbe 0x50ed18
mov eax, dword [ebp - 0x17c]
sub eax, esi
sar eax, 1
cmp edx, eax
jbe 0x50ecf2
lea eax, [ebp - 0x178]
push eax
push edx
lea ecx, [ebp - 0x184]
call fcn.004df040
mov esi, dword [ebp - 0x184]
jmp 0x50ed18
sub edx, ecx
je 0x50ed12
xor eax, eax
mov ecx, edx
shr ecx, 1
rep stosd dword es:[edi], eax
adc ecx, ecx
rep stosw word es:[edi], ax
mov edi, dword [ebp - 0x170]
mov esi, dword [ebp - 0x184]
lea edi, [edi + edx*2]
mov dword [ebp - 0x180], edi
cmp dword [ebp - 0x30], 8
lea ecx, [ebp - 0x174]
mov edi, dword [sym.imp.msi.dll_MsiGetPropertyW]
lea eax, [ebp - 0x44]
cmovae eax, dword [ebp - 0x44]
push ecx
push esi
push str.InstalledProductName
push eax
call edi
mov edx, dword [ebp - 0x184]
xor eax, eax
mov word [ebp - 0x74], ax
mov eax, edx
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x60], 7
lea esi, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x50ed66
sub eax, esi
lea ecx, [ebp - 0x74]
sar eax, 1
push eax
push edx
call fcn.00407c80
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0x2c]
call fcn.00407f50
movups xmm0, xmmword [ebp - 0x74]
xor eax, eax
mov word [ebp - 0x74], ax
movups xmmword [ebp - 0x2c], xmm0
movq xmm0, qword [ebp - 0x64]
movq qword [ebp - 0x1c], xmm0
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x60], 7
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x74]
call fcn.00407f50
cmp dword [ebp - 0x1c], 0
je 0x50ef70
cmp dword [ebp - 0x30], 8
lea ecx, [ebp - 0x174]
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 0x50eea0
mov edi, dword [ebp - 0x180]
mov ecx, edi
mov edx, dword [ebp - 0x174]
mov esi, dword [ebp - 0x184]
inc edx
sub ecx, esi
mov dword [ebp - 0x174], edx
sar ecx, 1
mov dword [ebp - 0x170], 0
mov dword [ebp - 0x178], edi
cmp edx, ecx
jae 0x50ee30
lea eax, [esi + edx*2]
mov dword [ebp - 0x180], eax
jmp 0x50ee81
jbe 0x50ee81
mov eax, dword [ebp - 0x17c]
sub eax, esi
sar eax, 1
cmp edx, eax
jbe 0x50ee5b
lea eax, [ebp - 0x170]
push eax
push edx
lea ecx, [ebp - 0x184]
call fcn.004df040
mov esi, dword [ebp - 0x184]
jmp 0x50ee81
sub edx, ecx
je 0x50ee7b
xor eax, eax
mov ecx, edx
shr ecx, 1
rep stosd dword es:[edi], eax
adc ecx, ecx
rep stosw word es:[edi], ax
mov edi, dword [ebp - 0x178]
mov esi, dword [ebp - 0x184]
lea edi, [edi + edx*2]
mov dword [ebp - 0x180], edi
cmp dword [ebp - 0x30], 8
lea ecx, [ebp - 0x174]
push ecx
push esi
lea eax, [ebp - 0x44]
cmovae eax, dword [ebp - 0x44]
push str.VersionString
push eax
call dword [sym.imp.msi.dll_MsiGetPropertyW]
mov edx, dword [ebp - 0x184]
xor eax, eax
mov ecx, edx
mov dword [ebp - 0x7c], 0
mov dword [ebp - 0x78], 0
mov dword [ebp - 0x7c], 0
mov dword [ebp - 0x78], 7
mov word [ebp - 0x8c], ax
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x50eed0
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x8c]
call fcn.00407c80
mov byte [ebp - 4], 0x12
lea eax, [ebp - 0x8c]
push eax
mov edx, 0x585e8c
lea ecx, [ebp - 0xec]
call fcn.00426040
add esp, 4
mov byte [ebp - 4], 0x13
cmp dword [eax + 0x14], 8
mov ecx, dword [eax + 0x10]
jb 0x50ef19
mov eax, dword [eax]
push ecx
push eax
lea ecx, [ebp - 0x2c]
call fcn.00408640
mov byte [ebp - 4], 0x12
lea ecx, [ebp - 0xec]
call fcn.00407f50
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x8c]
call fcn.00407f50
mov ecx, dword [ebp - 0x188]
lea eax, [ebp - 0x44]
push eax
lea ecx, [ecx + 0x1ac]
call fcn.004256a0
lea ecx, [ebp - 0x2c]
cmp eax, ecx
je 0x50ef70
cmp dword [ebp - 0x18], 8
push dword [ebp - 0x1c]
cmovae ecx, dword [ebp - 0x2c]
push ecx
mov ecx, eax
call fcn.00407c80
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x170], eax
test eax, eax
je 0x50f072
cmp dword [ebp - 0x18], 8
lea eax, [ebp - 0x2c]
mov esi, dword [ebp - 0x34]
lea edi, [ebp - 0x44]
cmovae eax, dword [ebp - 0x2c]
mov ecx, 0x5dccac
cmp dword [ebp - 0x30], 8
mov dword [ebp - 0x178], eax
cmovae edi, dword [ebp - 0x44]
cmp dword [0x5dccc0], 8
mov eax, dword [0x5dccbc]
cmovae ecx, dword [0x5dccac]
mov byte [ebp - 4], 0x15
xor edx, edx
push eax
push ecx
mov dword [ebp - 0x4c], 0
lea ecx, [ebp - 0x5c]
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 7
mov word [ebp - 0x5c], dx
call fcn.00407c80
or dword [ebp - 0x16c], 8
lea ecx, [ebp - 0x5c]
push dword [ebp - 0x170]
push dword [ebp - 0x178]
push esi
push edi
call fcn.00488620
mov esi, dword [ebp - 0x16c]
add esp, 0x10
and esi, 0xfffffff7
mov dword [ebp - 0x16c], esi
mov dword [ebp - 4], 0x14
or esi, 4
mov ecx, 0x5dccac
mov dword [ebp - 0x16c], esi
call fcn.00407f50
movups xmm0, xmmword [ebp - 0x5c]
xor eax, eax
and esi, 0xfffffffb
mov word [ebp - 0x5c], ax
movups xmmword [0x5dccac], xmm0
movq xmm0, qword [ebp - 0x4c]
movq qword [0x5dccbc], xmm0
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 7
mov dword [ebp - 0x16c], esi
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x5c]
call fcn.00407f50
cmp dword [0x5dccc0], 8
mov edi, 0x5dccac
mov ecx, dword [ebp - 0x1c8]
mov eax, 0x2aaaaaab
cmovae edi, dword [0x5dccac]
mov esi, dword [ebp - 0x1cc]
sub ecx, esi
imul ecx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, 2
lea eax, [ebp - 0x1a8]
jbe 0x50f0b1
lea eax, [esi + 0x18]
mov eax, dword [eax]
sub eax, dword [ebp - 0x1d4]
sar eax, 1
lea esi, [edi + eax*2]
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x2c]
call fcn.00407f50
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x44]
call fcn.00407f50
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x184]
call fcn.0048fa50
sub esp, 8
lea edx, [ebp - 0x19c]
lea ecx, [ebp - 0x1d4]
push esi
push edi
call fcn.00510f60
add esp, 0x10
test al, al
jne 0x50e8e3
cmp dword [0x5dccc0], 8
mov edx, 0x5dccac
mov ecx, dword [0x5dccbc]
cmovae edx, dword [0x5dccac]
sub esp, 8
mov eax, esp
push ecx
push edx
mov cl, 1
mov dword [eax], 0x59b318
mov dword [eax + 4], 3
call fcn.00487e50
add esp, 0x10
test al, al
je 0x50f1a3
push 0x5dccac
lea eax, [ebp - 0xec]
push eax
call fcn.0050f520
mov esi, eax
mov byte [ebp - 4], 0x16
cmp esi, 0x5dccac
je 0x50f194
mov ecx, 0x5dccac
call fcn.00407f50
movups xmm0, xmmword [esi]
xor eax, eax
movups xmmword [0x5dccac], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [0x5dccbc], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xec]
call fcn.00407f50
mov esi, 0x5dccac
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1cc]
call fcn.00452930
mov dword [ebp - 4], 0x18
lea ecx, [ebp - 0x19c]
call fcn.0050fe40
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x198]
mov dword [ebp - 0x170], eax
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x18c]
test ecx, ecx
je 0x50f200
mov eax, dword [ecx]
mov eax, dword [eax + 8]
call eax
test eax, eax
je 0x50f200
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.00521461
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 4