Function at 0x1400514ac
Capabilities:
Create directory

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xf0
mov rax, qword [0x140113440]
xor rax, rsp
mov qword [rbp + 0x27], rax
mov r13, rcx
xor edi, edi
lea rcx, [rbp + 7]
call fcn.140059d08
nop
lea r8, str.TrainerSettings.ini
lea rdx, [rbp + 7]
lea rcx, [rbp - 0x79]
call fcn.140002bb4
mov rbx, rax
lea rsi, [r13 + 0x498]
lea r14d, [rdi + 7]
cmp rsi, rax
je 0x140051534
mov rcx, rsi
call fcn.140025108
movups xmm0, xmmword [rbx]
movups xmmword [rsi], xmm0
movups xmm1, xmmword [rbx + 0x10]
movups xmmword [rsi + 0x10], xmm1
mov qword [rbx + 0x10], rdi
mov qword [rbx + 0x18], r14
mov word [rbx], di
lea rcx, [rbp - 0x79]
call fcn.140025108
lea rcx, [rbp + 7]
call fcn.14005a174
test al, al
jne 0x14005155c
lea rcx, [rbp + 7]
cmp qword [rbp + 0x1f], r14
cmova rcx, qword [rbp + 7]
call fcn.1400a0088
mov rdx, rsi
lea rcx, [rsp + 0x30]
call fcn.140048e04
mov rcx, qword [rax]
mov qword [rax], rdi
mov rbx, qword [r13 + 0x5a8]
mov qword [r13 + 0x5a8], rcx
mov r15d, 0x20
test rbx, rbx
je 0x14005159b
mov rcx, rbx
call fcn.140025108
mov edx, r15d
mov rcx, rbx
call fcn.14008ba88
mov rbx, qword [rsp + 0x30]
test rbx, rbx
je 0x1400515b8
mov rcx, rbx
call fcn.140025108
mov rdx, r15
mov rcx, rbx
call fcn.14008ba88
mov rax, qword [r13 + 0x5a8]
mov qword [rsp + 0x30], rax
lea r8, str.Trainer
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x38]
call fcn.140048e7c
mov rcx, qword [rax]
mov qword [rax], rdi
mov rbx, qword [r13 + 0x5b0]
mov qword [r13 + 0x5b0], rcx
mov r15d, 0x28
test rbx, rbx
je 0x14005160d
lea rcx, [rbx + 8]
call fcn.140025108
mov edx, r15d
mov rcx, rbx
call fcn.14008ba88
mov rbx, qword [rsp + 0x38]
test rbx, rbx
je 0x14005162b
lea rcx, [rbx + 8]
call fcn.140025108
mov rdx, r15
mov rcx, rbx
call fcn.14008ba88
mov rcx, rsi
call fcn.14005a174
mov esi, 0x1000
test al, al
jne 0x14005183c
lea rdx, [0x1400bacc2]
mov ecx, 2
call fcn.1400a0390
xorps xmm0, xmm0
movups xmmword [rbp - 0x39], xmm0
mov qword [rbp - 0x29], rdi
mov qword [rbp - 0x21], rdi
or r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], dil
jne 0x140051664
mov rdx, rax
lea rcx, [rbp - 0x39]
call fcn.1400033e8
nop
xorps xmm0, xmm0
movups xmmword [rbp - 0x59], xmm0
movdqa xmm1, xmmword [0x1400bbea0]
movdqu xmmword [rbp - 0x49], xmm1
mov word [rbp - 0x59], di
lea rsi, [rbp - 0x39]
mov r12, qword [rbp - 0x39]
mov r15, qword [rbp - 0x21]
cmp r15, 0xf
cmova rsi, r12
mov r14, qword [rbp - 0x29]
cmp r14, 7
jb 0x140051700
lea r15, [rsi + r14]
lea r8, [r15 - 6]
sub r8, rsi
mov rcx, rsi
jmp 0x1400516ea
mov r8d, 7
lea rdx, str.Chinese
mov rcx, rbx
call fcn.1400b4710
test eax, eax
je 0x140051a16
inc rbx
lea r8, [r15 - 6]
sub r8, rbx
mov rcx, rbx
mov edx, 0x43
call fcn.1400b4670
test rax, rax
mov rbx, rax
jne 0x1400516c0
mov r15, qword [rbp - 0x21]
lea rdx, str.English
lea rcx, [rbp - 0x59]
call fcn.140025588
mov rbx, qword [r13 + 0x5b0]
xorps xmm0, xmm0
movups xmmword [rbp - 0x79], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x69], xmm1
mov r8d, 8
lea rdx, str.Language
lea rcx, [rbp - 0x79]
call fcn.1400034c8
mov r9, qword [rbx]
mov r14d, 7
cmp qword [r9 + 0x18], r14
jbe 0x14005174e
mov r9, qword [r9]
lea r8, [rbp - 0x59]
cmp qword [rbp - 0x41], r14
cmova r8, qword [rbp - 0x59]
lea rdx, [rbp - 0x79]
cmp qword [rbp - 0x61], r14
cmova rdx, qword [rbp - 0x79]
lea rcx, [rbx + 8]
cmp qword [rcx + 0x18], r14
jbe 0x140051775
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
mov rdx, qword [rbp - 0x61]
mov esi, 0x1000
cmp rdx, r14
jbe 0x1400517bc
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x79]
mov rax, rcx
cmp rdx, rsi
jb 0x1400517b6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140051aad
call fcn.14008ba88
nop
mov rdx, qword [rbp - 0x41]
cmp rdx, r14
jbe 0x1400517f7
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x59]
mov rax, rcx
cmp rdx, rsi
jb 0x1400517f2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140051ab3
call fcn.14008ba88
movdqa xmm0, xmmword [0x1400bbea0]
movdqu xmmword [rbp - 0x49], xmm0
mov word [rbp - 0x59], di
cmp r15, 0xf
jbe 0x14005183c
lea rdx, [r15 + 1]
mov rax, r12
cmp rdx, rsi
jb 0x140051834
add rdx, 0x27
mov r12, qword [r12 - 8]
sub rax, r12
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140051ab9
mov rcx, r12
call fcn.14008ba88
mov rbx, qword [r13 + 0x5b0]
xorps xmm0, xmm0
movups xmmword [rbp - 0x59], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x49], xmm1
mov r8, r14
lea rdx, str.ENGLISH
lea rcx, [rbp - 0x59]
call fcn.1400034c8
nop
xorps xmm0, xmm0
movups xmmword [rbp - 0x79], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x69], xmm1
mov r8d, 8
lea rdx, str.Language
lea rcx, [rbp - 0x79]
call fcn.1400034c8
nop
lea r8, [rbx + 8]
lea rax, [rbp - 0x59]
mov qword [rsp + 0x20], rax
lea r9, [rbp - 0x79]
lea rdx, [rbp - 0x19]
mov rcx, qword [rbx]
call fcn.140055f58
nop
mov rdx, qword [rbp - 0x61]
cmp rdx, r14
jbe 0x1400518e5
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x79]
mov rax, rcx
cmp rdx, rsi
jb 0x1400518e0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140051aa7
call fcn.14008ba88
movdqa xmm0, xmmword [0x1400bbea0]
movdqu xmmword [rbp - 0x69], xmm0
mov word [rbp - 0x79], di
lea rcx, [rbp - 0x59]
call fcn.140025108
lea r15, [rbp - 0x19]
mov rsi, qword [rbp - 0x19]
mov r14, qword [rbp - 1]
cmp r14, 7
cmova r15, rsi
lea rax, [rbp - 0x19]
cmova rax, rsi
mov r12, qword [rbp - 9]
lea rax, [rax + r12*2]
lea rbx, [rbp - 0x19]
cmova rbx, rsi
cmp rbx, rax
je 0x140051958
sub r15, rbx
mov rsi, rax
movzx ecx, word [rbx]
call fcn.140092e28
mov word [r15 + rbx], ax
add rbx, 2
cmp rbx, rsi
jne 0x140051936
mov r14, qword [rbp - 1]
mov r12, qword [rbp - 9]
mov rsi, qword [rbp - 0x19]
lea rcx, [rbp - 0x19]
cmp r14, 7
cmova rcx, rsi
mov qword [rsp + 0x20], 0xa
lea r9, str.SIMPLIFIED
xor r8d, r8d
mov rdx, r12
call fcn.140043320
cmp rax, 0xffffffffffffffff
jne 0x1400519b6
lea rcx, [rbp - 0x19]
cmp r14, 7
cmova rcx, rsi
mov qword [rsp + 0x20], SafeArrayDestroy
lea r9, str.TRADITIONAL
xor r8d, r8d
mov rdx, r12
call fcn.140043320
cmp rax, 0xffffffffffffffff
sete dil
inc edi
mov edx, edi
lea rcx, [0x140126810]
call fcn.140045aa0
lea r8, [r13 + 0x498]
mov edx, edi
mov rcx, r13
call fcn.14004e3e8
nop
lea rcx, [rbp - 0x19]
call fcn.140025108
nop
lea rcx, [rbp + 7]
call fcn.140025108
mov rcx, qword [rbp + 0x27]
xor rcx, rsp
call fcn.14008bf00
lea r11, [rsp + 0xf0]
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
sub rbx, rsi
cmp rbx, 0xffffffffffffffff
je 0x1400516fc
lea rsi, [rbp - 0x39]
mov r15, qword [rbp - 0x21]
cmp r15, 0xf
cmova rsi, r12
cmp r14, 0xb
jb 0x140051a83
lea r8, [r14 - 0xa]
add r8, rsi
sub r8, rsi
mov rcx, rsi
jmp 0x140051a71
mov r8d, SafeArrayDestroy
lea rdx, str.Traditional
mov rcx, rbx
call fcn.1400b4710
test eax, eax
je 0x140051aa2
inc rbx
lea r8, [r14 - 0xa]
add r8, rsi
sub r8, rbx
mov rcx, rbx
mov edx, 0x54
call fcn.1400b4670
test rax, rax
mov rbx, rax
jne 0x140051a48
or rbx, 0xffffffffffffffff
lea rax, str.Chinese_Traditional
lea rdx, str.Chinese_Simplified
cmp rbx, 0xffffffffffffffff
cmovne rdx, rax
jmp 0x140051707
sub rbx, rsi
jmp 0x140051a87
call fcn.140092a80
nop
call fcn.140092a80
nop
call fcn.140092a80
nop
call fcn.140092a80
int3