Function at 0x42c40e
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x458
push ebx
push esi
push edi
mov edi, ecx
mov eax, edx
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x24], eax
push ecx
push dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 0x2c], edi
push eax
push edi
mov dword [ebp - 0x14], ebx
call sym.Dismx86.exe_DismRegOpenKey
test eax, eax
jne 0x42c79f
push ebx
push ebx
lea eax, [ebp - 0x18]
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
test eax, eax
jne 0x42c79f
call fcn.0043d5bb
push eax
lea ecx, [ebp - 0x30]
call fcn.0043bbe8
push dword [ebp - 0x18]
lea ecx, [ebp - 0x30]
call fcn.0043b9dd
lea ecx, [ebp - 0x18]
mov dword [ebp - 4], eax
push ecx
push eax
lea eax, [ebp - 0x34]
mov dword [ebp - 0x1c], 0x105
push eax
push ebx
lea eax, [ebp - 0x1c]
mov dword [ebp - 8], ebx
push eax
lea eax, [ebp - 0x458]
push eax
push ebx
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
jne 0x42c53e
mov esi, dword [ebp - 0x30]
mov eax, dword [ebp - 0x34]
sub eax, 1
je 0x42c4bb
sub eax, 1
jne 0x42c501
cmp dword [ebp - 0x1c], ebx
je 0x42c501
push dword [ebp + 0x10]
push 1
push ecx
mov ecx, esp
push dword [ebp - 4]
call fcn.0043c2b8
push ecx
lea eax, [ebp - 0x458]
mov ecx, esp
push eax
call fcn.0043c2b8
push ecx
mov ecx, dword [ebp + 8]
mov edi, esp
lea ecx, [ecx - 0x10]
call fcn.0043cad2
mov ecx, dword [ebp + 0xc]
add eax, 0x10
push dword [ebp - 0x24]
mov dword [edi], eax
mov edi, dword [ebp - 0x2c]
mov eax, dword [ecx]
push edi
call dword [eax + 0x1c]
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x1c], 0x105
mov eax, dword [esi - 8]
push ecx
push dword [ebp - 4]
lea ecx, [ebp - 0x34]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 8]
push ecx
push ebx
lea ecx, [ebp - 0x1c]
inc eax
push ecx
lea ecx, [ebp - 0x458]
mov dword [ebp - 8], eax
push ecx
push eax
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
je 0x42c4ae
cmp dword [edi + 0xc], 0x60002
jae 0x42c792
mov eax, dword [edi + 0x48]
lea edx, [ebp - 0x10]
push edx
push 0x2000000
push str.SOFTWAREMicrosoftShared_ToolsMSConfig_startupreg
mov dword [ebp - 0x10], ebx
mov ecx, dword [eax]
push 0x80000002
push eax
call dword [ecx + 0xc]
test eax, eax
jne 0x42c78a
push 0x105
lea eax, [ebp - 0x24c]
mov dword [ebp - 0x38], ebx
push eax
push ebx
jmp 0x42c779
lea eax, [ebp - 0xc]
mov dword [ebp - 0xc], ebx
push eax
push 0x20019
push dword [0x4ad198]
lea eax, [ebp - 0x24c]
push eax
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x42c75d
call fcn.0043d5bb
push eax
lea ecx, [ebp - 4]
call fcn.0043bbe8
mov ecx, dword [ebp - 0xc]
lea eax, [ebp - 4]
push eax
mov edx, str.hkey
call fcn.0044dd53
pop ecx
test eax, eax
je 0x42c5e5
mov ecx, dword [ebp - 4]
lea ecx, [ecx - 0x10]
call fcn.0043d912
jmp 0x42c75d
mov esi, dword [ebp - 4]
push str.HKLM
push esi
call dword [sym.imp.SHLWAPI.dll_StrCmpIW]
test eax, eax
jne 0x42c5ff
mov eax, 0x80000002
jmp 0x42c630
push str.HKCU
push esi
call dword [sym.imp.SHLWAPI.dll_StrCmpIW]
test eax, eax
jne 0x42c616
mov eax, 0x80000001
jmp 0x42c630
push 0x49848c
push esi
call dword [sym.imp.SHLWAPI.dll_StrCmpIW]
neg eax
sbb eax, eax
and eax, 0x7ffffffd
add eax, 0x80000003
cmp eax, dword [ebp - 0x24]
je 0x42c63a
lea ecx, [esi - 0x10]
jmp 0x42c5db
call fcn.0043d5bb
push eax
lea ecx, [ebp - 8]
call fcn.0043bbe8
mov ecx, dword [ebp - 0xc]
lea eax, [ebp - 8]
push eax
mov edx, 0x498484
call fcn.0044dd53
pop ecx
test eax, eax
je 0x42c66b
mov ecx, dword [ebp - 8]
lea ecx, [ecx - 0x10]
call fcn.0043d912
jmp 0x42c635
mov edi, dword [ebp - 8]
push edi
push dword [ebp + 8]
call dword [sym.imp.SHLWAPI.dll_StrCmpIW]
test eax, eax
je 0x42c681
lea ecx, [edi - 0x10]
jmp 0x42c664
call fcn.0043d5bb
push eax
lea ecx, [ebp - 0x20]
call fcn.0043bbe8
mov ecx, dword [ebp - 0xc]
lea eax, [ebp - 0x20]
push eax
mov edx, str.command
call fcn.0044dd53
pop ecx
test eax, eax
je 0x42c6b2
mov ecx, dword [ebp - 0x20]
lea ecx, [ecx - 0x10]
call fcn.0043d912
jmp 0x42c67c
lea eax, [ebp - 0x28]
mov dword [ebp - 0x28], ebx
push eax
push dword [ebp + 8]
push dword [ebp - 0x24]
push dword [ebp - 0x2c]
call sym.Dismx86.exe_DismRegOpenKey
lea eax, [ebp - 0x3c]
mov dword [ebp - 0x3c], ebx
push eax
push ebx
push ebx
push ebx
lea eax, [ebp - 0x24c]
push eax
push dword [ebp - 0x28]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x42c6ef
lea ecx, [ebp - 0x28]
call fcn.0043b8cb
jmp 0x42c6a5
push dword [ebp + 0x10]
mov eax, dword [ebp - 0x20]
push ebx
add eax, 0xfffffff0
push ecx
mov ecx, eax
mov dword [ebp - 0x40], eax
mov ebx, esp
call fcn.0043cad2
add eax, 0x10
push ecx
mov dword [ebx], eax
mov ecx, esp
lea eax, [ebp - 0x24c]
push eax
call fcn.0043c2b8
push ecx
mov ecx, dword [ebp + 8]
mov ebx, esp
lea ecx, [ecx - 0x10]
call fcn.0043cad2
mov ecx, dword [ebp + 0xc]
add eax, 0x10
push dword [ebp - 0x24]
mov dword [ebx], eax
push dword [ebp - 0x2c]
mov eax, dword [ecx]
call dword [eax + 0x1c]
lea ecx, [ebp - 0x28]
call fcn.0043b8cb
mov ecx, dword [ebp - 0x40]
call fcn.0043d912
lea ecx, [edi - 0x10]
call fcn.0043d912
lea ecx, [esi - 0x10]
call fcn.0043d912
xor ebx, ebx
lea ecx, [ebp - 0xc]
call fcn.0043b8cb
mov eax, dword [ebp - 0x38]
lea ecx, [ebp - 0x24c]
push 0x105
inc eax
push ecx
mov dword [ebp - 0x38], eax
push eax
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
test eax, eax
je 0x42c587
lea ecx, [ebp - 0x10]
call fcn.0043b8cb
mov ecx, dword [ebp - 0x30]
lea ecx, [ecx - 0x10]
call fcn.0043d912
jmp 0x42c7a1
mov ebx, eax
lea ecx, [ebp - 0x14]
call fcn.0043b8cb
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.0043d912
pop edi
pop esi
mov eax, ebx
pop ebx
leave
ret 0xc