Function at 0x45ea10
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x590d25
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x63c
push ebx
push esi
push edi
xor ebx, ebx
xor edi, edi
xor esi, esi
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x2c], edi
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x24], esi
lea eax, [ebp - 0x18]
mov dword [ebp - 4], esi
push eax
push 0x20019
push esi
push str.SoftwareValveSteamService
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x18], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x45eb17
call fcn.00476d00
test al, al
je 0x45ea96
lea eax, [ebp - 0x18]
push eax
push 0x20219
push esi
push str.SoftwareValveSteamService
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x45eb17
mov esi, dword [ebp + 8]
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov edi, dword [esi]
mov dword [esi + 8], 0
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 0xc], 0
mov dword [ebp - 4], 1
test edi, edi
je 0x45eaed
call fcn.00480220
mov ecx, eax
push 0
push edi
mov eax, dword [ecx]
call dword [eax + 0x1c]
xor edi, edi
mov byte [ebp - 4], 3
test edi, edi
je 0x45eb04
call fcn.00480220
push 0
push edi
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x1c]
pop edi
mov eax, esi
pop esi
pop ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], 0x30a
push eax
lea eax, [ebp - 0x33c]
mov dword [ebp - 0x20], 1
push eax
push 0
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_RegEnumValueA]
test eax, eax
jne 0x45eccc
jmp 0x45eb50
lea eax, [ebp - 0x33c]
push eax
push str.installpath_
call fcn.0046a470
add esp, 8
test eax, eax
jne 0x45ec97
push 0x30a
lea eax, [ebp - 0x648]
push eax
lea eax, [ebp - 0x33c]
push eax
push dword [ebp - 0x18]
call fcn.00464110
add esp, 0x10
test eax, eax
jne 0x45ec97
mov dword [ebp - 0x14], eax
lea ecx, [ebp - 0x14]
lea eax, [ebp - 0x648]
push eax
call fcn.0046b5e0
lea eax, [ebp - 0x14]
mov byte [ebp - 4], 4
cmp eax, ebx
jb 0x45ebd5
lea eax, [ebx + esi*4]
lea ecx, [ebp - 0x14]
cmp ecx, eax
jae 0x45ebd5
push str._src___m_Memory.Base______src____m_Memory.Base____m_Size___
push 0x492
push str.c:_buildslave_steam_rel_client_hotfix_win32_build_srcpublic_tier1utlvector.h
call fcn.004775a0
add esp, 0xc
test al, al
jne 0x45ebd5
int3
mov eax, esi
mov dword [ebp - 0x1c], eax
inc eax
cmp eax, edi
jle 0x45ec66
sub esi, edi
inc esi
test esi, esi
jg 0x45ec06
push 0x5938f0
push 0x1e5
push str.c:_buildslave_steam_rel_client_hotfix_win32_build_srcpublic_tier1utlmemory.h
call fcn.004775a0
add esp, 0xc
test al, al
jne 0x45ec06
int3
push 4
lea eax, [edi + esi]
xor ecx, ecx
push eax
push ecx
push edi
call fcn.0046aa00
add esp, 0x10
mov edi, eax
mov dword [ebp - 0x2c], edi
call fcn.00480220
push 0
test ebx, ebx
je 0x45ec44
mov ecx, eax
push 0x1f9
push str.c:_buildslave_steam_rel_client_hotfix_win32_build_srcpublic_tier1utlmemory.h
mov eax, dword [ecx]
mov edx, dword [eax + 0x10]
lea eax, [edi*4]
push eax
push ebx
jmp 0x45ec5f
mov ecx, dword [eax]
push 0
push 0x1fd
push str.c:_buildslave_steam_rel_client_hotfix_win32_build_srcpublic_tier1utlmemory.h
mov edx, dword [ecx + 8]
lea ecx, [edi*4]
push ecx
mov ecx, eax
call edx
mov ebx, eax
mov dword [ebp - 0x30], ebx
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x14]
inc dword [ebp - 0x24]
mov dword [ebx + ecx*4], eax
mov dword [ebp - 0x14], 0
mov byte [ebp - 4], 5
call fcn.00480220
push 0
push dword [ebp - 0x14]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x1c]
mov ecx, eax
call edx
mov esi, dword [ebp - 0x24]
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x20]
mov eax, ecx
push 0
push 0
push 0
inc ecx
mov dword [ebp - 0x10], 0x30a
push 0
mov dword [ebp - 0x20], ecx
lea ecx, [ebp - 0x10]
push ecx
lea ecx, [ebp - 0x33c]
push ecx
push eax
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_RegEnumValueA]
test eax, eax
je 0x45eb50
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp + 8]
mov dword [eax], 0
mov dword [eax + 4], 0
mov dword [eax + 8], 0
mov dword [eax + 0xc], 0
mov ecx, dword [eax]
mov dword [eax + 8], 0
mov dword [eax], ebx
mov dword [eax + 4], edi
mov dword [ebp - 0x10], ecx
mov dword [eax + 0xc], esi
mov dword [ebp - 4], 6
test ecx, ecx
je 0x45ed2d
call fcn.00480220
push 0
push dword [ebp - 0x10]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x1c]
mov ecx, eax
call edx
mov eax, dword [ebp + 8]
xor ecx, ecx
mov dword [ebp - 0x10], ecx
mov byte [ebp - 4], 8
test ecx, ecx
je 0x45ed49
call fcn.00480220
push 0
push dword [ebp - 0x10]
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x1c]
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret