Function at 0x42eb9e
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, 0x448984
call fcn.004312c8
sub esp, 0x60
mov eax, dword [str.MajorVer]
push ebx
push esi
push edi
xor ebx, ebx
mov edi, 0x4494c4
mov esi, 0x4494bc
cmp eax, ebx
mov dword [ebp - 0x6c], edi
mov dword [ebp - 0x4c], esi
jne 0x42ebce
mov eax, 0x45d464
lea ecx, [ebp - 0xd]
push ebx
push ecx
push eax
lea ecx, [ebp - 0x6c]
call fcn.0040856d
mov eax, dword [ebp + 8]
mov dword [ebp - 4], ebx
cmp eax, ebx
mov dword [ebp - 0x44], edi
mov dword [ebp - 0x24], esi
jne 0x42ebf1
mov eax, 0x45d464
lea ecx, [ebp - 0xe]
push ebx
push ecx
push eax
lea ecx, [ebp - 0x44]
call fcn.0040856d
mov ecx, dword [ebp + 0xc]
push 0xa
lea eax, [ebp - 0x6c]
push ebx
push eax
lea eax, [ebp - 0x44]
push eax
mov byte [ebp - 4], 1
call fcn.00428018
lea ecx, [ebp - 0x44]
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], bl
call fcn.00401929
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x6c]
call fcn.00401929
cmp dword [ebp - 0x14], 4
jne 0x42ed00
mov ecx, dword [ebp + 0xc]
lea eax, [ebp - 0x6c]
push 4
push eax
call fcn.00407b55
mov eax, dword [eax + 8]
mov dword [ebp - 4], 2
cmp eax, ebx
jne 0x42ec5b
mov eax, 0x44952c
push str.1.20.1827.0
push eax
call fcn.0042d601
pop ecx
pop ecx
test eax, eax
setge byte [ebp - 0xd]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x6c]
call fcn.00401cce
cmp byte [ebp - 0xd], bl
je 0x42ec89
mov esi, 0x300
jmp 0x42ed7e
mov eax, dword [str.ServicePack]
mov dword [ebp - 0x44], edi
cmp eax, ebx
mov dword [ebp - 0x24], esi
jne 0x42ec9d
mov eax, 0x45d464
lea ecx, [ebp - 0xe]
push ebx
push ecx
push eax
lea ecx, [ebp - 0x44]
call fcn.0040856d
mov eax, dword [ebp + 8]
mov dword [ebp - 4], 3
cmp eax, ebx
mov dword [ebp - 0x6c], edi
mov dword [ebp - 0x4c], esi
jne 0x42ecc4
mov eax, 0x45d464
lea ecx, [ebp - 0xd]
push ebx
push ecx
push eax
lea ecx, [ebp - 0x6c]
call fcn.0040856d
mov ecx, dword [ebp + 0xc]
push 0xa
lea eax, [ebp - 0x44]
push ebx
push eax
lea eax, [ebp - 0x6c]
push eax
mov byte [ebp - 4], 4
call fcn.00428018
lea ecx, [ebp - 0x6c]
mov esi, eax
mov byte [ebp - 4], 3
call fcn.00401929
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x44]
jmp 0x42ed75
mov eax, dword [str.ServicePack]
mov dword [ebp - 0x44], edi
cmp eax, ebx
mov dword [ebp - 0x24], esi
jne 0x42ed14
mov eax, 0x45d464
lea ecx, [ebp - 0xe]
push ebx
push ecx
push eax
lea ecx, [ebp - 0x44]
call fcn.0040856d
mov eax, dword [ebp + 8]
mov dword [ebp - 4], 5
cmp eax, ebx
mov dword [ebp - 0x6c], edi
mov dword [ebp - 0x4c], esi
jne 0x42ed3b
mov eax, 0x45d464
lea ecx, [ebp - 0xd]
push ebx
push ecx
push eax
lea ecx, [ebp - 0x6c]
call fcn.0040856d
mov ecx, dword [ebp + 0xc]
push 0xa
lea eax, [ebp - 0x44]
push ebx
push eax
lea eax, [ebp - 0x6c]
push eax
mov byte [ebp - 4], 6
call fcn.00428018
lea ecx, [ebp - 0x6c]
mov esi, eax
mov byte [ebp - 4], 5
call fcn.00401929
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x44]
call fcn.00401929
cmp esi, ebx
je 0x42edf0
mov dword [ebp + 0xc], ebx
push 0x20019
push str.SystemCurrentControlSetControlWindows
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [ebp + 0xc]
mov dword [ebp - 4], 7
call fcn.00411218
test eax, eax
jne 0x42ede2
lea eax, [ebp - 0x18]
mov dword [ebp + 8], ebx
push eax
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0x1c]
push eax
push ebx
push 0x459b40
mov dword [ebp - 0x1c], ebx
push dword [ebp + 0xc]
mov dword [ebp - 0x18], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp dword [ebp + 8], esi
jae 0x42ede2
cmp dword [ebp + 0xc], ebx
je 0x42edde
push dword [ebp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
jmp 0x42edf3
cmp dword [ebp + 0xc], ebx
je 0x42edf0
push dword [ebp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 1
pop eax
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret