Function at 0x490490
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x4e8c68
mov eax, dword fs:[0]
push eax
sub esp, 0x468
mov eax, dword [0x50e74c]
xor eax, esp
mov dword [esp + 0x460], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x50e74c]
xor eax, esp
push eax
lea eax, [esp + 0x47c]
mov dword fs:[0], eax
mov esi, dword [esp + 0x48c]
xor eax, eax
mov ebx, dword [esp + 0x490]
mov edi, dword [esp + 0x494]
mov dword [esp + 0x18], 0
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 0
mov dword [esp + 0x1c], esi
mov dword [esp + 0x50], 7
mov dword [esp + 0x4c], 0
mov word [esp + 0x3c], ax
mov dword [esp + 0x484], 1
lea ecx, [esp + 0x24]
push 9
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
push str.Software_
mov dword [esp + 0x28], eax
mov dword [esp + 0x40], 7
mov dword [esp + 0x3c], eax
mov word [esp + 0x2c], ax
call fcn.00403120
mov byte [esp + 0x484], 2
lea ecx, [esp + 0x24]
push 0xffffffffffffffff
push 0
push ebx
call fcn.004033c0
cmp dword [esp + 0x38], 8
lea ecx, [esp + 0x20]
mov ebp, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
lea eax, [esp + 0x24]
cmovae eax, dword [esp + 0x24]
push ecx
push 0x20019
push 0
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call ebp
test eax, eax
je 0x4905d5
push 0x15
push str.SoftwareWow6432Node_
lea ecx, [esp + 0x2c]
call fcn.00403120
push 0xffffffffffffffff
push 0
push ebx
lea ecx, [esp + 0x30]
call fcn.004033c0
cmp dword [esp + 0x38], 8
lea ecx, [esp + 0x20]
push ecx
push 0x20019
lea eax, [esp + 0x2c]
cmovae eax, dword [esp + 0x2c]
push 0
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call ebp
test eax, eax
jne 0x4906d7
mov ebp, dword [esp + 0x20]
test ebp, ebp
je 0x4906d7
xor eax, eax
mov dword [esp + 0x58], 1
push 0x410
push eax
mov word [esp + 0x64], ax
xor bl, bl
lea eax, [esp + 0x66]
mov dword [esp + 0x5c], 0
push eax
call fcn.004cb700
add esp, 0xc
cmp dword [edi + 0x14], 8
jb 0x490617
mov eax, dword [edi]
jmp 0x490619
mov eax, edi
lea ecx, [esp + 0x54]
push ecx
push 0
lea ecx, [esp + 0x60]
push ecx
push 0
push eax
push ebp
mov ebp, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
call ebp
test eax, eax
jne 0x49066c
cmp dword [esp + 0x54], 0x208
jae 0x49066c
cmp dword [edi + 0x14], 8
jb 0x490647
mov edi, dword [edi]
lea eax, [esp + 0x54]
push eax
lea eax, [esp + 0x60]
push eax
lea eax, [esp + 0x60]
push eax
push 0
push edi
push dword [esp + 0x34]
call ebp
test eax, eax
movzx ebx, bl
mov ecx, 1
cmove ebx, ecx
push dword [esp + 0x20]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test bl, bl
jne 0x49069b
xor eax, eax
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
mov ecx, esi
mov word [esi], ax
lea eax, [esp + 0x3c]
push eax
call fcn.00402d00
jmp 0x4906f6
lea eax, [esp + 0x5c]
push eax
lea ecx, [esp + 0x40]
call fcn.00402ac0
mov ecx, dword [esp + 0x4c]
test ecx, ecx
je 0x49067a
cmp dword [esp + 0x50], 8
lea eax, [esp + 0x3c]
cmovae eax, dword [esp + 0x3c]
cmp word [eax + ecx*2 - 2], 0x5c
je 0x49067a
push 0x4fde08
lea ecx, [esp + 0x40]
call fcn.004794b0
jmp 0x49067a
xor eax, eax
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
mov ecx, esi
mov word [esi], ax
lea eax, [esp + 0x3c]
push eax
call fcn.00402d00
mov dword [esp + 0x18], 1
mov byte [esp + 0x484], 1
cmp dword [esp + 0x38], 8
jb 0x490719
push dword [esp + 0x24]
call fcn.004c4eaa
add esp, 4
xor eax, eax
mov dword [esp + 0x38], 7
mov dword [esp + 0x34], eax
mov word [esp + 0x24], ax
mov byte [esp + 0x484], al
cmp dword [esp + 0x50], 8
jb 0x490746
push dword [esp + 0x3c]
call fcn.004c4eaa
add esp, 4
xor eax, eax
mov dword [esp + 0x50], 7
mov dword [esp + 0x4c], eax
mov word [esp + 0x3c], ax
mov eax, esi
mov ecx, dword [esp + 0x47c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x460]
xor ecx, esp
call fcn.004c4eaf
add esp, 0x474
ret 0xc