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

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x10]
sub rsp, 0x110
mov rax, qword [0x14007c040]
xor rax, rsp
mov qword [rbp + 8], rax
mov r13, rcx
mov qword [rsp + 0x38], rcx
xor edi, edi
mov dword [rsp + 0x30], edi
lea rcx, [rbp - 0x58]
call fcn.1400153b0
nop
mov rsi, qword [rbp - 0x48]
movabs rbx, 0x7ffffffffffffffe
mov rax, rbx
sub rax, rsi
cmp rax, 0x14
jb 0x14000f1ad
lea r15, [rbp - 0x58]
cmp qword [rbp - 0x40], 7
cmova r15, qword [rbp - 0x58]
xorps xmm0, xmm0
movups xmmword [rsp + 0x48], xmm0
lea r14, [rsi + 0x14]
mov eax, 7
lea rdi, [rsp + 0x48]
lea ecx, [rax + 3]
cmp r14, rax
jbe 0x14000e86d
mov rax, r14
or rax, 7
cmp rax, rbx
ja 0x14000e84a
mov rbx, rax
cmp rax, rcx
cmovb rbx, rcx
inc rbx
mov qword [rsp + 0x30], rbx
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x48]
call fcn.1400025c0
mov rdi, rax
lea rax, [rbx - 1]
mov qword [rsp + 0x48], rdi
mov qword [rsp + 0x58], r14
mov qword [rsp + 0x60], rax
lea rbx, [rsi + rsi]
mov r8, rbx
mov rdx, r15
mov rcx, rdi
call fcn.140059550
movups xmm0, xmmword [str.TrainerSettings.ini]
movups xmmword [rbx + rdi], xmm0
movups xmm1, xmmword [0x14006d218]
movups xmmword [rbx + rdi + 0x10], xmm1
movsd xmm0, qword [0x14006d228]
movsd qword [rbx + rdi + 0x20], xmm0
xor r15d, r15d
mov word [rdi + r14*2], r15w
lea rdi, [r13 + 0x418]
lea rdx, [rsp + 0x48]
mov rcx, rdi
call fcn.140001cb0
mov rdx, qword [rsp + 0x60]
cmp rdx, 7
jbe 0x14000e90c
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000e907
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000f1ef
call fcn.1400364f0
lea rcx, [rbp - 0x58]
cmp qword [rbp - 0x40], 7
cmova rcx, qword [rbp - 0x58]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x14000e938
lea rcx, [rbp - 0x58]
cmp qword [rbp - 0x40], 7
cmova rcx, qword [rbp - 0x58]
call fcn.1400414b8
mov ecx, 0x20
call fcn.140036524
mov rbx, rax
mov qword [rsp + 0x30], rax
xorps xmm0, xmm0
movups xmmword [rax], xmm0
mov qword [rax + 0x10], r15
mov qword [rax + 0x18], 7
mov word [rax], r15w
cmp rax, rdi
je 0x14000e97f
mov rdx, rdi
cmp qword [rdi + 0x18], 7
jbe 0x14000e972
mov rdx, qword [rdi]
mov r8, qword [rdi + 0x10]
mov rcx, rbx
call fcn.140002140
nop
mov rsi, qword [r13 + 0x528]
mov qword [r13 + 0x528], rbx
test rsi, rsi
je 0x14000e9ee
mov rdx, qword [rsi + 0x18]
cmp rdx, 7
jbe 0x14000e9d1
mov rcx, qword [rsi]
lea rdx, [rdx*2 + 2]
cmp rdx, 0x1000
jb 0x14000e9cc
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14000f1ef
mov rcx, r8
call fcn.1400364f0
mov qword [rsi + 0x10], r15
mov qword [rsi + 0x18], 7
mov word [rsi], r15w
mov edx, 0x20
mov rcx, rsi
call fcn.1400364f0
mov rbx, qword [r13 + 0x528]
mov ecx, 0x28
call fcn.140036524
mov rsi, rax
mov qword [rsp + 0x40], rax
xorps xmm0, xmm0
movups xmmword [rbp - 0x38], xmm0
mov qword [rbp - 0x28], r15
mov qword [rbp - 0x20], r15
mov r8d, 7
lea rdx, str.Trainer
lea rcx, [rbp - 0x38]
call fcn.1400026f0
nop
mov dword [rsp + 0x30], SafeArrayUnaccessData
lea rcx, [rsi + 8]
xorps xmm0, xmm0
movups xmmword [rcx], xmm0
mov qword [rcx + 0x10], r15
mov qword [rcx + 0x18], 7
mov word [rcx], r15w
lea rax, [rbp - 0x38]
cmp rcx, rax
je 0x14000ea6f
lea rdx, [rbp - 0x38]
cmp qword [rbp - 0x20], 7
cmova rdx, qword [rbp - 0x38]
mov r8, qword [rbp - 0x28]
call fcn.140002140
mov qword [rsi], rbx
mov rdx, qword [rbp - 0x20]
cmp rdx, 7
jbe 0x14000eab2
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000eaad
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000f1ef
call fcn.1400364f0
mov rbx, qword [r13 + 0x530]
mov qword [r13 + 0x530], rsi
test rbx, rbx
je 0x14000eb23
mov rdx, qword [rbx + 0x20]
cmp rdx, 7
jbe 0x14000eb05
mov rcx, qword [rbx + 8]
lea rdx, [rdx*2 + 2]
cmp rdx, 0x1000
jb 0x14000eb00
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14000f1ef
mov rcx, r8
call fcn.1400364f0
mov qword [rbx + 0x18], r15
mov qword [rbx + 0x20], 7
mov word [rbx + 8], r15w
mov edx, 0x28
mov rcx, rbx
call fcn.1400364f0
cmp qword [rdi + 0x18], 7
jbe 0x14000eb2d
mov rdi, qword [rdi]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov rsi, 0xffffffffffffffff
cmp eax, 0xffffffff
jne 0x14000ed7f
lea rdx, [0x140069e7e]
lea ecx, [rsi + 3]
call fcn.1400417c0
xorps xmm0, xmm0
movups xmmword [rbp - 0x18], xmm0
mov qword [rbp - 8], r15
mov qword [rbp], r15
mov r8, rsi
nop word [rax + rax]
inc r8
cmp byte [rax + r8], 0
jne 0x14000eb70
mov rdx, rax
lea rcx, [rbp - 0x18]
call fcn.140002890
nop
xorps xmm0, xmm0
movups xmmword [rsp + 0x68], xmm0
mov qword [rsp + 0x78], r15
mov qword [rbp - 0x80], 7
mov word [rsp + 0x68], r15w
lea r14, [rbp - 0x18]
mov r12, qword [rbp - 0x18]
mov r13, qword [rbp]
cmp r13, 0xf
cmova r14, r12
mov r15, qword [rbp - 8]
cmp r15, 7
jb 0x14000ec1c
lea rdi, [r15 + r14]
lea r8, [rdi - 6]
sub r8, r14
mov edx, 0x43
mov rcx, r14
call fcn.140059cb0
mov rbx, rax
test rax, rax
je 0x14000ec1c
mov r8d, 7
lea rdx, str.Chinese
mov rcx, rbx
call fcn.140059bd0
test eax, eax
je 0x14000eecc
inc rbx
lea r8, [rdi - 6]
sub r8, rbx
mov edx, 0x43
mov rcx, rbx
call fcn.140059cb0
mov rbx, rax
test rax, rax
jne 0x14000ebe0
mov r8d, 7
lea rdx, str.English
lea rcx, [rsp + 0x68]
call fcn.140002140
xorps xmm0, xmm0
movups xmmword [rsp + 0x48], xmm0
xor r15d, r15d
mov qword [rsp + 0x58], r15
mov qword [rsp + 0x60], r15
lea r8d, [r15 + 8]
lea rdx, str.Language
lea rcx, [rsp + 0x48]
call fcn.1400026f0
mov rax, qword [rsp + 0x38]
mov rcx, qword [rax + 0x530]
mov r9, qword [rcx]
cmp qword [r9 + 0x18], 7
jbe 0x14000ec76
mov r9, qword [r9]
lea r8, [rsp + 0x68]
cmp qword [rbp - 0x80], 7
cmova r8, qword [rsp + 0x68]
lea rdx, [rsp + 0x48]
cmp qword [rsp + 0x60], 7
cmova rdx, qword [rsp + 0x48]
add rcx, 8
cmp qword [rcx + 0x18], 7
jbe 0x14000eca5
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
mov rdx, qword [rsp + 0x60]
cmp rdx, 7
jbe 0x14000ecee
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000ece8
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000f1b3
call fcn.1400364f0
nop
mov rdx, qword [rbp - 0x80]
cmp rdx, 7
jbe 0x14000ed2f
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000ed2a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000f1b9
call fcn.1400364f0
mov qword [rsp + 0x78], r15
mov qword [rbp - 0x80], 7
mov word [rsp + 0x68], r15w
cmp r13, 0xf
jbe 0x14000ed7a
lea rdx, [r13 + 1]
mov rax, r12
cmp rdx, 0x1000
jb 0x14000ed72
add rdx, 0x27
mov r12, qword [r12 - 8]
sub rax, r12
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000f1bf
mov rcx, r12
call fcn.1400364f0
mov r13, qword [rsp + 0x38]
xorps xmm0, xmm0
movups xmmword [rsp + 0x48], xmm0
mov qword [rsp + 0x58], r15
mov qword [rsp + 0x60], r15
mov r8d, 7
lea rdx, str.ENGLISH
lea rcx, [rsp + 0x48]
call fcn.1400026f0
nop
xorps xmm0, xmm0
movups xmmword [rsp + 0x68], xmm0
mov qword [rsp + 0x78], r15
mov qword [rbp - 0x80], r15
mov r8d, 8
lea rdx, str.Language
lea rcx, [rsp + 0x68]
call fcn.1400026f0
nop
mov rcx, qword [r13 + 0x530]
lea r8, [rcx + 8]
lea rax, [rsp + 0x48]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x68]
lea rdx, [rbp - 0x78]
mov rcx, qword [rcx]
call fcn.14000d360
nop
mov rdx, qword [rbp - 0x80]
cmp rdx, 7
jbe 0x14000ee3a
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000ee35
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000f1c5
call fcn.1400364f0
mov qword [rsp + 0x78], r15
mov qword [rbp - 0x80], 7
mov word [rsp + 0x68], r15w
mov rdx, qword [rsp + 0x60]
cmp rdx, 7
jbe 0x14000ee8f
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000ee8a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000f1cb
call fcn.1400364f0
mov qword [rsp + 0x58], r15
mov qword [rsp + 0x60], 7
mov word [rsp + 0x48], r15w
lea rcx, [rbp - 0x78]
mov r15, qword [rbp - 0x78]
mov rax, qword [rbp - 0x60]
mov r12, qword [rbp - 0x68]
cmp rax, 7
jbe 0x14000ef79
lea rbx, [r15 + r12*2]
mov rdi, r15
mov r14, r15
jmp 0x14000ef85
sub rbx, r14
cmp rbx, 0xffffffffffffffff
je 0x14000ec1c
lea rdi, [rbp - 0x18]
cmp r13, 0xf
cmova rdi, r12
cmp r15, 0xb
jb 0x14000ef48
lea r14, [r15 + rdi]
lea r8, [r14 - 0xa]
sub r8, rdi
mov edx, 0x54
mov rcx, rdi
call fcn.140059cb0
mov rbx, rax
test rax, rax
je 0x14000ef48
nop dword [rax + rax]
mov r8d, SafeArrayDestroy
lea rdx, str.Traditional
mov rcx, rbx
call fcn.140059bd0
test eax, eax
je 0x14000ef74
inc rbx
lea r8, [r14 - 0xa]
sub r8, rbx
mov edx, 0x54
mov rcx, rbx
call fcn.140059cb0
mov rbx, rax
test rax, rax
jne 0x14000ef10
mov rbx, rsi
lea rax, str.Chinese_Traditional
lea rdx, str.Chinese_Simplified
cmp rbx, 0xffffffffffffffff
cmovne rdx, rax
mov r8, rsi
inc r8
cmp word [rdx + r8*2], 0
jne 0x14000ef64
jmp 0x14000ec29
sub rbx, rdi
jmp 0x14000ef4b
lea rbx, [rcx + r12*2]
lea rdi, [rbp - 0x78]
lea r14, [rbp - 0x78]
cmp rdi, rbx
je 0x14000efb2
sub r14, rdi
nop dword [rax]
movzx ecx, word [rdi]
call fcn.1400409b4
mov word [rdi + r14], ax
add rdi, 2
cmp rdi, rbx
jne 0x14000ef90
mov rax, qword [rbp - 0x60]
mov r12, qword [rbp - 0x68]
mov r15, qword [rbp - 0x78]
lea rcx, [rbp - 0x78]
cmp rax, 7
seta bl
cmova rcx, r15
mov qword [rsp + 0x20], 0xa
lea r9, str.SIMPLIFIED
xor r8d, r8d
mov rdx, r12
call fcn.140002630
cmp rax, 0xffffffffffffffff
je 0x14000efe8
xor edi, edi
mov ebx, edi
jmp 0x14000f01a
lea rcx, [rbp - 0x78]
test bl, bl
cmovne rcx, r15
mov qword [rsp + 0x20], SafeArrayDestroy
lea r9, str.TRADITIONAL
xor r8d, r8d
mov rdx, r12
call fcn.140002630
xor edi, edi
mov ebx, edi
cmp rax, 0xffffffffffffffff
sete bl
inc ebx
mov edx, ebx
call fcn.14000a070
lea r14, [0x14007f830]
mov qword [rsp + 0x40], r14
mov rcx, r14
call fcn.140035cf4
test eax, eax
jne 0x14000f1d1
mov eax, dword [0x14007f87c]
cmp eax, 0x7fffffff
je 0x14000f1dc
mov dword [rsp + 0x38], edi
mov dword [rsp + 0x30], edi
mov qword [rsp + 0x20], rdi
lea r9, [rsp + 0x30]
mov r8d, 4
lea rdx, [rsp + 0x38]
mov rcx, qword [r13 + 8]
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov dword [rsp + 0x30], ebx
mov dword [rsp + 0x38], edi
mov qword [rsp + 0x20], rdi
lea r9, [rsp + 0x38]
mov r8d, 4
lea rdx, [rsp + 0x30]
mov rcx, qword [r13 + 8]
call qword [sym.imp.KERNEL32.dll_WriteFile]
lea rdx, [r13 + 0x418]
cmp qword [rdx + 0x18], 7
jbe 0x14000f0ad
mov rdx, qword [rdx]
xorps xmm0, xmm0
movups xmmword [rsp + 0x48], xmm0
mov qword [rsp + 0x58], rdi
mov qword [rsp + 0x60], rdi
nop
inc rsi
cmp word [rdx + rsi*2], 0
jne 0x14000f0c0
mov r8, rsi
lea rcx, [rsp + 0x48]
call fcn.1400026f0
lea rdx, [rsp + 0x48]
mov rcx, r13
call fcn.14000b360
nop
mov rcx, r14
call fcn.140035cfc
nop
mov rdx, qword [rbp - 0x60]
cmp rdx, 7
jbe 0x14000f12e
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000f129
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000f1ef
call fcn.1400364f0
mov qword [rbp - 0x68], rdi
mov qword [rbp - 0x60], 7
mov word [rbp - 0x78], di
mov rdx, qword [rbp - 0x40]
cmp rdx, 7
jbe 0x14000f17a
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000f175
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000f1a7
call fcn.1400364f0
mov rcx, qword [rbp + 8]
xor rcx, rsp
call fcn.1400364d0
lea r11, [rsp + 0x110]
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.14003d3ec
nop
call fcn.140001300
nop
call fcn.14003d3ec
nop
call fcn.14003d3ec
nop
call fcn.14003d3ec
nop
call fcn.14003d3ec
nop
call fcn.14003d3ec
int3
mov ecx, 5
call fcn.140035bb8
int3
dec eax
mov dword [0x14007f87c], eax
mov ecx, 6
call fcn.140035bb8
nop
call fcn.14003d3ec
int3