Function at 0x10010dd0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
push ebx
push edi
mov edi, dword [ebp + 8]
test edi, edi
je 0x10011059
mov ebx, dword [ebp + 0xc]
test ebx, ebx
je 0x10011059
push esi
push 0x104
lea eax, [ebp - 0x210]
push 0
push eax
call fcn.101aca80
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
add esp, 0xc
cmp byte [ebp + 0x10], 0
je 0x10010f7b
push 1
push dword [0x1024d04c]
call fcn.100ee190
add esp, 8
test eax, eax
jne 0x10010f7b
mov dword [ebp + 8], eax
lea eax, [ebp + 8]
push eax
push str.SoftwareValveSteamActiveProcess
push 0x80000001
mov dword [ebp - 4], 0x104
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x10010f7b
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x210]
push eax
lea eax, [ebp - 8]
push eax
push 0
push str.SteamClientDll
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp + 8]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
jne 0x10010f75
push 0x101dceac
push str.SoftwareValveSteamActiveProcess
call fcn.10010d30
add esp, 8
push eax
push esi
push 0x400
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x10010f75
lea eax, [ebp + 8]
mov dword [ebp + 8], 0
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
test eax, eax
je 0x10010f6e
cmp dword [ebp + 8], 0x103
jne 0x10010f6e
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword fs:[0x2c]
mov ecx, dword [0x10262f3c]
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x1025cc60]
cmp eax, dword [ecx + 0x80]
jg 0x10011064
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp dword [0x1025cc5c], 0
je 0x10010f4c
push 0x104
lea eax, [ebp - 0x210]
push eax
lea eax, [ebp - 0x10c]
push eax
call dword [sym.imp.vstdlib_s.dll_V_strncpy]
lea eax, [ebp - 0x10c]
push 0x5c
push eax
call fcn.101ac590
add esp, 0x14
test eax, eax
je 0x10010f4c
mov byte [eax], 0
lea eax, [ebp - 0x10c]
push eax
call dword [0x1025cc5c]
lea eax, [ebp - 0x210]
push 0
push eax
call fcn.100ee190
mov dword [edi], eax
add esp, 8
mov eax, dword [0x1025cc5c]
test eax, eax
je 0x10010f7b
push 0
call eax
jmp 0x10010f7b
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov eax, dword [edi]
test eax, eax
jne 0x10011012
push eax
push dword [0x1024d04c]
call fcn.100ee190
add esp, 8
mov dword [edi], eax
test eax, eax
jne 0x10011012
push 0x104
lea eax, [ebp - 0x210]
push eax
lea eax, [ebp - 0x10c]
push eax
call dword [sym.imp.vstdlib_s.dll_V_strncpy]
lea eax, [ebp - 0x10c]
push 0x5c
push eax
call fcn.101ac590
add esp, 0x14
test eax, eax
je 0x10010fce
mov byte [eax + 1], 0
jmp 0x10010fd5
mov byte [ebp - 0x10c], 0
push 0xffffffffffffffff
push 0x104
push dword [0x1024d04c]
lea eax, [ebp - 0x10c]
push eax
call dword [sym.imp.vstdlib_s.dll_V_strncat]
lea eax, [ebp - 0x10c]
push 0
push eax
call fcn.100ee190
add esp, 0x18
mov dword [edi], eax
test eax, eax
jne 0x10011012
pop esi
pop edi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret
push 0x101dce9c
push eax
call esi
push 0
push str.CLIENTENGINE_INTERFACE_VERSION005
call eax
mov ecx, eax
add esp, 8
mov dword [ebx], ecx
test ecx, ecx
jne 0x10011038
pop esi
pop edi
lea eax, [ecx + 2]
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp + 0x14]
test edx, edx
js 0x10011050
mov esi, dword [ebp + 0x18]
test esi, esi
je 0x10011050
mov eax, dword [ecx]
push esi
push edx
call dword [eax + 0x12c]
pop esi
pop edi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
mov eax, 3
pop ebx
mov esp, ebp
pop ebp
ret
push 0x1025cc60
call fcn.101aae1b
add esp, 4
cmp dword [0x1025cc60], 0xffffffff
jne 0x10010eff
push str.SetDllDirectoryA
push 0x101dcef8
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call esi
push 0x1025cc60
mov dword [0x1025cc5c], eax
call fcn.101aadd1
add esp, 4
jmp 0x10010f05