Function at 0x490d00
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4d090f
push eax
mov dword fs:[0], esp
mov eax, dword [esp + 0x10]
sub esp, 0x324
push ebx
push ebp
push esi
push edi
xor edi, edi
cmp eax, edi
je 0x490ed4
call fcn.004753b0
test eax, 0x10000
je 0x491176
push 0x4e6c7c
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov esi, eax
cmp esi, edi
je 0x490ed4
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.LookupPrivilegeValueA
push esi
call edi
push str.OpenProcessToken
push esi
mov ebp, eax
call edi
push str.AdjustTokenPrivileges
push esi
mov dword [esp + 0x24], eax
call edi
push esi
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
test ebp, ebp
je 0x491291
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x491291
test ebx, ebx
je 0x491291
push 0x1c
call fcn.00468f41
mov esi, eax
add esp, 4
test esi, esi
je 0x490ed4
lea eax, [esi + 4]
mov edi, 2
push eax
push str.SeRestorePrivilege
push 0
mov dword [esi], edi
call ebp
test eax, eax
je 0x490ecb
lea ecx, [esi + 0x10]
push ecx
push str.SeBackupPrivilege
push 0
call ebp
test eax, eax
je 0x490ecb
lea edx, [esp + 0x18]
mov dword [esi + 0xc], edi
push edx
push 0x28
mov dword [esi + 0x18], edi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [esp + 0x28]
test eax, eax
je 0x490ecb
push 0x10
mov dword [esp + 0x18], 0x10
call fcn.00468f41
mov edi, eax
add esp, 4
test edi, edi
jne 0x490e22
mov eax, dword [esp + 0x18]
push eax
jmp 0x490ec5
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0x14]
push ecx
push edi
push edx
push esi
push 0
push eax
call ebx
mov ebp, dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x490ea1
push edi
call fcn.00468e58
add esp, 4
call ebp
cmp eax, 0x7a
jne 0x490e18
mov ecx, dword [esp + 0x14]
push ecx
call fcn.00468f41
mov edi, eax
add esp, 4
test edi, edi
je 0x490e18
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0x14]
push edx
push edi
push eax
push esi
push 0
push ecx
call ebx
test eax, eax
jne 0x490ea1
push edi
call fcn.00468e58
mov edx, dword [esp + 0x1c]
add esp, 4
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push esi
call fcn.00468e58
add esp, 4
xor eax, eax
jmp 0x491522
call ebp
test eax, eax
je 0x490edb
mov ecx, dword [esp + 0x18]
push 0
push 0
push 0
push edi
push 0
push ecx
call ebx
push edi
call fcn.00468e58
mov edx, dword [esp + 0x1c]
add esp, 4
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push esi
call fcn.00468e58
add esp, 4
xor eax, eax
jmp 0x491522
push esi
call fcn.00468e58
mov eax, dword [esp + 0x348]
add esp, 4
lea ecx, [esp + 0x230]
push str.config_software
push eax
push 0x4df9ac
push 0x104
push ecx
call fcn.00466ca7
mov eax, dword [str.74A3237B_FC26_4aae_8D88_E512D826E9F6]
add esp, 0x14
lea edx, [esp + 0x230]
mov byte [esp + 0x333], 0
push edx
push eax
push 0x80000003
call dword [sym.imp.ADVAPI32.dll_RegLoadKeyA]
test eax, eax
je 0x490f5b
mov ecx, dword [esp + 0x18]
push 0
push 0
push 0
push edi
push 0
push ecx
call ebx
push edi
call fcn.00468e58
mov edx, dword [esp + 0x1c]
add esp, 4
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x491522
mov eax, dword [str.MicrosoftWindows_NTCurrentVersion]
mov ecx, dword [str.74A3237B_FC26_4aae_8D88_E512D826E9F6]
push eax
push ecx
push 0x4df9ac
lea edx, [esp + 0x23c]
push 0x104
push edx
xor ebp, ebp
call fcn.00466ca7
add esp, 0x14
lea eax, [esp + 0x24]
lea ecx, [esp + 0x230]
mov byte [esp + 0x333], 0
push eax
push 1
push ebp
push ecx
push 0x80000003
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x49103c
mov ecx, dword [str.ProductName]
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea edx, [esp + 0x14]
lea eax, [esp + 0xb0]
push edx
mov edx, dword [esp + 0x28]
push eax
push ebp
push ebp
push ecx
push edx
mov dword [esp + 0x2c], 0x80
call esi
test eax, eax
jne 0x491031
mov edx, dword [str.CurrentBuildNumber]
lea eax, [esp + 0x14]
lea ecx, [esp + 0x30]
push eax
mov eax, dword [esp + 0x28]
push ecx
push ebp
push ebp
push edx
push eax
mov dword [esp + 0x2c], 0x80
call esi
test eax, eax
jne 0x491031
lea ecx, [esp + 0x14]
lea edx, [esp + 0x1b0]
push ecx
mov ecx, dword [esp + 0x28]
push edx
push eax
push eax
mov eax, dword [str.CurrentVersion]
push eax
push ecx
mov dword [esp + 0x2c], 0x80
call esi
test eax, eax
jne 0x491031
mov ebp, 1
mov edx, dword [esp + 0x24]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [str.74A3237B_FC26_4aae_8D88_E512D826E9F6]
mov byte [esp + 0x22f], 0
push eax
push 0x80000003
mov byte [esp + 0xb7], 0
mov byte [esp + 0x137], 0
call dword [sym.imp.ADVAPI32.dll_RegUnLoadKeyA]
mov ecx, dword [esp + 0x18]
push 0
push 0
push 0
push edi
push 0
push ecx
call ebx
push edi
call fcn.00468e58
mov edx, dword [esp + 0x1c]
add esp, 4
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test ebp, ebp
jne 0x491094
xor eax, eax
jmp 0x491522
mov eax, dword [esp + 0x348]
lea edx, [esp + 0x130]
mov ecx, eax
mov byte [esp + 0x1af], 0
and ecx, 0xffff
shr eax, 0x10
push ecx
push eax
push str._d._d
push 0x7f
push edx
call fcn.00466ca7
add esp, 0x14
lea esi, [esp + 0x130]
lea eax, [esp + 0x1b0]
mov dl, byte [eax]
mov bl, byte [esi]
mov cl, dl
cmp dl, bl
jne 0x4910fd
test cl, cl
je 0x4910f9
mov dl, byte [eax + 1]
mov bl, byte [esi + 1]
mov cl, dl
cmp dl, bl
jne 0x4910fd
add eax, 2
add esi, 2
test cl, cl
jne 0x4910d5
xor eax, eax
jmp 0x491102
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x49110d
xor eax, eax
jmp 0x491522
mov eax, dword [esp + 0x34c]
lea ecx, [esp + 0x130]
shr eax, 0x10
push eax
push 0x4e09ec
push 0x7f
push ecx
call fcn.00466ca7
add esp, 0x10
lea esi, [esp + 0x130]
lea eax, [esp + 0x30]
mov dl, byte [eax]
mov bl, byte [esi]
mov cl, dl
cmp dl, bl
jne 0x491162
test cl, cl
je 0x49115e
mov dl, byte [eax + 1]
mov bl, byte [esi + 1]
mov cl, dl
cmp dl, bl
jne 0x491162
add eax, 2
add esi, 2
test cl, cl
jne 0x49113a
xor eax, eax
jmp 0x491167
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x4911f5
xor eax, eax
jmp 0x491522
mov edx, dword [esp + 0x348]
xor ecx, ecx
mov eax, 0x4d4ad4
cmp dword [eax], edx
je 0x491193
add eax, 4
inc ecx
cmp eax, 0x4d4ae8
jl 0x491184
cmp ecx, 5
jne 0x49119f
xor eax, eax
jmp 0x491522
mov eax, dword [ecx*4 + 0x4d4ae8]
lea ecx, [esp + 0xb0]
push eax
push 0x4df9a8
push 0x80
push ecx
call fcn.00466ca7
mov edx, dword [esp + 0x35c]
add esp, 0x10
shr edx, 0x10
push edx
push 0x4e09ec
lea eax, [esp + 0x38]
push 0x80
push eax
call fcn.00466ca7
add esp, 0x10
mov byte [esp + 0x12f], 0
mov byte [esp + 0xaf], 0
jmp 0x4911f7
xor edi, edi
push 0x34
call fcn.00467824
add esp, 4
mov dword [esp + 0x1c], eax
cmp eax, edi
mov dword [esp + 0x33c], edi
je 0x49127b
mov cl, byte [esp + 0x13]
mov esi, dword [str.OperatingSystem]
sub esp, 0x10
xor eax, eax
mov ebp, esp
mov dword [esp + 0x30], esp
push 1
mov byte [ebp], cl
mov dword [ebp + 4], edi
mov dword [ebp + 8], edi
mov dword [ebp + 0xc], edi
mov edi, esi
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov ebx, ecx
mov ecx, ebp
push ebx
call fcn.00404fd0
test al, al
je 0x49126a
mov edi, dword [ebp + 4]
mov ecx, ebx
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov dword [ebp + 8], ebx
mov ebp, dword [ebp + 4]
add ebp, ebx
mov byte [ebp], 0
mov ecx, dword [esp + 0x2c]
call fcn.00483fa0
mov dword [esp + 0x1c], eax
xor edi, edi
jmp 0x49127f
mov dword [esp + 0x1c], edi
mov eax, dword [esp + 0x1c]
or ecx, 0xffffffff
cmp eax, edi
mov dword [esp + 0x33c], ecx
jne 0x491298
xor eax, eax
jmp 0x491522
mov al, byte [esp + 0x13]
sub esp, 0x10
mov ebp, esp
mov dword [esp + 0x30], esp
push 1
mov byte [ebp], al
mov dword [ebp + 4], edi
mov dword [ebp + 8], edi
mov dword [ebp + 0xc], edi
mov edi, dword [esp + 0x358]
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov ebx, ecx
mov ecx, ebp
push ebx
call fcn.00404fd0
test al, al
je 0x4912f5
mov edi, dword [ebp + 4]
mov esi, dword [esp + 0x354]
mov ecx, ebx
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov dword [ebp + 8], ebx
mov ebp, dword [ebp + 4]
add ebp, ebx
mov byte [ebp], 0
mov ecx, dword [esp + 0x2c]
call fcn.00484750
mov al, byte [esp + 0x13]
sub esp, 0x10
mov ebp, esp
xor esi, esi
lea edi, [esp + 0xc0]
or ecx, 0xffffffff
mov byte [ebp], al
xor eax, eax
mov dword [ebp + 4], esi
mov dword [ebp + 8], esi
mov dword [ebp + 0xc], esi
mov dword [esp + 0x30], esp
repne scasb al, byte es:[edi]
not ecx
dec ecx
push 1
mov ebx, ecx
mov ecx, ebp
push ebx
call fcn.00404fd0
test al, al
je 0x491362
mov edi, dword [ebp + 4]
mov ecx, ebx
mov edx, ecx
lea esi, [esp + 0xc0]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov dword [ebp + 8], ebx
mov ebp, dword [ebp + 4]
add ebp, ebx
xor esi, esi
mov byte [ebp], 0
mov edx, dword [str.Caption]
sub esp, 0x10
lea eax, [esp + 0x33]
mov ecx, esp
mov dword [esp + 0x4c], esp
push eax
push edx
mov dword [esp + 0x364], 1
call fcn.0040d2c0
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x35c], 0xffffffff
call fcn.00484570
mov al, byte [esp + 0x13]
sub esp, 0x10
mov ebp, esp
lea edi, [esp + 0x40]
or ecx, 0xffffffff
mov dword [esp + 0x3c], esp
mov byte [ebp], al
xor eax, eax
mov dword [ebp + 4], esi
mov dword [ebp + 8], esi
mov dword [ebp + 0xc], esi
push 1
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov ebx, ecx
mov ecx, ebp
push ebx
call fcn.00404fd0
test al, al
je 0x4913f5
mov edi, dword [ebp + 4]
mov ecx, ebx
mov edx, ecx
lea esi, [esp + 0x40]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov dword [ebp + 8], ebx
mov ebp, dword [ebp + 4]
add ebp, ebx
mov byte [ebp], 0
mov edx, dword [str.BuildNumber]
sub esp, 0x10
lea eax, [esp + 0x33]
mov ecx, esp
mov dword [esp + 0x40], esp
push eax
push edx
mov dword [esp + 0x364], 2
call fcn.0040d2c0
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x35c], 0xffffffff
call fcn.00484570
mov al, byte [esp + 0x13]
mov esi, dword [0x4d4a94]
sub esp, 0x10
mov edi, esi
mov ebp, esp
or ecx, 0xffffffff
mov dword [esp + 0x3c], esp
mov byte [ebp], al
xor eax, eax
mov dword [ebp + 4], eax
mov dword [ebp + 8], eax
mov dword [ebp + 0xc], eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov ebx, ecx
cmp ebx, 0xfffffffd
jbe 0x491465
call fcn.00463c83
mov ecx, dword [ebp + 4]
test ecx, ecx
je 0x49148a
mov al, byte [ecx - 1]
test al, al
je 0x49148a
cmp al, 0xff
je 0x49148a
test ebx, ebx
jne 0x4914ae
dec al
push ebx
mov byte [ecx - 1], al
mov ecx, ebp
call fcn.00403b70
jmp 0x4914d5
test ebx, ebx
jne 0x491499
push 1
mov ecx, ebp
call fcn.00403b70
jmp 0x4914d5
mov eax, dword [ebp + 0xc]
cmp eax, 0x1f
ja 0x4914a5
cmp eax, ebx
jae 0x4914b6
push 1
mov ecx, ebp
call fcn.00403b70
push ebx
mov ecx, ebp
call fcn.004054e0
mov edi, dword [ebp + 4]
mov ecx, ebx
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov dword [ebp + 8], ebx
mov ebp, dword [ebp + 4]
add ebp, ebx
mov byte [ebp], 0
mov edx, dword [str.InUsing]
sub esp, 0x10
lea eax, [esp + 0x4b]
mov ecx, esp
mov dword [esp + 0x40], esp
push eax
push edx
mov dword [esp + 0x364], 3
call fcn.0040d2c0
mov esi, dword [esp + 0x3c]
mov dword [esp + 0x35c], 0xffffffff
mov ecx, esi
call fcn.00484570
mov ecx, dword [esp + 0x350]
push esi
call fcn.00480840
mov eax, 1
mov ecx, dword [esp + 0x334]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x330
ret 0x10