Function at 0x50f640
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 0x573f52
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 - 0x178], ecx
mov esi, dword [ebx + 8]
mov dword [ebp - 0x16c], 0
mov eax, dword fs:[0x2c]
mov edx, dword [eax]
mov eax, dword [0x5dcdf8]
cmp eax, dword [edx + 4]
jle 0x50f703
push 0x5dcdf8
call fcn.00522631
add esp, 4
cmp dword [0x5dcdf8], 0xffffffff
jne 0x50f703
mov dword [ebp - 4], 0
xor eax, eax
push 0x5779b0
mov dword [0x5dce0c], 0
mov dword [0x5dce10], 7
mov word [0x5dcdfc], ax
call fcn.005224e9
add esp, 4
mov dword [ebp - 4], 0xffffffff
push 0x5dcdf8
call fcn.005225e7
add esp, 4
push ecx
push str._.______._
lea ecx, [ebp - 0x19c]
call fcn.00510b20
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x1d4]
call fcn.005109f0
mov byte [ebp - 4], 2
cmp dword [esi + 0x14], 8
jb 0x50f73a
mov edx, dword [esi]
mov ecx, dword [esi + 0x10]
lea eax, [edx + ecx*2]
jmp 0x50f742
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.00511dc0
add esp, 0x10
test al, al
jne 0x50f7f4
cmp dword [esi + 0x14], 8
mov ecx, esi
mov edx, dword [esi + 0x10]
jb 0x50f770
mov ecx, dword [esi]
sub esp, 8
mov eax, esp
push edx
push ecx
mov cl, 1
mov dword [eax], 0x59ae48
mov dword [eax + 4], 3
call fcn.00488560
add esp, 0x10
test al, al
je 0x51000a
push esi
lea eax, [ebp - 0x8c]
push eax
call fcn.00510380
mov esi, eax
mov byte [ebp - 4], 4
cmp esi, 0x5dcdfc
je 0x50f7e5
mov ecx, 0x5dcdfc
call fcn.00407f30
movups xmm0, xmmword [esi]
xor eax, eax
movups xmmword [0x5dcdfc], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [0x5dce0c], 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 0x510000
cmp esi, 0x5dcdfc
je 0x50f813
cmp dword [esi + 0x14], 8
mov eax, dword [esi + 0x10]
jb 0x50f807
mov esi, dword [esi]
push eax
push esi
mov ecx, 0x5dcdfc
call fcn.00407c60
push ecx
push 1
lea ecx, [ebp - 0x188]
mov dword [ebp - 0x170], 1
call fcn.0048fe90
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 0x50f85b
lea ecx, [esi + 0x18]
lea eax, [ebp - 0x44]
push eax
call fcn.00510960
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 0x50f8c1
nop word [eax + eax]
movzx eax, byte [esi + ecx]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, edi
jb 0x50f8b0
mov edi, dword [ebp - 0x178]
lea eax, [ebp - 0x44]
push edx
push eax
lea eax, [ebp - 0x1dc]
push eax
lea ecx, [edi + 0x1ac]
call fcn.0040ad70
mov eax, dword [eax + 4]
test eax, eax
je 0x50f910
cmp eax, dword [edi + 0x1b0]
je 0x50f910
add eax, 0x20
lea ecx, [ebp - 0x2c]
cmp ecx, eax
je 0x50fdd2
cmp dword [eax + 0x14], 8
mov ecx, dword [eax + 0x10]
jb 0x50f906
mov eax, dword [eax]
push ecx
push eax
lea ecx, [ebp - 0x2c]
jmp 0x50fdcd
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.00407c60
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 0x50f98a
mov eax, dword [eax]
cmp ecx, dword [ebp - 0x34]
jne 0x50f9a5
push ecx
mov ecx, eax
call fcn.00407330
add esp, 4
mov byte [ebp - 0x165], 1
test eax, eax
je 0x50f9ac
mov byte [ebp - 0x165], 0
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x104]
call fcn.00407f30
mov byte [ebp - 4], 8
lea ecx, [ebp - 0xa4]
call fcn.00407f30
cmp byte [ebp - 0x165], 0
je 0x50fb88
mov edi, dword [ebp - 0x178]
lea ecx, [ebp - 0xd4]
push 0xe
push 0x5861c8
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.00407c60
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 - 0x174], eax
mov byte [ebp - 4], 0xc
mov eax, dword [ebp - 0x178]
push 0xb
push 0x588e10
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.00407c60
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 0x5857cc
lea ecx, [ebp - 0x134]
call fcn.00408860
add esp, 4
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0x11c]
push dword [ebp - 0x174]
push eax
push dword [ebp - 0x17c]
call fcn.0042eab0
mov edi, dword [ebp - 0x16c]
mov esi, eax
or edi, 2
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x16c], edi
cmp eax, esi
je 0x50fb25
mov ecx, eax
call fcn.00407f30
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.00407f30
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x134]
call fcn.00407f30
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x14c]
call fcn.00407f30
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0xbc]
call fcn.00407f30
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x164]
call fcn.00407f30
mov byte [ebp - 4], 8
lea ecx, [ebp - 0xd4]
jmp 0x50fd9e
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 - 0x188]
push str.InstalledProductName
push eax
call edi
cmp eax, 0xea
jne 0x50fbff
mov eax, dword [ebp - 0x170]
lea ecx, [ebp - 0x174]
inc eax
mov dword [ebp - 0x174], 0
push ecx
push eax
lea ecx, [ebp - 0x188]
mov dword [ebp - 0x170], eax
call fcn.004dedd0
cmp dword [ebp - 0x30], 8
lea ecx, [ebp - 0x170]
push ecx
push dword [ebp - 0x188]
lea eax, [ebp - 0x44]
cmovae eax, dword [ebp - 0x44]
push str.InstalledProductName
push eax
call edi
mov edx, dword [ebp - 0x188]
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]
nop dword [eax]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x50fc30
sub eax, esi
lea ecx, [ebp - 0x74]
sar eax, 1
push eax
push edx
call fcn.00407c60
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0x2c]
call fcn.00407f30
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.00407f30
cmp dword [ebp - 0x1c], 0
je 0x50fdd2
cmp dword [ebp - 0x30], 8
lea ecx, [ebp - 0x170]
push ecx
push dword [ebp - 0x188]
lea eax, [ebp - 0x44]
cmovae eax, dword [ebp - 0x44]
push str.VersionString
push eax
call edi
cmp eax, 0xea
jne 0x50fd02
mov eax, dword [ebp - 0x170]
lea ecx, [ebp - 0x174]
inc eax
mov dword [ebp - 0x174], 0
push ecx
push eax
lea ecx, [ebp - 0x188]
mov dword [ebp - 0x170], eax
call fcn.004dedd0
cmp dword [ebp - 0x30], 8
lea ecx, [ebp - 0x170]
push ecx
push dword [ebp - 0x188]
lea eax, [ebp - 0x44]
cmovae eax, dword [ebp - 0x44]
push str.VersionString
push eax
call edi
mov edx, dword [ebp - 0x188]
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 0x50fd32
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x8c]
call fcn.00407c60
mov byte [ebp - 4], 0x12
lea eax, [ebp - 0x8c]
push eax
mov edx, 0x5857cc
lea ecx, [ebp - 0xec]
call fcn.00426430
add esp, 4
mov byte [ebp - 4], 0x13
cmp dword [eax + 0x14], 8
mov ecx, dword [eax + 0x10]
jb 0x50fd7b
mov eax, dword [eax]
push ecx
push eax
lea ecx, [ebp - 0x2c]
call fcn.00408620
mov byte [ebp - 4], 0x12
lea ecx, [ebp - 0xec]
call fcn.00407f30
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x8c]
call fcn.00407f30
mov ecx, dword [ebp - 0x178]
lea eax, [ebp - 0x44]
push eax
lea ecx, [ecx + 0x1ac]
call fcn.00425a90
lea ecx, [ebp - 0x2c]
cmp eax, ecx
je 0x50fdd2
cmp dword [ebp - 0x18], 8
push dword [ebp - 0x1c]
cmovae ecx, dword [ebp - 0x2c]
push ecx
mov ecx, eax
call fcn.00407c60
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x174], eax
test eax, eax
je 0x50fed4
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, 0x5dcdfc
cmp dword [ebp - 0x30], 8
mov dword [ebp - 0x17c], eax
cmovae edi, dword [ebp - 0x44]
cmp dword [0x5dce10], 8
mov eax, dword [0x5dce0c]
cmovae ecx, dword [0x5dcdfc]
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.00407c60
or dword [ebp - 0x16c], 8
lea ecx, [ebp - 0x5c]
push dword [ebp - 0x174]
push dword [ebp - 0x17c]
push esi
push edi
call fcn.00488ce0
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, 0x5dcdfc
mov dword [ebp - 0x16c], esi
call fcn.00407f30
movups xmm0, xmmword [ebp - 0x5c]
xor eax, eax
and esi, 0xfffffffb
mov word [ebp - 0x5c], ax
movups xmmword [0x5dcdfc], xmm0
movq xmm0, qword [ebp - 0x4c]
movq qword [0x5dce0c], 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.00407f30
cmp dword [0x5dce10], 8
mov edi, 0x5dcdfc
mov ecx, dword [ebp - 0x1c8]
mov eax, 0x2aaaaaab
cmovae edi, dword [0x5dcdfc]
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 0x50ff13
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.00407f30
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x44]
call fcn.00407f30
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x188]
call fcn.004900b0
sub esp, 8
lea edx, [ebp - 0x19c]
lea ecx, [ebp - 0x1d4]
push esi
push edi
call fcn.00511dc0
add esp, 0x10
test al, al
jne 0x50f813
cmp dword [0x5dce10], 8
mov edx, 0x5dcdfc
mov ecx, dword [0x5dce0c]
cmovae edx, dword [0x5dcdfc]
sub esp, 8
mov eax, esp
push ecx
push edx
mov cl, 1
mov dword [eax], 0x59ae48
mov dword [eax + 4], 3
call fcn.00488560
add esp, 0x10
test al, al
je 0x510005
push 0x5dcdfc
lea eax, [ebp - 0xec]
push eax
call fcn.00510380
mov esi, eax
mov byte [ebp - 4], 0x16
cmp esi, 0x5dcdfc
je 0x50fff6
mov ecx, 0x5dcdfc
call fcn.00407f30
movups xmm0, xmmword [esi]
xor eax, eax
movups xmmword [0x5dcdfc], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [0x5dce0c], 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.00407f30
mov esi, 0x5dcdfc
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1cc]
call fcn.00452f30
mov dword [ebp - 4], 0x18
lea ecx, [ebp - 0x19c]
call fcn.00510ca0
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x198]
mov dword [ebp - 0x17c], eax
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x18c]
test ecx, ecx
je 0x510062
mov eax, dword [ecx]
mov eax, dword [eax + 8]
call eax
test eax, eax
je 0x510062
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.0052223b
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 4