Function at 0x452992
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d2c63
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x11c
mov dword [ebp - 0x10], ecx
push str.GREG::GetSubKey
lea ecx, [ebp - 0x40]
call fcn.00404f76
and dword [ebp - 4], 0
mov ecx, dword [ebp + 0xc]
call fcn.00406f8f
cmp dword [ebp + 8], 0
jge 0x4529e9
push 0x93e
push str.D:projectsUTIL_srcgreg.cpp
push str.nIndex___0
call fcn.00403b39
add esp, 0xc
cmp dword [ebp + 8], 0
jge 0x452a07
and dword [ebp - 0x68], 0
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
call fcn.004050e2
mov eax, dword [ebp - 0x68]
jmp 0x452df2
mov eax, dword [ebp - 0x10]
add eax, 0xc
push eax
mov eax, dword [ebp - 0x10]
push dword [eax + 8]
mov ecx, dword [ebp - 0x10]
call fcn.00456570
movzx eax, al
test eax, eax
je 0x452ad5
lea ecx, [ebp - 0x128]
call fcn.0044b693
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x10]
add eax, 0xc
push eax
mov eax, dword [ebp - 0x10]
push dword [eax + 8]
lea eax, [ebp - 0x128]
push eax
mov ecx, dword [ebp - 0x10]
call fcn.004560ac
mov eax, dword [ebp - 0x128]
lea ecx, [ebp - 0x128]
call dword [eax + 8]
cmp dword [ebp + 8], eax
jge 0x452aae
push dword [ebp + 8]
lea ecx, [ebp - 0x128]
call fcn.0042721a
mov ecx, eax
call fcn.00455e21
push eax
mov ecx, dword [ebp + 0xc]
call fcn.00405662
mov dword [ebp - 0x4c], 1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x128]
call fcn.0044b955
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
call fcn.004050e2
mov eax, dword [ebp - 0x4c]
jmp 0x452df2
and dword [ebp - 0x54], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x128]
call fcn.0044b955
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
call fcn.004050e2
mov eax, dword [ebp - 0x54]
jmp 0x452df2
mov eax, dword [ebp - 0x10]
cmp dword [eax + 0x15], 0
je 0x452ba3
lea ecx, [ebp - 0xc0]
call fcn.0042583a
mov byte [ebp - 4], 2
lea eax, [ebp - 0xc0]
push eax
mov ecx, dword [ebp - 0x10]
call fcn.00452e02
test eax, eax
jne 0x452b2b
and dword [ebp - 0x6c], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xc0]
call fcn.00425937
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
call fcn.004050e2
mov eax, dword [ebp - 0x6c]
jmp 0x452df2
lea ecx, [ebp - 0xc0]
call fcn.0047e16a
cmp dword [ebp + 8], eax
jge 0x452b7c
push dword [ebp + 8]
lea ecx, [ebp - 0xc0]
call fcn.004259cf
push eax
mov ecx, dword [ebp + 0xc]
call fcn.00405662
mov dword [ebp - 0x5c], 1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xc0]
call fcn.00425937
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
call fcn.004050e2
mov eax, dword [ebp - 0x5c]
jmp 0x452df2
and dword [ebp - 0x50], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xc0]
call fcn.00425937
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
call fcn.004050e2
mov eax, dword [ebp - 0x50]
jmp 0x452df2
mov eax, dword [ebp - 0x10]
cmp dword [eax + 4], 0
jne 0x452bc3
push 0x954
push str.D:projectsUTIL_srcgreg.cpp
push str.m_hkey
call fcn.00403b39
add esp, 0xc
mov eax, dword [ebp - 0x10]
cmp dword [eax + 4], 0
jne 0x452be4
and dword [ebp - 0x60], 0
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
call fcn.004050e2
mov eax, dword [ebp - 0x60]
jmp 0x452df2
lea ecx, [ebp - 0x28]
call fcn.004054e3
mov byte [ebp - 4], 3
mov dword [ebp - 0x2c], 0x100
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x2c]
push eax
push 0x100
lea ecx, [ebp - 0x28]
call fcn.004065f0
push eax
push dword [ebp + 8]
mov eax, dword [ebp - 0x10]
push dword [eax + 4]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
mov dword [ebp - 0x58], eax
cmp dword [ebp - 0x58], 0
jne 0x452c5c
lea eax, [ebp - 0x28]
push eax
mov ecx, dword [ebp + 0xc]
call fcn.00405662
mov dword [ebp - 0x44], 1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.004055b0
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
call fcn.004050e2
mov eax, dword [ebp - 0x44]
jmp 0x452df2
mov eax, dword [ebp - 0x10]
add eax, 0xc
push eax
lea ecx, [ebp - 0x1c]
call fcn.004052c0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x1c]
call fcn.004085af
dec eax
push eax
lea ecx, [ebp - 0x1c]
call fcn.00405ab8
movsx eax, byte [eax]
cmp eax, 0x5c
je 0x452cb4
push 0x4e12b4
lea ecx, [ebp - 0x79]
call fcn.004053d4
mov byte [ebp - 4], 5
lea eax, [ebp - 0x79]
push eax
lea ecx, [ebp - 0x1c]
call fcn.00406100
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x79]
call fcn.004055b0
jmp 0x452ce6
push str.marcotte
lea ecx, [ebp - 0x82]
call fcn.004053d4
mov byte [ebp - 4], 6
lea eax, [ebp - 0x82]
push eax
lea ecx, [ebp - 0x1c]
call fcn.00406100
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x82]
call fcn.004055b0
lea eax, [ebp - 0x1c]
push eax
mov eax, dword [ebp - 0x10]
push dword [eax + 8]
mov ecx, dword [ebp - 0x10]
call fcn.00456570
movzx eax, al
test eax, eax
je 0x452dc7
push 0
lea ecx, [ebp - 0xe4]
call fcn.0044b749
mov byte [ebp - 4], 7
push 0
push 0x20019
lea eax, [ebp - 0x1c]
push eax
mov eax, dword [ebp - 0x10]
push dword [eax + 8]
lea ecx, [ebp - 0xe4]
call fcn.00456acc
test eax, eax
jne 0x452db8
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x2c]
push eax
push 0x100
lea ecx, [ebp - 0x28]
call fcn.004065f0
push eax
mov eax, dword [ebp + 8]
dec eax
push eax
mov eax, dword [ebp - 0x10]
push dword [eax + 4]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
mov dword [ebp - 0x70], eax
cmp dword [ebp - 0x70], 0
jne 0x452db8
push str.marcotte
mov ecx, dword [ebp + 0xc]
call fcn.0040574c
mov dword [ebp - 0x64], 1
mov byte [ebp - 4], 4
lea ecx, [ebp - 0xe4]
call fcn.0044b9ed
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x1c]
call fcn.004055b0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.004055b0
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
call fcn.004050e2
mov eax, dword [ebp - 0x64]
jmp 0x452df2
mov byte [ebp - 4], 4
lea ecx, [ebp - 0xe4]
call fcn.0044b9ed
and dword [ebp - 0x48], 0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x1c]
call fcn.004055b0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.004055b0
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
call fcn.004050e2
mov eax, dword [ebp - 0x48]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 8