Function at 0x45eb20
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x590d76
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x62c
mov dword [ebp - 0x20], 1
push esi
mov esi, dword [ebp + 8]
push edi
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov edi, 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 - 0x20], 1
mov dword [ebp - 0x14], 0
call edi
test eax, eax
je 0x45ebc7
call fcn.00476c90
test al, al
je 0x45edba
lea eax, [ebp - 0x14]
push eax
push 0x20219
push 0
push str.SoftwareValveSteamService
push reloc.OLEAUT32.dll_SysReAllocString
call edi
test eax, eax
jne 0x45edba
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x1c], 0x30a
push eax
lea eax, [ebp - 0x32c]
mov edi, 1
push eax
push 0
push dword [ebp - 0x14]
mov dword [ebp - 0x18], edi
call dword [sym.imp.ADVAPI32.dll_RegEnumValueA]
test eax, eax
jne 0x45edb1
push ebx
lea ecx, [ecx]
lea eax, [ebp - 0x32c]
push eax
push str.installpath_
call fcn.0046a250
add esp, 8
test eax, eax
jne 0x45ed7e
push 0x30a
lea eax, [ebp - 0x638]
push eax
lea eax, [ebp - 0x32c]
push eax
push dword [ebp - 0x14]
call fcn.00463ec0
add esp, 0x10
test eax, eax
jne 0x45ed7e
mov dword [ebp - 0x10], eax
lea ecx, [ebp - 0x10]
lea eax, [ebp - 0x638]
push eax
call fcn.0046b450
mov ecx, dword [esi]
lea eax, [ebp - 0x10]
mov dword [ebp - 4], 4
cmp eax, ecx
jb 0x45ec8d
mov eax, dword [esi + 0xc]
lea eax, [ecx + eax*4]
lea ecx, [ebp - 0x10]
cmp ecx, eax
jae 0x45ec8d
push str._src___m_Memory.Base______src____m_Memory.Base____m_Size___
push 0x49f
push str.C:_buildworker_steam_rel_client_win32_build_srcpublic_tier1utlvector.h
call fcn.004774e0
add esp, 0xc
test al, al
jne 0x45ec8d
int3
mov ebx, dword [esi + 0xc]
mov ecx, dword [esi + 4]
lea eax, [ebx + 1]
cmp eax, ecx
jle 0x45ed4c
mov edi, ebx
sub edi, ecx
inc edi
test edi, edi
jg 0x45ecc3
push 0x5938e4
push 0x1e5
push str.C:_buildworker_steam_rel_client_win32_build_srcpublic_tier1utlmemory.h
call fcn.004774e0
add esp, 0xc
test al, al
jne 0x45ecc3
int3
mov edx, dword [esi + 8]
test edx, edx
jns 0x45ece8
push 0x593594
push 0x1ea
push str.C:_buildworker_steam_rel_client_win32_build_srcpublic_tier1utlmemory.h
call fcn.004774e0
add esp, 0xc
test al, al
jne 0x45ed49
int3
mov ecx, dword [esi + 4]
push 4
lea eax, [ecx + edi]
push eax
push edx
push ecx
call fcn.0046a7e0
add esp, 0x10
mov dword [esi + 4], eax
cmp dword [esi], 0
je 0x45ed24
call fcn.00480170
push 0
push 0x1f9
push str.C:_buildworker_steam_rel_client_win32_build_srcpublic_tier1utlmemory.h
mov ecx, dword [eax]
mov edx, dword [ecx + 0x10]
mov ecx, dword [esi + 4]
shl ecx, 2
push ecx
push dword [esi]
jmp 0x45ed43
call fcn.00480170
push 0
push 0
push 0x1fd
mov ecx, dword [eax]
push str.C:_buildworker_steam_rel_client_win32_build_srcpublic_tier1utlmemory.h
mov edx, dword [ecx + 8]
mov ecx, dword [esi + 4]
shl ecx, 2
push ecx
mov ecx, eax
call edx
mov dword [esi], eax
mov edi, dword [ebp - 0x18]
mov eax, dword [esi]
inc dword [esi + 0xc]
lea ecx, [eax + ebx*4]
mov eax, dword [ebp - 0x10]
mov dword [ecx], eax
mov dword [ebp - 0x10], 0
mov dword [ebp - 4], 5
call fcn.00480170
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 - 0x1c]
mov dword [ebp - 0x1c], 0x30a
push ecx
lea ecx, [ebp - 0x32c]
mov eax, edi
push ecx
push eax
push dword [ebp - 0x14]
inc edi
mov dword [ebp - 0x18], edi
call dword [sym.imp.ADVAPI32.dll_RegEnumValueA]
test eax, eax
je 0x45ec00
pop ebx
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret