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

Disassembly:
push ebp
sub esp, 0xc08
lea ebp, [esp - 4]
mov eax, dword [0x54b3f0]
xor eax, ebp
mov dword [ebp + 0xc08], eax
push 0x28
mov eax, 0x503f94
call fcn.004d9fe8
xor ebx, ebx
mov dword [ebp - 4], ebx
mov eax, dword [ebp + 0xc18]
add eax, 0xfffffff0
call fcn.00404311
add eax, 0x10
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x18]
push 0x53017c
push eax
lea edi, [ebp - 0x20]
mov byte [ebp - 4], 1
call fcn.0041cde5
mov edi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
pop ecx
pop ecx
lea eax, [ebp - 0x28]
push eax
push 9
push ebx
push dword [ebp - 0x18]
mov esi, reloc.OLEAUT32.dll_SysReAllocString
push esi
call edi
test eax, eax
je 0x42b0b9
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
call fcn.0040436d
mov eax, dword [ebp - 0x20]
add eax, 0xfffffff0
call fcn.0040436d
jmp 0x42b21c
xor eax, eax
push 0x206
mov word [ebp + 0xa00], ax
lea eax, [ebp + 0xa02]
push ebx
push eax
mov byte [ebp - 0xd], bl
mov dword [ebp - 0x1c], ebx
call fcn.004d9310
add esp, 0xc
push ebx
push ebx
push ebx
push ebx
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp + 0xa00]
push eax
push ebx
jmp 0x42b1dc
lea eax, [ebp + 0xa00]
push eax
push dword [ebp - 0x18]
lea eax, [ebp]
push str._ls_ls
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
lea eax, [ebp - 0x30]
push eax
push 9
push ebx
lea eax, [ebp]
push eax
push esi
call edi
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x14]
push eax
push ebx
push 0x5301a4
push dword [ebp - 0x30]
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x2c], 4
mov dword [ebp - 0x34], ebx
mov byte [ebp - 0xe], bl
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x42b160
cmp dword [ebp - 0x14], 4
jne 0x42b160
mov eax, dword [ebp - 0x34]
cmp eax, dword [ebp + 0xc14]
jne 0x42b160
mov byte [ebp - 0xe], 1
xor eax, eax
push 0x1fc
mov word [ebp + 0x800], ax
lea eax, [ebp + 0x802]
push ebx
push eax
call fcn.004d9310
add esp, 0xc
mov dword [ebp - 0x2c], 0x1fe
mov dword [ebp - 0x14], ebx
cmp byte [ebp - 0xe], bl
je 0x42b1be
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp + 0x800]
push eax
lea eax, [ebp - 0x14]
push eax
push ebx
push str.InstallInfo
push dword [ebp - 0x30]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x42b1be
cmp dword [ebp - 0x14], 1
jne 0x42b1be
cmp word [ebp + 0x800], bx
jne 0x42b1f6
push ebx
push ebx
xor eax, eax
inc dword [ebp - 0x1c]
push ebx
mov word [ebp + 0xa00], ax
push ebx
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp + 0xa00]
push eax
push dword [ebp - 0x1c]
push dword [ebp - 0x28]
mov dword [ebp - 0x24], 0x104
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
je 0x42b0f2
jmp 0x42b1fa
mov byte [ebp - 0xd], 1
push dword [ebp - 0x28]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
call fcn.0040436d
mov eax, dword [ebp - 0x20]
add eax, 0xfffffff0
call fcn.0040436d
mov bl, byte [ebp - 0xd]
mov eax, dword [ebp + 0xc18]
add eax, 0xfffffff0
call fcn.0040436d
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0xc08]
xor ecx, ebp
call fcn.004d5e0b
add ebp, 0xc0c
leave
ret