Function at 0x401030
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x41d938
push 0x4074e0
mov eax, dword fs:[0]
push eax
sub esp, 0x50
mov eax, dword [section..data]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp - 0x1c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov ebx, edx
mov edi, ecx
mov eax, dword [ebp + 8]
mov dword [ebp - 0x44], eax
xor esi, esi
mov dword [ebp - 0x40], esi
mov dword [ebp - 0x34], esi
mov dword [ebp - 4], esi
lea eax, [ebp - 0x34]
push eax
push 0x20019
push esi
push str.SoftwareInfoSafe
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x4010d4
push esi
call fcn.00404943
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x44], edx
lea eax, [ebp - 0x48]
push eax
call fcn.004045c1
push eax
push str._Y__m__d__H:_M:_S
push 0x14
lea eax, [ebp - 0x30]
push eax
call fcn.004045a4
add esp, 0x18
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x30]
push eax
push str.__s_ERROR:_InstalledACByWix:_RegOpenKeyEx_failed___d_n
jmp 0x4011f9
mov dword [ebp - 0x38], 0x105
lea eax, [ebp - 0x38]
push eax
push edi
lea eax, [ebp - 0x3c]
push eax
push 0
push str.SNetManACInstallPath
push dword [ebp - 0x34]
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
call edi
test eax, eax
je 0x401139
push 0
call fcn.00404943
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x5c], edx
lea eax, [ebp - 0x60]
push eax
call fcn.004045c1
push eax
push str._Y__m__d__H:_M:_S
push 0x14
lea eax, [ebp - 0x30]
push eax
call fcn.004045a4
add esp, 0x18
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x30]
push eax
push str.__s_ERROR:_InstalledACByWix:_Query_SNetManACInstallPath_failed___d_n
jmp 0x4011f9
mov esi, 1
mov dword [ebp - 0x40], esi
mov dword [ebp - 0x38], 0x105
lea eax, [ebp - 0x38]
push eax
push ebx
lea eax, [ebp - 0x3c]
push eax
push 0
push str.ProductId
push dword [ebp - 0x34]
call edi
test eax, eax
je 0x40119d
push 0
call fcn.00404943
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x54], edx
lea eax, [ebp - 0x58]
push eax
call fcn.004045c1
push eax
push str._Y__m__d__H:_M:_S
push 0x14
lea eax, [ebp - 0x30]
push eax
call fcn.004045a4
add esp, 0x18
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x30]
push eax
push str.__s_ERROR:_InstalledACByWix:_Query_ProductId_failed___d_n
jmp 0x4011f9
mov dword [ebp - 0x38], 0x105
lea eax, [ebp - 0x38]
push eax
push dword [ebp - 0x44]
lea eax, [ebp - 0x3c]
push eax
push 0
push str.SetupVer
push dword [ebp - 0x34]
call edi
test eax, eax
je 0x401212
push 0
call fcn.00404943
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x4c], edx
lea eax, [ebp - 0x50]
push eax
call fcn.004045c1
push eax
push str._Y__m__d__H:_M:_S
push 0x14
lea eax, [ebp - 0x30]
push eax
call fcn.004045a4
add esp, 0x18
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x30]
push eax
push str.__s_ERROR:_InstalledACByWix:_Query_SetupVersion_failed___d_n
push dword [0x421558]
call fcn.004042e7
push dword [0x421558]
call fcn.004040a1
add esp, 0x14
mov dword [ebp - 4], 0xfffffffe
call fcn.0040123f
mov eax, esi
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.00403f5b
mov esp, ebp
pop ebp
ret