Function at 0x18000706c
Capabilities:
Check if file exists

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x4b8]
sub rsp, 0x590
mov rbx, rdx
mov rsi, rcx
lea rcx, [0x1800bb0c8]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsA]
xor r13d, r13d
cmp eax, 1
jne 0x180007168
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x40], xmm1
lea rcx, str.steam_api.dll
call qword [sym.imp.msvcrt.dll_wcslen]
mov r8, rax
lea rdx, str.steam_api.dll
lea rcx, [rsp + 0x30]
call fcn.18000a304
nop
add rsi, 0x1f0
lea r8, [rsp + 0x30]
lea rdx, [rbp - 0x40]
mov rcx, rsi
call fcn.180009bd4
mov rcx, qword [rax]
add rcx, 0x30
lea rdx, str.steam_api.tnk
call fcn.18000888c
nop
mov rdx, qword [rsp + 0x48]
cmp rdx, 8
jb 0x180007152
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18000714d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180007472
call fcn.180090a0c
movdqa xmm0, xmmword [0x1800cea60]
movdqu xmmword [rsp + 0x40], xmm0
mov word [rsp + 0x30], r13w
jmp 0x18000716f
add rsi, 0x1f0
lea rcx, [0x1800bb118]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsA]
cmp eax, 1
jne 0x1800071e3
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x60], xmm1
lea rcx, [0x1800bb128]
call qword [sym.imp.msvcrt.dll_wcslen]
mov r8, rax
lea rdx, [0x1800bb128]
lea rcx, [rsp + 0x50]
call fcn.18000a304
nop
lea r8, [rsp + 0x50]
lea rdx, [rbp - 0x30]
mov rcx, rsi
call fcn.180009bd4
mov rcx, qword [rax]
add rcx, 0x30
lea rdx, str.steam_api64.tnk
call fcn.18000888c
nop
lea rcx, [rsp + 0x50]
call fcn.180008f94
lea rcx, [0x1800bb168]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsA]
cmp eax, 1
jne 0x180007256
xorps xmm0, xmm0
movups xmmword [rsp + 0x70], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x80], xmm1
lea rcx, str.sdkencryptedappticket.dll
call qword [sym.imp.msvcrt.dll_wcslen]
mov r8, rax
lea rdx, str.sdkencryptedappticket.dll
lea rcx, [rsp + 0x70]
call fcn.18000a304
nop
lea r8, [rsp + 0x70]
lea rdx, [rbp - 0x20]
mov rcx, rsi
call fcn.180009bd4
mov rcx, qword [rax]
add rcx, 0x30
lea rdx, str.sdkencryptedappticket.tnk
call fcn.18000888c
nop
lea rcx, [rsp + 0x70]
call fcn.180008f94
lea rcx, [0x1800bb1f8]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsA]
cmp eax, 1
jne 0x1800072c5
xorps xmm0, xmm0
movups xmmword [rbp - 0x70], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x60], xmm1
lea rcx, str.sdkencryptedappticket64.dll
call qword [sym.imp.msvcrt.dll_wcslen]
mov r8, rax
lea rdx, str.sdkencryptedappticket64.dll
lea rcx, [rbp - 0x70]
call fcn.18000a304
nop
lea r8, [rbp - 0x70]
lea rdx, [rbp - 0x50]
mov rcx, rsi
call fcn.180009bd4
mov rcx, qword [rax]
add rcx, 0x30
lea rdx, str.sdkencryptedappticket64.tnk
call fcn.18000888c
nop
lea rcx, [rbp - 0x70]
call fcn.180008f94
mov byte [rbp + 0x4d0], 0x4e
mov byte [rbp + 0x4d1], 0x49
mov byte [rbp + 0x4d2], 0x53
mov byte [rbp + 0x4d3], 0x4d
mov byte [rbp + 0x4d4], 0x5b
mov byte [rbp + 0x4d5], r13b
mov al, byte [rbp + 0x4d0]
mov rcx, r13
mov al, byte [rbp + rcx + 0x4d0]
sub al, 8
mov byte [rbp + rcx + 0x4d0], al
inc rcx
cmp rcx, 5
jb 0x1800072f8
lea rdx, [rbp + 0x4d0]
mov rcx, rbx
call fcn.1800667d8
mov r14, rax
test rax, rax
je 0x180007451
xor edx, edx
mov rcx, rax
call fcn.1800666bc
mov r12d, 1
jmp 0x180007445
mov r9d, 0x80
lea r8, [rbp - 0x10]
mov rdx, r15
mov rcx, r14
call fcn.180003068
mov rcx, r15
call qword [sym.imp.msvcrt.dll_strlen]
mov rbx, rax
lea rcx, [rbp - 0x10]
call qword [sym.imp.msvcrt.dll_strlen]
mov rdi, rax
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0x70]
call sub.msvcrt.dll_memset
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0x280]
call sub.msvcrt.dll_memset
mov dword [rsp + 0x28], 0x104
lea rax, [rbp + 0x70]
mov qword [rsp + 0x20], rax
mov r9d, ebx
mov r8, r15
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov dword [rsp + 0x28], 0x104
lea rax, [rbp + 0x280]
mov qword [rsp + 0x20], rax
mov r9d, edi
lea r8, [rbp - 0x10]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x40], r13
mov qword [rsp + 0x48], r13
lea rcx, [rbp + 0x70]
call qword [sym.imp.msvcrt.dll_wcslen]
mov r8, rax
lea rdx, [rbp + 0x70]
lea rcx, [rsp + 0x30]
call fcn.18000a304
nop
lea r8, [rsp + 0x30]
lea rdx, [rbp - 0x50]
mov rcx, rsi
call fcn.180009bd4
mov rcx, qword [rax]
add rcx, 0x30
lea rdx, [rbp + 0x280]
call fcn.18000888c
nop
lea rcx, [rsp + 0x30]
call fcn.180008f94
mov edx, r12d
mov rcx, r14
call fcn.1800666bc
inc r12d
test rax, rax
mov r15, rax
jne 0x180007341
lea r11, [rsp + 0x590]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call fcn.1800948a0
int3