Function at 0x100391e0
Capabilities:
Enumerate gui resources
Hash data using fnv

Disassembly:
push ebp
lea ebp, [esp - 0x354]
sub esp, 0x354
push 0xffffffffffffffff
push 0x1006a316
mov eax, dword fs:[0]
push eax
sub esp, 0x48
mov eax, dword [0x100ad040]
xor eax, ebp
mov dword [ebp + 0x350], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, dword [ebp + 0x35c]
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0
mov dword [ebp - 4], 0
lea eax, [ebp + 0x320]
push 0x10006c30
push 0x10013990
push 6
push 8
push eax
call fcn.1004dd8c
mov byte [ebp - 4], 1
lea eax, [ebp]
push 0x10006c30
push 0x10013990
push 0x64
push 8
push eax
call fcn.1004dd8c
mov byte [ebp - 4], 2
lea eax, [ebp - 0x10]
push eax
push 0x10093cf4
xor edi, edi
mov dword [ebp - 0x28], 5
push 0x1009666c
mov dword [ebp - 0x38], edi
push ebx
mov dword [ebp - 0x30], 1
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x3c], edi
mov dword [ebp - 0x10], edi
call dword [sym.imp.msi.dll_MsiGetSummaryInformationW]
lea edx, [edi + 2]
cmp eax, 0xea
jne 0x100392ec
mov esi, dword [ebp - 0x10]
xor ecx, ecx
inc esi
mov eax, esi
mov dword [ebp - 0x10], esi
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov edi, eax
lea eax, [ebp - 0x10]
push eax
push edi
push 0x1009666c
mov dword [ebp - 0x38], edi
push ebx
mov dword [ebp - 0x3c], esi
call dword [sym.imp.msi.dll_MsiGetSummaryInformationW]
sub esp, 8
lea eax, [ebp - 0x28]
lea edx, [ebp + 0x320]
mov ecx, edi
push eax
call fcn.10039c60
mov ecx, dword [ebp + 0x334]
add esp, 0xc
test ecx, ecx
je 0x10039312
call fcn.10039fb0
mov ecx, dword [ebp + 0x33c]
test ecx, ecx
je 0x10039321
call fcn.10039fb0
mov ecx, dword [ebp + 0x344]
test ecx, ecx
je 0x10039330
call fcn.10039fb0
mov ecx, dword [ebp + 0x334]
lea eax, [ebp + 0x330]
push eax
push 0x10093f14
mov edx, 0x10099b84
call fcn.1002d420
mov esi, dword [ebp + 0x334]
add esp, 8
xor ecx, ecx
test esi, esi
je 0x10039389
movzx eax, word [esi]
xor edx, edx
mov edi, eax
test ax, ax
je 0x10039389
nop word [eax + eax]
cmp di, 0x2c
lea eax, [ecx + 1]
movzx edi, word [esi + edx*2 + 2]
lea edx, [edx + 1]
cmovne eax, ecx
mov ecx, eax
test di, di
jne 0x10039370
lea eax, [ecx + 1]
mov dword [ebp - 0x14], eax
test esi, esi
je 0x1003955a
cmp word [esi], 0
je 0x1003955a
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
mov byte [ebp - 4], 3
xor ecx, ecx
mov eax, esi
cmp word [esi], cx
je 0x100393ca
nop dword [eax]
lea eax, [eax + 2]
inc ecx
cmp word [eax], 0
jne 0x100393c0
lea ebx, [ecx + 1]
mov edx, 2
xor ecx, ecx
mov dword [ebp - 0x18], ebx
mov eax, ebx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov edx, eax
mov dword [ebp - 0x24], ebx
lea ecx, [ebp + 4]
mov dword [ebp - 0x20], edx
xor edi, edi
mov dword [ebp - 0x10], ecx
xor ebx, ebx
nop dword [eax]
movzx eax, word [esi]
cmp eax, 0x2c
je 0x10039411
test ax, ax
jne 0x100394a3
lea eax, [edi + edi]
xor ecx, ecx
mov word [edx + eax], cx
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 0x1c], eax
mov eax, dword [ecx]
test eax, eax
je 0x10039430
push eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov ecx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x18]
mov edx, 2
mov dword [ecx], 0
mov dword [ecx - 4], 0
xor ecx, ecx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0x18]
push edi
mov dword [ecx - 4], edx
mov edx, dword [ebp - 0x20]
mov dword [ecx], eax
mov ecx, eax
call fcn.10013e10
mov ecx, dword [ebp - 0x10]
xor edi, edi
mov edx, dword [ebp - 0x1c]
inc ebx
add esp, 4
mov eax, dword [ecx]
add ecx, 8
mov dword [ebp - 0x10], ecx
mov word [edx + eax], di
mov edi, dword [ebp - 0x20]
cmp ebx, dword [ebp - 0x14]
jge 0x100394b3
movzx eax, word [esi]
mov edx, eax
test ax, ax
je 0x100394b3
xor edi, edi
cmp edx, 0x2c
mov edx, dword [ebp - 0x20]
je 0x100394ab
movzx eax, ax
mov word [edx + edi*2], ax
inc edi
add esi, 2
jmp 0x10039400
mov byte [ebp - 4], 2
test edi, edi
je 0x100394c2
push edi
call dword [sym.imp.KERNEL32.dll_LocalFree]
xor eax, eax
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x1c], eax
test ebx, ebx
jle 0x1003955a
nop dword [eax]
mov eax, dword [ebp + eax*8 + 4]
xor esi, esi
mov dword [ebp - 0x14], eax
cmp word [eax], si
je 0x100394fa
nop
lea eax, [eax + 2]
inc esi
cmp word [eax], 0
jne 0x100394f0
xor edx, edx
mov ecx, str.MB_ABORTRETRYIGNORE
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x10], ecx
xor eax, eax
test esi, esi
jle 0x1003952d
mov edx, ecx
nop
mov ecx, dword [ebp - 0x14]
mov edi, ebx
mov cx, word [ecx + eax*2]
cmp cx, word [edx]
jne 0x1003964e
inc eax
add edx, 2
cmp eax, esi
jl 0x10039510
mov edx, dword [ebp - 0x18]
cmp edx, 0xffffffff
je 0x1003954f
mov ecx, dword [ebp - 0x40]
lea eax, [edx*8]
sub eax, edx
mov dword [ebp - 0x30], 0
or ecx, dword [eax*8 + 0x10099d74]
mov dword [ebp - 0x40], ecx
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp eax, ebx
jl 0x100394e0
xor ebx, ebx
cmp dword [ebp - 0x30], ebx
cmove ebx, dword [ebp - 0x40]
cmp dword [ebp - 0x28], 4
mov dword [ebp - 0x30], ebx
jle 0x1003966f
mov ecx, dword [ebp + 0x344]
lea edx, [ebp - 0x14]
push 0xa
mov dword [ebp - 0x14], 0xffffffff
call fcn.1002dcf0
mov esi, eax
add esp, 4
mov dword [ebp - 0x2c], esi
test esi, esi
je 0x10039676
lea eax, [ebp - 0x2c]
push eax
push 0x10039190
call dword [sym.imp.USER32.dll_EnumWindows]
cmp dword [ebp - 0x2c], esi
jne 0x10039676
push 1
call dword [sym.imp.msi.dll_MsiDatabaseExportA]
mov edi, eax
mov dword [ebp - 0x1c], edi
mov byte [ebp - 4], 5
push 0
push 1
push edi
call dword [sym.imp.msi.dll_MsiRecordSetStringW]
mov esi, dword [ebp - 0x34]
push edi
push 0x4200000
push esi
call dword [sym.imp.msi.dll_MsiProvideComponentW]
push edi
push 0x4300000
xor eax, 1
push esi
mov dword [ebp - 0x28], eax
call dword [sym.imp.msi.dll_MsiProvideComponentW]
push edi
push 0x4400000
xor eax, 1
push esi
mov dword [ebp - 0x14], eax
call dword [sym.imp.msi.dll_MsiProvideComponentW]
push edi
push 0x4500000
mov ebx, eax
push esi
xor ebx, 1
call dword [sym.imp.msi.dll_MsiProvideComponentW]
xor eax, 1
movzx esi, al
shl esi, 8
movzx eax, bl
or esi, eax
mov eax, dword [ebp - 0x14]
shl esi, 8
movzx eax, al
or esi, eax
mov eax, dword [ebp - 0x28]
shl esi, 8
movzx eax, al
or esi, eax
mov byte [ebp - 4], 2
test edi, edi
je 0x10039646
push edi
call dword [sym.imp.msi.dll_MsiConfigureFeatureFromDescriptorA]
mov ebx, dword [ebp - 0x30]
mov dword [ebp - 0x2c], esi
jmp 0x10039676
mov ecx, dword [ebp - 0x10]
mov ebx, edi
mov edx, dword [ebp - 0x18]
add ecx, 0x38
inc edx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x18], edx
cmp word [ecx], 0
jne 0x10039507
jmp 0x1003954f
mov dword [ebp - 0x2c], 0
cmp dword [ebp + 0x324], 0
jne 0x1003969e
push 2
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
xor ecx, ecx
mov dword [ebp + 0x320], 0xffffffff
mov dword [ebp + 0x324], eax
mov word [eax], cx
cmp dword [ebp + 0x32c], 0
jne 0x100396c6
push 2
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
xor ecx, ecx
mov dword [ebp + 0x328], 0xffffffff
mov dword [ebp + 0x32c], eax
mov word [eax], cx
mov edx, dword [ebp - 0x34]
lea ecx, [ebp - 0x54]
push ebx
call fcn.100385d0
add esp, 4
mov byte [ebp - 4], 6
shr ebx, 0x13
and bl, 1
mov dword [ebp - 0x24], 0
mov byte [ebp - 0x30], bl
mov dword [ebp - 0x20], 0
mov byte [ebp - 4], 7
lea eax, [ebp - 0x10]
mov ebx, dword [ebp - 0x34]
xor edi, edi
push eax
push 0x10093cf4
push str.ProductLanguage
mov dword [ebp - 0x20], edi
push ebx
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x10], edi
call dword [sym.imp.msi.dll_MsiGetSummaryInformationW]
cmp eax, 0xea
jne 0x10039759
mov esi, dword [ebp - 0x10]
xor ecx, ecx
inc esi
mov edx, 2
mov eax, esi
mov dword [ebp - 0x10], esi
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov edi, eax
lea eax, [ebp - 0x10]
push eax
push edi
push str.ProductLanguage
mov dword [ebp - 0x20], edi
push ebx
mov dword [ebp - 0x24], esi
call dword [sym.imp.msi.dll_MsiGetSummaryInformationW]
push 0xa
lea edx, [ebp - 0x14]
mov dword [ebp - 0x14], 0xffffffff
mov ecx, edi
call fcn.1002dcf0
add esp, 4
movzx eax, ax
push eax
push dword [0x100aee44]
push dword [0x100aee40]
call fcn.1004cd60
cmp eax, dword [0x100aee44]
je 0x100397a1
mov byte [ebp - 4], 6
test edi, edi
je 0x1003979b
push edi
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov byte [ebp - 0x28], 1
jmp 0x100397b4
mov byte [ebp - 4], 6
test edi, edi
je 0x100397b0
push edi
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov byte [ebp - 0x28], 0
mov eax, dword [ebp - 0x54]
mov edi, dword [ebp + 0x324]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], eax
call fcn.1000a250
mov ebx, eax
test ebx, ebx
je 0x10039a9e
mov ecx, dword [ebx]
mov esi, dword [ecx + 0xc]
mov ecx, esi
call dword [0x1006e578]
mov ecx, ebx
call esi
add eax, 0x10
mov dword [ebp - 0x18], eax
mov byte [ebp - 4], 8
test edi, edi
je 0x10039841
test edi, 0xffff0000
jne 0x10039824
movzx esi, di
mov ecx, esi
call fcn.10011600
test eax, eax
je 0x1003984d
push esi
push eax
lea ecx, [ebp - 0x18]
call fcn.10011760
jmp 0x1003984d
mov ecx, edi
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10039830
sub ecx, edx
sar ecx, 1
jmp 0x10039843
xor ecx, ecx
push ecx
push edi
lea ecx, [ebp - 0x18]
call fcn.10007dd0
mov byte [ebp - 4], 9
mov edi, dword [ebp + 0x32c]
call fcn.1000a250
mov ebx, eax
test ebx, ebx
je 0x10039a9e
mov ecx, dword [ebx]
mov esi, dword [ecx + 0xc]
mov ecx, esi
call dword [0x1006e578]
mov ecx, ebx
call esi
add eax, 0x10
mov dword [ebp - 0x10], eax
mov byte [ebp - 4], 0xa
test edi, edi
je 0x100398c1
test edi, 0xffff0000
jne 0x100398a7
movzx esi, di
mov ecx, esi
call fcn.10011600
test eax, eax
je 0x100398cd
push esi
push eax
lea ecx, [ebp - 0x10]
call fcn.10011760
jmp 0x100398cd
mov ecx, edi
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100398b0
sub ecx, edx
sar ecx, 1
jmp 0x100398c3
xor ecx, ecx
push ecx
push edi
lea ecx, [ebp - 0x10]
call fcn.10007dd0
mov byte [ebp - 4], 0xb
lea eax, [ebp - 0x4c]
push dword [ebp - 0x14]
mov ecx, dword [ebp - 0x2c]
lea edx, [ebp - 0x10]
push dword [ebp - 0x28]
push dword [ebp - 0x30]
push dword [ebp - 0x1c]
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.10038a10
add esp, 0x18
mov ebx, eax
mov byte [ebp - 4], 9
or edx, 0xffffffff
mov eax, dword [ebp - 0x10]
mov ecx, edx
add eax, 0xfffffff0
mov dword [ebp - 0x14], eax
lock xadd dword [eax + 0xc], ecx
dec ecx
test ecx, ecx
jg 0x1003992a
mov edi, dword [eax]
push dword [ebp - 0x14]
mov eax, dword [edi]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x1006e578]
mov ecx, edi
call esi
or edx, 0xffffffff
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
lock xadd dword [ecx + 0xc], edx
dec edx
test edx, edx
jg 0x10039952
mov edi, dword [ecx]
push ecx
mov eax, dword [edi]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x1006e578]
mov ecx, edi
call esi
mov eax, ebx
mov dword [ebp - 0x14], ebx
shr eax, 8
movzx ecx, al
movzx eax, bl
xor eax, 0x811c9dc5
imul eax, eax, 0x1000193
xor ecx, eax
mov eax, ebx
shr eax, 0x10
movzx eax, al
imul ecx, ecx, 0x1000193
shr ebx, 0x18
xor ecx, eax
imul eax, ecx, 0x1000193
xor eax, ebx
imul eax, eax, 0x1000193
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.1003a950
mov eax, dword [eax + 4]
test eax, eax
je 0x100399b0
cmp eax, dword [0x100aee24]
je 0x100399b0
mov eax, dword [eax + 0xc]
jmp 0x100399b2
xor eax, eax
mov dword [ebp - 0x14], eax
xor esi, esi
mov edx, 0x10099b88
nop dword [eax]
xor ecx, ecx
mov eax, dword [ebp + ecx*4 - 0x14]
cmp eax, dword [edx]
jne 0x10039a82
inc ecx
add edx, 4
cmp ecx, 1
jl 0x100399c2
cmp esi, 0xffffffff
je 0x100399f4
imul eax, esi, 0x2c
add eax, str.IDABORT
push eax
push dword [ebp + 0x33c]
push dword [ebp - 0x34]
call dword [sym.imp.msi.dll_MsiSummaryInfoGetPropertyCount]
mov byte [ebp - 4], 2
lea eax, [ebp - 0x4c]
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 2
mov ecx, eax
call fcn.10039b30
mov byte [ebp - 4], 1
lea eax, [ebp]
push 0x10006c30
push 0x64
push 8
push eax
call fcn.1004d4ac
mov byte [ebp - 4], 0
lea eax, [ebp + 0x320]
push 0x10006c30
push 6
push 8
push eax
call fcn.1004d4ac
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x38]
test eax, eax
je 0x10039a4d
push eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov dword [ebp - 0x38], 0
xor eax, eax
mov dword [ebp - 0x3c], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x350]
xor ecx, ebp
call fcn.1004d46a
lea esp, [ebp + 0x354]
pop ebp
ret 4
inc esi
imul eax, esi, 0x2c
cmp dword [eax + 0x10099b88], 0
lea edx, [eax + 0x10099b88]
jne 0x100399c0
jmp 0x100399f4
push 0x80004005
call fcn.10005390
int3