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

Disassembly:
push ebp
sub esp, 0x2fc
lea ebp, [esp - 4]
mov eax, dword [0x54b3f0]
xor eax, ebp
mov dword [ebp + 0x2fc], eax
push 0x34
mov eax, 0x5039a8
call fcn.004d9926
push 0x2e
pop edi
push 1
lea eax, [ebp - 0x14]
xor ebx, ebx
push eax
mov dword [ebp - 4], ebx
xor eax, eax
lea ecx, [ebp + 0x308]
mov byte [ebp - 0xd], bl
mov dword [ebp - 0x14], edi
call fcn.0040ecbf
push eax
push ebx
lea eax, [ebp + 0x308]
push eax
lea esi, [ebp + 0x1c]
call fcn.0040ec4d
push 1
lea eax, [ebp - 0x14]
push eax
mov byte [ebp - 4], 1
xor eax, eax
lea ecx, [ebp + 0x308]
mov dword [ebp - 0x14], edi
call fcn.0040ecbf
push 0xffffffffffffffff
inc eax
push eax
lea eax, [ebp + 0x308]
push eax
lea esi, [ebp + 0x38]
call fcn.0040ec4d
push 1
lea eax, [ebp - 0x14]
push eax
mov byte [ebp - 4], 2
xor eax, eax
lea ecx, [ebp + 0x308]
mov dword [ebp - 0x14], edi
call fcn.0040ecbf
push eax
mov eax, esi
push ebx
push eax
lea esi, [ebp + 0xa8]
call fcn.0040ec4d
mov esi, eax
lea edi, [ebp + 0x38]
mov byte [ebp - 4], 3
call fcn.0040ec7b
xor edi, edi
push ebx
inc edi
push edi
lea ecx, [ebp + 0xa8]
mov byte [ebp - 4], 2
call fcn.00403da4
cmp dword [ebp + 0x30], 8
mov eax, dword [ebp + 0x1c]
jae 0x42afa2
lea eax, [ebp + 0x1c]
push eax
call fcn.004d838b
cmp dword [ebp + 0x4c], 8
mov esi, eax
mov eax, dword [ebp + 0x38]
pop ecx
mov dword [ebp - 0x34], esi
jae 0x42afba
lea eax, [ebp + 0x38]
push eax
call fcn.004d838b
add esi, 0xfffffffe
pop ecx
mov dword [ebp - 0x38], eax
cmp esi, 2
ja 0x42b46d
xor eax, eax
push 0x530460
lea ecx, [ebp + 0x54]
mov dword [ebp + 0x68], 7
mov dword [ebp + 0x64], ebx
mov word [ebp + 0x54], ax
call fcn.0040ed85
mov byte [ebp - 4], 4
cmp dword [ebp + 0x68], 8
mov eax, dword [ebp + 0x54]
jae 0x42affd
lea eax, [ebp + 0x54]
lea ecx, [ebp - 0x3c]
push ecx
push 0x20019
push ebx
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x42b43a
push ebx
push ebx
push ebx
push ebx
lea eax, [ebp - 0x40]
push eax
push ebx
push ebx
lea eax, [ebp - 0x28]
push eax
push ebx
push ebx
push ebx
push dword [ebp - 0x3c]
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x40], ebx
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
test eax, eax
jne 0x42b43a
push 0x1fe
mov word [ebp + 0xfc], ax
lea eax, [ebp + 0xfe]
push ebx
push eax
call fcn.004d8c50
add esp, 0xc
mov dword [ebp - 0x14], 0x100
mov dword [ebp - 0x20], ebx
cmp dword [ebp - 0x28], ebx
jbe 0x42b43a
push ebx
push ebx
push ebx
push ebx
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp + 0xfc]
push eax
push dword [ebp - 0x20]
push dword [ebp - 0x3c]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x42b3de
mov word [ebp + 0x70], ax
lea eax, [ebp + 0xfc]
push eax
lea ecx, [ebp + 0x70]
mov dword [ebp + 0x84], 7
mov dword [ebp + 0x80], ebx
call fcn.0040ed85
push edi
lea eax, [ebp - 0x24]
push eax
mov byte [ebp - 4], 5
xor eax, eax
lea ecx, [ebp + 0x70]
mov dword [ebp - 0x24], 0x2e
call fcn.0040ecbf
dec eax
push eax
push edi
lea eax, [ebp + 0x70]
push eax
lea esi, [ebp + 0x8c]
call fcn.0040ec4d
push 0x53045c
mov ecx, esi
mov byte [ebp - 4], 6
call fcn.00411c9c
test eax, eax
je 0x42b11c
push str.344
mov ecx, esi
call fcn.00411c9c
test eax, eax
je 0x42b11c
push 0x5304bc
mov ecx, esi
call fcn.00411c9c
test eax, eax
jne 0x42b3c0
lea eax, [ebp + 0xc4]
push 0x5304c0
push eax
lea ebx, [ebp + 0x54]
call fcn.00411a98
lea ecx, [ebp + 0x70]
push ecx
lea ecx, [ebp + 0xa8]
push ecx
mov ecx, eax
mov byte [ebp - 4], 7
call fcn.00411b06
add esp, 0x10
xor ebx, ebx
push ebx
push 1
lea ecx, [ebp + 0xc4]
mov byte [ebp - 4], 9
call fcn.00403da4
push 0x5304c4
lea ecx, [ebp + 0x8c]
call fcn.00411c9c
test eax, eax
jne 0x42b1a8
lea eax, [ebp + 0xe0]
push 0x5304c8
push eax
lea ebx, [ebp + 0xa8]
call fcn.00411a98
pop ecx
pop ecx
mov esi, eax
mov edi, ebx
mov byte [ebp - 4], 0xa
call fcn.0040ec7b
push 0
push 1
lea ecx, [ebp + 0xe0]
call fcn.00403da4
xor ebx, ebx
cmp dword [ebp + 0xbc], 8
mov eax, dword [ebp + 0xa8]
jae 0x42b1bd
lea eax, [ebp + 0xa8]
lea ecx, [ebp - 0x2c]
push ecx
push 0x20019
push ebx
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x42b3b0
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push 4
pop esi
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x18]
push eax
push ebx
push str.Install
push dword [ebp - 0x2c]
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x1c], esi
call edi
test eax, eax
jne 0x42b3b0
cmp dword [ebp - 0x18], esi
je 0x42b21b
cmp dword [ebp - 0x18], 5
jne 0x42b3b0
cmp dword [ebp - 0x24], 1
jne 0x42b3b0
xor eax, eax
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp + 0xf4], 7
mov dword [ebp + 0xf0], ebx
mov word [ebp + 0xe0], ax
lea eax, [ebp - 0x1c]
push eax
push ebx
lea eax, [ebp - 0x18]
push eax
push ebx
push 0x5304e4
mov byte [ebp - 4], 0xb
push dword [ebp - 0x2c]
call edi
test eax, eax
jne 0x42b3a2
mov edi, dword [ebp - 0x1c]
cmp edi, dword [ebp + 0xf0]
ja 0x42b27f
push 0xffffffffffffffff
push edi
lea ecx, [ebp + 0xe0]
call fcn.0040363c
jmp 0x42b291
sub edi, dword [ebp + 0xf0]
push ebx
lea esi, [ebp + 0xe0]
call fcn.00426af4
cmp dword [ebp + 0xf4], 8
mov eax, dword [ebp + 0xe0]
jae 0x42b2a6
lea eax, [ebp + 0xe0]
lea ecx, [ebp - 0x1c]
push ecx
push eax
lea eax, [ebp - 0x18]
push eax
push ebx
push 0x5304f4
push dword [ebp - 0x2c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x42b3a2
push 0x2e
pop edi
push 1
lea eax, [ebp - 0x30]
push eax
xor eax, eax
lea ecx, [ebp + 0xe0]
mov dword [ebp - 0x30], edi
call fcn.0040ecbf
push 0xffffffffffffffff
inc eax
push eax
lea eax, [ebp + 0xe0]
push eax
lea esi, [ebp + 0xc4]
call fcn.0040ec4d
push 1
lea eax, [ebp - 0x30]
push eax
mov byte [ebp - 4], 0xc
xor eax, eax
mov ecx, esi
mov dword [ebp - 0x30], edi
call fcn.0040ecbf
push eax
mov eax, esi
push ebx
push eax
lea esi, [ebp]
call fcn.0040ec4d
mov esi, eax
lea edi, [ebp + 0xc4]
mov byte [ebp - 4], 0xd
call fcn.0040ec7b
xor esi, esi
push ebx
inc esi
push esi
lea ecx, [ebp]
mov byte [ebp - 4], 0xc
call fcn.00403da4
cmp dword [ebp + 0xa0], 8
mov eax, dword [ebp + 0x8c]
jae 0x42b34f
lea eax, [ebp + 0x8c]
push eax
call fcn.004d838b
cmp dword [ebp + 0xd8], 8
mov edi, eax
mov eax, dword [ebp + 0xc4]
pop ecx
jae 0x42b36d
lea eax, [ebp + 0xc4]
push eax
call fcn.004d838b
pop ecx
cmp edi, 4
jge 0x42b388
cmp dword [ebp - 0x34], edi
jl 0x42b3f6
jne 0x42b385
cmp dword [ebp - 0x38], eax
jle 0x42b3f6
cmp edi, 4
jne 0x42b395
cmp dword [ebp - 0x34], 4
jne 0x42b395
cmp dword [ebp - 0x38], eax
jle 0x42b3f6
push ebx
push esi
lea ecx, [ebp + 0xc4]
call fcn.00403da4
push ebx
push 1
lea ecx, [ebp + 0xe0]
call fcn.00403da4
push ebx
push 1
lea ecx, [ebp + 0xa8]
call fcn.00403da4
xor ebx, ebx
xor edi, edi
push ebx
inc edi
push edi
lea ecx, [ebp + 0x8c]
call fcn.00403da4
push ebx
push edi
lea ecx, [ebp + 0x70]
mov byte [ebp - 4], 4
call fcn.00403da4
inc dword [ebp - 0x20]
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x14], 0x100
cmp eax, dword [ebp - 0x28]
jb 0x42b072
jmp 0x42b43a
push ebx
push esi
lea ecx, [ebp + 0xc4]
mov byte [ebp - 0xd], 1
call fcn.00403da4
push ebx
push esi
lea ecx, [ebp + 0xe0]
call fcn.00403da4
push ebx
push esi
lea ecx, [ebp + 0xa8]
call fcn.00403da4
push ebx
push esi
lea ecx, [ebp + 0x8c]
call fcn.00403da4
push ebx
push esi
lea ecx, [ebp + 0x70]
call fcn.00403da4
xor ebx, ebx
xor esi, esi
push ebx
inc esi
push esi
lea ecx, [ebp + 0x54]
call fcn.00403da4
push ebx
push esi
lea ecx, [ebp + 0x38]
call fcn.00403da4
push ebx
push esi
lea ecx, [ebp + 0x1c]
call fcn.00403da4
push ebx
push esi
lea ecx, [ebp + 0x308]
call fcn.00403da4
mov al, byte [ebp - 0xd]
jmp 0x42b490
push ebx
push edi
lea ecx, [ebp + 0x38]
call fcn.00403da4
push ebx
push edi
lea ecx, [ebp + 0x1c]
call fcn.00403da4
push ebx
push edi
lea ecx, [ebp + 0x308]
call fcn.00403da4
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x2fc]
xor ecx, ebp
call fcn.004d574b
add ebp, 0x300
leave
ret