Function at 0x490ca0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d364b
mov eax, dword fs:[0]
push eax
sub esp, 0xc4
mov eax, dword [0x5091d4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x40]
mov dword [ebp - 0xd0], eax
mov dword [ebp - 0xcc], 0
mov dword [ebp - 0xc8], eax
xor eax, eax
push 0xe
mov dword [ebp - 0x40], 0
push str.DisplayVersion
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
call fcn.00414210
push 9
xor eax, eax
mov dword [ebp - 0x28], 0
push str.ReleaseId
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 1
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
call fcn.00414210
mov dword [ebp - 4], 2
lea esi, [ebp - 0x40]
mov edx, 0x7ffffffe
cmp dword [esi + 0x14], 8
mov ecx, esi
mov eax, dword [esi + 0x10]
mov dword [ebp - 0x70], 0
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0xc4], eax
mov dword [ebp - 0xc0], esi
jb 0x490d84
mov ecx, dword [esi]
mov dword [ebp - 0xc0], ecx
cmp eax, 8
jae 0x490d97
movups xmm0, xmmword [ecx]
mov edi, 7
movups xmmword [ebp - 0x70], xmm0
jmp 0x490dd9
mov edi, eax
lea ecx, [ebp - 0x70]
or edi, 7
cmp edi, 0x7ffffffe
cmova edi, edx
lea eax, [edi + 1]
push eax
call fcn.004141b0
mov ecx, eax
mov eax, dword [ebp - 0xc4]
mov dword [ebp - 0x70], ecx
lea eax, [eax*2 + 2]
push eax
push dword [ebp - 0xc0]
push ecx
call fcn.004a11f0
mov eax, dword [ebp - 0xc4]
add esp, 0xc
mov dword [ebp - 0x5c], edi
mov dword [ebp - 0x60], eax
lea ecx, [ebp - 0xbc]
cmp edi, 8
mov edi, dword [sym.imp.ADVAPI32.dll_RegGetValueW]
lea eax, [ebp - 0x70]
cmovae eax, dword [ebp - 0x70]
push ecx
push 0
push 0
push 2
push eax
push str.SOFTWAREMicrosoftWindows_NTCurrentVersion
push 0x80000002
call edi
test eax, eax
jne 0x490ed0
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x44], 7
mov word [ebp - 0x58], ax
mov eax, dword [ebp - 0xbc]
mov byte [ebp - 4], 4
test eax, eax
jne 0x490e3c
xor ecx, ecx
mov dword [ebp - 0x48], eax
mov word [ebp + eax*2 - 0x58], cx
jmp 0x490e47
push 0
push eax
lea ecx, [ebp - 0x58]
call fcn.0041a110
cmp dword [ebp - 0x44], 8
lea edx, [ebp - 0xbc]
push edx
lea ecx, [ebp - 0x58]
cmovae ecx, dword [ebp - 0x58]
lea eax, [ebp - 0x70]
cmp dword [ebp - 0x5c], 8
push ecx
cmovae eax, dword [ebp - 0x70]
push 0
push 2
push eax
push str.SOFTWAREMicrosoftWindows_NTCurrentVersion
push 0x80000002
call edi
test eax, eax
je 0x490f26
mov edx, dword [ebp - 0x44]
mov byte [ebp - 4], 3
cmp edx, 8
jb 0x490ebc
mov ecx, dword [ebp - 0x58]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x490eb2
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4910b5
push edx
push ecx
call fcn.0049f81a
add esp, 8
xor eax, eax
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 7
mov word [ebp - 0x58], ax
mov edx, dword [ebp - 0x5c]
mov byte [ebp - 4], 2
cmp edx, 8
jb 0x490f0e
mov ecx, dword [ebp - 0x70]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x490f04
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4910b5
push edx
push ecx
call fcn.0049f81a
add esp, 8
add esi, 0x18
lea eax, [ebp - 0x10]
mov edx, 0x7ffffffe
cmp esi, eax
je 0x49104a
jmp 0x490d50
mov ecx, dword [ebp - 0xbc]
mov eax, dword [ebp - 0x48]
dec ecx
cmp ecx, eax
ja 0x490f4a
cmp dword [ebp - 0x44], 8
lea eax, [ebp - 0x58]
mov dword [ebp - 0x48], ecx
cmovae eax, dword [ebp - 0x58]
xor edx, edx
mov word [eax + ecx*2], dx
jmp 0x490f57
sub ecx, eax
push 0
push ecx
lea ecx, [ebp - 0x58]
call fcn.0041a110
mov esi, dword [ebp - 0xc8]
lea eax, [ebp - 0x58]
push eax
push esi
call fcn.0048bc80
add esp, 8
mov edx, dword [ebp - 0x44]
mov dword [ebp - 0xcc], 1
mov byte [ebp - 4], 3
cmp edx, 8
jb 0x490fb2
mov ecx, dword [ebp - 0x58]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x490fa8
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4910b5
push edx
push ecx
call fcn.0049f81a
add esp, 8
mov edx, dword [ebp - 0x5c]
xor eax, eax
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 7
mov word [ebp - 0x58], ax
mov byte [ebp - 4], 2
cmp edx, 8
jb 0x491004
mov ecx, dword [ebp - 0x70]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x490ffa
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4910b5
push edx
push ecx
call fcn.0049f81a
add esp, 8
push fcn.00413f30
xor eax, eax
mov dword [ebp - 0x60], 0
push 2
mov word [ebp - 0x70], ax
mov byte [ebp - 4], al
lea eax, [ebp - 0x40]
push 0x18
push eax
mov dword [ebp - 0x5c], 7
call fcn.0049f867
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0049f836
mov esp, ebp
pop ebp
ret
push str.SOFTWAREMicrosoftWindows_NTCurrentVersion
lea ecx, [ebp - 0x70]
call fcn.004900b0
lea eax, [ebp - 0x70]
mov byte [ebp - 4], 5
push eax
lea eax, [ebp - 0x88]
push eax
call fcn.0048bc80
push eax
lea eax, [ebp - 0xa0]
mov byte [ebp - 4], 6
push str.Could_not_read_the_registory_value_at__HKEY_LOCAL_MACHINE
push eax
call fcn.00471590
push 0x4dd248
push eax
lea eax, [ebp - 0xb8]
mov byte [ebp - 4], 7
push eax
call fcn.004020f0
add esp, 0x20
push eax
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 8
call fcn.00402b30
push 0x4f9f28
lea eax, [ebp - 0x4c]
push eax
call fcn.004a0dc4
call fcn.004a48ef
int3