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

Disassembly:
cmp rdx, 0x10000
jb 0x140005a1b
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
push r14
push r15
sub rsp, 0x150
mov rax, qword [0x14010e0c0]
xor rax, rsp
mov qword [rsp + 0x140], rax
mov rdi, rdx
mov r14, rcx
xor r15d, r15d
mov rbx, qword [0x1401227b0]
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], r15
mov qword [rsp + 0x58], r15
xor r8d, r8d
lea rdx, [0x1400eeb38]
lea rcx, [rsp + 0x40]
call fcn.1400063c4
lea rdx, [rsp + 0x40]
lea rcx, [rbx + 0x70]
call fcn.1400644fc
mov rsi, rax
test rax, rax
jle 0x1400059f3
mov r8b, 1
mov rdx, rdi
lea rcx, [rsp + 0x80]
call fcn.140004960
nop
lea rcx, [rsp + 0x80]
mov rdi, qword [rsp + 0x80]
mov rbx, qword [rsp + 0x98]
cmp rbx, 0xf
cmova rcx, rdi
mov qword [rsp + 0x20], 1
lea r9, [0x1400eeb78]
xor r8d, r8d
mov rdx, qword [rsp + 0x90]
call fcn.14001d530
cmp rax, 0xffffffffffffffff
jne 0x140005a1c
cmp rbx, 0xf
jbe 0x1400059f3
lea rdx, [rbx + 1]
mov rax, rdi
mov ebx, 0x1000
cmp rdx, rbx
jb 0x1400059eb
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140005f25
mov rcx, rdi
call fcn.1400889e0
mov rcx, qword [rsp + 0x140]
xor rcx, rsp
call fcn.1400889c0
lea r11, [rsp + 0x150]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rdi
ret
mov rdx, rsi
lea rcx, [rsp + 0x120]
call fcn.140001c7c
mov rbx, rax
lea rdx, [0x140122cc0]
mov r9, qword [0x140122cd0]
cmp qword [0x140122cd8], 0xf
jbe 0x140005a4e
mov rdx, qword [0x140122cc0]
add r9, rdx
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x50], xmm1
cmp rdx, r9
jne 0x140005a7d
movdqa xmm0, xmmword [0x1400fd760]
movdqu xmmword [rsp + 0x50], xmm0
mov word [rsp + 0x40], r15w
jmp 0x140005a8b
sub r9, rdx
lea rcx, [rsp + 0x40]
call fcn.14001eec4
nop
lea rcx, [rsp + 0x100]
call fcn.140054c4c
nop
mov r8d, SafeArrayDestroy
lea rdx, str._trainer_logs_
mov rcx, rax
call fcn.14001a5b4
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0xc0], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0xd0], xmm1
mov qword [rax + 0x10], r15
mov edi, 7
mov qword [rax + 0x18], rdi
mov word [rax], r15w
lea r8, [rsp + 0x40]
lea rdx, [rsp + 0xc0]
lea rcx, [rsp + 0xe0]
call fcn.14001c9b0
nop
lea r8d, [rdi + 2]
lea rdx, str._version_
mov rcx, rax
call fcn.14001a5b4
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x60], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x70], xmm1
mov qword [rax + 0x10], r15
mov qword [rax + 0x18], rdi
mov word [rax], r15w
mov r8, rbx
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0xa0]
call fcn.14001c9b0
nop
mov rdx, qword [rsp + 0x78]
mov ebx, 0x1000
cmp rdx, rdi
jbe 0x140005b7a
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, rbx
jb 0x140005b74
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140005f2b
call fcn.1400889e0
nop
lea rcx, [rsp + 0xe0]
call fcn.14001b1b8
nop
mov rdx, qword [rsp + 0xd8]
cmp rdx, rdi
jbe 0x140005bcc
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0xc0]
mov rax, rcx
cmp rdx, rbx
jb 0x140005bc6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140005f31
call fcn.1400889e0
nop
lea rcx, [rsp + 0x100]
call fcn.14001b1b8
nop
mov rdx, qword [rsp + 0x58]
cmp rdx, rdi
jbe 0x140005c18
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, rbx
jb 0x140005c12
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140005f37
call fcn.1400889e0
nop
lea rcx, [rsp + 0x120]
call fcn.14001b1b8
lea rcx, [rsp + 0xa0]
cmp qword [rsp + 0xb8], rdi
cmova rcx, qword [rsp + 0xa0]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x140005cf3
lea rdx, [rsp + 0xa0]
cmp qword [rsp + 0xb8], rdi
cmova rdx, qword [rsp + 0xa0]
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], r15
mov qword [rsp + 0x58], r15
mov r8, qword [rsp + 0xb0]
lea rcx, [rsp + 0x40]
call fcn.1400063c4
nop
mov dword [rsp + 0x60], r15d
lea rax, [0x14010ecf0]
mov qword [rsp + 0x68], rax
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x40]
call fcn.1400040ac
cmp dword [rsp + 0x60], r15d
jne 0x140005f3d
mov rdx, qword [rsp + 0x58]
cmp rdx, rdi
jbe 0x140005cf3
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, rbx
jb 0x140005cee
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140005f4d
call fcn.1400889e0
movabs rax, 0x7ffffffffffffffe
mov rcx, qword [rsp + 0xb0]
sub rax, rcx
cmp rax, 0xc
jb 0x140005f53
lea r9, [rsp + 0xa0]
cmp qword [rsp + 0xb8], rdi
cmova r9, qword [rsp + 0xa0]
mov qword [rsp + 0x30], SafeArrayDestroy
lea rax, str._symbols.ini
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rcx
lea rcx, [rsp + 0xc0]
call fcn.14001e5cc
nop
lea rcx, [rsp + 0x80]
cmp qword [rsp + 0x98], 0xf
cmova rcx, qword [rsp + 0x80]
mov r9, qword [rsp + 0x90]
add r9, rcx
lea rdx, [rsp + 0x80]
cmp qword [rsp + 0x98], 0xf
cmova rdx, qword [rsp + 0x80]
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x50], xmm1
cmp rdx, r9
jne 0x140005dbe
movdqa xmm0, xmmword [0x1400fd760]
movdqu xmmword [rsp + 0x50], xmm0
mov word [rsp + 0x40], r15w
jmp 0x140005dcc
sub r9, rdx
lea rcx, [rsp + 0x40]
call fcn.14001eec4
nop
xorps xmm0, xmm0
movups xmmword [rsp + 0x60], xmm0
movdqa xmm1, xmmword [0x1400fd7e0]
movdqu xmmword [rsp + 0x70], xmm1
mov rax, qword [str.default]
mov dword [rsp + 0x60], eax
movzx eax, word [0x1400eec0c]
mov word [rsp + 0x64], ax
mov al, byte [0x1400eec0e]
mov byte [rsp + 0x66], al
mov byte [rsp + 0x67], r15b
lea r9, [rsp + 0xc0]
lea r8, [rsp + 0x40]
mov rdx, r14
lea rcx, [rsp + 0x60]
call fcn.1400055f4
nop
mov rdx, qword [rsp + 0x78]
cmp rdx, 0xf
jbe 0x140005e5c
inc rdx
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, rbx
jb 0x140005e57
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140005f59
call fcn.1400889e0
movdqa xmm0, xmmword [0x1400fd770]
movdqu xmmword [rsp + 0x70], xmm0
mov byte [rsp + 0x60], r15b
mov rdx, qword [rsp + 0x58]
cmp rdx, rdi
jbe 0x140005eac
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, rbx
jb 0x140005ea7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140005f5f
call fcn.1400889e0
movdqa xmm0, xmmword [0x1400fd760]
movdqu xmmword [rsp + 0x50], xmm0
mov word [rsp + 0x40], r15w
lea rcx, [rsp + 0xc0]
call fcn.14001b1b8
nop
lea rcx, [rsp + 0xa0]
call fcn.14001b1b8
nop
jmp 0x140005ee3
mov rdx, qword [rsp + 0x98]
cmp rdx, 0xf
jbe 0x1400059f3
inc rdx
mov rcx, qword [rsp + 0x80]
mov rax, rcx
cmp rdx, rbx
jb 0x1400059ee
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400059ee
call fcn.14008f8f4
nop
call fcn.14008f8f4
nop
call fcn.14008f8f4
nop
call fcn.14008f8f4
nop
lea r8, [rsp + 0x40]
lea rdx, [rsp + 0x60]
call fcn.140004054
nop
call fcn.14008f8f4
int3
call fcn.140001ab4
nop
call fcn.14008f8f4
nop
call fcn.14008f8f4
int3