Function at 0x472480
Capabilities:
Access peb ldr_data

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 0x562e4c
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0xd0
mov eax, dword [0x5e8024]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, ecx
mov dword [ebp - 0xc4], eax
mov edx, dword [eax + 4]
mov ecx, dword [eax]
mov edi, dword [ebx + 8]
mov esi, dword [ebx + 0xc]
call fcn.004780f0
mov eax, dword [ebp - 0xc4]
push 1
push esi
mov ecx, dword [eax]
mov eax, dword [ecx]
mov eax, dword [eax + 0x30]
call eax
xor esi, esi
mov dword [ebp - 0xcc], eax
push 3
xor eax, eax
mov dword [ebp - 0x44], esi
mov dword [ebp - 0x34], esi
lea ecx, [ebp - 0x44]
mov dword [ebp - 0x30], esi
push 0x59bb00
mov dword [ebp - 0xd4], esi
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x30], 7
mov word [ebp - 0x44], ax
call fcn.004082a0
mov dword [ebp - 4], esi
xor eax, eax
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x18], 7
mov word [ebp - 0x2c], ax
mov byte [ebp - 4], 1
mov edx, 0x130
mov ecx, dword [ebp - 0xc4]
test ecx, ecx
mov dword [ebp - 0xc8], eax
push edi
push 4
lea eax, [ecx - 0x5c]
cmove eax, edx
push 0x110a
mov dword [ebp - 0xe0], eax
push dword [eax]
call dword [sym.imp.USER32.dll_SendMessageW]
mov edi, eax
test edi, edi
jne 0x472759
push 5
push str.Child
lea ecx, [ebp - 0x44]
call fcn.00408c60
push 4
push str.Cost
lea ecx, [ebp - 0x44]
call fcn.00408c60
cmp dword [ebp - 0xcc], edi
mov edx, 0x59bb1c
mov eax, 0x59bb14
cmovl edx, eax
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4725b0
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x44]
call fcn.00408c60
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x5c]
push eax
call fcn.0046b310
mov esi, eax
mov byte [ebp - 4], 5
lea eax, [ebp - 0x2c]
cmp eax, esi
je 0x47260e
mov ecx, eax
call fcn.00408570
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
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x5c]
call fcn.00408570
push 1
call dword [sym.imp.msi.dll_MsiDatabaseExportA]
cmp dword [ebp - 0x18], 8
mov edi, eax
lea eax, [ebp - 0x2c]
cmovae eax, dword [ebp - 0x2c]
push eax
push 0
push edi
call dword [sym.imp.msi.dll_MsiReinstallFeatureW]
push dword [ebp - 0xcc]
mov esi, dword [ebp - 0xc4]
lea eax, [ebp - 0x5c]
push eax
mov ecx, esi
call fcn.004732a0
mov byte [ebp - 4], 6
cmp dword [eax + 0x14], 8
jb 0x47265c
mov eax, dword [eax]
push eax
push 1
push edi
call dword [sym.imp.msi.dll_MsiReinstallFeatureW]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x5c]
call fcn.00408570
mov ecx, dword [esi]
lea edx, [ebp - 0x74]
push edi
push edx
mov eax, dword [ecx]
call dword [eax + 0x4c]
mov byte [ebp - 4], 7
sub esp, 0x18
mov edi, dword [esi + 4]
mov ecx, esp
mov dword [ebp - 0xd0], esp
push 0
mov eax, dword [edi]
push 0x593988
mov dword [ecx], 0
mov dword [ecx + 0x10], 0
mov esi, dword [eax + 8]
mov dword [ecx + 0x14], 7
call fcn.004082a0
mov byte [ebp - 4], 8
sub esp, 0x18
lea eax, [ebp - 0x74]
mov dword [ebp - 0xd8], esp
mov ecx, esp
push eax
call fcn.00407250
mov byte [ebp - 4], 9
push 0x7e3
mov byte [ebp - 4], 7
lea ecx, [ebp - 0xc0]
call fcn.004e7d90
mov byte [ebp - 4], 0xa
mov ecx, edi
push eax
call esi
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0xa4]
call fcn.00408570
mov byte [ebp - 4], 7
lea ecx, [ebp - 0xbc]
call fcn.00408570
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x74]
call fcn.00408570
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x2c]
call fcn.00408570
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x44]
call fcn.00408570
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.0052df57
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 8
mov esi, dword [ebp - 0xd8]
mov ecx, dword [ebp - 0xe0]
inc esi
push edi
mov dword [ebp - 0xd8], esi
call fcn.00456420
mov esi, eax
mov eax, dword [ebp - 0xc4]
mov ecx, dword [eax]
lea eax, [ebp - 0xdc]
push eax
lea eax, [ebp - 0xd0]
push eax
mov edx, dword [ecx]
push esi
call dword [edx + 0x18]
mov eax, dword [ebp - 0xc4]
push 1
push esi
mov ecx, dword [eax]
mov eax, dword [ecx]
mov eax, dword [eax + 0x30]
call eax
add dword [ebp - 0xc8], eax
mov eax, dword [ebp - 0xdc]
cmp eax, 0xffffffff
cmove eax, dword [ebp - 0xd0]
mov dword [ebp - 0xdc], eax
cmp eax, 3
je 0x4727c7
cmp eax, 1
je 0x4727c7
cmp eax, 4
jne 0x4727d6
mov esi, dword [ebp - 0xd4]
inc esi
mov dword [ebp - 0xd4], esi
jmp 0x4727dc
mov esi, dword [ebp - 0xd4]
mov eax, dword [ebp - 0xe0]
push edi
push 1
push 0x110a
push dword [eax]
call dword [sym.imp.USER32.dll_SendMessageW]
mov edi, eax
test edi, edi
jne 0x472753
push 6
push str.Parent
lea ecx, [ebp - 0x44]
call fcn.00408c60
push 4
push str.Cost
lea ecx, [ebp - 0x44]
call fcn.00408c60
cmp dword [ebp - 0xcc], 0
mov edi, 0x59bb1c
mov eax, 0x59bb14
mov edx, edi
cmovl edx, eax
mov ecx, edx
lea eax, [ecx + 2]
mov dword [ebp - 0xd0], eax
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x472840
sub ecx, dword [ebp - 0xd0]
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x44]
call fcn.00408c60
cmp dword [ebp - 0xc8], 0
mov eax, 0x59bb14
cmovl edi, eax
mov ecx, edi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x472871
sub ecx, edx
sar ecx, 1
push ecx
push edi
lea ecx, [ebp - 0x44]
call fcn.00408c60
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x5c]
push eax
call fcn.0046b310
mov edi, eax
mov byte [ebp - 4], 2
lea eax, [ebp - 0x2c]
cmp eax, edi
je 0x4728cf
mov ecx, eax
call fcn.00408570
movups xmm0, xmmword [edi]
xor eax, eax
movups xmmword [ebp - 0x2c], xmm0
movq xmm0, qword [edi + 0x10]
movq qword [ebp - 0x1c], xmm0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 7
mov word [edi], ax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x5c]
call fcn.00408570
push 4
call dword [sym.imp.msi.dll_MsiDatabaseExportA]
cmp dword [ebp - 0x18], 8
lea ecx, [ebp - 0x2c]
mov edi, eax
cmovae ecx, dword [ebp - 0x2c]
push ecx
push 0
push edi
call dword [sym.imp.msi.dll_MsiReinstallFeatureW]
push dword [ebp - 0xcc]
mov ecx, dword [ebp - 0xc4]
lea eax, [ebp - 0x5c]
push eax
call fcn.004732a0
mov byte [ebp - 4], 3
cmp dword [eax + 0x14], 8
jb 0x47291b
mov eax, dword [eax]
push eax
push 1
push edi
call dword [sym.imp.msi.dll_MsiReinstallFeatureW]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x5c]
call fcn.00408570
push esi
mov esi, dword [sym.imp.msi.dll_MsiRecordSetStringW]
push 2
push edi
call esi
push dword [ebp - 0xd8]
push 3
push edi
call esi
push dword [ebp - 0xc8]
mov esi, dword [ebp - 0xc4]
lea eax, [ebp - 0x5c]
push eax
mov ecx, esi
call fcn.004732a0
mov byte [ebp - 4], 4
cmp dword [eax + 0x14], 8
jb 0x47296b
mov eax, dword [eax]
push eax
push 4
jmp 0x47265f