Function at 0x1400410c0
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], r14
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0xf0
mov rax, qword [0x1400f2688]
xor rax, rsp
mov qword [rbp + 0x4f], rax
lea rdi, [0x1400f4f60]
mov rbx, qword [0x1400f4f70]
cmp qword [0x1400f4f78], 0x10
jb 0x14004110e
mov rdi, qword [0x1400f4f60]
add rbx, rdi
xor r14d, r14d
mov qword [rbp - 0x11], r14
mov qword [rbp - 1], r14
mov qword [rbp + 7], 7
mov word [rbp - 0x11], r14w
mov rdx, rbx
sub rdx, rdi
lea rcx, [rbp - 0x11]
call fcn.14002af70
xor r9d, r9d
mov r8, rbx
mov rdx, rdi
lea rcx, [rbp - 0x11]
call fcn.1400038f0
nop
lea rcx, [rbp - 0x31]
call fcn.14004e960
mov rbx, rax
mov rcx, qword [rax + 0x10]
mov rdx, qword [rax + 0x18]
mov rax, rdx
sub rax, rcx
cmp rax, 0x12
jb 0x14004119c
lea rsi, [rcx + 0x12]
mov qword [rbx + 0x10], rsi
mov rdi, rbx
cmp rdx, 8
jb 0x14004117f
mov rdi, qword [rbx]
lea rcx, [rdi + rcx*2]
mov r8d, 0x24
lea rdx, str._trainer_settings_
call fcn.14008a080
mov word [rdi + rsi*2], r14w
jmp 0x1400411c1
mov qword [rsp + 0x20], SafeArrayUnaccessData
lea r9, str._trainer_settings_
movzx r8d, byte [rbp - 0x69]
mov edx, 0x12
mov rcx, rbx
call fcn.140005170
mov rbx, rax
movups xmm0, xmmword [rbx]
movups xmmword [rbp + 0x2f], xmm0
movups xmm1, xmmword [rbx + 0x10]
movups xmmword [rbp + 0x3f], xmm1
mov qword [rbx + 0x10], r14
mov qword [rbx + 0x18], 7
mov word [rbx], r14w
lea r9, [rbp - 0x11]
lea r8, [rbp + 0x2f]
movzx edx, byte [rbp - 0x69]
lea rcx, [rbp - 0x51]
call fcn.1400080e0
nop
mov rdx, qword [rbp - 0x41]
mov r8, qword [rbp - 0x39]
mov rax, r8
sub rax, rdx
cmp rax, 4
jb 0x140041238
lea rcx, [rdx + 4]
mov qword [rbp - 0x41], rcx
lea rax, [rbp - 0x51]
cmp r8, 8
cmovae rax, qword [rbp - 0x51]
movabs r8, 0x69006e0069002e
mov qword [rax + rdx*2], r8
mov word [rax + rcx*2], r14w
lea rax, [rbp - 0x51]
jmp 0x14004125b
mov qword [rsp + 0x20], 4
lea r9, str..ini
movzx r8d, byte [rbp - 0x69]
mov edx, 4
lea rcx, [rbp - 0x51]
call fcn.140005170
mov qword [rbp + 0xf], r14
mov qword [rbp + 0x1f], r14
mov qword [rbp + 0x27], r14
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0xf], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x1f], xmm1
mov qword [rax + 0x10], r14
mov qword [rax + 0x18], 7
mov word [rax], r14w
mov rdx, qword [rbp - 0x39]
cmp rdx, 8
jb 0x1400412c6
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x51]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400412c1
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140041675
call fcn.140087c4c
mov qword [rbp - 0x41], r14
mov qword [rbp - 0x39], 7
mov word [rbp - 0x51], r14w
mov rdx, qword [rbp + 0x47]
cmp rdx, 8
jb 0x140041318
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x2f]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140041312
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14004167b
call fcn.140087c4c
nop
mov rdx, qword [rbp - 0x19]
cmp rdx, 8
jb 0x140041358
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x31]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140041353
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140041681
call fcn.140087c4c
mov qword [rbp - 0x21], r14
mov qword [rbp - 0x19], 7
mov word [rbp - 0x31], r14w
mov rdx, qword [rbp + 7]
cmp rdx, 8
jb 0x1400413a9
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x11]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400413a4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140041687
call fcn.140087c4c
mov qword [rbp - 1], r14
mov qword [rbp + 7], 7
mov word [rbp - 0x11], r14w
lea rcx, [rbp + 0xf]
call fcn.14004f040
test al, al
je 0x14004160a
mov qword [rbp - 0x31], r14
mov qword [rbp - 0x19], reloc.OLEAUT32.dll_SafeArrayDestroy
mov qword [rbp - 0x21], r14
mov byte [rbp - 0x31], 0
mov qword [rbp - 0x39], reloc.OLEAUT32.dll_SafeArrayDestroy
mov qword [rbp - 0x41], reloc.OLEAUT32.dll_SafeArrayDestroy
movsd xmm0, qword [str.GamePassExePath]
movsd qword [rbp - 0x51], xmm0
mov eax, dword [0x1400bac98]
mov dword [rbp - 0x49], eax
movzx eax, word [0x1400bac9c]
mov word [rbp - 0x45], ax
movzx eax, byte [0x1400bac9e]
mov byte [rbp - 0x43], al
mov byte [rbp - 0x42], 0
mov qword [rbp - 0x11], r14
mov qword [rbp - 1], r14
mov qword [rbp + 7], reloc.OLEAUT32.dll_SafeArrayDestroy
mov byte [rbp - 0x11], 0
mov r8d, 6
lea rdx, str.Bypass
lea rcx, [rbp - 0x11]
call fcn.1400294c0
nop
lea rax, [rbp - 0x31]
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0xf]
lea r8, [rbp - 0x51]
lea rdx, [rbp - 0x11]
lea rcx, [rbp + 0x2f]
call fcn.140041f90
nop
mov rdx, qword [rbp + 7]
cmp rdx, 0x10
jb 0x1400414a3
inc rdx
mov rcx, qword [rbp - 0x11]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004149e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14004168d
call fcn.140087c4c
mov qword [rbp - 1], r14
mov qword [rbp + 7], reloc.OLEAUT32.dll_SafeArrayDestroy
mov byte [rbp - 0x11], 0
mov rdx, qword [rbp - 0x39]
cmp rdx, 0x10
jb 0x1400414ee
inc rdx
mov rcx, qword [rbp - 0x51]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400414e9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140041693
call fcn.140087c4c
mov qword [rbp - 0x41], r14
mov qword [rbp - 0x39], reloc.OLEAUT32.dll_SafeArrayDestroy
mov byte [rbp - 0x51], 0
mov rdx, qword [rbp - 0x19]
cmp rdx, 0x10
jb 0x140041539
inc rdx
mov rcx, qword [rbp - 0x31]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140041534
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140041699
call fcn.140087c4c
mov qword [rbp - 0x21], r14
mov qword [rbp - 0x19], reloc.OLEAUT32.dll_SafeArrayDestroy
mov byte [rbp - 0x31], 0
cmp qword [rbp + 0x3f], 3
jbe 0x140041600
mov rbx, qword [0x1400f4a70]
lea rdi, [0x1400f5060]
mov qword [rbp - 0x59], rdi
mov rcx, rdi
call fcn.1400857fc
test eax, eax
jne 0x14004169f
lea edx, [rax + 0xa]
mov rcx, rbx
call fcn.14004a2f0
mov qword [rbp - 0x31], r14
mov qword [rbp - 0x21], r14
mov qword [rbp - 0x19], reloc.OLEAUT32.dll_SafeArrayDestroy
mov r8d, SafeArrayUnaccessData
lea rdx, str.SET_GAMEPASS_EXE_PATH
lea rcx, [rbp - 0x31]
call fcn.1400294c0
lea rdx, [rbp - 0x31]
mov rcx, rbx
call fcn.140045ca0
mov dword [rbp - 0x65], r14d
mov dword [rbp - 0x61], r14d
mov qword [rsp + 0x20], r14
lea r9, [rbp - 0x61]
mov r8d, 4
lea rdx, [rbp - 0x65]
mov rcx, qword [rbx + 8]
call qword [sym.imp.KERNEL32.dll_ReadFile]
cmp dword [rbp - 0x65], 1
jne 0x1400415f7
lea rdx, [rbp + 0x2f]
lea rcx, [rbp - 0x31]
call fcn.140008040
mov rdx, rax
mov rcx, rbx
call fcn.140045d70
nop
mov rcx, rdi
call fcn.140085804
nop
lea rcx, [rbp + 0x2f]
call fcn.140028d70
nop
mov rdx, qword [rbp + 0x27]
cmp rdx, 8
jb 0x140041646
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0xf]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140041641
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14004166f
call fcn.140087c4c
mov rcx, qword [rbp + 0x4f]
xor rcx, rsp
call fcn.140088250
lea r11, [rsp + 0xf0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
call fcn.14008e46c
nop
call fcn.14008e46c
nop
call fcn.14008e46c
nop
call fcn.14008e46c
nop
call fcn.14008e46c
nop
call fcn.14008e46c
nop
call fcn.14008e46c
nop
call fcn.14008e46c
int3
mov ecx, eax
call fcn.140085910
int3