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

Disassembly:
push 0xffffffffffffffff
push 0x531129
mov eax, dword fs:[0]
push eax
sub esp, 0x30c
mov eax, dword [0x58a700]
xor eax, esp
mov dword [esp + 0x308], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x58a700]
xor eax, esp
push eax
lea eax, [esp + 0x320]
mov dword fs:[0], eax
and dword [esp + 0x328], 0
lea eax, [esp + 0x18]
push 0x2e
pop ebp
push 1
push 0
push eax
lea ecx, [esp + 0x33c]
mov dword [esp + 0x24], ebp
xor bl, bl
call fcn.0045f4b0
push eax
xor esi, esi
lea eax, [esp + 0xf0]
push esi
push eax
lea ecx, [esp + 0x33c]
call fcn.0045f393
push 1
push esi
lea eax, [esp + 0x20]
mov byte [esp + 0x330], 1
push eax
lea ecx, [esp + 0x33c]
mov dword [esp + 0x24], ebp
call fcn.0045f4b0
push 0xffffffffffffffff
inc eax
lea ecx, [esp + 0x334]
push eax
lea eax, [esp + 0xc4]
push eax
call fcn.0045f393
mov byte [esp + 0x328], 2
lea eax, [esp + 0x18]
mov dword [esp + 0x18], ebp
lea ecx, [esp + 0x330]
xor ebp, ebp
inc ebp
push ebp
push esi
push eax
call fcn.0045f4b0
push eax
push esi
lea eax, [esp + 0x94]
push eax
lea ecx, [esp + 0xc8]
call fcn.0045f393
push eax
lea ecx, [esp + 0xc0]
call fcn.0045f370
push esi
push ebp
lea ecx, [esp + 0x94]
call fcn.00450f58
cmp dword [esp + 0x100], 8
lea eax, [esp + 0xec]
cmovae eax, dword [esp + 0xec]
push eax
call fcn.0050404f
cmp dword [esp + 0xd4], 8
lea ecx, [esp + 0xc0]
mov esi, eax
cmovae ecx, dword [esp + 0xc0]
push ecx
mov dword [esp + 0x40], esi
call fcn.0050404f
pop ecx
pop ecx
lea ecx, [esi - 2]
mov dword [esp + 0x2c], eax
cmp ecx, 2
ja 0x482857
push str.SoftwareMicrosoftNET_Framework_SetupNDP
lea ecx, [esp + 0xd8]
call fcn.00450c22
mov byte [esp + 0x328], 3
lea ecx, [esp + 0x3c]
cmp dword [esp + 0xe8], 8
lea eax, [esp + 0xd4]
push ecx
cmovae eax, dword [esp + 0xd8]
xor esi, esi
push 0x20019
push esi
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x482847
xor ecx, ecx
lea eax, [esp + 0x40]
push ecx
push ecx
push ecx
push ecx
push eax
push ecx
push ecx
lea eax, [esp + 0x4c]
mov dword [esp + 0x4c], ecx
push eax
push ecx
push ecx
push ecx
push dword [esp + 0x68]
mov dword [esp + 0x70], ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
test eax, eax
jne 0x482847
push 0x1fe
mov word [esp + 0x120], ax
lea eax, [esp + 0x122]
push esi
push eax
call fcn.00505190
add esp, 0xc
mov dword [esp + 0x18], 0x100
mov edi, esi
cmp dword [esp + 0x30], esi
jbe 0x482847
mov ebp, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push esi
push esi
push esi
push esi
lea eax, [esp + 0x28]
push eax
lea eax, [esp + 0x130]
push eax
push edi
push dword [esp + 0x58]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x482831
lea eax, [esp + 0x11c]
push eax
lea ecx, [esp + 0x90]
call fcn.00450c22
push 1
push esi
lea eax, [esp + 0x2c]
mov byte [esp + 0x330], 4
push eax
lea ecx, [esp + 0x98]
mov dword [esp + 0x30], 0x2e
call fcn.0045f4b0
dec eax
lea ecx, [esp + 0x8c]
push eax
push 1
lea eax, [esp + 0x7c]
push eax
call fcn.0045f393
mov edx, 0x5689e4
mov byte [esp + 0x328], 5
lea ecx, [esp + 0x74]
call fcn.00463db5
test al, al
jne 0x482538
mov edx, str.324
lea ecx, [esp + 0x74]
call fcn.00463db5
test al, al
jne 0x482538
mov edx, 0x5689ec
lea ecx, [esp + 0x74]
call fcn.00463db5
test al, al
je 0x48280e
push 0x5689e8
lea edx, [esp + 0xd8]
lea ecx, [esp + 0x60]
call fcn.0045288a
lea ecx, [esp + 0x90]
mov byte [esp + 0x32c], 6
push ecx
mov edx, eax
lea ecx, [esp + 0xac]
call fcn.00463d8d
pop ecx
pop ecx
push esi
push 1
lea ecx, [esp + 0x64]
mov byte [esp + 0x330], 8
call fcn.00450f58
mov edx, 0x5689fc
lea ecx, [esp + 0x74]
call fcn.00463db5
test al, al
je 0x4825c2
push 0x5689f0
lea edx, [esp + 0xa8]
lea ecx, [esp + 0x48]
call fcn.0045288a
pop ecx
push eax
lea ecx, [esp + 0xa8]
call fcn.0045f370
push esi
push 1
lea ecx, [esp + 0x4c]
call fcn.00450f58
cmp dword [esp + 0xb8], 8
lea ecx, [esp + 0x34]
push ecx
push 0x20019
lea eax, [esp + 0xac]
cmovae eax, dword [esp + 0xac]
push esi
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4827ff
lea eax, [esp + 0x20]
mov dword [esp + 0x20], 4
push eax
lea eax, [esp + 0x28]
xor ecx, ecx
push eax
lea eax, [esp + 0x24]
mov dword [esp + 0x24], ecx
push eax
push ecx
push str.Install
push dword [esp + 0x48]
mov dword [esp + 0x3c], ecx
call ebp
test eax, eax
jne 0x4827fd
cmp dword [esp + 0x1c], 4
je 0x48263f
cmp dword [esp + 0x1c], 5
jne 0x4827fd
cmp dword [esp + 0x24], 1
jne 0x4827fd
xor ecx, ecx
mov dword [esp + 0x58], 7
xor eax, eax
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], ecx
mov dword [esp + 0x54], ecx
mov word [esp + 0x44], ax
lea eax, [esp + 0x20]
mov byte [esp + 0x328], 9
push eax
push ecx
lea eax, [esp + 0x24]
push eax
push ecx
push 0x568a00
push dword [esp + 0x48]
call ebp
xor esi, esi
test eax, eax
jne 0x4827ef
push esi
push dword [esp + 0x24]
lea ecx, [esp + 0x4c]
call fcn.00484573
cmp dword [esp + 0x58], 8
lea ecx, [esp + 0x20]
push ecx
lea eax, [esp + 0x48]
cmovae eax, dword [esp + 0x48]
push eax
lea eax, [esp + 0x24]
push eax
push esi
push str.Version
push dword [esp + 0x48]
call ebp
test eax, eax
jne 0x4827ef
push 1
push esi
lea eax, [esp + 0x30]
mov dword [esp + 0x30], 0x2e
push eax
lea ecx, [esp + 0x50]
call fcn.0045f4b0
push 0xffffffffffffffff
inc eax
lea ecx, [esp + 0x48]
push eax
lea eax, [esp + 0x64]
push eax
call fcn.0045f393
push 1
push esi
lea eax, [esp + 0x30]
mov byte [esp + 0x330], 0xa
push eax
lea ecx, [esp + 0x68]
mov dword [esp + 0x34], 0x2e
call fcn.0045f4b0
push eax
push esi
lea eax, [esp + 0x10c]
push eax
lea ecx, [esp + 0x68]
call fcn.0045f393
push eax
lea ecx, [esp + 0x60]
call fcn.0045f370
push esi
push 1
lea ecx, [esp + 0x10c]
call fcn.00450f58
cmp dword [esp + 0x88], 8
lea eax, [esp + 0x74]
cmovae eax, dword [esp + 0x74]
push eax
call fcn.0050404f
cmp dword [esp + 0x74], 8
lea ecx, [esp + 0x60]
mov esi, eax
cmovae ecx, dword [esp + 0x60]
push ecx
call fcn.0050404f
pop ecx
pop ecx
mov ecx, dword [esp + 0x38]
cmp esi, 4
jge 0x4827d0
cmp ecx, esi
jl 0x482789
mov edx, dword [esp + 0x2c]
jne 0x4827d4
cmp edx, eax
jg 0x4827d4
xor esi, esi
lea ecx, [esp + 0x5c]
push esi
push 1
mov bl, 1
call fcn.00450f58
xor ebp, ebp
lea ecx, [esp + 0x44]
push esi
inc ebp
push ebp
call fcn.00450f58
push esi
push ebp
lea ecx, [esp + 0xac]
call fcn.00450f58
push esi
push ebp
lea ecx, [esp + 0x7c]
call fcn.00450f58
push esi
push ebp
lea ecx, [esp + 0x94]
call fcn.00450f58
jmp 0x482847
mov edx, dword [esp + 0x2c]
cmp esi, 4
jne 0x4827e1
cmp ecx, esi
jne 0x4827e1
cmp edx, eax
jle 0x482789
xor esi, esi
lea ecx, [esp + 0x5c]
push esi
push 1
call fcn.00450f58
push esi
push 1
lea ecx, [esp + 0x4c]
call fcn.00450f58
jmp 0x4827ff
xor esi, esi
push esi
push 1
lea ecx, [esp + 0xac]
call fcn.00450f58
push esi
push 1
lea ecx, [esp + 0x7c]
call fcn.00450f58
push esi
push 1
lea ecx, [esp + 0x94]
mov byte [esp + 0x330], 3
call fcn.00450f58
inc edi
mov dword [esp + 0x18], 0x100
cmp edi, dword [esp + 0x30]
jb 0x482485
xor ebp, ebp
inc ebp
push esi
push ebp
lea ecx, [esp + 0xdc]
call fcn.00450f58
jmp 0x482859
xor bl, bl
push 0
push ebp
lea ecx, [esp + 0xc4]
call fcn.00450f58
push 0
push ebp
lea ecx, [esp + 0xf4]
call fcn.00450f58
push 0
push ebp
lea ecx, [esp + 0x338]
call fcn.00450f58
mov al, bl
mov ecx, dword [esp + 0x320]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x308]
xor ecx, esp
call fcn.0050061e
add esp, 0x318
ret