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

Disassembly:
cmp rdx, 0x10000
jb 0x140006e38
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x140
mov rax, qword [0x1400e5080]
xor rax, rsp
mov qword [rsp + 0x138], rax
mov rdi, rdx
mov r12, rcx
xor r13d, r13d
mov rbx, qword [0x1400e8f00]
xorps xmm0, xmm0
movups xmmword [rsp + 0x78], xmm0
mov qword [rsp + 0x88], r13
mov qword [rsp + 0x90], r13
xor r8d, r8d
lea rdx, [0x1400c8a18]
lea rcx, [rsp + 0x78]
call fcn.1400073e0
lea rdx, [rsp + 0x78]
lea rcx, [rbx + 0x70]
call fcn.14005ca30
mov r15, rax
test rax, rax
jle 0x140006e0c
mov r8b, 1
mov rdx, rdi
lea rcx, [rsp + 0xd8]
call fcn.1400050c0
nop
lea rdi, [rsp + 0xd8]
mov rbx, qword [rsp + 0xd8]
mov r14, qword [rsp + 0xf0]
cmp r14, 0xf
cmova rdi, rbx
mov r8, qword [rsp + 0xe8]
cmp r8, 1
jb 0x1400065a4
lea rsi, [r8 + rdi]
lea edx, [r13 + 0x2b]
mov rcx, rdi
call fcn.1400a4220
test rax, rax
je 0x1400065a4
cmp byte [rax], 0x2b
jne 0x140006580
mov ecx, r13d
jmp 0x140006585
sbb ecx, ecx
or ecx, 1
test ecx, ecx
je 0x1400065e0
inc rax
mov r8, rsi
sub r8, rax
mov edx, 0x2b
mov rcx, rax
call fcn.1400a4220
test rax, rax
jne 0x140006576
cmp r14, 0xf
jbe 0x140006e0c
lea rdx, [r14 + 1]
mov rax, rbx
cmp rdx, 0x1000
jb 0x140006e04
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140006e39
jmp 0x140006e04
sub rax, rdi
cmp rax, 0xffffffffffffffff
je 0x1400065a4
mov rdx, r15
lea rcx, [rsp + 0x118]
call fcn.140001ba0
mov r14, rax
lea rdx, [0x1400e9380]
mov r9, qword [0x1400e9390]
cmp qword [0x1400e9398], 0xf
jbe 0x14000661b
mov rdx, qword [0x1400e9380]
add r9, rdx
xorps xmm0, xmm0
movups xmmword [rsp + 0x78], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x88], xmm1
cmp rdx, r9
jne 0x140006650
movdqa xmm0, xmmword [0x1400d3c50]
movdqu xmmword [rsp + 0x88], xmm0
mov word [rsp + 0x78], r13w
jmp 0x14000665e
sub r9, rdx
lea rcx, [rsp + 0x78]
call fcn.140026c70
nop
lea rcx, [rsp + 0xf8]
call fcn.140047f90
mov rbx, rax
mov rcx, qword [rax + 0x10]
mov rdx, qword [rax + 0x18]
mov rax, rdx
sub rax, rcx
cmp rax, 0xe
jb 0x1400066b3
lea rsi, [rcx + 0xe]
mov qword [rbx + 0x10], rsi
mov rdi, rbx
cmp rdx, 7
jbe 0x140006696
mov rdi, qword [rbx]
lea rcx, [rdi + rcx*2]
mov r8d, 0x1c
lea rdx, str._trainer_logs_
call fcn.1400a37e0
mov word [rdi + rsi*2], r13w
jmp 0x1400066d9
mov qword [rsp + 0x20], SafeArrayDestroy
lea r9, str._trainer_logs_
movzx r8d, byte [rsp + 0x30]
mov edx, SafeArrayDestroy
mov rcx, rbx
call fcn.1400247b0
mov rbx, rax
movups xmm0, xmmword [rbx]
movups xmmword [rsp + 0x38], xmm0
movups xmm1, xmmword [rbx + 0x10]
movups xmmword [rsp + 0x48], xmm1
mov qword [rbx + 0x10], r13
mov edi, 7
mov qword [rbx + 0x18], rdi
mov word [rbx], r13w
lea r9, [rsp + 0x78]
lea r8, [rsp + 0x38]
lea rcx, [rsp + 0xb8]
call fcn.140025cb0
nop
mov rsi, qword [rsp + 0xc8]
mov rcx, qword [rsp + 0xd0]
mov rax, rcx
sub rax, rsi
cmp rax, 9
jb 0x140006773
lea rax, [rsi + 9]
mov qword [rsp + 0xc8], rax
lea rbx, [rsp + 0xb8]
cmp rcx, rdi
cmova rbx, qword [rsp + 0xb8]
lea rcx, [rbx + rsi*2]
lea r8d, [rdi + 0xb]
lea rdx, str._version_
call fcn.1400a37e0
mov word [rbx + rsi*2 + 0x12], r13w
lea rax, [rsp + 0xb8]
jmp 0x14000679b
mov qword [rsp + 0x20], 9
lea r9, str._version_
movzx r8d, byte [rsp + 0x30]
mov edx, 9
lea rcx, [rsp + 0xb8]
call fcn.1400247b0
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x58], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x68], xmm1
mov qword [rax + 0x10], r13
mov qword [rax + 0x18], rdi
mov word [rax], r13w
mov r9, r14
lea r8, [rsp + 0x58]
lea rcx, [rsp + 0x98]
call fcn.140025cb0
nop
mov rdx, qword [rsp + 0x70]
cmp rdx, 7
jbe 0x140006811
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000680b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140006e3f
call fcn.14007d250
nop
mov rdx, qword [rsp + 0xd0]
cmp rdx, 7
jbe 0x140006859
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0xb8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140006854
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140006e45
call fcn.14007d250
movdqa xmm0, xmmword [0x1400d3c50]
movdqu xmmword [rsp + 0xc8], xmm0
mov word [rsp + 0xb8], r13w
mov rdx, qword [rsp + 0x50]
cmp rdx, 7
jbe 0x1400068b6
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400068b0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140006e4b
call fcn.14007d250
nop
mov rdx, qword [rsp + 0x110]
cmp rdx, 7
jbe 0x1400068fe
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0xf8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400068f9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140006e51
call fcn.14007d250
movdqa xmm0, xmmword [0x1400d3c50]
movdqu xmmword [rsp + 0x108], xmm0
mov word [rsp + 0xf8], r13w
mov rdx, qword [rsp + 0x90]
cmp rdx, 7
jbe 0x14000695e
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140006958
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140006e57
call fcn.14007d250
nop
mov rdx, qword [rsp + 0x130]
cmp rdx, 7
jbe 0x1400069a6
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x118]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400069a1
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140006e5d
call fcn.14007d250
movdqa xmm0, xmmword [0x1400d3c50]
movdqu xmmword [rsp + 0x128], xmm0
mov word [rsp + 0x118], r13w
lea rcx, [rsp + 0x98]
cmp qword [rsp + 0xb0], 7
cmova rcx, qword [rsp + 0x98]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x140006a95
lea rdx, [rsp + 0x98]
cmp qword [rsp + 0xb0], 7
cmova rdx, qword [rsp + 0x98]
xorps xmm0, xmm0
movups xmmword [rsp + 0x58], xmm0
mov qword [rsp + 0x68], r13
mov qword [rsp + 0x70], r13
mov r8, qword [rsp + 0xa8]
lea rcx, [rsp + 0x58]
call fcn.1400073e0
nop
mov dword [rsp + 0x38], r13d
lea rax, [0x1400e5ce0]
mov qword [rsp + 0x40], rax
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0x58]
call fcn.140004910
cmp dword [rsp + 0x38], 0
jne 0x140006e63
mov rdx, qword [rsp + 0x70]
cmp rdx, 7
jbe 0x140006a95
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140006a90
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140006e73
call fcn.14007d250
mov rbx, qword [rsp + 0xa8]
movabs rcx, 0x7ffffffffffffffe
mov rax, rcx
sub rax, rbx
cmp rax, 0xc
jb 0x140006e79
lea r15, [rsp + 0x98]
cmp qword [rsp + 0xb0], 7
cmova r15, qword [rsp + 0x98]
xorps xmm0, xmm0
movups xmmword [rsp + 0x78], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x88], xmm1
lea r14, [rbx + 0xc]
lea rsi, [rsp + 0x78]
cmp r14, 7
jbe 0x140006b89
mov rdi, r14
or rdi, 7
cmp rdi, rcx
jbe 0x140006b17
mov rdi, rcx
movabs rax, 0x7fffffffffffffff
lea rcx, [rax + rax]
jmp 0x140006b46
mov eax, 0xa
cmp rdi, rax
cmovb rdi, rax
lea rcx, [rdi + 1]
movabs rax, 0x7fffffffffffffff
cmp rcx, rax
ja 0x140006e7e
add rcx, rcx
cmp rcx, 0x1000
jb 0x140006b72
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x140006e83
mov rcx, rax
call fcn.14007d284
test rax, rax
je 0x140006e95
lea rsi, [rax + 0x27]
and rsi, 0xffffffffffffffe0
mov qword [rsi - 8], rax
jmp 0x140006b84
test rcx, rcx
je 0x140006b81
call fcn.14007d284
mov rsi, rax
jmp 0x140006b84
mov rsi, r13
mov qword [rsp + 0x78], rsi
mov qword [rsp + 0x88], r14
mov qword [rsp + 0x90], rdi
add rbx, rbx
mov r8, rbx
mov rdx, r15
mov rcx, rsi
call fcn.1400a37e0
movups xmm0, xmmword [str._symbols.ini]
movups xmmword [rbx + rsi], xmm0
movsd xmm0, qword [0x1400c8ad8]
movsd qword [rbx + rsi + 0x10], xmm0
mov word [rsi + r14*2], r13w
lea r9, [rsp + 0xd8]
cmp qword [rsp + 0xf0], 0xf
cmova r9, qword [rsp + 0xd8]
add r9, qword [rsp + 0xe8]
lea rdx, [rsp + 0xd8]
cmp qword [rsp + 0xf0], 0xf
cmova rdx, qword [rsp + 0xd8]
xorps xmm0, xmm0
movups xmmword [rsp + 0x58], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x68], xmm1
cmp rdx, r9
jne 0x140006c30
movdqa xmm0, xmmword [0x1400d3c50]
movdqu xmmword [rsp + 0x68], xmm0
mov word [rsp + 0x58], r13w
jmp 0x140006c3e
sub r9, rdx
lea rcx, [rsp + 0x58]
call fcn.140026c70
nop
xorps xmm0, xmm0
movups xmmword [rsp + 0x38], xmm0
movdqa xmm1, xmmword [0x1400d3cd0]
movdqu xmmword [rsp + 0x48], xmm1
mov rax, qword [str.default]
mov dword [rsp + 0x38], eax
movzx eax, word [0x1400c8aec]
mov word [rsp + 0x3c], ax
movzx eax, byte [0x1400c8aee]
mov byte [rsp + 0x3e], al
mov byte [rsp + 0x3f], 0
lea r9, [rsp + 0x78]
lea r8, [rsp + 0x58]
mov rdx, r12
lea rcx, [rsp + 0x38]
call fcn.1400062f0
nop
mov rdx, qword [rsp + 0x50]
cmp rdx, 0xf
jbe 0x140006cd0
inc rdx
mov rcx, qword [rsp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140006ccb
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140006e89
call fcn.14007d250
movdqa xmm0, xmmword [0x1400d3c60]
movdqu xmmword [rsp + 0x48], xmm0
mov byte [rsp + 0x38], 0
mov rdx, qword [rsp + 0x70]
cmp rdx, 7
jbe 0x140006d25
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140006d20
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140006e8f
call fcn.14007d250
movdqa xmm0, xmmword [0x1400d3c50]
movdqu xmmword [rsp + 0x68], xmm0
mov word [rsp + 0x58], r13w
mov rdx, qword [rsp + 0x90]
cmp rdx, 7
jbe 0x140006d7f
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140006d79
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140006e95
call fcn.14007d250
nop
mov rdx, qword [rsp + 0xb0]
cmp rdx, 7
jbe 0x140006dc8
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x98]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140006dc2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140006e9b
call fcn.14007d250
nop
mov rdx, qword [rsp + 0xf0]
cmp rdx, 0xf
jbe 0x140006e0c
inc rdx
mov rcx, qword [rsp + 0xd8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140006e07
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140006e39
jmp 0x140006e07
mov rcx, rbx
call fcn.14007d250
mov rcx, qword [rsp + 0x138]
xor rcx, rsp
call fcn.14007d230
lea r11, [rsp + 0x140]
mov rbx, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
call fcn.140084164
nop
call fcn.140084164
nop
call fcn.140084164
nop
call fcn.140084164
nop
call fcn.140084164
nop
call fcn.140084164
nop
call fcn.140084164
nop
lea r8, [rsp + 0x58]
lea rdx, [rsp + 0x38]
call fcn.1400048b0
nop
call fcn.140084164
int3
call fcn.1400019b0
call fcn.140001910
call fcn.140001910
nop
call fcn.140084164
nop
call fcn.140084164
nop
call fcn.140084164
nop
call fcn.140084164
int3