Function at 0x14004e384
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 [0x14010d440]
xor rax, rsp
mov qword [rbp + 0x27], rax
mov r13, rcx
xor edi, edi
lea rcx, [rbp + 7]
call fcn.140056d00
nop
lea r8, str.TrainerSettings.ini
lea rdx, [rbp + 7]
lea rcx, [rbp - 0x79]
call fcn.1400441cc
mov rbx, rax
lea rsi, [r13 + 0x498]
lea r14d, [rdi + 7]
cmp rsi, rax
je 0x14004e40c
mov rcx, rsi
call fcn.140021960
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.140021960
lea rcx, [rbp + 7]
call fcn.14005720c
test al, al
jne 0x14004e434
lea rcx, [rbp + 7]
cmp qword [rbp + 0x1f], r14
cmova rcx, qword [rbp + 7]
call fcn.14009b4b8
mov rdx, rsi
lea rcx, [rsp + 0x30]
call fcn.1400457b8
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 0x14004e473
mov rcx, rbx
call fcn.140021960
mov edx, r15d
mov rcx, rbx
call fcn.140086ebc
mov rbx, qword [rsp + 0x30]
test rbx, rbx
je 0x14004e490
mov rcx, rbx
call fcn.140021960
mov rdx, r15
mov rcx, rbx
call fcn.140086ebc
mov rax, qword [r13 + 0x5a8]
mov qword [rsp + 0x30], rax
lea r8, str.Trainer
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x38]
call fcn.140045830
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 0x14004e4e5
lea rcx, [rbx + 8]
call fcn.140021960
mov edx, r15d
mov rcx, rbx
call fcn.140086ebc
mov rbx, qword [rsp + 0x38]
test rbx, rbx
je 0x14004e503
lea rcx, [rbx + 8]
call fcn.140021960
mov rdx, r15
mov rcx, rbx
call fcn.140086ebc
mov rcx, rsi
call fcn.14005720c
mov esi, 0x1000
test al, al
jne 0x14004e714
lea rdx, [0x1400b5bf2]
mov ecx, 2
call fcn.14009b7c0
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 0x14004e53c
mov rdx, rax
lea rcx, [rbp - 0x39]
call fcn.1400030e0
nop
xorps xmm0, xmm0
movups xmmword [rbp - 0x59], xmm0
movdqa xmm1, xmmword [0x1400b6d20]
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 0x14004e5d8
lea r15, [rsi + r14]
lea r8, [r15 - 6]
sub r8, rsi
mov rcx, rsi
jmp 0x14004e5c2
mov r8d, 7
lea rdx, str.Chinese
mov rcx, rbx
call fcn.1400afb40
test eax, eax
je 0x14004e8ee
inc rbx
lea r8, [r15 - 6]
sub r8, rbx
mov rcx, rbx
mov edx, 0x43
call fcn.1400afaa0
test rax, rax
mov rbx, rax
jne 0x14004e598
mov r15, qword [rbp - 0x21]
lea rdx, str.English
lea rcx, [rbp - 0x59]
call fcn.140021d64
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.1400031c0
mov r9, qword [rbx]
mov r14d, 7
cmp qword [r9 + 0x18], r14
jbe 0x14004e626
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 0x14004e64d
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
mov rdx, qword [rbp - 0x61]
mov esi, 0x1000
cmp rdx, r14
jbe 0x14004e694
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x79]
mov rax, rcx
cmp rdx, rsi
jb 0x14004e68e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14004e985
call fcn.140086ebc
nop
mov rdx, qword [rbp - 0x41]
cmp rdx, r14
jbe 0x14004e6cf
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x59]
mov rax, rcx
cmp rdx, rsi
jb 0x14004e6ca
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14004e98b
call fcn.140086ebc
movdqa xmm0, xmmword [0x1400b6d20]
movdqu xmmword [rbp - 0x49], xmm0
mov word [rbp - 0x59], di
cmp r15, 0xf
jbe 0x14004e714
lea rdx, [r15 + 1]
mov rax, r12
cmp rdx, rsi
jb 0x14004e70c
add rdx, 0x27
mov r12, qword [r12 - 8]
sub rax, r12
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14004e991
mov rcx, r12
call fcn.140086ebc
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.1400031c0
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.1400031c0
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.14005274c
nop
mov rdx, qword [rbp - 0x61]
cmp rdx, r14
jbe 0x14004e7bd
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x79]
mov rax, rcx
cmp rdx, rsi
jb 0x14004e7b8
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14004e97f
call fcn.140086ebc
movdqa xmm0, xmmword [0x1400b6d20]
movdqu xmmword [rbp - 0x69], xmm0
mov word [rbp - 0x79], di
lea rcx, [rbp - 0x59]
call fcn.140021960
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 0x14004e830
sub r15, rbx
mov rsi, rax
movzx ecx, word [rbx]
call fcn.14008e258
mov word [r15 + rbx], ax
add rbx, 2
cmp rbx, rsi
jne 0x14004e80e
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.14003fb44
cmp rax, 0xffffffffffffffff
jne 0x14004e88e
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.14003fb44
cmp rax, 0xffffffffffffffff
sete dil
inc edi
mov edx, edi
lea rcx, [0x140120510]
call fcn.140042604
lea r8, [r13 + 0x498]
mov edx, edi
mov rcx, r13
call fcn.14004b2c0
nop
lea rcx, [rbp - 0x19]
call fcn.140021960
nop
lea rcx, [rbp + 7]
call fcn.140021960
mov rcx, qword [rbp + 0x27]
xor rcx, rsp
call fcn.140087330
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 0x14004e5d4
lea rsi, [rbp - 0x39]
mov r15, qword [rbp - 0x21]
cmp r15, 0xf
cmova rsi, r12
cmp r14, 0xb
jb 0x14004e95b
lea r8, [r14 - 0xa]
add r8, rsi
sub r8, rsi
mov rcx, rsi
jmp 0x14004e949
mov r8d, SafeArrayDestroy
lea rdx, str.Traditional
mov rcx, rbx
call fcn.1400afb40
test eax, eax
je 0x14004e97a
inc rbx
lea r8, [r14 - 0xa]
add r8, rsi
sub r8, rbx
mov rcx, rbx
mov edx, 0x54
call fcn.1400afaa0
test rax, rax
mov rbx, rax
jne 0x14004e920
or rbx, 0xffffffffffffffff
lea rax, str.Chinese_Traditional
lea rdx, str.Chinese_Simplified
cmp rbx, 0xffffffffffffffff
cmovne rdx, rax
jmp 0x14004e5df
sub rbx, rsi
jmp 0x14004e95f
call fcn.14008deb0
nop
call fcn.14008deb0
nop
call fcn.14008deb0
nop
call fcn.14008deb0
int3