Function at 0x1001dfc0
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
lea ebp, [esp - 0x354]
sub esp, 0x354
push 0xffffffffffffffff
push 0x10045496
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x10067024]
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 dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 4], 0
lea eax, [ebp + 0x320]
push 0x10008a20
push 0x10008a80
push 6
push 8
push eax
call fcn.1002d073
mov byte [ebp - 4], 1
lea eax, [ebp]
push 0x10008a20
push 0x10008a80
push 0x64
push 8
push eax
call fcn.1002d073
mov byte [ebp - 4], 2
lea eax, [ebp - 0x34]
mov ecx, dword [ebp + 0x35c]
mov edx, str.CustomActionData
push eax
mov dword [ebp - 0x28], 5
mov dword [ebp - 0x24], 1
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x1c], 0
call fcn.10016940
push ecx
mov ecx, dword [ebp - 0x30]
lea eax, [ebp - 0x28]
push eax
lea edx, [ebp + 0x320]
call fcn.1001e510
mov ecx, dword [ebp + 0x334]
add esp, 0xc
test ecx, ecx
je 0x1001e09c
call fcn.1001e840
mov ecx, dword [ebp + 0x33c]
test ecx, ecx
je 0x1001e0ab
call fcn.1001e840
mov ecx, dword [ebp + 0x344]
test ecx, ecx
je 0x1001e0ba
call fcn.1001e840
mov ecx, dword [ebp + 0x334]
lea eax, [ebp + 0x330]
push eax
push 0x1005387c
mov edx, 0x10058a34
call fcn.10015120
mov esi, dword [ebp + 0x334]
add esp, 8
xor ecx, ecx
test esi, esi
je 0x1001e10a
movzx eax, word [esi]
xor edx, edx
test ax, ax
je 0x1001e10a
mov edi, 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 0x1001e0f1
lea eax, [ecx + 1]
mov dword [ebp - 0x14], eax
test esi, esi
je 0x1001e2b6
cmp word [esi], 0
je 0x1001e2b6
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0
mov byte [ebp - 4], 3
xor ecx, ecx
mov eax, esi
cmp word [esi], cx
je 0x1001e14a
nop dword [eax]
lea eax, [eax + 2]
inc ecx
cmp word [eax], 0
jne 0x1001e140
lea edi, [ecx + 1]
mov edx, 2
xor ecx, ecx
mov dword [ebp - 0x18], edi
mov eax, edi
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov dword [ebp - 0x3c], edi
lea ecx, [ebp + 4]
mov ebx, eax
mov dword [ebp - 0x10], ecx
xor edi, edi
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x20], edi
nop
movzx eax, word [esi]
cmp eax, 0x2c
je 0x1001e18d
test ax, ax
jne 0x1001e20b
xor eax, eax
mov word [ebx + edi*2], ax
mov eax, dword [ecx]
test eax, eax
je 0x1001e1a3
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, ebx
mov dword [ecx], eax
mov ecx, eax
call fcn.10008a90
mov ecx, dword [ebp - 0x10]
xor edx, edx
add esp, 4
mov eax, dword [ecx]
add ecx, 8
mov dword [ebp - 0x10], ecx
mov word [eax + edi*2], dx
xor edi, edi
mov edx, dword [ebp - 0x20]
inc edx
mov dword [ebp - 0x20], edx
cmp edx, dword [ebp - 0x14]
jge 0x1001e221
movzx eax, word [esi]
test ax, ax
je 0x1001e221
cmp ax, 0x2c
je 0x1001e219
movzx eax, ax
mov word [ebx + edi*2], ax
inc edi
add esi, 2
jmp 0x1001e180
mov byte [ebp - 4], 2
test ebx, ebx
je 0x1001e233
push ebx
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov edx, dword [ebp - 0x20]
xor eax, eax
mov dword [ebp - 0x38], edi
mov dword [ebp - 0x3c], edi
mov dword [ebp - 0x18], eax
test edx, edx
jle 0x1001e2b6
mov ebx, dword [ebp + eax*8 + 4]
xor esi, esi
mov eax, ebx
cmp word [eax], si
je 0x1001e25a
nop
lea eax, [eax + 2]
inc esi
cmp word [eax], 0
jne 0x1001e250
xor ecx, ecx
mov edi, str.MB_ABORTRETRYIGNORE
mov dword [ebp - 0x10], ecx
xor eax, eax
test esi, esi
jle 0x1001e288
mov edx, edi
nop dword [eax]
mov cx, word [ebx + eax*2]
cmp cx, word [edx]
jne 0x1001e4ce
inc eax
add edx, 2
cmp eax, esi
jl 0x1001e270
mov ecx, dword [ebp - 0x10]
cmp ecx, 0xffffffff
je 0x1001e2aa
lea eax, [ecx*8]
mov dword [ebp - 0x24], 0
sub eax, ecx
mov ecx, dword [ebp - 0x2c]
or ecx, dword [eax*8 + 0x10058c24]
mov dword [ebp - 0x2c], ecx
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp eax, dword [ebp - 0x20]
jl 0x1001e242
xor ebx, ebx
cmp dword [ebp - 0x24], ebx
cmove ebx, dword [ebp - 0x2c]
cmp dword [ebp - 0x28], 4
mov dword [ebp - 0x24], ebx
jle 0x1001e3a6
mov ecx, dword [ebp + 0x344]
lea edx, [ebp - 0x14]
push 0xa
mov dword [ebp - 0x14], 0xffffffff
call fcn.10015a30
mov esi, eax
add esp, 4
mov dword [ebp - 0x1c], esi
test esi, esi
je 0x1001e3a6
lea eax, [ebp - 0x1c]
push eax
push 0x1001df70
call dword [sym.imp.USER32.dll_EnumWindows]
cmp dword [ebp - 0x1c], esi
jne 0x1001e3a6
push 1
call dword [sym.imp.msi.dll_MsiDatabaseExportA]
mov edi, eax
mov dword [ebp - 0x18], edi
mov byte [ebp - 4], 5
push 0
push 1
push edi
call dword [sym.imp.msi.dll_MsiRecordSetStringW]
mov ebx, dword [ebp + 0x35c]
mov esi, dword [sym.imp.msi.dll_MsiProvideComponentW]
push edi
push 0x4200000
push ebx
call esi
push edi
push 0x4300000
xor eax, 1
push ebx
mov dword [ebp - 0x28], eax
call esi
push edi
push 0x4400000
xor eax, 1
push ebx
mov dword [ebp - 0x14], eax
call esi
push edi
push 0x4500000
push dword [ebp + 0x35c]
mov ebx, eax
xor ebx, 1
call esi
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 0x1001e3a0
push edi
call dword [sym.imp.msi.dll_MsiConfigureFeatureFromDescriptorA]
mov ebx, dword [ebp - 0x24]
mov dword [ebp - 0x1c], esi
cmp dword [ebp + 0x324], 0
mov esi, dword [sym.imp.KERNEL32.dll_LocalAlloc]
jne 0x1001e3d0
push 2
push 0x40
call esi
xor ecx, ecx
mov dword [ebp + 0x320], 0xffffffff
mov dword [ebp + 0x324], eax
mov word [eax], cx
mov eax, dword [ebp + 0x32c]
test eax, eax
jne 0x1001e3fb
push 2
push 0x40
call esi
mov dword [ebp + 0x32c], eax
xor ecx, ecx
mov dword [ebp + 0x328], 0xffffffff
mov word [eax], cx
mov eax, dword [ebp + 0x32c]
push ebx
push eax
push dword [ebp + 0x324]
push dword [ebp - 0x1c]
call dword [sym.imp.USER32.dll_MessageBoxW]
mov dword [ebp - 0x14], eax
xor esi, esi
mov edx, 0x10058a38
xor ecx, ecx
nop dword [eax + eax]
mov eax, dword [ebp + ecx*4 - 0x14]
cmp eax, dword [edx]
jne 0x1001e4e7
inc ecx
add edx, 4
cmp ecx, 1
jl 0x1001e420
cmp esi, 0xffffffff
je 0x1001e455
imul eax, esi, 0x2c
add eax, str.IDABORT
push eax
push dword [ebp + 0x33c]
push dword [ebp + 0x35c]
call dword [sym.imp.msi.dll_MsiSummaryInfoGetPropertyCount]
mov byte [ebp - 4], 1
lea eax, [ebp]
push 0x10008a20
push 0x64
push 8
push eax
call fcn.1002c834
mov byte [ebp - 4], 0
lea eax, [ebp + 0x320]
push 0x10008a20
push 6
push 8
push eax
call fcn.1002c834
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x30]
test eax, eax
je 0x1001e499
push eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov dword [ebp - 0x30], 0
xor eax, eax
mov dword [ebp - 0x34], 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.1002c803
lea esp, [ebp + 0x354]
pop ebp
ret 4
mov ecx, dword [ebp - 0x10]
add edi, 0x38
inc ecx
mov dword [ebp - 0x10], ecx
cmp word [edi], 0
jne 0x1001e264
jmp 0x1001e2aa
inc esi
imul eax, esi, 0x2c
cmp dword [eax + 0x10058a38], 0
lea edx, [eax + 0x10058a38]
jne 0x1001e416
jmp 0x1001e455