Function at 0x45eec0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x591e25
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 - 0x28]
call fcn.0046a560
mov dword [ebp - 0x18], 0
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
lea eax, [ebp - 0x14]
push eax
push 0x20019
push 0
push str.SoftwareValveSteamService
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 4], 0
mov dword [ebp - 0x14], 0
call esi
test eax, eax
je 0x45ef92
call fcn.004764c0
test al, al
je 0x45ef47
lea eax, [ebp - 0x14]
push eax
push 0x20219
push 0
push str.SoftwareValveSteamService
push reloc.OLEAUT32.dll_SysReAllocString
call esi
test eax, eax
je 0x45ef92
mov esi, dword [ebp + 8]
mov ecx, esi
push 0
push 0
push 4
call fcn.0046a560
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 1
push eax
mov ecx, esi
mov dword [esi + 0x10], 0
call fcn.0046a8e0
mov ecx, dword [ebp - 0x18]
mov edx, dword [esi + 0x10]
mov dword [esi + 0x10], ecx
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], edx
call fcn.0045af40
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 - 0x2c]
push 0
push 0
push 0
push 0
push eax
lea eax, [ebp - 0x338]
mov dword [ebp - 0x2c], 0x30a
push eax
push 0
push dword [ebp - 0x14]
mov esi, 1
call ebx
test eax, eax
jne 0x45f0e7
push edi
jmp 0x45efd0
lea eax, [ebp - 0x338]
push eax
push str.installpath_
call fcn.0046a010
add esp, 8
test eax, eax
jne 0x45f0bb
push 0x30a
lea eax, [ebp - 0x644]
push eax
lea eax, [ebp - 0x338]
push eax
push dword [ebp - 0x14]
call fcn.00463e60
add esp, 0x10
test eax, eax
jne 0x45f0bb
mov dword [ebp - 0x10], eax
lea ecx, [ebp - 0x10]
lea eax, [ebp - 0x644]
push eax
call fcn.0046b2a0
mov ecx, dword [ebp - 0x24]
lea eax, [ebp - 0x10]
mov byte [ebp - 4], 2
cmp eax, ecx
jb 0x45f05b
mov eax, dword [ebp - 0x18]
lea eax, [ecx + eax*4]
lea ecx, [ebp - 0x10]
cmp ecx, eax
jae 0x45f05b
push str._src___m_Memory.Base______src____m_Memory.Base____m_Size___
push 0x485
push str.c:_buildslave_steam_rel_client_hotfix_win32_build_srcpublic_tier1utlvector.h
call fcn.00476d20
add esp, 0xc
test al, al
jne 0x45f05b
int3
mov edi, dword [ebp - 0x18]
lea ecx, [ebp - 0x28]
call fcn.0046a8d0
mov edx, dword [ebp - 0x18]
lea ecx, [edx + 1]
cmp ecx, eax
jle 0x45f08a
lea ecx, [ebp - 0x28]
call fcn.0046a8d0
mov ecx, dword [ebp - 0x18]
sub ecx, eax
inc ecx
push ecx
lea ecx, [ebp - 0x28]
call fcn.0046a770
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x24]
inc edx
mov dword [ebp - 0x18], edx
lea ecx, [eax + edi*4]
mov eax, dword [ebp - 0x10]
mov dword [ecx], eax
mov dword [ebp - 0x10], 0
mov byte [ebp - 4], 3
call fcn.0047f4e0
push 0
push dword [ebp - 0x10]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x1c]
mov ecx, eax
call edx
mov byte [ebp - 4], 0
push 0
push 0
push 0
push 0
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x2c], 0x30a
push ecx
lea ecx, [ebp - 0x338]
mov eax, esi
push ecx
push eax
push dword [ebp - 0x14]
inc esi
call ebx
test eax, eax
je 0x45efd0
pop edi
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esi, dword [ebp + 8]
mov ecx, esi
push 0
push 0
push 4
call fcn.0046a560
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 4
push eax
mov ecx, esi
mov dword [esi + 0x10], 0
call fcn.0046a8e0
mov ecx, dword [ebp - 0x18]
mov edx, dword [esi + 0x10]
mov dword [esi + 0x10], ecx
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], edx
call fcn.0045af40
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop ebx
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret