Function at 0x13b407c70
Capabilities:
Check if file exists
Create process on windows
Get file attributes
Query environment variable

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x2390]
mov eax, 0x2490
call fcn.13b4094e0
sub rsp, rax
xor r15d, r15d
mov esi, ecx
mov dword [rbp + 0x23c0], r15d
mov r14d, r15d
test ecx, ecx
je 0x13b4081b1
lea r8d, [r15 + 0x20]
lea rdx, [rsp + 0x40]
lea rcx, str.SteamAppId
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
dec eax
cmp eax, 0x1e
ja 0x13b407cd7
lea rcx, [rsp + 0x40]
call fcn.13b4121b8
test eax, eax
jne 0x13b4081b1
lea rdx, [0x13b427f1c]
mov edi, r15d
lea rcx, str.steam_appid.txt
call fcn.13b412520
mov rbx, rax
test rax, rax
je 0x13b407d47
xor edx, edx
lea rcx, [rbp + 0x370]
mov r8d, 0x100
call fcn.13b40ae50
mov r8, rbx
lea rcx, [rbp + 0x370]
mov edx, 0x100
call fcn.13b4126e0
test rax, rax
je 0x13b407d37
lea rcx, [rbp + 0x370]
mov byte [rbp + 0x46f], dil
call fcn.13b4121b8
mov edi, eax
mov rcx, rbx
call fcn.13b4125b0
test edi, edi
jne 0x13b4081b1
mov edx, 0x800
mov qword [rsp + 0x24d0], r12
lea rcx, [rbp + 0x370]
call fcn.13b4058c0
lea rcx, [rbp + 0x1390]
mov byte [rbp + 0xb6f], r14b
mov r12, 0xffffffffffffffff
mov r8d, esi
cmp byte [rbp + 0x370], r14b
jne 0x13b407d92
lea rdx, str.steam:__run__u
call fcn.13b405200
jmp 0x13b407e7c
lea rdx, str.steam:__run__u__
call fcn.13b405200
lea rcx, [rbp + 0x1390]
mov rax, r12
nop dword [rax + rax]
inc rax
cmp byte [rcx + rax], r14b
jne 0x13b407db0
cdqe
lea r9, [rbp + 0x1390]
add r9, rax
lea rcx, [rbp + 0x370]
mov rax, r12
mov rdx, r15
mov r8, r15
inc rax
cmp byte [rcx + rax], dl
jne 0x13b407dd5
movsxd r11, eax
test eax, eax
je 0x13b407e78
movabs rdi, 0x43ffffff01ffb
lea rbx, str.0123456789ABCDEF
nop dword [rax]
movzx ecx, byte [rbp + r8 + 0x370]
lea eax, [rcx - 0x61]
cmp al, 0x19
jbe 0x13b407e4f
lea eax, [rcx - 0x2d]
cmp al, 0x32
ja 0x13b407e1d
bt rdi, rax
jb 0x13b407e4f
lea rax, [rdx + 3]
cmp rax, 0x1801
jae 0x13b407e73
mov byte [rdx + r9], 0x25
mov rax, rcx
shr rax, 4
movzx eax, byte [rax + rbx]
mov byte [rdx + r9 + 1], al
add rdx, 2
and ecx, 0xf
movzx eax, byte [rcx + rbx]
mov byte [rdx + r9], al
jmp 0x13b407e5f
lea rax, [rdx + 1]
cmp rax, 0x1801
jae 0x13b407e73
mov byte [rdx + r9], cl
inc rdx
inc r8
cmp r8, r11
jb 0x13b407e00
cmp rdx, 0x1801
jb 0x13b407e78
mov byte [r9], r14b
jmp 0x13b407e7c
mov byte [rdx + r9], r14b
xor edx, edx
lea rcx, [rsp + 0x60]
mov r8d, 0x410
call fcn.13b40ae50
xor edx, edx
lea rcx, [rbp + 0xb70]
mov r8d, 0x820
call fcn.13b40ae50
mov r8d, 0x820
lea rdx, [rbp + 0xb70]
mov ecx, esi
call fcn.13b405d10
test al, al
je 0x13b407ef2
mov qword [rsp + 0x38], r15
lea rax, [rsp + 0x60]
mov qword [rsp + 0x30], r15
lea r8, [rbp + 0xb70]
mov dword [rsp + 0x28], 0x410
mov r9d, r12d
xor edx, edx
mov qword [rsp + 0x20], rax
mov ecx, 0xfde9
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
jmp 0x13b407f93
lea r9, [rsp + 0x60]
mov dword [rsp + 0x20], 0x410
lea r8, str.InstallPath
lea rdx, str.SoftwareValveSteam
lea rcx, str.HKLM
call fcn.13b405a70
test al, al
je 0x13b407f35
lea rcx, [rsp + 0x60]
mov rax, r12
inc rax
cmp byte [rcx + rax], r14b
jne 0x13b407f25
mov ebx, 0x40f
jmp 0x13b407f70
call sym.steam_api64.dll_SteamAPI_GetSteamInstallPath
test rax, rax
je 0x13b408007
mov ebx, 0x40f
lea rcx, [rsp + 0x60]
mov r8d, ebx
mov rdx, rax
call fcn.13b40d6f0
lea rcx, [rsp + 0x60]
mov byte [rbp + 0x36f], r14b
mov rax, r12
inc rax
cmp byte [rcx + rax], r14b
jne 0x13b407f67
sub rbx, rax
test rbx, rbx
jle 0x13b407f8c
mov r8, rbx
lea rdx, str._steam.exe
lea rcx, [rsp + 0x60]
call fcn.13b411190
mov byte [rbp + 0x36f], r14b
cmp byte [rsp + 0x60], r14b
je 0x13b40800c
lea rax, [rsp + 0x60]
mov rdi, r12
inc rdi
cmp byte [rax + rdi], r14b
jne 0x13b407fa2
inc edi
mov eax, 2
movsxd rcx, edi
mul rcx
cmovo rax, r12
mov rcx, rax
call fcn.13b4094c8
mov r9d, r12d
mov dword [rsp + 0x28], edi
lea r8, [rsp + 0x60]
mov qword [rsp + 0x20], rax
xor edx, edx
mov ecx, 0xfde9
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
test eax, eax
jne 0x13b407fed
mov word [rbx], r15w
mov rcx, rbx
mov r14d, 1
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x13b408013
movzx edi, r14b
jmp 0x13b408016
mov byte [rsp + 0x60], r14b
mov rbx, qword [rbp + 0x23c8]
xor dil, dil
test r14b, 1
je 0x13b408024
mov rcx, rbx
call fcn.13b408e7c
lea rax, [rbp + 0x1390]
mov rsi, r12
nop
inc rsi
cmp byte [rax + rsi], r15b
jne 0x13b408030
movsxd rcx, esi
mov eax, 2
inc rcx
test dil, dil
je 0x13b408139
mul rcx
cmovo rax, r12
mov rcx, rax
call fcn.13b4094c8
mov rdi, rax
lea r8, [rbp + 0x1390]
lea eax, [rsi + 1]
mov r9d, r12d
mov dword [rsp + 0x28], eax
xor edx, edx
mov ecx, 0xfde9
mov qword [rsp + 0x20], rdi
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
test eax, eax
jne 0x13b40808a
mov word [rdi], r15w
lea rcx, [rsp + 0x60]
mov rsi, r12
inc rsi
cmp byte [rcx + rsi], r15b
jne 0x13b408092
movsxd rdx, esi
mov eax, 2
inc rdx
mul rdx
cmovo rax, r12
mov rcx, rax
call fcn.13b4094c8
mov rbx, rax
lea r8, [rsp + 0x60]
lea eax, [rsi + 1]
mov r9d, r12d
mov dword [rsp + 0x28], eax
xor edx, edx
mov ecx, 0xfde9
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
test eax, eax
jne 0x13b4080e1
mov word [rbx], r15w
mov dword [rsp + 0x28], 1
mov r9, rdi
mov r8, rbx
mov qword [rsp + 0x20], r15
xor edx, edx
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp rax, 0x20
mov rcx, rbx
seta sil
call fcn.13b408e7c
mov rcx, rdi
call fcn.13b408e7c
movzx eax, sil
mov r12, qword [rsp + 0x24d0]
mov rbx, qword [rsp + 0x24d8]
add rsp, 0x2490
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
mul rcx
cmovo rax, r12
mov rcx, rax
call fcn.13b4094c8
mov rbx, rax
lea r8, [rbp + 0x1390]
lea eax, [rsi + 1]
mov r9d, r12d
mov dword [rsp + 0x28], eax
xor edx, edx
mov ecx, 0xfde9
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
test eax, eax
jne 0x13b408176
mov word [rbx], r15w
mov dword [rsp + 0x28], 1
lea rdx, str.open
xor r9d, r9d
mov qword [rsp + 0x20], r15
mov r8, rbx
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp rax, 0x20
mov rcx, rbx
seta dil
call fcn.13b408e7c
movzx eax, dil
jmp 0x13b40811a
xor al, al
jmp 0x13b408122