Function at 0x424e36
Capabilities:
Query or enumerate registry value
Set current directory

Disassembly:
mov eax, 0x49ac54
call fcn.0047d43c
sub esp, 0x270
mov eax, dword [ebp + 0xc]
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x14], ecx
push 0x40
mov dword [eax], ebx
pop ecx
xor eax, eax
lea edi, [ebp - 0x177]
mov byte [ebp - 0x178], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x15]
push 1
push eax
lea ecx, [ebp - 0x4c]
push dword [ebp + 8]
mov byte [ebp - 0xd], bl
call fcn.00401884
mov eax, dword [eax + 8]
mov esi, 0x4a368c
cmp eax, ebx
mov dword [ebp - 4], ebx
mov edi, esi
je 0x424e90
mov edi, eax
lea eax, [ebp - 0x16]
push 1
push eax
push str.C:CodeBasesisdev_srcRuntimeMSISharedSetupmsiaction.cpp
lea ecx, [ebp - 0x74]
call fcn.00401884
mov eax, dword [eax + 8]
mov byte [ebp - 4], 1
cmp eax, ebx
jne 0x424eb0
mov eax, esi
mov dword [ebp - 0x24], eax
push edi
lea eax, [ebp - 0x24]
push str.Installing_MSI_engine__s
push eax
mov dword [ebp - 0x20], 0x827
call fcn.0040a47f
add esp, 0xc
lea ecx, [ebp - 0x74]
mov byte [ebp - 4], bl
call fcn.00401093
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x4c]
call fcn.00401093
mov ecx, dword [ebp - 0x14]
call fcn.00401166
lea ecx, [eax + 4]
lea edx, [ebp - 0x4c]
push 4
push edx
mov eax, dword [ecx]
call dword [eax + 0x1c]
push 2
mov ecx, eax
pop esi
mov dword [ebp - 4], esi
call fcn.004042dd
push eax
push str.2.0.2600.0
call fcn.00449449
or dword [ebp - 4], 0xffffffff
pop ecx
pop ecx
mov edi, eax
lea ecx, [ebp - 0x4c]
call fcn.00402438
cmp edi, ebx
jge 0x424f44
push dword [ebp + 8]
lea eax, [ebp - 0x178]
push str.__s___q
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
mov edi, 0x4bdf8c
jmp 0x424f94
mov ecx, dword [ebp - 0x14]
mov byte [ebp - 0xd], 1
call fcn.00401166
mov ecx, eax
call fcn.004357c7
push dword [ebp + 8]
test eax, eax
je 0x424f7a
lea eax, [ebp - 0x178]
push str.__s___quiet__norestart
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
mov edi, str._quiet__norestart
jmp 0x424f94
lea eax, [ebp - 0x178]
push str.__s___c:_msiinst__delayrebootq_
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
mov edi, str._c:_msiinst__delayrebootq_
mov ecx, dword [ebp - 0x14]
call fcn.00401166
mov ecx, eax
call fcn.004357c7
test eax, eax
je 0x424fbd
mov ecx, dword [ebp - 0x14]
call fcn.00401166
push eax
push 1
push edi
push dword [ebp + 8]
call fcn.00449ba3
jmp 0x424fcb
lea eax, [ebp - 0x178]
push 1
push eax
call fcn.00449552
mov edi, eax
cmp edi, ebx
je 0x42507e
cmp edi, 0xbc2
je 0x424ff7
push ebx
push edi
mov dword [0x4c8ee0], 0x484
call fcn.00448807
pop ecx
mov eax, edi
pop ecx
jmp 0x425080
cmp byte [ebp - 0xd], bl
mov eax, dword [ebp + 0xc]
je 0x425078
push 0x20019
push str.SoftwareMicrosoftWindowsCurrentVersionInstaller
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [ebp + 8]
mov dword [eax], esi
mov dword [ebp + 8], ebx
call fcn.00419f99
test eax, eax
jne 0x425068
push 0x40
lea edi, [ebp - 0x27b]
pop ecx
mov byte [ebp - 0x27c], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp + 0xc]
mov dword [ebp + 0xc], 0x104
push eax
lea eax, [ebp - 0x27c]
push eax
lea eax, [ebp - 0x1c]
push eax
push ebx
push str.InstallerLocation
mov dword [ebp - 0x1c], ebx
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea eax, [ebp - 0x27c]
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
cmp dword [ebp + 8], ebx
je 0x42507e
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x42507e
mov dword [eax], 1
xor eax, eax
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 8