Function at 0x10031a50
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 0x100690c7
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x1b0
mov eax, dword [0x100ad040]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x188], edi
push 9
xorps xmm0, xmm0
mov dword [ebp - 0x110], 0
push str.BrowseDlg
lea ecx, [ebp - 0x120]
mov dword [ebp - 0x10c], 0
movups xmmword [ebp - 0x120], xmm0
call fcn.10002cb0
mov dword [ebp - 4], 0
xorps xmm0, xmm0
push 9
push str.CancelDlg
lea ecx, [ebp - 0x108]
mov dword [ebp - 0xf8], 0
movups xmmword [ebp - 0x108], xmm0
mov dword [ebp - 0xf4], 0
call fcn.10002cb0
mov byte [ebp - 4], 1
xorps xmm0, xmm0
push 0xb
push str.DiskCostDlg
lea ecx, [ebp - 0xf0]
mov dword [ebp - 0xe0], 0
movups xmmword [ebp - 0xf0], xmm0
mov dword [ebp - 0xdc], 0
call fcn.10002cb0
mov byte [ebp - 4], 2
xorps xmm0, xmm0
push 0xa
push str.ExitDialog
lea ecx, [ebp - 0xd8]
mov dword [ebp - 0xc8], 0
movups xmmword [ebp - 0xd8], xmm0
mov dword [ebp - 0xc4], 0
call fcn.10002cb0
mov byte [ebp - 4], 3
xorps xmm0, xmm0
push 0xf
push str.MsiRMFilesInUse
lea ecx, [ebp - 0xc0]
mov dword [ebp - 0xb0], 0
movups xmmword [ebp - 0xc0], xmm0
mov dword [ebp - 0xac], 0
call fcn.10002cb0
mov byte [ebp - 4], 4
xorps xmm0, xmm0
push 0xc
push str.OutOfDiskDlg
lea ecx, [ebp - 0xa8]
mov dword [ebp - 0x98], 0
movups xmmword [ebp - 0xa8], xmm0
mov dword [ebp - 0x94], 0
call fcn.10002cb0
mov byte [ebp - 4], 5
xorps xmm0, xmm0
push 0xe
push str.OutOfRbDiskDlg
lea ecx, [ebp - 0x90]
mov dword [ebp - 0x80], 0
movups xmmword [ebp - 0x90], xmm0
mov dword [ebp - 0x7c], 0
call fcn.10002cb0
mov dword [ebp - 4], 6
lea eax, [ebp - 0x184]
push ecx
push eax
lea ecx, [ebp - 0x1c0]
mov dword [ebp - 0x184], 0
lea esi, [ebp - 0x120]
call fcn.100320a0
mov byte [ebp - 4], 7
lea eax, [ebp - 0x78]
cmp esi, eax
je 0x10031c55
mov edi, eax
push esi
lea eax, [ebp - 0x1a0]
push eax
lea ecx, [ebp - 0x1c0]
call fcn.10032930
add esi, 0x18
cmp esi, edi
jne 0x10031c35
mov edi, dword [ebp - 0x188]
mov byte [ebp - 4], 9
lea eax, [ebp - 0x120]
push 0x100056a0
push 7
push 0x18
push eax
call fcn.1004d44c
push edi
lea ecx, [ebp - 0x180]
call fcn.1000b5c0
mov byte [ebp - 4], 0xa
xorps xmm0, xmm0
push 0xc
push str.ControlEvent
lea ecx, [ebp - 0x44]
mov dword [ebp - 0x198], str.Dialog_
mov dword [ebp - 0x194], str.Control_
mov dword [ebp - 0x190], 0
movups xmmword [ebp - 0x44], xmm0
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0
call fcn.10002cb0
mov byte [ebp - 4], 0xb
lea eax, [ebp - 0x198]
push str.__Control____Next_OR__Control____Install__AND__Event___EndDialog_AND__Argument___Return
push 0
push eax
lea eax, [ebp - 0x44]
push eax
lea ecx, [ebp - 0x180]
call fcn.1000c5a0
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x44]
call fcn.10005610
push str.AI_INSTALLPERUSER___0_
push edi
call dword [sym.imp.msi.dll_MsiGetComponentStateW]
mov esi, dword [ebp - 0x14c]
mov dword [ebp - 0x19c], eax
mov dword [ebp - 0x184], esi
cmp esi, dword [ebp - 0x148]
je 0x10031ed6
nop word [eax + eax]
push 7
xorps xmm0, xmm0
mov dword [ebp - 0x64], 0
push str.Dialog_
lea ecx, [ebp - 0x74]
mov dword [ebp - 0x60], 0
movups xmmword [ebp - 0x74], xmm0
call fcn.10002cb0
mov byte [ebp - 4], 0xc
lea eax, [ebp - 0x74]
push eax
mov ecx, esi
call fcn.1000b4d0
push eax
lea ecx, [ebp - 0x2c]
call fcn.100057f0
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x74]
call fcn.10005610
push 8
xorps xmm0, xmm0
mov dword [ebp - 0x34], 0
push str.Control_
lea ecx, [ebp - 0x44]
mov dword [ebp - 0x30], 0
movups xmmword [ebp - 0x44], xmm0
call fcn.10002cb0
mov byte [ebp - 4], 0xf
lea eax, [ebp - 0x44]
push eax
mov ecx, esi
call fcn.1000b4d0
push eax
lea ecx, [ebp - 0x5c]
call fcn.100057f0
mov byte [ebp - 4], 0x11
mov eax, dword [ebp - 0x30]
cmp eax, 7
jbe 0x10031ddf
mov ecx, dword [ebp - 0x44]
lea eax, [eax*2 + 2]
mov edx, ecx
cmp eax, 0x1000
jb 0x10031dd4
mov ecx, dword [edx - 4]
sub edx, ecx
lea eax, [edx - 4]
cmp eax, 0x1f
ja 0x10031f77
test ecx, ecx
je 0x10031ddf
push ecx
call dword [sym.imp.KERNEL32.dll_LocalFree]
xor eax, eax
mov dword [ebp - 0x34], 0
cmp dword [ebp - 0x18], 7
lea edi, [ebp - 0x2c]
mov word [ebp - 0x44], ax
mov edx, 0x811c9dc5
cmova edi, dword [ebp - 0x2c]
xor ecx, ecx
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x30], 7
add eax, eax
je 0x10031e27
mov esi, eax
nop
movzx eax, byte [edi + ecx]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, esi
jb 0x10031e10
mov esi, dword [ebp - 0x184]
push edx
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x194]
push eax
lea ecx, [ebp - 0x1c0]
call fcn.1000fbe0
cmp dword [eax + 4], 0
jne 0x10031ea9
cmp dword [ebp - 0x48], 7
lea eax, [ebp - 0x5c]
mov edi, dword [ebp - 0x188]
lea edx, [ebp - 0x2c]
cmova eax, dword [ebp - 0x5c]
mov ecx, edi
cmp dword [ebp - 0x18], 7
push eax
cmova edx, dword [ebp - 0x2c]
call fcn.1002f950
shr eax, 0x17
add esp, 4
and al, 1
cmp dword [ebp - 0x19c], 1
jne 0x10031ea1
test al, al
jne 0x10031ea9
cmp dword [ebp - 0x48], 7
lea edx, [ebp - 0x5c]
lea eax, [ebp - 0x2c]
cmova edx, dword [ebp - 0x5c]
cmp dword [ebp - 0x18], 7
push edx
cmova eax, dword [ebp - 0x2c]
mov edx, 0x800000
push eax
push 0
jmp 0x10031f4d
test al, al
jne 0x10031f2e
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x5c]
call fcn.10005610
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x2c]
call fcn.10005610
add esi, 0x20
mov dword [ebp - 0x184], esi
cmp esi, dword [ebp - 0x148]
jne 0x10031d20
mov esi, 1
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x180]
call fcn.1000b910
mov dword [ebp - 4], 0x13
lea ecx, [ebp - 0x1b4]
call fcn.1000dcc0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1bc]
call fcn.10022970
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.1004d40a
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
cmp dword [ebp - 0x48], 7
lea ecx, [ebp - 0x5c]
lea eax, [ebp - 0x2c]
cmova ecx, dword [ebp - 0x5c]
cmp dword [ebp - 0x18], 7
push ecx
cmova eax, dword [ebp - 0x2c]
xor edx, edx
push eax
push 0x800000
mov ecx, edi
call fcn.1002f890
add esp, 0xc
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x5c]
movzx esi, al
call fcn.10005610
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x2c]
call fcn.10005610
jmp 0x10031edb
call fcn.10050f8f
int3