Function at 0x45eb90
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5910c6
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 0x45ec37
call fcn.00476de0
test al, al
je 0x45ee2a
lea eax, [ebp - 0x14]
push eax
push 0x20219
push 0
push str.SoftwareValveSteamService
push reloc.OLEAUT32.dll_SysReAllocString
call edi
test eax, eax
jne 0x45ee2a
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 0x45ee21
push ebx
lea ecx, [ecx]
lea eax, [ebp - 0x32c]
push eax
push str.installpath_
call fcn.0046a340
add esp, 8
test eax, eax
jne 0x45edee
push 0x30a
lea eax, [ebp - 0x638]
push eax
lea eax, [ebp - 0x32c]
push eax
push dword [ebp - 0x14]
call fcn.00463fb0
add esp, 0x10
test eax, eax
jne 0x45edee
mov dword [ebp - 0x10], eax
lea ecx, [ebp - 0x10]
lea eax, [ebp - 0x638]
push eax
call fcn.0046b540
mov ecx, dword [esi]
lea eax, [ebp - 0x10]
mov dword [ebp - 4], 4
cmp eax, ecx
jb 0x45ecfd
mov eax, dword [esi + 0xc]
lea eax, [ecx + eax*4]
lea ecx, [ebp - 0x10]
cmp ecx, eax
jae 0x45ecfd
push str._src___m_Memory.Base______src____m_Memory.Base____m_Size___
push 0x49e
push str.C:_buildworker_steam_rel_client_win32_build_srcpublic_tier1utlvector.h
call fcn.00477620
add esp, 0xc
test al, al
jne 0x45ecfd
int3
mov ebx, dword [esi + 0xc]
mov ecx, dword [esi + 4]
lea eax, [ebx + 1]
cmp eax, ecx
jle 0x45edbc
mov edi, ebx
sub edi, ecx
inc edi
test edi, edi
jg 0x45ed33
push 0x5938f4
push 0x1e5
push str.C:_buildworker_steam_rel_client_win32_build_srcpublic_tier1utlmemory.h
call fcn.00477620
add esp, 0xc
test al, al
jne 0x45ed33
int3
mov edx, dword [esi + 8]
test edx, edx
jns 0x45ed58
push 0x5935a4
push 0x1ea
push str.C:_buildworker_steam_rel_client_win32_build_srcpublic_tier1utlmemory.h
call fcn.00477620
add esp, 0xc
test al, al
jne 0x45edb9
int3
mov ecx, dword [esi + 4]
push 4
lea eax, [ecx + edi]
push eax
push edx
push ecx
call fcn.0046a8d0
add esp, 0x10
mov dword [esi + 4], eax
cmp dword [esi], 0
je 0x45ed94
call fcn.004802a0
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 0x45edb3
call fcn.004802a0
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.004802a0
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 0x45ec70
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