Function at 0x42b89d
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 0x42bc2a
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 0x42bc2a
call fcn.0043c5cd
push eax
lea ecx, [ebp - 0x30]
call fcn.0043ac50
push dword [ebp - 0x18]
lea ecx, [ebp - 0x30]
call fcn.0043aa22
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 0x42b9c9
mov esi, dword [ebp - 0x30]
mov eax, dword [ebp - 0x34]
dec eax
cmp eax, 1
ja 0x42b98c
cmp dword [ebp - 0x1c], ebx
je 0x42b98c
push dword [ebp + 0x10]
push 1
push ecx
mov ecx, esp
push dword [ebp - 4]
call fcn.0043b487
push ecx
lea eax, [ebp - 0x458]
mov ecx, esp
push eax
call fcn.0043b487
push ecx
mov ecx, dword [ebp + 8]
mov edi, esp
lea ecx, [ecx - 0x10]
call fcn.0043baa0
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 0x42b93d
cmp dword [edi + 0xc], 0x60002
jae 0x42bc1d
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 0x42bc15
push 0x105
lea eax, [ebp - 0x24c]
mov dword [ebp - 0x38], ebx
push eax
push ebx
jmp 0x42bc04
lea eax, [ebp - 0xc]
mov dword [ebp - 0xc], ebx
push eax
push 0x20019
push dword [0x4ab220]
lea eax, [ebp - 0x24c]
push eax
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x42bbe8
call fcn.0043c5cd
push eax
lea ecx, [ebp - 4]
call fcn.0043ac50
mov ecx, dword [ebp - 0xc]
lea eax, [ebp - 4]
push eax
mov edx, str.hkey
call fcn.0044cd14
pop ecx
test eax, eax
je 0x42ba70
mov ecx, dword [ebp - 4]
lea ecx, [ecx - 0x10]
call fcn.0043c924
jmp 0x42bbe8
mov esi, dword [ebp - 4]
push str.HKLM
push esi
call dword [sym.imp.SHLWAPI.dll_StrCmpIW]
test eax, eax
jne 0x42ba8a
mov eax, 0x80000002
jmp 0x42babb
push 0x4983e0
push esi
call dword [sym.imp.SHLWAPI.dll_StrCmpIW]
test eax, eax
jne 0x42baa1
mov eax, 0x80000001
jmp 0x42babb
push 0x496304
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 0x42bac5
lea ecx, [esi - 0x10]
jmp 0x42ba66
call fcn.0043c5cd
push eax
lea ecx, [ebp - 8]
call fcn.0043ac50
mov ecx, dword [ebp - 0xc]
lea eax, [ebp - 8]
push eax
mov edx, 0x4962fc
call fcn.0044cd14
pop ecx
test eax, eax
je 0x42baf6
mov ecx, dword [ebp - 8]
lea ecx, [ecx - 0x10]
call fcn.0043c924
jmp 0x42bac0
mov edi, dword [ebp - 8]
push edi
push dword [ebp + 8]
call dword [sym.imp.SHLWAPI.dll_StrCmpIW]
test eax, eax
je 0x42bb0c
lea ecx, [edi - 0x10]
jmp 0x42baef
call fcn.0043c5cd
push eax
lea ecx, [ebp - 0x20]
call fcn.0043ac50
mov ecx, dword [ebp - 0xc]
lea eax, [ebp - 0x20]
push eax
mov edx, str.command
call fcn.0044cd14
pop ecx
test eax, eax
je 0x42bb3d
mov ecx, dword [ebp - 0x20]
lea ecx, [ecx - 0x10]
call fcn.0043c924
jmp 0x42bb07
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 0x42bb7a
lea ecx, [ebp - 0x28]
call fcn.0043a910
jmp 0x42bb30
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.0043baa0
add eax, 0x10
push ecx
mov dword [ebx], eax
mov ecx, esp
lea eax, [ebp - 0x24c]
push eax
call fcn.0043b487
push ecx
mov ecx, dword [ebp + 8]
mov ebx, esp
lea ecx, [ecx - 0x10]
call fcn.0043baa0
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.0043a910
mov ecx, dword [ebp - 0x40]
call fcn.0043c924
lea ecx, [edi - 0x10]
call fcn.0043c924
lea ecx, [esi - 0x10]
call fcn.0043c924
xor ebx, ebx
lea ecx, [ebp - 0xc]
call fcn.0043a910
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 0x42ba12
lea ecx, [ebp - 0x10]
call fcn.0043a910
mov ecx, dword [ebp - 0x30]
lea ecx, [ecx - 0x10]
call fcn.0043c924
jmp 0x42bc2c
mov ebx, eax
lea ecx, [ebp - 0x14]
call fcn.0043a910
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.0043c924
pop edi
pop esi
mov eax, ebx
pop ebx
leave
ret 0xc