Function at 0x42adfc
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, 0x503a1a
call fcn.004d99c6
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.0040ecb0
push eax
push ebx
lea eax, [ebp + 0x308]
push eax
lea esi, [ebp + 0x1c]
call fcn.0040ec3e
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.0040ecb0
push 0xffffffffffffffff
inc eax
push eax
lea eax, [ebp + 0x308]
push eax
lea esi, [ebp + 0x38]
call fcn.0040ec3e
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.0040ecb0
push eax
mov eax, esi
push ebx
push eax
lea esi, [ebp + 0xa8]
call fcn.0040ec3e
mov esi, eax
lea edi, [ebp + 0x38]
mov byte [ebp - 4], 3
call fcn.0040ec6c
xor edi, edi
push ebx
inc edi
push edi
lea ecx, [ebp + 0xa8]
mov byte [ebp - 4], 2
call fcn.00403de3
cmp dword [ebp + 0x30], 8
mov eax, dword [ebp + 0x1c]
jae 0x42aed7
lea eax, [ebp + 0x1c]
push eax
call fcn.004d841b
cmp dword [ebp + 0x4c], 8
mov esi, eax
mov eax, dword [ebp + 0x38]
pop ecx
mov dword [ebp - 0x34], esi
jae 0x42aeef
lea eax, [ebp + 0x38]
push eax
call fcn.004d841b
add esi, 0xfffffffe
pop ecx
mov dword [ebp - 0x38], eax
cmp esi, 2
ja 0x42b3a2
xor eax, eax
push 0x530430
lea ecx, [ebp + 0x54]
mov dword [ebp + 0x68], 7
mov dword [ebp + 0x64], ebx
mov word [ebp + 0x54], ax
call fcn.0040ed76
mov byte [ebp - 4], 4
cmp dword [ebp + 0x68], 8
mov eax, dword [ebp + 0x54]
jae 0x42af32
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 0x42b36f
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 0x42b36f
push 0x1fe
mov word [ebp + 0xfc], ax
lea eax, [ebp + 0xfe]
push ebx
push eax
call fcn.004d8ce0
add esp, 0xc
mov dword [ebp - 0x14], 0x100
mov dword [ebp - 0x20], ebx
cmp dword [ebp - 0x28], ebx
jbe 0x42b36f
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 0x42b313
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.0040ed76
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.0040ecb0
dec eax
push eax
push edi
lea eax, [ebp + 0x70]
push eax
lea esi, [ebp + 0x8c]
call fcn.0040ec3e
push 0x53042c
mov ecx, esi
mov byte [ebp - 4], 6
call fcn.00411c2a
test eax, eax
je 0x42b051
push str.344
mov ecx, esi
call fcn.00411c2a
test eax, eax
je 0x42b051
push 0x53048c
mov ecx, esi
call fcn.00411c2a
test eax, eax
jne 0x42b2f5
lea eax, [ebp + 0xc4]
push 0x530490
push eax
lea ebx, [ebp + 0x54]
call fcn.00411a26
lea ecx, [ebp + 0x70]
push ecx
lea ecx, [ebp + 0xa8]
push ecx
mov ecx, eax
mov byte [ebp - 4], 7
call fcn.00411a94
add esp, 0x10
xor ebx, ebx
push ebx
push 1
lea ecx, [ebp + 0xc4]
mov byte [ebp - 4], 9
call fcn.00403de3
push 0x530494
lea ecx, [ebp + 0x8c]
call fcn.00411c2a
test eax, eax
jne 0x42b0dd
lea eax, [ebp + 0xe0]
push 0x530498
push eax
lea ebx, [ebp + 0xa8]
call fcn.00411a26
pop ecx
pop ecx
mov esi, eax
mov edi, ebx
mov byte [ebp - 4], 0xa
call fcn.0040ec6c
push 0
push 1
lea ecx, [ebp + 0xe0]
call fcn.00403de3
xor ebx, ebx
cmp dword [ebp + 0xbc], 8
mov eax, dword [ebp + 0xa8]
jae 0x42b0f2
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 0x42b2e5
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 0x42b2e5
cmp dword [ebp - 0x18], esi
je 0x42b150
cmp dword [ebp - 0x18], 5
jne 0x42b2e5
cmp dword [ebp - 0x24], 1
jne 0x42b2e5
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 0x5304b4
mov byte [ebp - 4], 0xb
push dword [ebp - 0x2c]
call edi
test eax, eax
jne 0x42b2d7
mov edi, dword [ebp - 0x1c]
cmp edi, dword [ebp + 0xf0]
ja 0x42b1b4
push 0xffffffffffffffff
push edi
lea ecx, [ebp + 0xe0]
call fcn.0040367b
jmp 0x42b1c6
sub edi, dword [ebp + 0xf0]
push ebx
lea esi, [ebp + 0xe0]
call fcn.00426a11
cmp dword [ebp + 0xf4], 8
mov eax, dword [ebp + 0xe0]
jae 0x42b1db
lea eax, [ebp + 0xe0]
lea ecx, [ebp - 0x1c]
push ecx
push eax
lea eax, [ebp - 0x18]
push eax
push ebx
push 0x5304c4
push dword [ebp - 0x2c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x42b2d7
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.0040ecb0
push 0xffffffffffffffff
inc eax
push eax
lea eax, [ebp + 0xe0]
push eax
lea esi, [ebp + 0xc4]
call fcn.0040ec3e
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.0040ecb0
push eax
mov eax, esi
push ebx
push eax
lea esi, [ebp]
call fcn.0040ec3e
mov esi, eax
lea edi, [ebp + 0xc4]
mov byte [ebp - 4], 0xd
call fcn.0040ec6c
xor esi, esi
push ebx
inc esi
push esi
lea ecx, [ebp]
mov byte [ebp - 4], 0xc
call fcn.00403de3
cmp dword [ebp + 0xa0], 8
mov eax, dword [ebp + 0x8c]
jae 0x42b284
lea eax, [ebp + 0x8c]
push eax
call fcn.004d841b
cmp dword [ebp + 0xd8], 8
mov edi, eax
mov eax, dword [ebp + 0xc4]
pop ecx
jae 0x42b2a2
lea eax, [ebp + 0xc4]
push eax
call fcn.004d841b
pop ecx
cmp edi, 4
jge 0x42b2bd
cmp dword [ebp - 0x34], edi
jl 0x42b32b
jne 0x42b2ba
cmp dword [ebp - 0x38], eax
jle 0x42b32b
cmp edi, 4
jne 0x42b2ca
cmp dword [ebp - 0x34], 4
jne 0x42b2ca
cmp dword [ebp - 0x38], eax
jle 0x42b32b
push ebx
push esi
lea ecx, [ebp + 0xc4]
call fcn.00403de3
push ebx
push 1
lea ecx, [ebp + 0xe0]
call fcn.00403de3
push ebx
push 1
lea ecx, [ebp + 0xa8]
call fcn.00403de3
xor ebx, ebx
xor edi, edi
push ebx
inc edi
push edi
lea ecx, [ebp + 0x8c]
call fcn.00403de3
push ebx
push edi
lea ecx, [ebp + 0x70]
mov byte [ebp - 4], 4
call fcn.00403de3
inc dword [ebp - 0x20]
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x14], 0x100
cmp eax, dword [ebp - 0x28]
jb 0x42afa7
jmp 0x42b36f
push ebx
push esi
lea ecx, [ebp + 0xc4]
mov byte [ebp - 0xd], 1
call fcn.00403de3
push ebx
push esi
lea ecx, [ebp + 0xe0]
call fcn.00403de3
push ebx
push esi
lea ecx, [ebp + 0xa8]
call fcn.00403de3
push ebx
push esi
lea ecx, [ebp + 0x8c]
call fcn.00403de3
push ebx
push esi
lea ecx, [ebp + 0x70]
call fcn.00403de3
xor ebx, ebx
xor esi, esi
push ebx
inc esi
push esi
lea ecx, [ebp + 0x54]
call fcn.00403de3
push ebx
push esi
lea ecx, [ebp + 0x38]
call fcn.00403de3
push ebx
push esi
lea ecx, [ebp + 0x1c]
call fcn.00403de3
push ebx
push esi
lea ecx, [ebp + 0x308]
call fcn.00403de3
mov al, byte [ebp - 0xd]
jmp 0x42b3c5
push ebx
push edi
lea ecx, [ebp + 0x38]
call fcn.00403de3
push ebx
push edi
lea ecx, [ebp + 0x1c]
call fcn.00403de3
push ebx
push edi
lea ecx, [ebp + 0x308]
call fcn.00403de3
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.004d57db
add ebp, 0x300
leave
ret