Function at 0x180006ff8
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, [0x1800bc0c8]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsA]
xor r13d, r13d
cmp eax, 1
jne 0x1800070f4
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.18000a574
nop
add rsi, 0x1f0
lea r8, [rsp + 0x40]
lea rdx, [rbp - 0x30]
mov rcx, rsi
call fcn.180009e44
mov rcx, qword [rax]
add rcx, 0x30
lea rdx, str.steam_api.tnk
call fcn.180008afc
nop
mov rdx, qword [rsp + 0x58]
cmp rdx, 8
jb 0x1800070de
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800070d9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180007402
call fcn.18009168c
movdqa xmm0, xmmword [0x1800cfa60]
movdqu xmmword [rsp + 0x50], xmm0
mov word [rsp + 0x40], r13w
jmp 0x1800070fb
add rsi, 0x1f0
lea rcx, [0x1800bc118]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsA]
cmp eax, 1
jne 0x18000716f
xorps xmm0, xmm0
movups xmmword [rsp + 0x60], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x70], xmm1
lea rcx, [0x1800bc128]
call qword [sym.imp.msvcrt.dll_wcslen]
mov r8, rax
lea rdx, [0x1800bc128]
lea rcx, [rsp + 0x60]
call fcn.18000a574
nop
lea r8, [rsp + 0x60]
lea rdx, [rbp - 0x20]
mov rcx, rsi
call fcn.180009e44
mov rcx, qword [rax]
add rcx, 0x30
lea rdx, str.steam_api64.tnk
call fcn.180008afc
nop
lea rcx, [rsp + 0x60]
call fcn.180009204
lea rcx, [0x1800bc168]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsA]
cmp eax, 1
jne 0x1800071de
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.18000a574
nop
lea r8, [rbp - 0x80]
lea rdx, [rbp - 0x10]
mov rcx, rsi
call fcn.180009e44
mov rcx, qword [rax]
add rcx, 0x30
lea rdx, str.sdkencryptedappticket.tnk
call fcn.180008afc
nop
lea rcx, [rbp - 0x80]
call fcn.180009204
lea rcx, [0x1800bc1f8]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsA]
cmp eax, 1
jne 0x18000724d
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.18000a574
nop
lea r8, [rbp - 0x60]
lea rdx, [rbp - 0x40]
mov rcx, rsi
call fcn.180009e44
mov rcx, qword [rax]
add rcx, 0x30
lea rdx, str.sdkencryptedappticket64.tnk
call fcn.180008afc
nop
lea rcx, [rbp - 0x60]
call fcn.180009204
mov dword [rsp + 0x30], 4
mov byte [rsp + 0x34], 0x42
mov byte [rsp + 0x35], 0x45
mov byte [rsp + 0x36], 0x4f
mov byte [rsp + 0x37], 0x41
mov byte [rsp + 0x38], 0x57
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 0x18000727b
mov byte [rsp + 0x39], r13b
lea rdx, [rsp + 0x34]
mov rcx, rbx
call fcn.180067430
mov r14, rax
test rax, rax
je 0x1800073e1
xor edx, edx
mov rcx, rax
call fcn.180067314
mov r12d, 1
jmp 0x1800073d5
mov r9d, 0x80
lea r8, [rbp]
mov rdx, r15
mov rcx, r14
call fcn.1800030a8
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.18000a574
nop
lea r8, [rsp + 0x40]
lea rdx, [rbp - 0x40]
mov rcx, rsi
call fcn.180009e44
mov rcx, qword [rax]
add rcx, 0x30
lea rdx, [rbp + 0x290]
call fcn.180008afc
nop
lea rcx, [rsp + 0x40]
call fcn.180009204
mov edx, r12d
mov rcx, r14
call fcn.180067314
inc r12d
test rax, rax
mov r15, rax
jne 0x1800072c5
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.180095520
int3