Function at 0x45eae0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5905d5
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.0046a530
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 0x45ebb2
call fcn.00476550
test al, al
je 0x45eb67
lea eax, [ebp - 0x14]
push eax
push 0x20219
push 0
push str.SoftwareValveSteamService
push reloc.OLEAUT32.dll_SysReAllocString
call esi
test eax, eax
je 0x45ebb2
mov esi, dword [ebp + 8]
mov ecx, esi
push 0
push 0
push 4
call fcn.0046a530
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 1
push eax
mov ecx, esi
mov dword [esi + 0x10], 0
call fcn.0046a8b0
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.0045ae10
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 0x45ed07
push edi
jmp 0x45ebf0
lea eax, [ebp - 0x338]
push eax
push str.installpath_
call fcn.00469fa0
add esp, 8
test eax, eax
jne 0x45ecdb
push 0x30a
lea eax, [ebp - 0x644]
push eax
lea eax, [ebp - 0x338]
push eax
push dword [ebp - 0x14]
call fcn.00463d10
add esp, 0x10
test eax, eax
jne 0x45ecdb
mov dword [ebp - 0x10], eax
lea ecx, [ebp - 0x10]
lea eax, [ebp - 0x644]
push eax
call fcn.0046b270
mov ecx, dword [ebp - 0x24]
lea eax, [ebp - 0x10]
mov byte [ebp - 4], 2
cmp eax, ecx
jb 0x45ec7b
mov eax, dword [ebp - 0x18]
lea eax, [ecx + eax*4]
lea ecx, [ebp - 0x10]
cmp ecx, eax
jae 0x45ec7b
push str._src___m_Memory.Base______src____m_Memory.Base____m_Size___
push 0x487
push str.c:_buildslave_steam_rel_client_hotfix_win32_build_srcpublic_tier1utlvector.h
call fcn.00476df0
add esp, 0xc
test al, al
jne 0x45ec7b
int3
mov edi, dword [ebp - 0x18]
lea ecx, [ebp - 0x28]
call fcn.0046a8a0
mov edx, dword [ebp - 0x18]
lea ecx, [edx + 1]
cmp ecx, eax
jle 0x45ecaa
lea ecx, [ebp - 0x28]
call fcn.0046a8a0
mov ecx, dword [ebp - 0x18]
sub ecx, eax
inc ecx
push ecx
lea ecx, [ebp - 0x28]
call fcn.0046a740
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.0047fa50
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 0x45ebf0
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.0046a530
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 4
push eax
mov ecx, esi
mov dword [esi + 0x10], 0
call fcn.0046a8b0
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.0045ae10
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop ebx
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret