Function at 0x403270
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43e74b
mov eax, dword fs:[0]
push eax
sub esp, 0x88
push ebx
push esi
push edi
mov eax, dword [0x456ea4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ecx, dword [ebp + 8]
call fcn.00407310
mov byte [ebp - 0x11], 0
mov byte [ebp - 0x12], 0
lea ecx, [ebp - 0x1c]
call fcn.00406900
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x20]
call fcn.00406900
mov byte [ebp - 4], 1
push str.SOFTWAREMicrosoftWindowsCurrentVersionInstaller
lea ecx, [ebp - 0x1c]
call fcn.00406a30
lea eax, [ebp - 0x10]
push eax
push 0x20019
push 0
lea ecx, [ebp - 0x1c]
call fcn.00406a90
push eax
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x403397
mov dword [ebp - 0x18], 0x800
lea eax, [ebp - 0x18]
push eax
mov ecx, dword [ebp - 0x18]
push ecx
mov ecx, dword [ebp + 8]
call fcn.00406ae0
push eax
lea edx, [ebp - 0x24]
push edx
push 0
push str.InstallerLocation
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x40338d
push 0xffffffffffffffff
mov ecx, dword [ebp + 8]
call fcn.00406b40
push 0x442694
push 1
lea eax, [ebp - 0x88]
push eax
mov ecx, dword [ebp + 8]
call fcn.00405da0
mov dword [ebp - 0x90], eax
mov ecx, dword [ebp - 0x90]
push ecx
call fcn.004060c0
add esp, 8
mov byte [ebp - 0x89], al
lea ecx, [ebp - 0x88]
call fcn.004069e0
movzx edx, byte [ebp - 0x89]
test edx, edx
je 0x403389
push 0x442694
mov ecx, dword [ebp + 8]
call fcn.00405910
mov byte [ebp - 0x11], 1
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
movzx eax, byte [ebp - 0x11]
test eax, eax
jne 0x4033c8
push str._MSI_Folder_not_specified_in_registry__probably_no_MSI_V2.0_._Taking_default..
push 1
push 0x45858c
call fcn.00416150
add esp, 0xc
mov eax, dword [ebp + 8]
push eax
call fcn.00401dd0
add esp, 4
mov byte [ebp - 0x12], 1
jmp 0x40347e
push str.msiexec.exe
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x84]
push ecx
call fcn.00405f60
add esp, 0xc
mov dword [ebp - 0x90], eax
mov edx, dword [ebp - 0x90]
mov dword [ebp - 0x94], edx
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x94]
push eax
lea ecx, [ebp - 0x20]
call fcn.00406a00
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x84]
call fcn.004069e0
push 0x44344c
lea ecx, [ebp - 0x20]
call fcn.00406a90
push eax
lea eax, [ebp - 0x7c]
push eax
call fcn.004035e0
add esp, 8
mov dword [ebp - 0x90], eax
mov ecx, dword [ebp - 0x90]
push ecx
call fcn.004060f0
add esp, 8
mov byte [ebp - 0x7d], al
lea ecx, [ebp - 0x7c]
call fcn.004069e0
movzx edx, byte [ebp - 0x7d]
test edx, edx
je 0x40347e
mov byte [ebp - 0x11], 0
mov byte [ebp - 0x12], 1
push str._MSI_Folder_is_wrong_specified_in_registry__Taking_default..
push 1
push 0x45858c
call fcn.00416150
add esp, 0xc
mov eax, dword [ebp + 8]
push eax
call fcn.00401dd0
add esp, 4
mov ecx, dword [ebp + 8]
call fcn.00406170
movzx eax, al
test eax, eax
je 0x403496
mov byte [ebp - 0x11], 0
jmp 0x40353c
push str.msiexec.exe
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x78]
push ecx
call fcn.00405f60
add esp, 0xc
mov dword [ebp - 0x90], eax
mov edx, dword [ebp - 0x90]
mov dword [ebp - 0x94], edx
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x94]
push eax
lea ecx, [ebp - 0x20]
call fcn.00406a00
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x78]
call fcn.004069e0
push 0x44344c
lea ecx, [ebp - 0x20]
call fcn.00406a90
push eax
lea eax, [ebp - 0x70]
push eax
call fcn.004035e0
add esp, 8
mov dword [ebp - 0x90], eax
mov ecx, dword [ebp - 0x90]
push ecx
call fcn.004060f0
add esp, 8
mov byte [ebp - 0x71], al
lea ecx, [ebp - 0x70]
call fcn.004069e0
movzx edx, byte [ebp - 0x71]
test edx, edx
je 0x403538
push str._Msiexec_was_not_found_at_all_
push 0
push 0x45858c
call fcn.00416150
add esp, 0xc
mov byte [ebp - 0x11], 0
jmp 0x40353c
mov byte [ebp - 0x11], 1
movzx eax, byte [ebp - 0x12]
test eax, eax
je 0x4035a0
push str.msiexec.exe__REGSERVER
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x6c]
push ecx
call fcn.00405f60
add esp, 0xc
mov dword [ebp - 0x90], eax
mov edx, dword [ebp - 0x90]
mov dword [ebp - 0x94], edx
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x94]
push eax
lea ecx, [ebp - 0x20]
call fcn.00406a00
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x6c]
call fcn.004069e0
push 0x442630
lea ecx, [ebp - 0x20]
call fcn.00406a90
push eax
call fcn.004021f0
add esp, 8
mov al, byte [ebp - 0x11]
mov byte [ebp - 0x65], al
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x20]
call fcn.004069e0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call fcn.004069e0
mov al, byte [ebp - 0x65]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret