Function at 0x453a74
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d2db8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x9c
mov dword [ebp - 0x10], ecx
push str.GREG::GetValue
lea ecx, [ebp - 0x5c]
call fcn.00404f76
and dword [ebp - 4], 0
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 0x453b6a
lea ecx, [ebp - 0xa8]
call fcn.0044b8b0
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x10]
add eax, 0xc
push eax
push dword [ebp + 0xc]
mov eax, dword [ebp - 0x10]
push dword [eax + 8]
lea eax, [ebp - 0xa8]
push eax
mov ecx, dword [ebp - 0x10]
call fcn.004561bc
movzx eax, al
test eax, eax
je 0x453b43
lea ecx, [ebp - 0xa8]
call fcn.0044cf58
movzx eax, al
test eax, eax
jne 0x453b43
lea eax, [ebp - 0xa8]
push eax
mov ecx, dword [ebp + 8]
call fcn.0044bac5
mov byte [ebp - 0x1c], 1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xa8]
call fcn.0044ba5a
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x5c]
call fcn.004050e2
mov al, byte [ebp - 0x1c]
jmp 0x454003
mov byte [ebp - 0x14], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xa8]
call fcn.0044ba5a
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x5c]
call fcn.004050e2
mov al, byte [ebp - 0x14]
jmp 0x454003
mov eax, dword [ebp - 0x10]
cmp dword [eax + 0x15], 0
je 0x453d57
push 0
mov eax, dword [ebp - 0x10]
push dword [eax + 8]
lea eax, [ebp - 0x38]
push eax
call fcn.00459c32
add esp, 0xc
mov byte [ebp - 4], 2
push 0
lea ecx, [ebp - 0x38]
call fcn.00405ab8
movsx eax, byte [eax]
test eax, eax
jne 0x453bc4
mov byte [ebp - 0x15], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x38]
call fcn.004055b0
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x5c]
call fcn.004050e2
mov al, byte [ebp - 0x15]
jmp 0x454003
lea ecx, [ebp - 0x48]
call fcn.004054e3
mov byte [ebp - 4], 3
lea eax, [ebp - 0x11]
push eax
lea eax, [ebp - 0x12]
push eax
lea eax, [ebp - 0x48]
push eax
push dword [ebp + 0xc]
mov eax, dword [ebp - 0x10]
add eax, 0xc
push eax
lea eax, [ebp - 0x38]
push eax
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0x15]
call fcn.004327d2
movzx eax, al
test eax, eax
jne 0x453c2c
mov byte [ebp - 0x20], 0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x48]
call fcn.004055b0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x38]
call fcn.004055b0
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x5c]
call fcn.004050e2
mov al, byte [ebp - 0x20]
jmp 0x454003
movzx eax, byte [ebp - 0x12]
test eax, eax
je 0x453c50
push str.__bKeyNotFound
push str.GREG
push 0xb3c
push str.D:projectsUTIL_srcgreg.cpp
call fcn.004044d6
add esp, 0x10
movzx eax, byte [ebp - 0x12]
test eax, eax
je 0x453c88
mov byte [ebp - 0x17], 0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x48]
call fcn.004055b0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x38]
call fcn.004055b0
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x5c]
call fcn.004050e2
mov al, byte [ebp - 0x17]
jmp 0x454003
movzx eax, byte [ebp - 0x11]
test eax, eax
je 0x453cac
push str.__bValNotFound
push str.GREG
push 0xb3e
push str.D:projectsUTIL_srcgreg.cpp
call fcn.004044d6
add esp, 0x10
movzx eax, byte [ebp - 0x11]
test eax, eax
je 0x453ce4
mov byte [ebp - 0x1f], 0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x48]
call fcn.004055b0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x38]
call fcn.004055b0
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x5c]
call fcn.004050e2
mov al, byte [ebp - 0x1f]
jmp 0x454003
lea eax, [ebp - 0x48]
push eax
mov ecx, dword [ebp + 8]
call fcn.004553de
movzx eax, al
test eax, eax
jne 0x453d27
mov byte [ebp - 0x19], 0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x48]
call fcn.004055b0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x38]
call fcn.004055b0
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x5c]
call fcn.004050e2
mov al, byte [ebp - 0x19]
jmp 0x454003
mov byte [ebp - 0x1d], 1
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x48]
call fcn.004055b0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x38]
call fcn.004055b0
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x5c]
call fcn.004050e2
mov al, byte [ebp - 0x1d]
jmp 0x454003
mov eax, dword [ebp - 0x10]
cmp dword [eax + 4], 0
jne 0x453d77
push 0xb45
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 0x453d98
mov byte [ebp - 0x1b], 0
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x5c]
call fcn.004050e2
mov al, byte [ebp - 0x1b]
jmp 0x454003
mov eax, dword [ebp - 0x10]
cmp dword [eax + 4], 0x80000004
jne 0x453eca
mov dword [ebp - 0x24], 0x10000
push dword [ebp - 0x24]
lea ecx, [ebp - 0x74]
call fcn.0044b19c
mov byte [ebp - 4], 4
lea eax, [ebp - 0x24]
push eax
push dword [ebp - 0x6c]
lea eax, [ebp - 0x60]
push eax
push 0
mov ecx, dword [ebp + 0xc]
call fcn.00405b2a
push eax
mov eax, dword [ebp - 0x10]
push dword [eax + 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
jne 0x453e58
mov eax, dword [ebp - 0x10]
push dword [eax + 8]
mov ecx, dword [ebp + 8]
call fcn.00459217
push dword [ebp - 0x24]
push dword [ebp - 0x6c]
mov ecx, dword [ebp + 8]
call fcn.004590b9
push dword [ebp - 0x60]
mov ecx, dword [ebp + 8]
call fcn.0045922d
mov eax, dword [ebp - 0x10]
add eax, 0xc
push eax
mov ecx, dword [ebp + 8]
call fcn.004591ab
push dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
call fcn.0045913f
push 0
mov ecx, dword [ebp + 8]
call fcn.0045912a
mov byte [ebp - 0x16], 1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x74]
call fcn.0044b1f3
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x5c]
call fcn.004050e2
mov al, byte [ebp - 0x16]
jmp 0x454003
cmp dword [ebp - 0x28], 0xea
je 0x453ead
movzx eax, byte [ebp + 0x10]
test eax, eax
je 0x453e89
cmp dword [ebp - 0x28], 0
jge 0x453e89
push 0xb5b
push str.D:projectsUTIL_srcgreg.cpp
push str.RegQueryValueEx
push dword [ebp - 0x28]
call fcn.00403d51
add esp, 0x10
mov byte [ebp - 0x18], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x74]
call fcn.0044b1f3
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x5c]
call fcn.004050e2
mov al, byte [ebp - 0x18]
jmp 0x454003
mov eax, dword [ebp - 0x24]
shl eax, 1
mov dword [ebp - 0x24], eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x74]
call fcn.0044b1f3
xor eax, eax
inc eax
jne 0x453daf
and dword [ebp - 0x2c], 0
lea eax, [ebp - 0x2c]
push eax
push 0
push 0
push 0
mov ecx, dword [ebp + 0xc]
call fcn.00405b2a
push eax
mov eax, dword [ebp - 0x10]
push dword [eax + 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x453ff0
push dword [ebp - 0x2c]
lea ecx, [ebp - 0x84]
call fcn.0044b19c
mov byte [ebp - 4], 5
lea eax, [ebp - 0x2c]
push eax
push dword [ebp - 0x7c]
lea eax, [ebp - 0x64]
push eax
push 0
mov ecx, dword [ebp + 0xc]
call fcn.00405b2a
push eax
mov eax, dword [ebp - 0x10]
push dword [eax + 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov dword [ebp - 0x3c], eax
movzx eax, byte [ebp + 0x10]
test eax, eax
je 0x453f54
cmp dword [ebp - 0x3c], 0
jge 0x453f54
push 0xb68
push str.D:projectsUTIL_srcgreg.cpp
push str.RegQueryValueEx
push dword [ebp - 0x3c]
call fcn.00403d51
add esp, 0x10
cmp dword [ebp - 0x3c], 0
je 0x453f81
mov byte [ebp - 0x1a], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x84]
call fcn.0044b1f3
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x5c]
call fcn.004050e2
mov al, byte [ebp - 0x1a]
jmp 0x454003
mov eax, dword [ebp - 0x10]
push dword [eax + 8]
mov ecx, dword [ebp + 8]
call fcn.00459217
push dword [ebp - 0x2c]
push dword [ebp - 0x7c]
mov ecx, dword [ebp + 8]
call fcn.004590b9
push dword [ebp - 0x64]
mov ecx, dword [ebp + 8]
call fcn.0045922d
mov eax, dword [ebp - 0x10]
add eax, 0xc
push eax
mov ecx, dword [ebp + 8]
call fcn.004591ab
push dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
call fcn.0045913f
push 0
mov ecx, dword [ebp + 8]
call fcn.0045912a
mov byte [ebp - 0x13], 1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x84]
call fcn.0044b1f3
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x5c]
call fcn.004050e2
mov al, byte [ebp - 0x13]
jmp 0x454003
mov byte [ebp - 0x1e], 0
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x5c]
call fcn.004050e2
mov al, byte [ebp - 0x1e]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0xc