Function at 0x42c2b0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47990c
mov eax, dword fs:[0]
push eax
sub esp, 0x86c
mov eax, dword [0x4a6024]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x85c], 0x490914
mov dword [ebp - 0x858], 0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x85c]
mov eax, dword [ebp - 0x85c]
call dword [eax + 4]
lea eax, [ebp - 0x858]
push eax
push 0x20119
push 0
push str.SoftwareMicrosoftWindows_NTCurrentVersion
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x42c63b
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [ebp - 0x860], eax
mov dword [ebp - 0x864], eax
lea eax, [ebp - 0x868]
push eax
lea eax, [ebp - 0x860]
mov dword [ebp - 0x868], 4
push eax
push 0
push 0
push str.CurrentMajorVersionNumber
push dword [ebp - 0x858]
call esi
lea eax, [ebp - 0x868]
push eax
lea eax, [ebp - 0x864]
push eax
push 0
push 0
push str.CurrentMinorVersionNumber
push dword [ebp - 0x858]
call esi
cmp dword [ebp - 0x860], 0
jne 0x42c3eb
lea eax, [ebp - 0x854]
mov dword [ebp - 0x854], 0x20
push eax
lea eax, [ebp - 0x30]
push eax
push 0
push 0
push str.CurrentVersion
push dword [ebp - 0x858]
call esi
mov dx, word [ebp - 0x30]
lea eax, [ebp - 0x30]
xor ecx, ecx
test dx, dx
je 0x42c3eb
lea eax, [eax + 2]
inc ecx
cmp word [eax], 0
jne 0x42c3c3
cmp ecx, 3
jne 0x42c3eb
movzx eax, dx
sub eax, 0x30
mov dword [ebp - 0x860], eax
movzx eax, word [ebp - 0x2c]
sub eax, 0x30
mov dword [ebp - 0x864], eax
mov eax, dword [ebp - 0x860]
mov dword [0x4a8ad8], eax
mov eax, dword [ebp - 0x864]
mov dword [0x4a8adc], eax
lea eax, [ebp - 0x86c]
push eax
lea eax, [ebp - 0x648]
mov dword [ebp - 0x86c], 0x208
push eax
push 0
push 0
push str.CurrentBuildNumber
push dword [ebp - 0x858]
call esi
test eax, eax
jne 0x42c454
push ecx
lea edx, [ebp - 0x854]
mov dword [ebp - 0x854], 0xffffffff
lea ecx, [ebp - 0x648]
call fcn.00405d90
add esp, 4
mov dword [0x4a8ae0], eax
jmp 0x42c459
mov eax, dword [0x4a8ae0]
cmp dword [0x4a8ad8], 0xa
jne 0x42c4cc
cmp eax, 0x55f0
jb 0x42c4cc
lea eax, [ebp - 0x854]
mov dword [ebp - 0x854], 0x208
push eax
lea eax, [ebp - 0x440]
push eax
push 0
push 0
push str.BuildBranch
push dword [ebp - 0x858]
call esi
lea eax, [ebp - 0x440]
push str.co_release
push eax
call fcn.00457b8e
add esp, 8
test eax, eax
je 0x42c4c2
lea eax, [ebp - 0x440]
push str.rs_prerelease
push eax
call fcn.00457b8e
add esp, 8
test eax, eax
jne 0x42c4cc
mov dword [0x4a8ad8], 0xb
lea eax, [ebp - 0x870]
mov dword [ebp - 0x870], 0x208
push eax
lea eax, [ebp - 0x850]
push eax
push 0
push 0
push str.ReleaseId
push dword [ebp - 0x858]
call esi
test eax, eax
jne 0x42c51d
push ecx
lea edx, [ebp - 0x854]
mov dword [ebp - 0x854], 0xffffffff
lea ecx, [ebp - 0x850]
call fcn.00405d90
add esp, 4
mov dword [0x4a8bf0], eax
lea eax, [ebp - 0x874]
mov dword [ebp - 0x874], 0x208
push eax
lea eax, [ebp - 0x238]
push eax
push 0
push 0
push str.CSDVersion
push dword [ebp - 0x858]
call esi
test eax, eax
jne 0x42c59f
mov si, word [ebp - 0x238]
mov eax, 0x4a8ae8
test si, si
je 0x42c575
lea edx, [ebp - 0x238]
movzx ecx, si
sub edx, eax
mov word [eax], cx
add eax, 2
movzx ecx, word [edx + eax]
test cx, cx
jne 0x42c566
xor ecx, ecx
mov word [eax], cx
lea eax, [ebp - 0x238]
test si, si
je 0x42c58f
lea eax, [eax + 2]
inc ecx
cmp word [eax], 0
jne 0x42c585
movzx eax, word [ebp + ecx*2 - 0x23a]
sub eax, 0x30
mov dword [0x4a8ae4], eax
mov eax, dword fs:[0x2c]
mov ecx, dword [eax]
mov eax, dword [0x4a8a8c]
cmp eax, dword [ecx + 4]
jle 0x42c5fb
push 0x4a8a8c
call fcn.00452c11
add esp, 4
cmp dword [0x4a8a8c], 0xffffffff
jne 0x42c5fb
mov byte [ebp - 4], 1
push str.IsWow64Process
push str.kernel32
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x4a8a90], eax
mov byte [ebp - 4], 0
push 0x4a8a8c
call fcn.00452bc7
add esp, 4
mov esi, dword [0x4a8a90]
test esi, esi
je 0x42c62f
lea eax, [ebp - 0x854]
mov dword [ebp - 0x854], 0
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call esi
test eax, eax
je 0x42c62f
cmp dword [ebp - 0x854], 1
sete al
jmp 0x42c631
xor al, al
mov byte [0x4a8bed], al
call fcn.0042c690
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x858]
mov dword [ebp - 0x85c], 0x490914
test eax, eax
je 0x42c667
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x858], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00452869
mov esp, ebp
pop ebp
ret