Function at 0x180006fc8
Capabilities:
Check if file exists
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x4c8]
sub rsp, 0x5a0
mov rbx, rdx
mov rsi, rcx
lea rcx, [0x1800bb0c8]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsA]
xor r13d, r13d
cmp eax, 1
jne 0x1800070c4
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x50], 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 + 0x40]
call fcn.18000a1ac
nop
add rsi, 0x1f0
lea r8, [rsp + 0x40]
lea rdx, [rbp - 0x30]
mov rcx, rsi
call fcn.180009a7c
mov rcx, qword [rax]
add rcx, 0x30
lea rdx, str.steam_api.tnk
call fcn.180008734
nop
mov rdx, qword [rsp + 0x58]
cmp rdx, 8
jb 0x1800070ae
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800070a9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800073d2
call fcn.18009087c
movdqa xmm0, xmmword [0x1800ce9d0]
movdqu xmmword [rsp + 0x50], xmm0
mov word [rsp + 0x40], r13w
jmp 0x1800070cb
add rsi, 0x1f0
lea rcx, [0x1800bb118]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsA]
cmp eax, 1
jne 0x18000713f
xorps xmm0, xmm0
movups xmmword [rsp + 0x60], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x70], xmm1
lea rcx, [0x1800bb128]
call qword [sym.imp.msvcrt.dll_wcslen]
mov r8, rax
lea rdx, [0x1800bb128]
lea rcx, [rsp + 0x60]
call fcn.18000a1ac
nop
lea r8, [rsp + 0x60]
lea rdx, [rbp - 0x20]
mov rcx, rsi
call fcn.180009a7c
mov rcx, qword [rax]
add rcx, 0x30
lea rdx, str.steam_api64.tnk
call fcn.180008734
nop
lea rcx, [rsp + 0x60]
call fcn.180008e3c
lea rcx, [0x1800bb168]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsA]
cmp eax, 1
jne 0x1800071ae
xorps xmm0, xmm0
movups xmmword [rbp - 0x80], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x70], xmm1
lea rcx, str.sdkencryptedappticket.dll
call qword [sym.imp.msvcrt.dll_wcslen]
mov r8, rax
lea rdx, str.sdkencryptedappticket.dll
lea rcx, [rbp - 0x80]
call fcn.18000a1ac
nop
lea r8, [rbp - 0x80]
lea rdx, [rbp - 0x10]
mov rcx, rsi
call fcn.180009a7c
mov rcx, qword [rax]
add rcx, 0x30
lea rdx, str.sdkencryptedappticket.tnk
call fcn.180008734
nop
lea rcx, [rbp - 0x80]
call fcn.180008e3c
lea rcx, [0x1800bb1f8]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsA]
cmp eax, 1
jne 0x18000721d
xorps xmm0, xmm0
movups xmmword [rbp - 0x60], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x50], xmm1
lea rcx, str.sdkencryptedappticket64.dll
call qword [sym.imp.msvcrt.dll_wcslen]
mov r8, rax
lea rdx, str.sdkencryptedappticket64.dll
lea rcx, [rbp - 0x60]
call fcn.18000a1ac
nop
lea r8, [rbp - 0x60]
lea rdx, [rbp - 0x40]
mov rcx, rsi
call fcn.180009a7c
mov rcx, qword [rax]
add rcx, 0x30
lea rdx, str.sdkencryptedappticket64.tnk
call fcn.180008734
nop
lea rcx, [rbp - 0x60]
call fcn.180008e3c
mov dword [rsp + 0x30], 6
mov byte [rsp + 0x34], 0x40
mov byte [rsp + 0x35], 0x47
mov byte [rsp + 0x36], 0x4d
mov byte [rsp + 0x37], 0x43
mov byte [rsp + 0x38], 0x55
xor eax, eax
mov byte [rsp + 0x39], al
mov al, byte [rsp + 0x34]
mov rdx, r13
mov al, byte [rsp + rdx + 0x34]
mov ecx, dword [rsp + 0x30]
xor cl, al
mov byte [rsp + rdx + 0x34], cl
inc rdx
cmp rdx, 5
jb 0x18000724b
mov byte [rsp + 0x39], r13b
lea rdx, [rsp + 0x34]
mov rcx, rbx
call fcn.1800664d4
mov r14, rax
test rax, rax
je 0x1800073b1
xor edx, edx
mov rcx, rax
call fcn.1800663b8
mov r12d, 1
jmp 0x1800073a5
mov r9d, 0x80
lea r8, [rbp]
mov rdx, r15
mov rcx, r14
call fcn.180002e48
mov rcx, r15
call qword [sym.imp.msvcrt.dll_strlen]
mov rbx, rax
lea rcx, [rbp]
call qword [sym.imp.msvcrt.dll_strlen]
mov rdi, rax
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0x80]
call sub.msvcrt.dll_memset
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0x290]
call sub.msvcrt.dll_memset
mov dword [rsp + 0x28], 0x104
lea rax, [rbp + 0x80]
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 + 0x290]
mov qword [rsp + 0x20], rax
mov r9d, edi
lea r8, [rbp]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], r13
mov qword [rsp + 0x58], r13
lea rcx, [rbp + 0x80]
call qword [sym.imp.msvcrt.dll_wcslen]
mov r8, rax
lea rdx, [rbp + 0x80]
lea rcx, [rsp + 0x40]
call fcn.18000a1ac
nop
lea r8, [rsp + 0x40]
lea rdx, [rbp - 0x40]
mov rcx, rsi
call fcn.180009a7c
mov rcx, qword [rax]
add rcx, 0x30
lea rdx, [rbp + 0x290]
call fcn.180008734
nop
lea rcx, [rsp + 0x40]
call fcn.180008e3c
mov edx, r12d
mov rcx, r14
call fcn.1800663b8
inc r12d
test rax, rax
mov r15, rax
jne 0x180007295
lea r11, [rsp + 0x5a0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call fcn.180094aa0
int3