Function at 0x13b406440
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push r14
sub rsp, 0x850
mov rbp, r9
movzx ebx, r8b
mov r14, rdx
mov rsi, rcx
call sym.steam_api64.dll_SteamAPI_GetSteamInstallPath
test rsi, rsi
jne 0x13b40646e
xor eax, eax
jmp 0x13b40670b
mov qword [rsp + 0x870], rdi
lea rcx, [rsp + 0x440]
mov qword [rsp + 0x880], r15
xor edx, edx
xor r15d, r15d
mov byte [0x13b444380], 0
mov r8d, 0x410
mov qword [0x13b444880], r15
mov qword [0x13b444888], r15
mov qword [0x13b444890], r15
mov qword [rsi], r15
call fcn.13b40ae50
mov edx, 0x410
lea rcx, [rsp + 0x440]
call fcn.13b405580
movzx edi, al
cmp byte [r14], r15b
je 0x13b40650c
mov rcx, qword [str.steamclient64.dll]
movzx r8d, bl
mov dl, 1
call fcn.13b407430
mov qword [rsi], rax
test rax, rax
je 0x13b40650c
mov r8, qword [str.steamclient64.dll]
lea rdx, str._S_API__SteamAPI_Init__:_Loaded_local__s_OK._n
lea rcx, [rsp + 0x30]
call fcn.13b405350
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
cmp qword [rsi], r15
jne 0x13b406661
cmp byte [r14], r15b
jne 0x13b406530
call sym.steam_api64.dll_SteamAPI_IsSteamRunning
test al, al
jne 0x13b406530
lea rcx, str._S_API__SteamAPI_Init__:_SteamAPI_IsSteamRunning___did_not_locate_a_running_instance_of_Steam._n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
test dil, dil
jne 0x13b406547
lea rcx, str._S_API__SteamAPI_Init__:_Could_not_determine_Steam_client_install_directory._n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
jmp 0x13b4066f9
mov qword [rsp + 0x878], r12
lea rcx, [rsp + 0x440]
mov r12, 0xffffffffffffffff
mov rax, r12
inc rax
cmp byte [rcx + rax], r15b
jne 0x13b406561
movsxd rcx, eax
lea edi, [rax + 1]
inc rcx
mov eax, 2
mul rcx
cmovo rax, r12
mov rcx, rax
call fcn.13b4094c8
mov r9d, r12d
mov dword [rsp + 0x28], edi
lea r8, [rsp + 0x440]
mov qword [rsp + 0x20], rax
xor edx, edx
mov ecx, 0xfde9
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov r12, qword [rsp + 0x878]
test eax, eax
jne 0x13b4065bb
mov word [rbx], r15w
xor edx, edx
mov rcx, rbx
lea r8d, [rdx + 8]
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov rcx, rbx
mov rdi, rax
call fcn.13b408e7c
test rdi, rdi
jne 0x13b4065f1
xor edx, edx
lea r8d, [rdi + 8]
lea rcx, [rsp + 0x440]
call qword [sym.imp.KERNEL32.dll_LoadLibraryExA]
mov rdi, rax
mov qword [rsi], rdi
lea r8, [rsp + 0x440]
lea rcx, [rsp + 0x30]
test rdi, rdi
jne 0x13b406622
lea rdx, str._S_API__SteamAPI_Init__:_Sys_LoadModule_failed_to_load:__s_n
call fcn.13b405350
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
jmp 0x13b4066f9
cmp byte [r14], r15b
je 0x13b40664a
mov r9, qword [str.steamclient64.dll]
lea rdx, str._S_API__SteamAPI_Init__:_Loaded__s_OK.___First_tried_local__s__n
call fcn.13b405350
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov byte [r14], r15b
jmp 0x13b406661
lea rdx, str._S_API__SteamAPI_Init__:_Loaded__s_OK._n
call fcn.13b405350
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov rcx, qword [rsi]
test rcx, rcx
je 0x13b4066c5
lea rdx, str.CreateInterface
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rbx, rax
test rax, rax
je 0x13b4066c5
xor edx, edx
lea rcx, str.SteamClient017
call rbx
mov rcx, qword [0x13b4447e0]
lea rdx, str.Steam_ReleaseThreadLocalMemory
mov qword [0x13b444368], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
xor edx, edx
mov rcx, rbp
mov qword [0x13b4447f8], rax
call rbx
mov rcx, qword [0x13b4447f0]
inc rcx
mov qword [0x13b4447f0], rcx
jmp 0x13b4066fb
lea r8, str.steamclient64.dll
lea rdx, str._S_API_FAIL__SteamAPI_Init___failed__unable_to_locate_interface_factory_in__s._n
lea rcx, [rsp + 0x30]
call fcn.13b405350
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov rcx, qword [rsi]
test rcx, rcx
je 0x13b4066f6
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov qword [rsi], r15
xor eax, eax
mov rdi, qword [rsp + 0x870]
mov r15, qword [rsp + 0x880]
mov rbx, qword [rsp + 0x888]
add rsp, 0x850
pop r14
pop rsi
pop rbp
ret