Function at 0x42b53a
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, 0x503ff6
call fcn.004d9fb6
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.0040f74a
push eax
push ebx
lea eax, [ebp + 0x308]
push eax
lea esi, [ebp + 0x1c]
call fcn.0040f71c
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.0040f74a
push 0xffffffffffffffff
inc eax
push eax
lea eax, [ebp + 0x308]
push eax
lea esi, [ebp + 0x38]
call fcn.0040f71c
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.0040f74a
push eax
mov eax, esi
push ebx
push eax
lea esi, [ebp + 0xa8]
call fcn.0040f71c
mov esi, eax
lea edi, [ebp + 0x38]
mov byte [ebp - 4], 3
call fcn.004036ba
xor edi, edi
push ebx
inc edi
push edi
lea ecx, [ebp + 0xa8]
mov byte [ebp - 4], 2
call fcn.0040482f
cmp dword [ebp + 0x30], 8
mov eax, dword [ebp + 0x1c]
jae 0x42b615
lea eax, [ebp + 0x1c]
push eax
call fcn.004d8a1b
cmp dword [ebp + 0x4c], 8
mov esi, eax
mov eax, dword [ebp + 0x38]
pop ecx
mov dword [ebp - 0x34], esi
jae 0x42b62d
lea eax, [ebp + 0x38]
push eax
call fcn.004d8a1b
add esi, 0xfffffffe
pop ecx
mov dword [ebp - 0x38], eax
cmp esi, 2
ja 0x42bae0
xor eax, eax
push 0x530450
lea ecx, [ebp + 0x54]
mov dword [ebp + 0x68], 7
mov dword [ebp + 0x64], ebx
mov word [ebp + 0x54], ax
call fcn.00404501
mov byte [ebp - 4], 4
cmp dword [ebp + 0x68], 8
mov eax, dword [ebp + 0x54]
jae 0x42b670
lea eax, [ebp + 0x54]
lea ecx, [ebp - 0x3c]
push ecx
push 0x20019
push ebx
push eax
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x42baad
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 0x42baad
push 0x1fe
mov word [ebp + 0xfc], ax
lea eax, [ebp + 0xfe]
push ebx
push eax
call fcn.004d92e0
add esp, 0xc
mov dword [ebp - 0x14], 0x100
mov dword [ebp - 0x20], ebx
cmp dword [ebp - 0x28], ebx
jbe 0x42baad
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 0x42ba51
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.00404501
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.0040f74a
dec eax
push eax
push edi
lea eax, [ebp + 0x70]
push eax
lea esi, [ebp + 0x8c]
call fcn.0040f71c
push 0x53044c
mov ecx, esi
mov byte [ebp - 4], 6
call fcn.0041264a
test eax, eax
je 0x42b78f
push str.344
mov ecx, esi
call fcn.0041264a
test eax, eax
je 0x42b78f
push 0x5304ac
mov ecx, esi
call fcn.0041264a
test eax, eax
jne 0x42ba33
lea eax, [ebp + 0xc4]
push 0x5304b0
push eax
lea ebx, [ebp + 0x54]
call fcn.00412446
lea ecx, [ebp + 0x70]
push ecx
lea ecx, [ebp + 0xa8]
push ecx
mov ecx, eax
mov byte [ebp - 4], 7
call fcn.004124b4
add esp, 0x10
xor ebx, ebx
push ebx
push 1
lea ecx, [ebp + 0xc4]
mov byte [ebp - 4], 9
call fcn.0040482f
push 0x5304b4
lea ecx, [ebp + 0x8c]
call fcn.0041264a
test eax, eax
jne 0x42b81b
lea eax, [ebp + 0xe0]
push 0x5304b8
push eax
lea ebx, [ebp + 0xa8]
call fcn.00412446
pop ecx
pop ecx
mov esi, eax
mov edi, ebx
mov byte [ebp - 4], 0xa
call fcn.004036ba
push 0
push 1
lea ecx, [ebp + 0xe0]
call fcn.0040482f
xor ebx, ebx
cmp dword [ebp + 0xbc], 8
mov eax, dword [ebp + 0xa8]
jae 0x42b830
lea eax, [ebp + 0xa8]
lea ecx, [ebp - 0x2c]
push ecx
push 0x20019
push ebx
push eax
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x42ba23
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 0x42ba23
cmp dword [ebp - 0x18], esi
je 0x42b88e
cmp dword [ebp - 0x18], 5
jne 0x42ba23
cmp dword [ebp - 0x24], 1
jne 0x42ba23
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 0x5304d4
mov byte [ebp - 4], 0xb
push dword [ebp - 0x2c]
call edi
test eax, eax
jne 0x42ba15
mov edi, dword [ebp - 0x1c]
cmp edi, dword [ebp + 0xf0]
ja 0x42b8f2
push 0xffffffffffffffff
push edi
lea ecx, [ebp + 0xe0]
call fcn.00404560
jmp 0x42b904
sub edi, dword [ebp + 0xf0]
push ebx
lea esi, [ebp + 0xe0]
call fcn.00427398
cmp dword [ebp + 0xf4], 8
mov eax, dword [ebp + 0xe0]
jae 0x42b919
lea eax, [ebp + 0xe0]
lea ecx, [ebp - 0x1c]
push ecx
push eax
lea eax, [ebp - 0x18]
push eax
push ebx
push 0x5304e4
push dword [ebp - 0x2c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x42ba15
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.0040f74a
push 0xffffffffffffffff
inc eax
push eax
lea eax, [ebp + 0xe0]
push eax
lea esi, [ebp + 0xc4]
call fcn.0040f71c
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.0040f74a
push eax
mov eax, esi
push ebx
push eax
lea esi, [ebp]
call fcn.0040f71c
mov esi, eax
lea edi, [ebp + 0xc4]
mov byte [ebp - 4], 0xd
call fcn.004036ba
xor esi, esi
push ebx
inc esi
push esi
lea ecx, [ebp]
mov byte [ebp - 4], 0xc
call fcn.0040482f
cmp dword [ebp + 0xa0], 8
mov eax, dword [ebp + 0x8c]
jae 0x42b9c2
lea eax, [ebp + 0x8c]
push eax
call fcn.004d8a1b
cmp dword [ebp + 0xd8], 8
mov edi, eax
mov eax, dword [ebp + 0xc4]
pop ecx
jae 0x42b9e0
lea eax, [ebp + 0xc4]
push eax
call fcn.004d8a1b
pop ecx
cmp edi, 4
jge 0x42b9fb
cmp dword [ebp - 0x34], edi
jl 0x42ba69
jne 0x42b9f8
cmp dword [ebp - 0x38], eax
jle 0x42ba69
cmp edi, 4
jne 0x42ba08
cmp dword [ebp - 0x34], 4
jne 0x42ba08
cmp dword [ebp - 0x38], eax
jle 0x42ba69
push ebx
push esi
lea ecx, [ebp + 0xc4]
call fcn.0040482f
push ebx
push 1
lea ecx, [ebp + 0xe0]
call fcn.0040482f
push ebx
push 1
lea ecx, [ebp + 0xa8]
call fcn.0040482f
xor ebx, ebx
xor edi, edi
push ebx
inc edi
push edi
lea ecx, [ebp + 0x8c]
call fcn.0040482f
push ebx
push edi
lea ecx, [ebp + 0x70]
mov byte [ebp - 4], 4
call fcn.0040482f
inc dword [ebp - 0x20]
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x14], 0x100
cmp eax, dword [ebp - 0x28]
jb 0x42b6e5
jmp 0x42baad
push ebx
push esi
lea ecx, [ebp + 0xc4]
mov byte [ebp - 0xd], 1
call fcn.0040482f
push ebx
push esi
lea ecx, [ebp + 0xe0]
call fcn.0040482f
push ebx
push esi
lea ecx, [ebp + 0xa8]
call fcn.0040482f
push ebx
push esi
lea ecx, [ebp + 0x8c]
call fcn.0040482f
push ebx
push esi
lea ecx, [ebp + 0x70]
call fcn.0040482f
xor ebx, ebx
xor esi, esi
push ebx
inc esi
push esi
lea ecx, [ebp + 0x54]
call fcn.0040482f
push ebx
push esi
lea ecx, [ebp + 0x38]
call fcn.0040482f
push ebx
push esi
lea ecx, [ebp + 0x1c]
call fcn.0040482f
push ebx
push esi
lea ecx, [ebp + 0x308]
call fcn.0040482f
mov al, byte [ebp - 0xd]
jmp 0x42bb03
push ebx
push edi
lea ecx, [ebp + 0x38]
call fcn.0040482f
push ebx
push edi
lea ecx, [ebp + 0x1c]
call fcn.0040482f
push ebx
push edi
lea ecx, [ebp + 0x308]
call fcn.0040482f
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.004d5ddb
add ebp, 0x300
leave
ret