Function at 0x45f200
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x591db5
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x638
push esi
push 0
push 0
push 4
lea ecx, [ebp - 0x2c]
call fcn.0046a860
mov dword [ebp - 0x1c], 0
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
lea eax, [ebp - 0x10]
push eax
push 0x20019
push 0
push str.SoftwareValveSteamService
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 4], 0
mov dword [ebp - 0x10], 0
call esi
test eax, eax
je 0x45f2d2
call fcn.00476620
test al, al
je 0x45f287
lea eax, [ebp - 0x10]
push eax
push 0x20219
push 0
push str.SoftwareValveSteamService
push reloc.OLEAUT32.dll_SysReAllocString
call esi
test eax, eax
je 0x45f2d2
mov esi, dword [ebp + 8]
mov ecx, esi
push 0
push 0
push 4
call fcn.0046a860
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 1
push eax
mov ecx, esi
mov dword [esi + 0x10], 0
call fcn.0046abd0
mov ecx, dword [ebp - 0x1c]
mov edx, dword [esi + 0x10]
mov dword [esi + 0x10], ecx
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x1c], edx
call fcn.0045b2a0
mov eax, esi
pop esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
push ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_RegEnumValueA]
lea eax, [ebp - 0x18]
push 0
push 0
push 0
push 0
push eax
lea eax, [ebp - 0x338]
mov dword [ebp - 0x18], 0x30a
push eax
push 0
push dword [ebp - 0x10]
call ebx
mov esi, 1
test eax, eax
jne 0x45f423
push edi
jmp 0x45f310
lea eax, [ebp - 0x338]
push eax
push str.installpath_
call fcn.0046a310
add esp, 8
test eax, eax
jne 0x45f3f9
push 0x30a
lea eax, [ebp - 0x644]
push eax
lea eax, [ebp - 0x338]
push eax
push dword [ebp - 0x10]
call fcn.00464150
add esp, 0x10
test eax, eax
jne 0x45f3f9
mov dword [ebp - 0x14], eax
lea ecx, [ebp - 0x14]
lea eax, [ebp - 0x644]
push eax
call fcn.0046b590
mov ecx, dword [ebp - 0x28]
lea eax, [ebp - 0x14]
mov byte [ebp - 4], 2
cmp eax, ecx
jb 0x45f39b
mov eax, dword [ebp - 0x1c]
lea eax, [ecx + eax*4]
lea ecx, [ebp - 0x14]
cmp ecx, eax
jae 0x45f39b
push str._src___m_Memory.Base______src____m_Memory.Base____m_Size___
push 0x46d
push str.c:_buildslave_steam_rel_client_win32_build_srcpublic_tier1utlvector.h
call fcn.00476e80
add esp, 0xc
test al, al
jne 0x45f39b
int3
mov edi, dword [ebp - 0x1c]
lea ecx, [ebp - 0x2c]
call fcn.0046abc0
mov edx, dword [ebp - 0x1c]
lea ecx, [edx + 1]
cmp ecx, eax
jle 0x45f3ca
lea ecx, [ebp - 0x2c]
call fcn.0046abc0
mov ecx, dword [ebp - 0x1c]
sub ecx, eax
inc ecx
push ecx
lea ecx, [ebp - 0x2c]
call fcn.0046aa70
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x28]
inc edx
mov dword [ebp - 0x1c], edx
lea ecx, [eax + edi*4]
mov eax, dword [ebp - 0x14]
mov dword [ecx], eax
mov dword [ebp - 0x14], 0
mov byte [ebp - 4], 3
call fcn.0047f570
push 0
push dword [ebp - 0x14]
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x1c]
mov byte [ebp - 4], 0
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], 0x30a
push eax
lea eax, [ebp - 0x338]
push eax
push esi
push dword [ebp - 0x10]
call ebx
inc esi
test eax, eax
je 0x45f310
pop edi
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esi, dword [ebp + 8]
mov ecx, esi
push 0
push 0
push 4
call fcn.0046a860
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 4
push eax
mov ecx, esi
mov dword [esi + 0x10], 0
call fcn.0046abd0
mov ecx, dword [ebp - 0x1c]
mov edx, dword [esi + 0x10]
mov dword [esi + 0x10], ecx
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x1c], edx
call fcn.0045b2a0
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop ebx
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret