Function at 0x462120
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
lea ebp, [esp - 0x404]
sub esp, 0x404
push 0xffffffffffffffff
push 0x521b18
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x5a4aa8]
xor eax, ebp
mov dword [ebp + 0x400], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, ecx
mov byte [ebp - 0x15], 1
xor edi, edi
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x2c], edi
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x20], edi
push 0x535a4c
lea ecx, [ebp - 0x14]
call fcn.00405c00
mov dword [ebp - 4], edi
mov byte [ebp - 4], 1
mov eax, dword [esi]
mov eax, dword [eax]
push edi
lea ecx, [ebp - 0x1c]
push ecx
push edi
push 0xf003f
push edi
push edi
push edi
push str.InstallingComponents
push eax
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x462342
push edi
push edi
push edi
push edi
push edi
push edi
push edi
lea edx, [ebp - 0x2c]
push edx
push edi
push edi
push edi
mov eax, dword [ebp - 0x1c]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
test eax, eax
je 0x4621df
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.00406150
xor al, al
jmp 0x462388
xor ebx, ebx
mov dword [ebp - 0x30], ebx
cmp ebx, dword [ebp - 0x2c]
jge 0x462342
push 0x200
push edi
lea ecx, [ebp]
push ecx
call fcn.004fd670
add esp, 0xc
mov dword [ebp - 0x28], pe_nt_image_headers32
push edi
push edi
push edi
push edi
lea edx, [ebp - 0x28]
push edx
lea eax, [ebp]
push eax
push ebx
mov ecx, dword [ebp - 0x1c]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x46233a
push str.InstallOrder
lea edx, [ebp]
push edx
call fcn.004f9f1e
add esp, 8
test eax, eax
je 0x46233a
push 0x535a4c
lea ecx, [ebp - 0x14]
call fcn.00405ec0
lea eax, [ebp]
push eax
push str.InstallingComponents
push 0x535a74
lea ecx, [ebp - 0x14]
push ecx
call fcn.004081a0
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x20], edi
push 0x200
push edi
lea edx, [ebp + 0x200]
push edx
call fcn.004fd670
mov eax, dword [esi]
push 4
push 4
lea ecx, [ebp - 0x24]
push ecx
push str.Installed
mov edx, dword [eax]
push edx
mov edx, dword [ebp - 0x14]
call fcn.004920e0
mov eax, dword [esi]
push 4
push 4
lea ecx, [ebp - 0x20]
push ecx
push str.InstallStatus
mov edx, dword [eax]
push edx
mov edx, dword [ebp - 0x14]
call fcn.004920e0
add esp, 0x44
push str.Install_Only
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [esi]
push ecx
mov eax, pe_nt_image_headers32
lea edx, [ebp + 0x200]
call fcn.004051f0
test eax, eax
je 0x462301
push 0x200
push edi
lea edx, [ebp + 0x200]
push edx
call fcn.004fd670
push 0xff
push str.FALSE
push pe_nt_image_headers32
lea eax, [ebp + 0x200]
push eax
call fcn.004fa71b
add esp, 0x1c
mov eax, 1
cmp dword [ebp - 0x24], eax
je 0x462310
cmp dword [ebp - 0x20], eax
jne 0x46233a
push str.FALSE
lea ecx, [ebp + 0x200]
push ecx
call fcn.004f9f1e
add esp, 8
test eax, eax
jne 0x46233a
push 1
mov edx, dword [ebp - 0x14]
push edx
mov eax, str.InstallNow
mov ecx, dword [esi]
call fcn.00419c70
add ebx, 1
jmp 0x4621e1
mov dword [ebp - 4], edi
jmp 0x462368
mov eax, dword [ebp - 0x1c]
cmp eax, edi
je 0x462376
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.00406150
mov al, byte [ebp - 0x15]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x400]
xor ecx, ebp
call fcn.004fa103
add ebp, 0x404
mov esp, ebp
pop ebp
ret