Function at 0x1000f630
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x818
push ebx
push esi
push edi
call fcn.1000f980
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x818]
push 0x410
push 0
mov byte [0x10074680], 0
push eax
mov dword [0x10074b40], 0
mov dword [0x10074b44], 0
mov dword [0x10074b48], 0
mov dword [esi], 0
call fcn.10033d30
lea eax, [ebp - 0x818]
push 0x410
push eax
call fcn.1000f200
mov edi, dword [ebp + 0xc]
add esp, 0x14
mov ebx, dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov byte [ebp + 0xb], al
cmp byte [edi], 0
je 0x1000f6e3
push dword [ebp + 0x10]
push 1
push dword [0x10072008]
call fcn.1000f8f0
add esp, 0xc
mov dword [esi], eax
test eax, eax
je 0x1000f6e3
push dword [0x10072008]
lea eax, [ebp - 0x408]
push str._S_API__SteamAPI_Init__:_Loaded_local__s_OK._n
push eax
call fcn.1000f150
add esp, 0xc
lea eax, [ebp - 0x408]
push eax
call ebx
cmp dword [esi], 0
jne 0x1000f7ff
cmp byte [edi], 0
jne 0x1000f759
push 0
push 0x100598d8
push str.SoftwareValveSteamActiveProcess
push str.HKCU
call fcn.1000f4b0
add esp, 0x10
push eax
push 0
push 0x400
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebp - 4], eax
mov dword [ebp + 0xc], 0
test eax, eax
je 0x1000f752
lea ecx, [ebp + 0xc]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
test eax, eax
je 0x1000f749
cmp dword [ebp + 0xc], 0x103
jne 0x1000f749
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x1000f759
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push str._S_API__SteamAPI_Init__:_SteamAPI_IsSteamRunning___did_not_locate_a_running_instance_of_Steam._n
call ebx
cmp byte [ebp + 0xb], 0
jne 0x1000f77c
mov ebx, dword [ebp + 0x18]
mov ecx, 0xc
mov esi, str.Could_not_determine_Steam_client_install_directory.
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
mov byte [ebx + 0x33], 0
jmp 0x1000f895
push dword [ebp + 0x10]
lea eax, [ebp - 0x818]
push 1
push eax
call fcn.1000f8f0
add esp, 0xc
mov dword [esi], eax
test eax, eax
lea eax, [ebp - 0x818]
jne 0x1000f7b3
mov ebx, dword [ebp + 0x18]
push eax
push str.Failed_to_load_module__s
push ebx
call fcn.1000f110
add esp, 0xc
jmp 0x1000f895
cmp byte [edi], 0
je 0x1000f7e1
push dword [0x10072008]
push eax
lea eax, [ebp - 0x408]
push str._S_API__SteamAPI_Init__:_Loaded__s_OK.___First_tried_local__s__n
push eax
call fcn.1000f150
add esp, 0x10
lea eax, [ebp - 0x408]
push eax
call ebx
mov byte [edi], 0
jmp 0x1000f7ff
push eax
lea eax, [ebp - 0x408]
push str._S_API__SteamAPI_Init__:_Loaded__s_OK._n
push eax
call fcn.1000f150
add esp, 0xc
lea eax, [ebp - 0x408]
push eax
call ebx
mov eax, dword [esi]
test eax, eax
je 0x1000f86c
mov ebx, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x10059644
push eax
call ebx
mov edi, eax
test edi, edi
je 0x1000f86c
push 0
push str.SteamClient017
call edi
add esp, 8
mov dword [0x10074674], eax
push str.Steam_ReleaseThreadLocalMemory
push dword [0x10074ac0]
call ebx
mov esi, dword [ebp + 0x14]
push 0
push esi
mov dword [0x10074ad0], eax
call edi
mov ecx, dword [0x10074acc]
add esp, 8
inc ecx
mov dword [0x10074acc], ecx
test eax, eax
jne 0x1000f8b9
mov ebx, dword [ebp + 0x18]
push esi
push str.No__s
push ebx
call fcn.1000f110
add esp, 0xc
jmp 0x1000f895
mov ebx, dword [ebp + 0x18]
push str.steamclient.dll
push str.Unable_to_locate_interface_factory_in__s._n
push ebx
call fcn.1000f110
mov eax, dword [esi]
add esp, 0xc
test eax, eax
je 0x1000f88f
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [esi], 0
push ebx
lea eax, [ebp - 0x408]
push str._S_API__SteamAPI_Init__:__s_n
push eax
call fcn.1000f150
add esp, 0xc
lea eax, [ebp - 0x408]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret