Function at 0x140048514
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0x100
mov rax, qword [0x14010e0c0]
xor rax, rsp
mov qword [rbp + 0x4f], rax
xor ebx, ebx
lea rdx, [0x140122cc0]
mov r9, qword [0x140122cd0]
cmp qword [0x140122cd8], 0xf
jbe 0x14004855a
mov rdx, qword [0x140122cc0]
add r9, rdx
xorps xmm0, xmm0
movups xmmword [rbp - 0x71], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x61], xmm1
cmp rdx, r9
jne 0x140048584
movdqa xmm0, xmmword [0x1400fd760]
movdqu xmmword [rbp - 0x61], xmm0
mov word [rbp - 0x71], bx
jmp 0x140048591
sub r9, rdx
lea rcx, [rbp - 0x71]
call fcn.14001eec4
nop
lea rcx, [rbp + 0x2f]
call fcn.140054c4c
nop
mov r8d, SafeArrayUnaccessData
lea rdx, str._trainer_settings_
mov rcx, rax
call fcn.14001a5b4
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x31], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x21], xmm1
mov qword [rax + 0x18], 7
mov qword [rax + 0x10], rbx
mov word [rax], bx
lea r8, [rbp - 0x71]
lea rdx, [rbp - 0x31]
lea rcx, [rbp - 0x51]
call fcn.14001c9b0
nop
mov r8d, 4
lea rdx, str..ini
mov rcx, rax
call fcn.14001a5b4
xorps xmm0, xmm0
movups xmmword [rbp - 0x11], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 1], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x11], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 1], xmm1
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], 7
mov word [rax], bx
lea rcx, [rbp - 0x51]
call fcn.14001b1b8
nop
mov edi, 0x1000
mov rdx, qword [rbp - 0x19]
cmp rdx, 7
jbe 0x14004866e
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x31]
mov rax, rcx
cmp rdx, rdi
jb 0x140048668
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400488bf
call fcn.1400889e0
nop
lea rcx, [rbp + 0x2f]
call fcn.14001b1b8
nop
mov rdx, qword [rbp - 0x59]
cmp rdx, 7
jbe 0x1400486b4
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x71]
mov rax, rcx
cmp rdx, rdi
jb 0x1400486af
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400488c5
call fcn.1400889e0
lea rcx, [rbp - 0x11]
cmp qword [rbp + 7], 7
cmova rcx, qword [rbp - 0x11]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x140048860
xorps xmm0, xmm0
movups xmmword [rbp - 0x31], xmm0
movdqa xmm1, xmmword [0x1400fd770]
movdqu xmmword [rbp - 0x21], xmm1
mov byte [rbp - 0x31], bl
movups xmmword [rbp - 0x51], xmm0
movdqa xmm1, xmmword [reloc.OLEAUT32.dll_SafeArrayDestroy]
movdqu xmmword [rbp - 0x41], xmm1
movsd xmm0, qword [str.GamePassExePath]
movsd qword [rbp - 0x51], xmm0
mov eax, dword [0x1400f7b90]
mov dword [rbp - 0x49], eax
movzx eax, word [0x1400f7b94]
mov word [rbp - 0x45], ax
mov al, byte [0x1400f7b96]
mov byte [rbp - 0x43], al
mov byte [rbp - 0x42], bl
xorps xmm0, xmm0
movups xmmword [rbp - 0x71], xmm0
movdqa xmm1, xmmword [reloc.OLEAUT32.dll_SysStringLen]
movdqu xmmword [rbp - 0x61], xmm1
mov eax, dword [str.Bypass]
mov dword [rbp - 0x71], eax
movzx eax, word [0x1400f7b9c]
mov word [rbp - 0x6d], ax
mov byte [rbp - 0x6b], bl
lea rax, [rbp - 0x31]
mov qword [rsp + 0x20], rax
lea r9, [rbp - 0x11]
lea r8, [rbp - 0x51]
lea rdx, [rbp - 0x71]
lea rcx, [rbp + 0xf]
call fcn.140047d7c
nop
mov rdx, qword [rbp - 0x59]
cmp rdx, 0xf
jbe 0x1400487a7
inc rdx
mov rcx, qword [rbp - 0x71]
mov rax, rcx
cmp rdx, rdi
jb 0x1400487a2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400488cb
call fcn.1400889e0
movdqa xmm0, xmmword [0x1400fd770]
movdqu xmmword [rbp - 0x61], xmm0
mov byte [rbp - 0x71], bl
mov rdx, qword [rbp - 0x39]
cmp rdx, 0xf
jbe 0x1400487ee
inc rdx
mov rcx, qword [rbp - 0x51]
mov rax, rcx
cmp rdx, rdi
jb 0x1400487e9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400488d1
call fcn.1400889e0
movdqa xmm0, xmmword [0x1400fd770]
movdqu xmmword [rbp - 0x41], xmm0
mov byte [rbp - 0x51], bl
mov rdx, qword [rbp - 0x19]
cmp rdx, 0xf
jbe 0x140048835
inc rdx
mov rcx, qword [rbp - 0x31]
mov rax, rcx
cmp rdx, rdi
jb 0x140048830
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400488d7
call fcn.1400889e0
movdqa xmm0, xmmword [0x1400fd770]
movdqu xmmword [rbp - 0x21], xmm0
mov byte [rbp - 0x31], bl
cmp qword [rbp + 0x1f], 3
jbe 0x140048856
lea rdx, [rbp + 0xf]
call fcn.14004d7f8
nop
lea rcx, [rbp + 0xf]
call fcn.14001b1b8
nop
mov rdx, qword [rbp + 7]
cmp rdx, 7
jbe 0x140048898
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x11]
mov rax, rcx
cmp rdx, rdi
jb 0x140048893
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400488b9
call fcn.1400889e0
mov rcx, qword [rbp + 0x4f]
xor rcx, rsp
call fcn.1400889c0
lea r11, [rsp + 0x100]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov rsp, r11
pop rbp
ret
call fcn.14008f8f4
nop
call fcn.14008f8f4
nop
call fcn.14008f8f4
nop
call fcn.14008f8f4
nop
call fcn.14008f8f4
nop
call fcn.14008f8f4
int3