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

Disassembly:
push ebp
sub esp, 0x2e0
lea ebp, [esp - 4]
mov eax, dword [0x486ba4]
xor eax, ebp
mov dword [ebp + 0x2e0], eax
push 0x50
mov eax, 0x46b739
call fcn.00450ec5
and dword [ebp - 4], 0
push 0x2e
pop edi
push 1
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp + 0x2ec]
mov byte [ebp - 0xd], 0
mov dword [ebp - 0x14], edi
call fcn.0041ca25
push eax
lea eax, [ebp + 0x2ec]
push eax
xor ebx, ebx
lea esi, [ebp + 0x1c]
call fcn.00403b0a
push 1
lea eax, [ebp - 0x14]
push eax
mov byte [ebp - 4], 1
lea eax, [ebp + 0x2ec]
mov dword [ebp - 0x14], edi
call fcn.0041ca25
lea ebx, [eax + 1]
push 0xffffffffffffffff
lea eax, [ebp + 0x2ec]
push eax
lea esi, [ebp + 0x38]
call fcn.00403b0a
push 1
lea eax, [ebp - 0x14]
push eax
mov byte [ebp - 4], 2
lea eax, [ebp + 0x2ec]
mov dword [ebp - 0x14], edi
call fcn.0041ca25
push eax
mov eax, esi
push eax
xor ebx, ebx
lea esi, [ebp + 0x54]
call fcn.00403b0a
push 0xffffffffffffffff
lea ecx, [ebp + 0x38]
push ecx
mov byte [ebp - 4], 3
call fcn.00401df6
push ebx
push 1
mov byte [ebp - 4], 2
call fcn.00401e7e
cmp dword [ebp + 0x34], 8
mov eax, dword [ebp + 0x20]
jae 0x41e334
lea eax, [ebp + 0x20]
push eax
call fcn.0044c0fb
cmp dword [ebp + 0x50], 8
mov esi, eax
mov eax, dword [ebp + 0x3c]
pop ecx
mov dword [ebp - 0x28], esi
jae 0x41e34c
lea eax, [ebp + 0x3c]
push eax
call fcn.0044c0fb
add esi, 0xfffffffe
pop ecx
mov dword [ebp - 0x38], eax
cmp esi, 2
ja 0x41e7ae
push str.SoftwareMicrosoftNET_Framework_SetupNDP
lea esi, [ebp]
call fcn.004070e1
mov byte [ebp - 4], 4
cmp dword [ebp + 0x18], 8
mov eax, dword [ebp + 4]
jae 0x41e37f
lea eax, [ebp + 4]
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 0x41e77b
push ebx
push ebx
push ebx
push ebx
lea eax, [ebp - 0x40]
push eax
push ebx
push ebx
lea eax, [ebp - 0x30]
push eax
push ebx
push ebx
push ebx
push dword [ebp - 0x3c]
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x40], ebx
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
test eax, eax
jne 0x41e77b
mov dword [ebp - 0x14], 0x100
mov dword [ebp - 0x20], ebx
cmp dword [ebp - 0x30], ebx
jbe 0x41e77b
push ebx
push ebx
push ebx
push ebx
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp + 0xe0]
push eax
push dword [ebp - 0x20]
push dword [ebp - 0x3c]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x41e721
lea eax, [ebp + 0xe0]
push eax
lea esi, [ebp + 0x54]
call fcn.004070e1
xor ebx, ebx
inc ebx
push ebx
lea eax, [ebp - 0x24]
push eax
mov byte [ebp - 4], 5
mov eax, esi
mov dword [ebp - 0x24], edi
call fcn.0041ca25
dec eax
push eax
mov eax, esi
push eax
lea esi, [ebp + 0x8c]
call fcn.00403b0a
push 0x479aa8
mov eax, esi
mov byte [ebp - 4], 6
call fcn.00404522
pop ecx
test al, al
jne 0x41e46b
push 0x47ae08
mov eax, esi
call fcn.00404522
pop ecx
test al, al
jne 0x41e46b
push 0x47ae0c
mov eax, esi
call fcn.00404522
pop ecx
test al, al
je 0x41e700
push 0x478d68
lea eax, [ebp]
push eax
lea eax, [ebp + 0xa8]
push eax
call fcn.0040454f
lea ecx, [ebp + 0x54]
push ecx
push eax
lea eax, [ebp + 0x70]
push eax
mov byte [ebp - 4], 7
call fcn.00411c5b
add esp, 0x18
xor ebx, ebx
push ebx
push 1
lea esi, [ebp + 0xa8]
mov byte [ebp - 4], 9
call fcn.00401e7e
push 0x47ae0c
lea eax, [ebp + 0x8c]
call fcn.00404522
pop ecx
test al, al
je 0x41e4f3
push 0x47ae10
lea eax, [ebp + 0x70]
push eax
lea eax, [ebp + 0xc4]
push eax
call fcn.0040454f
add esp, 0xc
push 0xffffffffffffffff
lea ecx, [ebp + 0x70]
push ecx
mov byte [ebp - 4], 0xa
call fcn.00401df6
push ebx
push 1
lea esi, [ebp + 0xc4]
call fcn.00401e7e
cmp dword [ebp + 0x88], 8
mov eax, dword [ebp + 0x74]
jae 0x41e502
lea eax, [ebp + 0x74]
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 0x41e6f3
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
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], 4
call esi
test eax, eax
jne 0x41e6f3
cmp dword [ebp - 0x18], 4
je 0x41e562
cmp dword [ebp - 0x18], 5
jne 0x41e6f3
cmp dword [ebp - 0x24], 1
jne 0x41e6f3
xor eax, eax
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp + 0xdc], 7
mov dword [ebp + 0xd8], ebx
mov word [ebp + 0xc8], ax
lea eax, [ebp - 0x1c]
push eax
push ebx
lea eax, [ebp - 0x18]
push eax
push ebx
push str.Version
mov byte [ebp - 4], 0xb
push dword [ebp - 0x2c]
call esi
test eax, eax
jne 0x41e6e5
mov eax, dword [ebp - 0x1c]
lea esi, [ebp + 0xc4]
cmp eax, dword [ebp + 0xd8]
ja 0x41e5ca
push 0xffffffffffffffff
mov edi, eax
call fcn.00401ee9
push 0x2e
pop edi
jmp 0x41e5da
push ebx
mov ebx, eax
sub ebx, dword [ebp + 0xd8]
call fcn.00403f31
xor ebx, ebx
cmp dword [ebp + 0xdc], 8
mov eax, dword [ebp + 0xc8]
jae 0x41e5ef
lea eax, [ebp + 0xc8]
lea ecx, [ebp - 0x1c]
push ecx
push eax
lea eax, [ebp - 0x18]
push eax
push ebx
push str.Version
push dword [ebp - 0x2c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x41e6e5
push 1
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp + 0xc4]
mov dword [ebp - 0x34], edi
call fcn.0041ca25
lea ebx, [eax + 1]
push 0xffffffffffffffff
lea eax, [ebp + 0xc4]
push eax
lea esi, [ebp + 0xa8]
call fcn.00403b0a
push 1
lea eax, [ebp - 0x34]
push eax
mov byte [ebp - 4], 0xc
mov eax, esi
mov dword [ebp - 0x34], edi
call fcn.0041ca25
push eax
mov eax, esi
push eax
xor ebx, ebx
lea esi, [ebp - 0x5c]
call fcn.00403b0a
push 0xffffffffffffffff
lea ecx, [ebp + 0xa8]
push ecx
mov byte [ebp - 4], 0xd
call fcn.00401df6
push ebx
inc ebx
push ebx
mov byte [ebp - 4], 0xc
call fcn.00401e7e
cmp dword [ebp + 0xa4], 8
mov eax, dword [ebp + 0x90]
jae 0x41e68f
lea eax, [ebp + 0x90]
push eax
call fcn.0044c0fb
cmp dword [ebp + 0xc0], 8
mov esi, eax
mov eax, dword [ebp + 0xac]
pop ecx
jae 0x41e6ad
lea eax, [ebp + 0xac]
push eax
call fcn.0044c0fb
cmp esi, 4
pop ecx
jge 0x41e6c8
cmp dword [ebp - 0x28], esi
jl 0x41e739
jne 0x41e6c5
cmp dword [ebp - 0x38], eax
jle 0x41e739
cmp esi, 4
jne 0x41e6d5
cmp dword [ebp - 0x28], 4
jne 0x41e6d5
cmp dword [ebp - 0x38], eax
jle 0x41e739
push 0
push ebx
lea esi, [ebp + 0xa8]
call fcn.00401e7e
xor ebx, ebx
push ebx
push 1
lea esi, [ebp + 0xc4]
call fcn.00401e7e
push ebx
push 1
lea esi, [ebp + 0x70]
call fcn.00401e7e
jmp 0x41e702
xor ebx, ebx
push ebx
push 1
lea esi, [ebp + 0x8c]
call fcn.00401e7e
push ebx
push 1
lea esi, [ebp + 0x54]
mov byte [ebp - 4], 4
call fcn.00401e7e
xor ebx, ebx
inc dword [ebp - 0x20]
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x14], 0x100
cmp eax, dword [ebp - 0x30]
jb 0x41e3d8
jmp 0x41e77b
xor edi, edi
push edi
push ebx
lea esi, [ebp + 0xa8]
mov byte [ebp - 0xd], bl
call fcn.00401e7e
push edi
push ebx
lea esi, [ebp + 0xc4]
call fcn.00401e7e
push edi
push ebx
lea esi, [ebp + 0x70]
call fcn.00401e7e
push edi
push ebx
lea esi, [ebp + 0x8c]
call fcn.00401e7e
push edi
push ebx
lea esi, [ebp + 0x54]
call fcn.00401e7e
xor ebx, ebx
xor edi, edi
push ebx
inc edi
push edi
lea esi, [ebp]
call fcn.00401e7e
push ebx
push edi
lea esi, [ebp + 0x38]
call fcn.00401e7e
push ebx
push edi
lea esi, [ebp + 0x1c]
call fcn.00401e7e
push ebx
push edi
lea esi, [ebp + 0x2ec]
call fcn.00401e7e
mov al, byte [ebp - 0xd]
jmp 0x41e7d4
push ebx
push 1
lea esi, [ebp + 0x38]
call fcn.00401e7e
push ebx
push 1
lea esi, [ebp + 0x1c]
call fcn.00401e7e
push ebx
push 1
lea esi, [ebp + 0x2ec]
call fcn.00401e7e
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 + 0x2e0]
xor ecx, ebp
call fcn.0044bafb
add ebp, 0x2e4
leave
ret