Function at 0x14000ce60
Capabilities:
Check if file exists
Create directory
Get file attributes
Write file on windows

Disassembly:
mov rax, rsp
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0x100
mov qword [rsp + 0x48], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x14009b080]
xor rax, rsp
mov qword [rbp + 0x2f], rax
mov r14, rcx
mov qword [rsp + 0x40], rcx
xor r13d, r13d
mov dword [rsp + 0x30], r13d
lea rcx, [rbp + 0xf]
call fcn.140010e00
nop
mov qword [rbp - 0x61], r13
mov qword [rbp - 0x59], 7
mov word [rbp - 0x71], r13w
mov dword [rsp + 0x30], 1
mov rdx, qword [rbp + 0x1f]
add rdx, 0x14
lea rcx, [rbp - 0x71]
call fcn.140002b90
lea rdx, [rbp + 0xf]
cmp qword [rbp + 0x27], 8
cmovae rdx, qword [rbp + 0xf]
mov r8, qword [rbp + 0x1f]
lea rcx, [rbp - 0x71]
call fcn.140002c50
lea r8d, [r13 + 0x14]
lea rdx, str.TrainerSettings.ini
lea rcx, [rbp - 0x71]
call fcn.140002c50
lea rdi, [r14 + 0x458]
lea rax, [rbp - 0x71]
cmp rdi, rax
je 0x14000cf48
mov rcx, rdi
call fcn.140001e60
movups xmm0, xmmword [rbp - 0x71]
movups xmmword [rdi], xmm0
movups xmm1, xmmword [rbp - 0x61]
movups xmmword [rdi + 0x10], xmm1
mov qword [rbp - 0x61], r13
mov eax, 7
mov qword [rbp - 0x59], rax
mov word [rbp - 0x71], r13w
jmp 0x14000cf4c
mov rax, qword [rbp - 0x59]
cmp rax, 8
jb 0x14000cf88
lea rdx, [rax*2 + 2]
mov rcx, qword [rbp - 0x71]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000cf83
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000d6ca
call fcn.14002bf04
lea rcx, [rbp + 0xf]
cmp qword [rbp + 0x27], 8
cmovae rcx, qword [rbp + 0xf]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x14000cfb4
lea rcx, [rbp + 0xf]
cmp qword [rbp + 0x27], 8
cmovae rcx, qword [rbp + 0xf]
call fcn.1400510b4
mov ecx, 0x20
call fcn.14002bf0c
mov rbx, rax
mov qword [rsp + 0x38], rax
mov qword [rax + 0x10], r13
mov qword [rax + 0x18], 7
mov word [rax], r13w
cmp rax, rdi
je 0x14000cff5
mov rdx, rdi
cmp qword [rdi + 0x18], 8
jb 0x14000cfe8
mov rdx, qword [rdi]
mov r8, qword [rdi + 0x10]
mov rcx, rbx
call fcn.1400020a0
nop
lea rsi, [r14 + 0x478]
lea rax, [rsp + 0x38]
cmp rsi, rax
je 0x14000d013
mov rdx, qword [rsi]
mov qword [rsi], rbx
test rdx, rdx
je 0x14000d01b
jmp 0x14000d016
mov rdx, rbx
call fcn.14000f160
mov rsi, qword [rsi]
mov ecx, 0x28
call fcn.14002bf0c
mov rbx, rax
mov qword [rsp + 0x38], rax
mov qword [rbp - 0x61], r13
mov qword [rbp - 0x59], 7
mov word [rbp - 0x71], r13w
mov r8d, 7
lea rdx, str.Trainer
lea rcx, [rbp - 0x71]
call fcn.1400020a0
nop
mov dword [rsp + 0x30], 6
lea rcx, [rbx + 8]
mov qword [rcx + 0x10], r13
mov qword [rcx + 0x18], 7
mov word [rcx], r13w
lea rax, [rbp - 0x71]
cmp rcx, rax
je 0x14000d094
lea rdx, [rbp - 0x71]
cmp qword [rbp - 0x59], 8
cmovae rdx, qword [rbp - 0x71]
mov r8, qword [rbp - 0x61]
call fcn.1400020a0
mov qword [rbx], rsi
mov rdx, qword [rbp - 0x59]
cmp rdx, 8
jb 0x14000d0d7
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x71]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000d0d2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000d6d0
call fcn.14002bf04
add r14, 0x480
lea rax, [rsp + 0x38]
cmp r14, rax
je 0x14000d0f5
mov rdx, qword [r14]
mov qword [r14], rbx
test rdx, rdx
je 0x14000d0fd
jmp 0x14000d0f8
mov rdx, rbx
call fcn.14000f0e0
mov rcx, rdi
cmp qword [rdi + 0x18], 8
jb 0x14000d10a
mov rcx, qword [rdi]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov rsi, 0xffffffffffffffff
cmp eax, 0xffffffff
jne 0x14000d33a
lea rdx, [0x1400834ae]
lea ecx, [rsi + 3]
call fcn.140051068
mov qword [rbp - 0x41], r13
mov qword [rbp - 0x39], reloc.OLEAUT32.dll_SafeArrayDestroy
mov byte [rbp - 0x51], 0
mov r8, rsi
inc r8
cmp byte [rax + r8], 0
jne 0x14000d142
mov rdx, rax
lea rcx, [rbp - 0x51]
call fcn.140002250
nop
mov qword [rbp - 0x61], r13
mov qword [rbp - 0x59], 7
mov word [rbp - 0x71], r13w
lea rcx, [rbp - 0x51]
mov rbx, qword [rbp - 0x51]
mov r15, qword [rbp - 0x39]
cmp r15, 0x10
cmovae rcx, rbx
mov qword [rsp + 0x20], 7
lea r9, str.Chinese
xor r8d, r8d
mov r12, qword [rbp - 0x41]
mov rdx, r12
call fcn.1400025e0
cmp rax, 0xffffffffffffffff
je 0x14000d1f0
lea rcx, [rbp - 0x51]
cmp r15, 0x10
cmovae rcx, rbx
mov qword [rsp + 0x20], SafeArrayDestroy
lea r9, str.Traditional
xor r8d, r8d
mov rdx, r12
call fcn.1400025e0
lea rcx, str.Chinese_Traditional
lea rdx, str.Chinese_Simplified
cmp rax, 0xffffffffffffffff
cmovne rdx, rcx
mov r8, rsi
inc r8
cmp word [rdx + r8*2], 0
jne 0x14000d1e3
jmp 0x14000d1fd
mov r8d, 7
lea rdx, str.English
lea rcx, [rbp - 0x71]
call fcn.1400020a0
mov qword [rbp - 1], r13
mov qword [rbp + 7], 7
mov word [rbp - 0x11], r13w
mov r8d, 8
lea rdx, str.Language
lea rcx, [rbp - 0x11]
call fcn.1400020a0
mov rcx, qword [r14]
mov r9, qword [rcx]
cmp qword [r9 + 0x18], 8
jb 0x14000d23d
mov r9, qword [r9]
lea r8, [rbp - 0x71]
cmp qword [rbp - 0x59], 8
cmovae r8, qword [rbp - 0x71]
lea rdx, [rbp - 0x11]
cmp qword [rbp + 7], 8
cmovae rdx, qword [rbp - 0x11]
add rcx, 8
cmp qword [rcx + 0x18], 8
jb 0x14000d267
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
mov rdx, qword [rbp + 7]
cmp rdx, 8
jb 0x14000d2ae
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x11]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000d2a8
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000d6d6
call fcn.14002bf04
nop
mov rdx, qword [rbp - 0x59]
cmp rdx, 8
jb 0x14000d2ee
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x71]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000d2e9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000d6dc
call fcn.14002bf04
mov qword [rbp - 0x61], r13
mov qword [rbp - 0x59], 7
mov word [rbp - 0x71], r13w
mov rdx, qword [rbp - 0x39]
cmp rdx, 0x10
jb 0x14000d33a
inc rdx
mov rcx, qword [rbp - 0x51]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000d335
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000d6e2
call fcn.14002bf04
mov qword [rbp - 0x61], r13
mov qword [rbp - 0x59], 7
mov word [rbp - 0x71], r13w
mov r8d, 7
lea rdx, str.ENGLISH
lea rcx, [rbp - 0x71]
call fcn.1400020a0
nop
mov qword [rbp - 0x41], r13
mov qword [rbp - 0x39], 7
mov word [rbp - 0x51], r13w
mov r8d, 8
lea rdx, str.Language
lea rcx, [rbp - 0x51]
call fcn.1400020a0
nop
mov rcx, qword [r14]
lea r8, [rcx + 8]
lea rax, [rbp - 0x71]
mov qword [rsp + 0x20], rax
lea r9, [rbp - 0x51]
lea rdx, [rbp - 0x31]
mov rcx, qword [rcx]
call fcn.14000bce0
nop
mov rdx, qword [rbp - 0x39]
cmp rdx, 8
jb 0x14000d3eb
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x51]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000d3e6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000d6e8
call fcn.14002bf04
mov qword [rbp - 0x41], r13
mov qword [rbp - 0x39], 7
mov word [rbp - 0x51], r13w
mov rdx, qword [rbp - 0x59]
cmp rdx, 8
jb 0x14000d43c
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x71]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000d437
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000d6ee
call fcn.14002bf04
mov qword [rbp - 0x61], r13
mov qword [rbp - 0x59], 7
mov word [rbp - 0x71], r13w
lea r15, [rbp - 0x31]
mov r13, qword [rbp - 0x31]
mov rdx, qword [rbp - 0x19]
cmp rdx, 8
cmovae r15, r13
lea rax, [rbp - 0x31]
cmovae rax, r13
mov rcx, qword [rbp - 0x21]
lea rcx, [rax + rcx*2]
lea rbx, [rbp - 0x31]
cmovae rbx, r13
xor eax, eax
mov r14d, eax
mov r12, rcx
sub r12, rbx
inc r12
shr r12, 1
cmp rbx, rcx
cmova r12, rax
test r12, r12
je 0x14000d4c1
sub r15, rbx
nop dword [rax]
movzx ecx, word [rbx]
call fcn.140050a74
mov word [r15 + rbx], ax
lea rbx, [rbx + 2]
inc r14
cmp r14, r12
jne 0x14000d4a0
mov r13, qword [rbp - 0x31]
mov rdx, qword [rbp - 0x19]
lea rcx, [rbp - 0x31]
cmp rdx, 8
cmovae rcx, r13
mov qword [rsp + 0x20], 0xa
lea r9, str.SIMPLIFIED
xor r8d, r8d
mov rbx, qword [rbp - 0x21]
mov rdx, rbx
call fcn.140002520
cmp rax, 0xffffffffffffffff
je 0x14000d4fa
xor r15d, r15d
mov ebx, r15d
jmp 0x14000d531
lea rcx, [rbp - 0x31]
cmp qword [rbp - 0x19], 8
cmovae rcx, r13
mov qword [rsp + 0x20], SafeArrayDestroy
lea r9, str.TRADITIONAL
xor r8d, r8d
mov rdx, rbx
call fcn.140002520
xor r15d, r15d
mov ebx, r15d
cmp rax, 0xffffffffffffffff
sete bl
inc ebx
mov edx, ebx
call fcn.140009040
lea r12, [0x1400a0760]
mov qword [rbp - 0x79], r12
mov rcx, r12
call fcn.14002ac50
test eax, eax
je 0x14000d557
mov ecx, eax
call fcn.14002a870
nop
mov dword [rsp + 0x38], r15d
mov dword [rsp + 0x30], r15d
mov qword [rsp + 0x20], r15
lea r9, [rsp + 0x30]
mov r8d, 4
lea rdx, [rsp + 0x38]
mov r14, qword [rsp + 0x40]
mov rcx, qword [r14 + 8]
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov dword [rsp + 0x30], ebx
mov dword [rsp + 0x38], r15d
mov qword [rsp + 0x20], r15
lea r9, [rsp + 0x38]
mov r8d, 4
lea rdx, [rsp + 0x30]
mov rcx, qword [r14 + 8]
call qword [sym.imp.KERNEL32.dll_WriteFile]
cmp qword [rdi + 0x18], 8
jb 0x14000d5b7
mov rdi, qword [rdi]
mov qword [rbp - 1], r15
mov qword [rbp + 7], 7
mov word [rbp - 0x11], r15w
nop dword [rax + rax]
inc rsi
cmp word [rdi + rsi*2], 0
jne 0x14000d5d0
mov r8, rsi
mov rdx, rdi
lea rcx, [rbp - 0x11]
call fcn.1400020a0
lea rdx, [rbp - 0x11]
mov rcx, r14
call fcn.140009d20
nop
mov rcx, r12
call fcn.14002ac74
test eax, eax
je 0x14000d60a
mov ecx, eax
call fcn.14002a870
nop
mov rdx, qword [rbp - 0x19]
cmp rdx, 8
jb 0x14000d64a
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x31]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000d645
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000d6f4
call fcn.14002bf04
mov qword [rbp - 0x21], r15
mov qword [rbp - 0x19], 7
mov word [rbp - 0x31], r15w
mov rdx, qword [rbp + 0x27]
cmp rdx, 8
jb 0x14000d697
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0xf]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000d692
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000d6c4
call fcn.14002bf04
mov rcx, qword [rbp + 0x2f]
xor rcx, rsp
call fcn.14002bee0
lea r11, [rsp + 0x100]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call fcn.140050750
nop
call fcn.140050750
nop
call fcn.140050750
nop
call fcn.140050750
nop
call fcn.140050750
nop
call fcn.140050750
nop
call fcn.140050750
nop
call fcn.140050750
nop
call fcn.140050750
int3