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

Disassembly:
push ebp
lea ebp, [esp - 0x354]
sub esp, 0x354
push 0xffffffffffffffff
push 0x1006a2a6
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 0x10006c20
push 0x10013980
push 6
push 8
push eax
call fcn.1004dd2c
mov byte [ebp - 4], 1
lea eax, [ebp]
push 0x10006c20
push 0x10013980
push 0x64
push 8
push eax
call fcn.1004dd2c
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 0x1003928c
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.10039c00
mov ecx, dword [ebp + 0x334]
add esp, 0xc
test ecx, ecx
je 0x100392b2
call fcn.10039f50
mov ecx, dword [ebp + 0x33c]
test ecx, ecx
je 0x100392c1
call fcn.10039f50
mov ecx, dword [ebp + 0x344]
test ecx, ecx
je 0x100392d0
call fcn.10039f50
mov ecx, dword [ebp + 0x334]
lea eax, [ebp + 0x330]
push eax
push 0x10093f14
mov edx, 0x10099b84
call fcn.1002d390
mov esi, dword [ebp + 0x334]
add esp, 8
xor ecx, ecx
test esi, esi
je 0x10039329
movzx eax, word [esi]
xor edx, edx
mov edi, eax
test ax, ax
je 0x10039329
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 0x10039310
lea eax, [ecx + 1]
mov dword [ebp - 0x14], eax
test esi, esi
je 0x100394fa
cmp word [esi], 0
je 0x100394fa
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 0x1003936a
nop dword [eax]
lea eax, [eax + 2]
inc ecx
cmp word [eax], 0
jne 0x10039360
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 0x100393b1
test ax, ax
jne 0x10039443
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 0x100393d0
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.10013e00
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 0x10039453
movzx eax, word [esi]
mov edx, eax
test ax, ax
je 0x10039453
xor edi, edi
cmp edx, 0x2c
mov edx, dword [ebp - 0x20]
je 0x1003944b
movzx eax, ax
mov word [edx + edi*2], ax
inc edi
add esi, 2
jmp 0x100393a0
mov byte [ebp - 4], 2
test edi, edi
je 0x10039462
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 0x100394fa
nop dword [eax]
mov eax, dword [ebp + eax*8 + 4]
xor esi, esi
mov dword [ebp - 0x14], eax
cmp word [eax], si
je 0x1003949a
nop
lea eax, [eax + 2]
inc esi
cmp word [eax], 0
jne 0x10039490
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 0x100394cd
mov edx, ecx
nop
mov ecx, dword [ebp - 0x14]
mov edi, ebx
mov cx, word [ecx + eax*2]
cmp cx, word [edx]
jne 0x100395ee
inc eax
add edx, 2
cmp eax, esi
jl 0x100394b0
mov edx, dword [ebp - 0x18]
cmp edx, 0xffffffff
je 0x100394ef
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 0x10039480
xor ebx, ebx
cmp dword [ebp - 0x30], ebx
cmove ebx, dword [ebp - 0x40]
cmp dword [ebp - 0x28], 4
mov dword [ebp - 0x30], ebx
jle 0x1003960f
mov ecx, dword [ebp + 0x344]
lea edx, [ebp - 0x14]
push 0xa
mov dword [ebp - 0x14], 0xffffffff
call fcn.1002dc60
mov esi, eax
add esp, 4
mov dword [ebp - 0x2c], esi
test esi, esi
je 0x10039616
lea eax, [ebp - 0x2c]
push eax
push 0x10039130
call dword [sym.imp.USER32.dll_EnumWindows]
cmp dword [ebp - 0x2c], esi
jne 0x10039616
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 0x100395e6
push edi
call dword [sym.imp.msi.dll_MsiConfigureFeatureFromDescriptorA]
mov ebx, dword [ebp - 0x30]
mov dword [ebp - 0x2c], esi
jmp 0x10039616
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 0x100394a7
jmp 0x100394ef
mov dword [ebp - 0x2c], 0
cmp dword [ebp + 0x324], 0
jne 0x1003963e
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 0x10039666
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.10038570
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 0x100396f9
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.1002dc60
add esp, 4
movzx eax, ax
push eax
push dword [0x100aee44]
push dword [0x100aee40]
call fcn.1004cd00
cmp eax, dword [0x100aee44]
je 0x10039741
mov byte [ebp - 4], 6
test edi, edi
je 0x1003973b
push edi
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov byte [ebp - 0x28], 1
jmp 0x10039754
mov byte [ebp - 4], 6
test edi, edi
je 0x10039750
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.1000a220
mov ebx, eax
test ebx, ebx
je 0x10039a3e
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 0x100397e1
test edi, 0xffff0000
jne 0x100397c4
movzx esi, di
mov ecx, esi
call fcn.100115e0
test eax, eax
je 0x100397ed
push esi
push eax
lea ecx, [ebp - 0x18]
call fcn.10011740
jmp 0x100397ed
mov ecx, edi
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100397d0
sub ecx, edx
sar ecx, 1
jmp 0x100397e3
xor ecx, ecx
push ecx
push edi
lea ecx, [ebp - 0x18]
call fcn.10007da0
mov byte [ebp - 4], 9
mov edi, dword [ebp + 0x32c]
call fcn.1000a220
mov ebx, eax
test ebx, ebx
je 0x10039a3e
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 0x10039861
test edi, 0xffff0000
jne 0x10039847
movzx esi, di
mov ecx, esi
call fcn.100115e0
test eax, eax
je 0x1003986d
push esi
push eax
lea ecx, [ebp - 0x10]
call fcn.10011740
jmp 0x1003986d
mov ecx, edi
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10039850
sub ecx, edx
sar ecx, 1
jmp 0x10039863
xor ecx, ecx
push ecx
push edi
lea ecx, [ebp - 0x10]
call fcn.10007da0
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.100389b0
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 0x100398ca
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 0x100398f2
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.1003a8f0
mov eax, dword [eax + 4]
test eax, eax
je 0x10039950
cmp eax, dword [0x100aee24]
je 0x10039950
mov eax, dword [eax + 0xc]
jmp 0x10039952
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 0x10039a22
inc ecx
add edx, 4
cmp ecx, 1
jl 0x10039962
cmp esi, 0xffffffff
je 0x10039994
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.10039ad0
mov byte [ebp - 4], 1
lea eax, [ebp]
push 0x10006c20
push 0x64
push 8
push eax
call fcn.1004d44c
mov byte [ebp - 4], 0
lea eax, [ebp + 0x320]
push 0x10006c20
push 6
push 8
push eax
call fcn.1004d44c
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x38]
test eax, eax
je 0x100399ed
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.1004d40a
lea esp, [ebp + 0x354]
pop ebp
ret 4
inc esi
imul eax, esi, 0x2c
cmp dword [eax + 0x10099b88], 0
lea edx, [eax + 0x10099b88]
jne 0x10039960
jmp 0x10039994
push 0x80004005
call fcn.10005390
int3