Function at 0x14000c0c0
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 [0x140093080]
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.1400100f0
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.140002b50
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.140002c10
lea r8d, [r13 + 0x14]
lea rdx, str.TrainerSettings.ini
lea rcx, [rbp - 0x71]
call fcn.140002c10
lea rdi, [r14 + 0x440]
lea rax, [rbp - 0x71]
cmp rdi, rax
je 0x14000c1a8
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 0x14000c1ac
mov rax, qword [rbp - 0x59]
cmp rax, 8
jb 0x14000c1e8
lea rdx, [rax*2 + 2]
mov rcx, qword [rbp - 0x71]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000c1e3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000c92a
call fcn.140026dc4
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 0x14000c214
lea rcx, [rbp + 0xf]
cmp qword [rbp + 0x27], 8
cmovae rcx, qword [rbp + 0xf]
call fcn.14004bf74
mov ecx, 0x20
call fcn.140026dcc
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 0x14000c255
mov rdx, rdi
cmp qword [rdi + 0x18], 8
jb 0x14000c248
mov rdx, qword [rdi]
mov r8, qword [rdi + 0x10]
mov rcx, rbx
call fcn.140002060
nop
lea rsi, [r14 + 0x460]
lea rax, [rsp + 0x38]
cmp rsi, rax
je 0x14000c273
mov rdx, qword [rsi]
mov qword [rsi], rbx
test rdx, rdx
je 0x14000c27b
jmp 0x14000c276
mov rdx, rbx
call fcn.14000e2a0
mov rsi, qword [rsi]
mov ecx, 0x28
call fcn.140026dcc
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.140002060
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 0x14000c2f4
lea rdx, [rbp - 0x71]
cmp qword [rbp - 0x59], 8
cmovae rdx, qword [rbp - 0x71]
mov r8, qword [rbp - 0x61]
call fcn.140002060
mov qword [rbx], rsi
mov rdx, qword [rbp - 0x59]
cmp rdx, 8
jb 0x14000c337
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x71]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000c332
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000c930
call fcn.140026dc4
add r14, 0x468
lea rax, [rsp + 0x38]
cmp r14, rax
je 0x14000c355
mov rdx, qword [r14]
mov qword [r14], rbx
test rdx, rdx
je 0x14000c35d
jmp 0x14000c358
mov rdx, rbx
call fcn.14000e220
mov rcx, rdi
cmp qword [rdi + 0x18], 8
jb 0x14000c36a
mov rcx, qword [rdi]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov rsi, 0xffffffffffffffff
cmp eax, 0xffffffff
jne 0x14000c59a
lea rdx, [0x14007d4ae]
lea ecx, [rsi + 3]
call fcn.14004bf28
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 0x14000c3a2
mov rdx, rax
lea rcx, [rbp - 0x51]
call fcn.140002210
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.1400025a0
cmp rax, 0xffffffffffffffff
je 0x14000c450
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.1400025a0
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 0x14000c443
jmp 0x14000c45d
mov r8d, 7
lea rdx, str.English
lea rcx, [rbp - 0x71]
call fcn.140002060
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.140002060
mov rcx, qword [r14]
mov r9, qword [rcx]
cmp qword [r9 + 0x18], 8
jb 0x14000c49d
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 0x14000c4c7
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
mov rdx, qword [rbp + 7]
cmp rdx, 8
jb 0x14000c50e
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x11]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000c508
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000c936
call fcn.140026dc4
nop
mov rdx, qword [rbp - 0x59]
cmp rdx, 8
jb 0x14000c54e
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x71]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000c549
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000c93c
call fcn.140026dc4
mov qword [rbp - 0x61], r13
mov qword [rbp - 0x59], 7
mov word [rbp - 0x71], r13w
mov rdx, qword [rbp - 0x39]
cmp rdx, 0x10
jb 0x14000c59a
inc rdx
mov rcx, qword [rbp - 0x51]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000c595
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000c942
call fcn.140026dc4
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.140002060
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.140002060
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.14000b150
nop
mov rdx, qword [rbp - 0x39]
cmp rdx, 8
jb 0x14000c64b
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x51]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000c646
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000c948
call fcn.140026dc4
mov qword [rbp - 0x41], r13
mov qword [rbp - 0x39], 7
mov word [rbp - 0x51], r13w
mov rdx, qword [rbp - 0x59]
cmp rdx, 8
jb 0x14000c69c
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x71]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000c697
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000c94e
call fcn.140026dc4
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 0x14000c721
sub r15, rbx
nop dword [rax]
movzx ecx, word [rbx]
call fcn.14004b934
mov word [r15 + rbx], ax
lea rbx, [rbx + 2]
inc r14
cmp r14, r12
jne 0x14000c700
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.1400024e0
cmp rax, 0xffffffffffffffff
je 0x14000c75a
xor r15d, r15d
mov ebx, r15d
jmp 0x14000c791
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.1400024e0
xor r15d, r15d
mov ebx, r15d
cmp rax, 0xffffffffffffffff
sete bl
inc ebx
mov edx, ebx
call fcn.1400084d0
lea r12, [0x140098750]
mov qword [rbp - 0x79], r12
mov rcx, r12
call fcn.140025b10
test eax, eax
je 0x14000c7b7
mov ecx, eax
call fcn.140025730
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 0x14000c817
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 0x14000c830
mov r8, rsi
mov rdx, rdi
lea rcx, [rbp - 0x11]
call fcn.140002060
lea rdx, [rbp - 0x11]
mov rcx, r14
call fcn.1400091b0
nop
mov rcx, r12
call fcn.140025b34
test eax, eax
je 0x14000c86a
mov ecx, eax
call fcn.140025730
nop
mov rdx, qword [rbp - 0x19]
cmp rdx, 8
jb 0x14000c8aa
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x31]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000c8a5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000c954
call fcn.140026dc4
mov qword [rbp - 0x21], r15
mov qword [rbp - 0x19], 7
mov word [rbp - 0x31], r15w
mov rdx, qword [rbp + 0x27]
cmp rdx, 8
jb 0x14000c8f7
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0xf]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000c8f2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000c924
call fcn.140026dc4
mov rcx, qword [rbp + 0x2f]
xor rcx, rsp
call fcn.140026da0
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.14004b610
nop
call fcn.14004b610
nop
call fcn.14004b610
nop
call fcn.14004b610
nop
call fcn.14004b610
nop
call fcn.14004b610
nop
call fcn.14004b610
nop
call fcn.14004b610
nop
call fcn.14004b610
int3