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

Disassembly:
push ebp
sub esp, 0x2e0
lea ebp, [esp - 4]
mov eax, dword [0x487ba4]
xor eax, ebp
mov dword [ebp + 0x2e0], eax
push 0x50
mov eax, 0x46be56
call fcn.00451557
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.0041cc81
push eax
lea eax, [ebp + 0x2ec]
push eax
xor ebx, ebx
lea esi, [ebp + 0x1c]
call fcn.00403b00
push 1
lea eax, [ebp - 0x14]
push eax
mov byte [ebp - 4], 1
lea eax, [ebp + 0x2ec]
mov dword [ebp - 0x14], edi
call fcn.0041cc81
lea ebx, [eax + 1]
push 0xffffffffffffffff
lea eax, [ebp + 0x2ec]
push eax
lea esi, [ebp + 0x38]
call fcn.00403b00
push 1
lea eax, [ebp - 0x14]
push eax
mov byte [ebp - 4], 2
lea eax, [ebp + 0x2ec]
mov dword [ebp - 0x14], edi
call fcn.0041cc81
push eax
mov eax, esi
push eax
xor ebx, ebx
lea esi, [ebp + 0x54]
call fcn.00403b00
push 0xffffffffffffffff
lea ecx, [ebp + 0x38]
push ecx
mov byte [ebp - 4], 3
call fcn.00401dec
push ebx
push 1
mov byte [ebp - 4], 2
call fcn.00401e74
cmp dword [ebp + 0x34], 8
mov eax, dword [ebp + 0x20]
jae 0x41e610
lea eax, [ebp + 0x20]
push eax
call fcn.0044c78b
cmp dword [ebp + 0x50], 8
mov esi, eax
mov eax, dword [ebp + 0x3c]
pop ecx
mov dword [ebp - 0x28], esi
jae 0x41e628
lea eax, [ebp + 0x3c]
push eax
call fcn.0044c78b
add esi, 0xfffffffe
pop ecx
mov dword [ebp - 0x38], eax
cmp esi, 2
ja 0x41ea8a
push str.SoftwareMicrosoftNET_Framework_SetupNDP
lea esi, [ebp]
call fcn.004070da
mov byte [ebp - 4], 4
cmp dword [ebp + 0x18], 8
mov eax, dword [ebp + 4]
jae 0x41e65b
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 0x41ea57
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 0x41ea57
mov dword [ebp - 0x14], 0x100
mov dword [ebp - 0x20], ebx
cmp dword [ebp - 0x30], ebx
jbe 0x41ea57
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 0x41e9fd
lea eax, [ebp + 0xe0]
push eax
lea esi, [ebp + 0x54]
call fcn.004070da
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.0041cc81
dec eax
push eax
mov eax, esi
push eax
lea esi, [ebp + 0x8c]
call fcn.00403b00
push 0x47aaa8
mov eax, esi
mov byte [ebp - 4], 6
call fcn.00404518
pop ecx
test al, al
jne 0x41e747
push 0x47be40
mov eax, esi
call fcn.00404518
pop ecx
test al, al
jne 0x41e747
push 0x47be44
mov eax, esi
call fcn.00404518
pop ecx
test al, al
je 0x41e9dc
push 0x479d68
lea eax, [ebp]
push eax
lea eax, [ebp + 0xa8]
push eax
call fcn.00404545
lea ecx, [ebp + 0x54]
push ecx
push eax
lea eax, [ebp + 0x70]
push eax
mov byte [ebp - 4], 7
call fcn.00411c28
add esp, 0x18
xor ebx, ebx
push ebx
push 1
lea esi, [ebp + 0xa8]
mov byte [ebp - 4], 9
call fcn.00401e74
push 0x47be44
lea eax, [ebp + 0x8c]
call fcn.00404518
pop ecx
test al, al
je 0x41e7cf
push 0x47be48
lea eax, [ebp + 0x70]
push eax
lea eax, [ebp + 0xc4]
push eax
call fcn.00404545
add esp, 0xc
push 0xffffffffffffffff
lea ecx, [ebp + 0x70]
push ecx
mov byte [ebp - 4], 0xa
call fcn.00401dec
push ebx
push 1
lea esi, [ebp + 0xc4]
call fcn.00401e74
cmp dword [ebp + 0x88], 8
mov eax, dword [ebp + 0x74]
jae 0x41e7de
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 0x41e9cf
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 0x41e9cf
cmp dword [ebp - 0x18], 4
je 0x41e83e
cmp dword [ebp - 0x18], 5
jne 0x41e9cf
cmp dword [ebp - 0x24], 1
jne 0x41e9cf
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 0x41e9c1
mov eax, dword [ebp - 0x1c]
lea esi, [ebp + 0xc4]
cmp eax, dword [ebp + 0xd8]
ja 0x41e8a6
push 0xffffffffffffffff
mov edi, eax
call fcn.00401edf
push 0x2e
pop edi
jmp 0x41e8b6
push ebx
mov ebx, eax
sub ebx, dword [ebp + 0xd8]
call fcn.00403f27
xor ebx, ebx
cmp dword [ebp + 0xdc], 8
mov eax, dword [ebp + 0xc8]
jae 0x41e8cb
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 0x41e9c1
push 1
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp + 0xc4]
mov dword [ebp - 0x34], edi
call fcn.0041cc81
lea ebx, [eax + 1]
push 0xffffffffffffffff
lea eax, [ebp + 0xc4]
push eax
lea esi, [ebp + 0xa8]
call fcn.00403b00
push 1
lea eax, [ebp - 0x34]
push eax
mov byte [ebp - 4], 0xc
mov eax, esi
mov dword [ebp - 0x34], edi
call fcn.0041cc81
push eax
mov eax, esi
push eax
xor ebx, ebx
lea esi, [ebp - 0x5c]
call fcn.00403b00
push 0xffffffffffffffff
lea ecx, [ebp + 0xa8]
push ecx
mov byte [ebp - 4], 0xd
call fcn.00401dec
push ebx
inc ebx
push ebx
mov byte [ebp - 4], 0xc
call fcn.00401e74
cmp dword [ebp + 0xa4], 8
mov eax, dword [ebp + 0x90]
jae 0x41e96b
lea eax, [ebp + 0x90]
push eax
call fcn.0044c78b
cmp dword [ebp + 0xc0], 8
mov esi, eax
mov eax, dword [ebp + 0xac]
pop ecx
jae 0x41e989
lea eax, [ebp + 0xac]
push eax
call fcn.0044c78b
cmp esi, 4
pop ecx
jge 0x41e9a4
cmp dword [ebp - 0x28], esi
jl 0x41ea15
jne 0x41e9a1
cmp dword [ebp - 0x38], eax
jle 0x41ea15
cmp esi, 4
jne 0x41e9b1
cmp dword [ebp - 0x28], 4
jne 0x41e9b1
cmp dword [ebp - 0x38], eax
jle 0x41ea15
push 0
push ebx
lea esi, [ebp + 0xa8]
call fcn.00401e74
xor ebx, ebx
push ebx
push 1
lea esi, [ebp + 0xc4]
call fcn.00401e74
push ebx
push 1
lea esi, [ebp + 0x70]
call fcn.00401e74
jmp 0x41e9de
xor ebx, ebx
push ebx
push 1
lea esi, [ebp + 0x8c]
call fcn.00401e74
push ebx
push 1
lea esi, [ebp + 0x54]
mov byte [ebp - 4], 4
call fcn.00401e74
xor ebx, ebx
inc dword [ebp - 0x20]
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x14], 0x100
cmp eax, dword [ebp - 0x30]
jb 0x41e6b4
jmp 0x41ea57
xor edi, edi
push edi
push ebx
lea esi, [ebp + 0xa8]
mov byte [ebp - 0xd], bl
call fcn.00401e74
push edi
push ebx
lea esi, [ebp + 0xc4]
call fcn.00401e74
push edi
push ebx
lea esi, [ebp + 0x70]
call fcn.00401e74
push edi
push ebx
lea esi, [ebp + 0x8c]
call fcn.00401e74
push edi
push ebx
lea esi, [ebp + 0x54]
call fcn.00401e74
xor ebx, ebx
xor edi, edi
push ebx
inc edi
push edi
lea esi, [ebp]
call fcn.00401e74
push ebx
push edi
lea esi, [ebp + 0x38]
call fcn.00401e74
push ebx
push edi
lea esi, [ebp + 0x1c]
call fcn.00401e74
push ebx
push edi
lea esi, [ebp + 0x2ec]
call fcn.00401e74
mov al, byte [ebp - 0xd]
jmp 0x41eab0
push ebx
push 1
lea esi, [ebp + 0x38]
call fcn.00401e74
push ebx
push 1
lea esi, [ebp + 0x1c]
call fcn.00401e74
push ebx
push 1
lea esi, [ebp + 0x2ec]
call fcn.00401e74
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.0044c18b
add ebp, 0x2e4
leave
ret