Function at 0x40ed60
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffaf0
lea eax, [ebp - 4]
push eax
push 0x6ee42d
push SysReAllocStringLen
call sub.ADVAPI32.DLL_RegOpenKeyA
test eax, eax
jne 0x40f5c7
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 0x6ee454
push dword [ebp - 4]
call sub.ADVAPI32.DLL_RegQueryValueExA
test eax, eax
jne 0x40edc6
push 0x6fb368
push 0x6ee45e
lea edx, [ebp - 0x510]
push edx
call fcn.0067132c
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 0x6ee461
push dword [ebp - 4]
call sub.ADVAPI32.DLL_RegQueryValueExA
test eax, eax
jne 0x40ee08
push 0x6fb374
push 0x6ee468
lea ecx, [ebp - 0x510]
push ecx
call fcn.0067132c
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 0x6ee46b
push dword [ebp - 4]
call sub.ADVAPI32.DLL_RegQueryValueExA
test eax, eax
jne 0x40ee4a
push 0x6fb370
push 0x6ee472
lea eax, [ebp - 0x510]
push eax
call fcn.0067132c
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 0x6ee475
push dword [ebp - 4]
call sub.ADVAPI32.DLL_RegQueryValueExA
test eax, eax
jne 0x40ee8c
push 0x6fb394
push 0x6ee47c
lea edx, [ebp - 0x510]
push edx
call fcn.0067132c
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 0x6ee47f
push dword [ebp - 4]
call sub.ADVAPI32.DLL_RegQueryValueExA
test eax, eax
jne 0x40eece
push 0x6fb36c
push 0x6ee488
lea ecx, [ebp - 0x510]
push ecx
call fcn.0067132c
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 0x6ee48b
push dword [ebp - 4]
call sub.ADVAPI32.DLL_RegQueryValueExA
test eax, eax
jne 0x40ef10
push 0x6fb378
push 0x6ee495
lea eax, [ebp - 0x510]
push eax
call fcn.0067132c
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 0x6ee498
push dword [ebp - 4]
call sub.ADVAPI32.DLL_RegQueryValueExA
test eax, eax
jne 0x40ef52
push 0x6fb37c
push 0x6ee4a2
lea edx, [ebp - 0x510]
push edx
call fcn.0067132c
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 0x6ee4a5
push dword [ebp - 4]
call sub.ADVAPI32.DLL_RegQueryValueExA
test eax, eax
jne 0x40ef94
push 0x6fb390
push 0x6ee4b0
lea ecx, [ebp - 0x510]
push ecx
call fcn.0067132c
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 0x6ee4b3
push dword [ebp - 4]
call sub.ADVAPI32.DLL_RegQueryValueExA
test eax, eax
jne 0x40efd6
push 0x6fb380
push 0x6ee4bc
lea eax, [ebp - 0x510]
push eax
call fcn.0067132c
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 0x6ee4bf
push dword [ebp - 4]
call sub.ADVAPI32.DLL_RegQueryValueExA
test eax, eax
jne 0x40f018
push 0x6fb384
push 0x6ee4c9
lea edx, [ebp - 0x510]
push edx
call fcn.0067132c
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 0x6ee4cc
push dword [ebp - 4]
call sub.ADVAPI32.DLL_RegQueryValueExA
test eax, eax
jne 0x40f05a
push 0x6fb388
push 0x6ee4da
lea ecx, [ebp - 0x510]
push ecx
call fcn.0067132c
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 0x6ee4dd
push dword [ebp - 4]
call sub.ADVAPI32.DLL_RegQueryValueExA
test eax, eax
jne 0x40f09c
push 0x6ebcac
push 0x6ee4ee
lea eax, [ebp - 0x510]
push eax
call fcn.0067132c
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 0x6ee4f1
push dword [ebp - 4]
call sub.ADVAPI32.DLL_RegQueryValueExA
test eax, eax
jne 0x40f0de
push 0x819be4
push 0x6ee4f9
lea edx, [ebp - 0x510]
push edx
call fcn.0067132c
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 0x6ee4fc
push dword [ebp - 4]
call sub.ADVAPI32.DLL_RegQueryValueExA
test eax, eax
jne 0x40f120
push 0x819be8
push 0x6ee507
lea ecx, [ebp - 0x510]
push ecx
call fcn.0067132c
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 0x6ee50a
push dword [ebp - 4]
call sub.ADVAPI32.DLL_RegQueryValueExA
test eax, eax
jne 0x40f162
push 0x6ebd30
push 0x6ee515
lea eax, [ebp - 0x510]
push eax
call fcn.0067132c
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 0x6ee518
push dword [ebp - 4]
call sub.ADVAPI32.DLL_RegQueryValueExA
test eax, eax
jne 0x40f1a4
push 0x6ebd34
push 0x6ee521
lea edx, [ebp - 0x510]
push edx
call fcn.0067132c
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 0x6ee524
push dword [ebp - 4]
call sub.ADVAPI32.DLL_RegQueryValueExA
test eax, eax
jne 0x40f1e6
push 0x6ebd40
push 0x6ee52b
lea ecx, [ebp - 0x510]
push ecx
call fcn.0067132c
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 0x6ee52e
push dword [ebp - 4]
call sub.ADVAPI32.DLL_RegQueryValueExA
test eax, eax
jne 0x40f228
push 0x6ebd38
push 0x6ee53e
lea eax, [ebp - 0x510]
push eax
call fcn.0067132c
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 0x6ee541
push dword [ebp - 4]
call sub.ADVAPI32.DLL_RegQueryValueExA
test eax, eax
jne 0x40f26a
push 0x6ebd3c
push 0x6ee54d
lea edx, [ebp - 0x510]
push edx
call fcn.0067132c
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 0x6ee550
push dword [ebp - 4]
call sub.ADVAPI32.DLL_RegQueryValueExA
test eax, eax
jne 0x40f2a7
push 0x7707f8
lea ecx, [ebp - 0x510]
push ecx
call fcn.0049e644
add esp, 8
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 0x6ee55a
push dword [ebp - 4]
call sub.ADVAPI32.DLL_RegQueryValueExA
test eax, eax
jne 0x40f2e4
push 0xa27768
lea eax, [ebp - 0x510]
push eax
call fcn.0049e818
add esp, 8
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 0x6ee561
push dword [ebp - 4]
call sub.ADVAPI32.DLL_RegQueryValueExA
test eax, eax
jne 0x40f326
push 0x6ebcd0
push 0x6ee56b
lea edx, [ebp - 0x510]
push edx
call fcn.0067132c
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 0x6ee56e
push dword [ebp - 4]
call sub.ADVAPI32.DLL_RegQueryValueExA
test eax, eax
jne 0x40f368
push 0x6ebd04
push 0x6ee578
lea ecx, [ebp - 0x510]
push ecx
call fcn.0067132c
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 0x6ee57b
push dword [ebp - 4]
call sub.ADVAPI32.DLL_RegQueryValueExA
test eax, eax
jne 0x40f3aa
push 0x6ebd0c
push 0x6ee586
lea eax, [ebp - 0x510]
push eax
call fcn.0067132c
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 0x6ee589
push dword [ebp - 4]
call sub.ADVAPI32.DLL_RegQueryValueExA
test eax, eax
jne 0x40f3ec
push 0x6ebd08
push 0x6ee593
lea edx, [ebp - 0x510]
push edx
call fcn.0067132c
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 0x6ee596
push dword [ebp - 4]
call sub.ADVAPI32.DLL_RegQueryValueExA
test eax, eax
jne 0x40f42e
push 0x6ebd10
push 0x6ee59f
lea ecx, [ebp - 0x510]
push ecx
call fcn.0067132c
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 0x6ee5a2
push dword [ebp - 4]
call sub.ADVAPI32.DLL_RegQueryValueExA
test eax, eax
jne 0x40f470
push 0x6ebd14
push 0x6ee5b0
lea eax, [ebp - 0x510]
push eax
call fcn.0067132c
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 0x6ee5b3
push dword [ebp - 4]
call sub.ADVAPI32.DLL_RegQueryValueExA
test eax, eax
jne 0x40f4b2
push 0x6ebd18
push 0x6ee5c1
lea edx, [ebp - 0x510]
push edx
call fcn.0067132c
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 0x6ee5c4
push dword [ebp - 4]
call sub.ADVAPI32.DLL_RegQueryValueExA
test eax, eax
jne 0x40f4f4
push 0x6ebd1c
push 0x6ee5d3
lea ecx, [ebp - 0x510]
push ecx
call fcn.0067132c
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 0x6ee5d6
push dword [ebp - 4]
call sub.ADVAPI32.DLL_RegQueryValueExA
test eax, eax
jne 0x40f536
push 0x6ebd20
push 0x6ee5e1
lea eax, [ebp - 0x510]
push eax
call fcn.0067132c
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 0x6ee5e4
push dword [ebp - 4]
call sub.ADVAPI32.DLL_RegQueryValueExA
test eax, eax
jne 0x40f578
push 0x6ebd24
push 0x6ee5f5
lea edx, [ebp - 0x510]
push edx
call fcn.0067132c
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 0x6ee5f8
push dword [ebp - 4]
call sub.ADVAPI32.DLL_RegQueryValueExA
test eax, eax
jne 0x40f5ba
push 0x6fb160
push 0x6ee607
lea ecx, [ebp - 0x510]
push ecx
call fcn.0067132c
add esp, 0xc
call fcn.0044aab0
push dword [ebp - 4]
call sub.ADVAPI32.DLL_RegCloseKey
mov esp, ebp
pop ebp
ret