Function at 0x40f494
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffaf0
lea eax, [ebp - 4]
push eax
push 0x6e9d54
push SysReAllocStringLen
call sub.ADVAPI32.DLL_RegOpenKeyA
test eax, eax
jne 0x40fc3a
mov dword [ebp - 0xc], 0x100
lea edx, [ebp - 0xc]
push edx
lea ecx, [ebp - 0x510]
push ecx
lea eax, [ebp - 8]
push eax
push 0
push 0x6e9d7b
push dword [ebp - 4]
call sub.ADVAPI32.DLL_RegQueryValueExA
test eax, eax
jne 0x40f4fa
push 0x6f6b2c
push 0x6e9d85
lea edx, [ebp - 0x510]
push edx
call fcn.00670f10
add esp, 0xc
mov dword [ebp - 0xc], 0x100
lea ecx, [ebp - 0xc]
push ecx
lea eax, [ebp - 0x510]
push eax
lea edx, [ebp - 8]
push edx
push 0
push 0x6e9d88
push dword [ebp - 4]
call sub.ADVAPI32.DLL_RegQueryValueExA
test eax, eax
jne 0x40f53c
push 0x6f6b38
push 0x6e9d8f
lea ecx, [ebp - 0x510]
push ecx
call fcn.00670f10
add esp, 0xc
mov dword [ebp - 0xc], 0x100
lea eax, [ebp - 0xc]
push eax
lea edx, [ebp - 0x510]
push edx
lea ecx, [ebp - 8]
push ecx
push 0
push 0x6e9d92
push dword [ebp - 4]
call sub.ADVAPI32.DLL_RegQueryValueExA
test eax, eax
jne 0x40f57e
push 0x6f6b34
push 0x6e9d99
lea eax, [ebp - 0x510]
push eax
call fcn.00670f10
add esp, 0xc
mov dword [ebp - 0xc], 0x100
lea edx, [ebp - 0xc]
push edx
lea ecx, [ebp - 0x510]
push ecx
lea eax, [ebp - 8]
push eax
push 0
push 0x6e9d9c
push dword [ebp - 4]
call sub.ADVAPI32.DLL_RegQueryValueExA
test eax, eax
jne 0x40f5c0
push 0x6f6b58
push 0x6e9da3
lea edx, [ebp - 0x510]
push edx
call fcn.00670f10
add esp, 0xc
mov dword [ebp - 0xc], 0x100
lea ecx, [ebp - 0xc]
push ecx
lea eax, [ebp - 0x510]
push eax
lea edx, [ebp - 8]
push edx
push 0
push 0x6e9da6
push dword [ebp - 4]
call sub.ADVAPI32.DLL_RegQueryValueExA
test eax, eax
jne 0x40f602
push 0x6f6b30
push 0x6e9daf
lea ecx, [ebp - 0x510]
push ecx
call fcn.00670f10
add esp, 0xc
mov dword [ebp - 0xc], 0x100
lea eax, [ebp - 0xc]
push eax
lea edx, [ebp - 0x510]
push edx
lea ecx, [ebp - 8]
push ecx
push 0
push 0x6e9db2
push dword [ebp - 4]
call sub.ADVAPI32.DLL_RegQueryValueExA
test eax, eax
jne 0x40f644
push 0x6f6b3c
push 0x6e9dbc
lea eax, [ebp - 0x510]
push eax
call fcn.00670f10
add esp, 0xc
mov dword [ebp - 0xc], 0x100
lea edx, [ebp - 0xc]
push edx
lea ecx, [ebp - 0x510]
push ecx
lea eax, [ebp - 8]
push eax
push 0
push 0x6e9dbf
push dword [ebp - 4]
call sub.ADVAPI32.DLL_RegQueryValueExA
test eax, eax
jne 0x40f686
push 0x6f6b40
push 0x6e9dc9
lea edx, [ebp - 0x510]
push edx
call fcn.00670f10
add esp, 0xc
mov dword [ebp - 0xc], 0x100
lea ecx, [ebp - 0xc]
push ecx
lea eax, [ebp - 0x510]
push eax
lea edx, [ebp - 8]
push edx
push 0
push 0x6e9dcc
push dword [ebp - 4]
call sub.ADVAPI32.DLL_RegQueryValueExA
test eax, eax
jne 0x40f6c8
push 0x6f6b54
push 0x6e9dd7
lea ecx, [ebp - 0x510]
push ecx
call fcn.00670f10
add esp, 0xc
mov dword [ebp - 0xc], 0x100
lea eax, [ebp - 0xc]
push eax
lea edx, [ebp - 0x510]
push edx
lea ecx, [ebp - 8]
push ecx
push 0
push 0x6e9dda
push dword [ebp - 4]
call sub.ADVAPI32.DLL_RegQueryValueExA
test eax, eax
jne 0x40f70a
push 0x6f6b44
push 0x6e9de3
lea eax, [ebp - 0x510]
push eax
call fcn.00670f10
add esp, 0xc
mov dword [ebp - 0xc], 0x100
lea edx, [ebp - 0xc]
push edx
lea ecx, [ebp - 0x510]
push ecx
lea eax, [ebp - 8]
push eax
push 0
push 0x6e9de6
push dword [ebp - 4]
call sub.ADVAPI32.DLL_RegQueryValueExA
test eax, eax
jne 0x40f74c
push 0x6f6b48
push 0x6e9df0
lea edx, [ebp - 0x510]
push edx
call fcn.00670f10
add esp, 0xc
mov dword [ebp - 0xc], 0x100
lea ecx, [ebp - 0xc]
push ecx
lea eax, [ebp - 0x510]
push eax
lea edx, [ebp - 8]
push edx
push 0
push 0x6e9df3
push dword [ebp - 4]
call sub.ADVAPI32.DLL_RegQueryValueExA
test eax, eax
jne 0x40f78e
push 0x6f6b4c
push 0x6e9e01
lea ecx, [ebp - 0x510]
push ecx
call fcn.00670f10
add esp, 0xc
mov dword [ebp - 0xc], 0x100
lea eax, [ebp - 0xc]
push eax
lea edx, [ebp - 0x510]
push edx
lea ecx, [ebp - 8]
push ecx
push 0
push 0x6e9e04
push dword [ebp - 4]
call sub.ADVAPI32.DLL_RegQueryValueExA
test eax, eax
jne 0x40f7d0
push 0x6e70e0
push 0x6e9e11
lea eax, [ebp - 0x510]
push eax
call fcn.00670f10
add esp, 0xc
mov dword [ebp - 0xc], 0x100
lea edx, [ebp - 0xc]
push edx
lea ecx, [ebp - 0x510]
push ecx
lea eax, [ebp - 8]
push eax
push 0
push 0x6e9e14
push dword [ebp - 4]
call sub.ADVAPI32.DLL_RegQueryValueExA
test eax, eax
jne 0x40f812
push 0x6f6ab4
push 0x6e9e18
lea edx, [ebp - 0x510]
push edx
call fcn.00670f10
add esp, 0xc
mov dword [ebp - 0xc], 0x100
lea ecx, [ebp - 0xc]
push ecx
lea eax, [ebp - 0x510]
push eax
lea edx, [ebp - 8]
push edx
push 0
push 0x6e9e1b
push dword [ebp - 4]
call sub.ADVAPI32.DLL_RegQueryValueExA
test eax, eax
jne 0x40f854
push 0x6e73c8
push 0x6e9e25
lea ecx, [ebp - 0x510]
push ecx
call fcn.00670f10
add esp, 0xc
mov dword [ebp - 0xc], 0x100
lea eax, [ebp - 0xc]
push eax
lea edx, [ebp - 0x510]
push edx
lea ecx, [ebp - 8]
push ecx
push 0
push 0x6e9e28
push dword [ebp - 4]
call sub.ADVAPI32.DLL_RegQueryValueExA
test eax, eax
jne 0x40f896
push 0x6e7408
push 0x6e9e32
lea eax, [ebp - 0x510]
push eax
call fcn.00670f10
add esp, 0xc
mov dword [ebp - 0xc], 0x100
lea edx, [ebp - 0xc]
push edx
lea ecx, [ebp - 0x510]
push ecx
lea eax, [ebp - 8]
push eax
push 0
push 0x6e9e35
push dword [ebp - 4]
call sub.ADVAPI32.DLL_RegQueryValueExA
test eax, eax
jne 0x40f8d8
push 0x6e7410
push 0x6e9e3d
lea edx, [ebp - 0x510]
push edx
call fcn.00670f10
add esp, 0xc
mov dword [ebp - 0xc], 0x100
lea ecx, [ebp - 0xc]
push ecx
lea eax, [ebp - 0x510]
push eax
lea edx, [ebp - 8]
push edx
push 0
push 0x6e9e40
push dword [ebp - 4]
call sub.ADVAPI32.DLL_RegQueryValueExA
test eax, eax
jne 0x40f91a
push 0x6e743c
push 0x6e9e4a
lea ecx, [ebp - 0x510]
push ecx
call fcn.00670f10
add esp, 0xc
mov dword [ebp - 0xc], 0x100
lea eax, [ebp - 0xc]
push eax
lea edx, [ebp - 0x510]
push edx
lea ecx, [ebp - 8]
push ecx
push 0
push 0x6e9e4d
push dword [ebp - 4]
call sub.ADVAPI32.DLL_RegQueryValueExA
test eax, eax
jne 0x40f95c
push 0x6e7444
push 0x6e9e58
lea eax, [ebp - 0x510]
push eax
call fcn.00670f10
add esp, 0xc
mov dword [ebp - 0xc], 0x100
lea edx, [ebp - 0xc]
push edx
lea ecx, [ebp - 0x510]
push ecx
lea eax, [ebp - 8]
push eax
push 0
push 0x6e9e5b
push dword [ebp - 4]
call sub.ADVAPI32.DLL_RegQueryValueExA
test eax, eax
jne 0x40f99e
push 0x6e7440
push 0x6e9e65
lea edx, [ebp - 0x510]
push edx
call fcn.00670f10
add esp, 0xc
mov dword [ebp - 0xc], 0x100
lea ecx, [ebp - 0xc]
push ecx
lea eax, [ebp - 0x510]
push eax
lea edx, [ebp - 8]
push edx
push 0
push 0x6e9e68
push dword [ebp - 4]
call sub.ADVAPI32.DLL_RegQueryValueExA
test eax, eax
jne 0x40f9e0
push 0x6e7448
push 0x6e9e71
lea ecx, [ebp - 0x510]
push ecx
call fcn.00670f10
add esp, 0xc
mov dword [ebp - 0xc], 0x100
lea eax, [ebp - 0xc]
push eax
lea edx, [ebp - 0x510]
push edx
lea ecx, [ebp - 8]
push ecx
push 0
push 0x6e9e74
push dword [ebp - 4]
call sub.ADVAPI32.DLL_RegQueryValueExA
test eax, eax
jne 0x40fa22
push 0x6e744c
push 0x6e9e82
lea eax, [ebp - 0x510]
push eax
call fcn.00670f10
add esp, 0xc
mov dword [ebp - 0xc], 0x100
lea edx, [ebp - 0xc]
push edx
lea ecx, [ebp - 0x510]
push ecx
lea eax, [ebp - 8]
push eax
push 0
push 0x6e9e85
push dword [ebp - 4]
call sub.ADVAPI32.DLL_RegQueryValueExA
test eax, eax
jne 0x40fa64
push 0x6e7450
push 0x6e9e93
lea edx, [ebp - 0x510]
push edx
call fcn.00670f10
add esp, 0xc
mov dword [ebp - 0xc], 0x100
lea ecx, [ebp - 0xc]
push ecx
lea eax, [ebp - 0x510]
push eax
lea edx, [ebp - 8]
push edx
push 0
push 0x6e9e96
push dword [ebp - 4]
call sub.ADVAPI32.DLL_RegQueryValueExA
test eax, eax
jne 0x40faa6
push 0x6e7454
push 0x6e9ea5
lea ecx, [ebp - 0x510]
push ecx
call fcn.00670f10
add esp, 0xc
mov dword [ebp - 0xc], 0x100
lea eax, [ebp - 0xc]
push eax
lea edx, [ebp - 0x510]
push edx
lea ecx, [ebp - 8]
push ecx
push 0
push 0x6e9ea8
push dword [ebp - 4]
call sub.ADVAPI32.DLL_RegQueryValueExA
test eax, eax
jne 0x40fae8
push 0x6e7458
push 0x6e9eb3
lea eax, [ebp - 0x510]
push eax
call fcn.00670f10
add esp, 0xc
mov dword [ebp - 0xc], 0x100
lea edx, [ebp - 0xc]
push edx
lea ecx, [ebp - 0x510]
push ecx
lea eax, [ebp - 8]
push eax
push 0
push 0x6e9eb6
push dword [ebp - 4]
call sub.ADVAPI32.DLL_RegQueryValueExA
test eax, eax
jne 0x40fb2a
push 0x6e745c
push 0x6e9ec7
lea edx, [ebp - 0x510]
push edx
call fcn.00670f10
add esp, 0xc
mov dword [ebp - 0xc], 0x100
lea ecx, [ebp - 0xc]
push ecx
lea eax, [ebp - 0x510]
push eax
lea edx, [ebp - 8]
push edx
push 0
push 0x6e9eca
push dword [ebp - 4]
call sub.ADVAPI32.DLL_RegQueryValueExA
test eax, eax
jne 0x40fb6c
push 0x6e7414
push 0x6e9ed1
lea ecx, [ebp - 0x510]
push ecx
call fcn.00670f10
add esp, 0xc
mov dword [ebp - 0xc], 0x100
lea eax, [ebp - 0xc]
push eax
lea edx, [ebp - 0x510]
push edx
lea ecx, [ebp - 8]
push ecx
push 0
push 0x6e9ed4
push dword [ebp - 4]
call sub.ADVAPI32.DLL_RegQueryValueExA
test eax, eax
jne 0x40fbae
push 0x6e7388
push 0x6e9ee1
lea eax, [ebp - 0x510]
push eax
call fcn.00670f10
add esp, 0xc
mov dword [ebp - 0xc], 0x100
lea edx, [ebp - 0xc]
push edx
lea ecx, [ebp - 0x510]
push ecx
lea eax, [ebp - 8]
push eax
push 0
push 0x6e9ee4
push dword [ebp - 4]
call sub.ADVAPI32.DLL_RegQueryValueExA
test eax, eax
jne 0x40fbf0
push 0x6e70e4
push 0x6e9eee
lea edx, [ebp - 0x510]
push edx
call fcn.00670f10
add esp, 0xc
mov dword [ebp - 0xc], 0x100
lea ecx, [ebp - 0xc]
push ecx
lea eax, [ebp - 0x510]
push eax
lea edx, [ebp - 8]
push edx
push 0
push 0x6e9ef1
push dword [ebp - 4]
call sub.ADVAPI32.DLL_RegQueryValueExA
test eax, eax
jne 0x40fc32
push 0x6e70fc
push 0x6e9f03
lea ecx, [ebp - 0x510]
push ecx
call fcn.00670f10
add esp, 0xc
push dword [ebp - 4]
call sub.ADVAPI32.DLL_RegCloseKey
mov esp, ebp
pop ebp
ret