Function at 0x14003b104
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 [0x1400d5380]
xor rax, rsp
mov qword [rbp + 0x27], rax
mov r13, rcx
xor edi, edi
lea rcx, [rbp + 7]
call fcn.140043c1c
nop
lea r8, str.TrainerSettings.ini
lea rdx, [rbp + 7]
lea rcx, [rbp - 0x79]
call fcn.140002a04
mov rbx, rax
lea rsi, [r13 + 0x578]
lea r14d, [rdi + 7]
cmp rsi, rax
je 0x14003b18c
mov rcx, rsi
call fcn.140024110
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.140024110
lea rcx, [rbp + 7]
call fcn.140044128
test al, al
jne 0x14003b1b4
lea rcx, [rbp + 7]
cmp qword [rbp + 0x1f], r14
cmova rcx, qword [rbp + 7]
call fcn.1400881c4
mov rdx, rsi
lea rcx, [rsp + 0x30]
call fcn.140032e10
mov rcx, qword [rax]
mov qword [rax], rdi
mov rbx, qword [r13 + 0x688]
mov qword [r13 + 0x688], rcx
mov r15d, 0x20
test rbx, rbx
je 0x14003b1f3
mov rcx, rbx
call fcn.140024110
mov edx, r15d
mov rcx, rbx
call fcn.140077818
mov rbx, qword [rsp + 0x30]
test rbx, rbx
je 0x14003b210
mov rcx, rbx
call fcn.140024110
mov rdx, r15
mov rcx, rbx
call fcn.140077818
mov rax, qword [r13 + 0x688]
mov qword [rsp + 0x30], rax
lea r8, str.Trainer
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x38]
call fcn.140032e88
mov rcx, qword [rax]
mov qword [rax], rdi
mov rbx, qword [r13 + 0x690]
mov qword [r13 + 0x690], rcx
mov r15d, 0x28
test rbx, rbx
je 0x14003b265
lea rcx, [rbx + 8]
call fcn.140024110
mov edx, r15d
mov rcx, rbx
call fcn.140077818
mov rbx, qword [rsp + 0x38]
test rbx, rbx
je 0x14003b283
lea rcx, [rbx + 8]
call fcn.140024110
mov rdx, r15
mov rcx, rbx
call fcn.140077818
mov rcx, rsi
call fcn.140044128
mov esi, 0x1000
test al, al
jne 0x14003b494
lea rdx, [0x1400a1c42]
mov ecx, 2
call fcn.1400884cc
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 0x14003b2bc
mov rdx, rax
lea rcx, [rbp - 0x39]
call fcn.140003238
nop
xorps xmm0, xmm0
movups xmmword [rbp - 0x59], xmm0
movdqa xmm1, xmmword [0x1400a2e10]
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 0x14003b358
lea r15, [rsi + r14]
lea r8, [r15 - 6]
sub r8, rsi
mov rcx, rsi
jmp 0x14003b342
mov r8d, 7
lea rdx, str.Chinese
mov rcx, rbx
call fcn.14009bd00
test eax, eax
je 0x14003b66e
inc rbx
lea r8, [r15 - 6]
sub r8, rbx
mov rcx, rbx
mov edx, 0x43
call fcn.14009bc60
test rax, rax
mov rbx, rax
jne 0x14003b318
mov r15, qword [rbp - 0x21]
lea rdx, str.English
lea rcx, [rbp - 0x59]
call fcn.140024590
mov rbx, qword [r13 + 0x690]
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.140003318
mov r9, qword [rbx]
mov r14d, 7
cmp qword [r9 + 0x18], r14
jbe 0x14003b3a6
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 0x14003b3cd
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
mov rdx, qword [rbp - 0x61]
mov esi, 0x1000
cmp rdx, r14
jbe 0x14003b414
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x79]
mov rax, rcx
cmp rdx, rsi
jb 0x14003b40e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14003b705
call fcn.140077818
nop
mov rdx, qword [rbp - 0x41]
cmp rdx, r14
jbe 0x14003b44f
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x59]
mov rax, rcx
cmp rdx, rsi
jb 0x14003b44a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14003b70b
call fcn.140077818
movdqa xmm0, xmmword [0x1400a2e10]
movdqu xmmword [rbp - 0x49], xmm0
mov word [rbp - 0x59], di
cmp r15, 0xf
jbe 0x14003b494
lea rdx, [r15 + 1]
mov rax, r12
cmp rdx, rsi
jb 0x14003b48c
add rdx, 0x27
mov r12, qword [r12 - 8]
sub rax, r12
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14003b711
mov rcx, r12
call fcn.140077818
mov rbx, qword [r13 + 0x690]
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.140003318
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.140003318
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.14003f4cc
nop
mov rdx, qword [rbp - 0x61]
cmp rdx, r14
jbe 0x14003b53d
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x79]
mov rax, rcx
cmp rdx, rsi
jb 0x14003b538
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14003b6ff
call fcn.140077818
movdqa xmm0, xmmword [0x1400a2e10]
movdqu xmmword [rbp - 0x69], xmm0
mov word [rbp - 0x79], di
lea rcx, [rbp - 0x59]
call fcn.140024110
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 0x14003b5b0
sub r15, rbx
mov rsi, rax
movzx ecx, word [rbx]
call fcn.14007ea00
mov word [r15 + rbx], ax
add rbx, 2
cmp rbx, rsi
jne 0x14003b58e
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.1400287e8
cmp rax, 0xffffffffffffffff
jne 0x14003b60e
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.1400287e8
cmp rax, 0xffffffffffffffff
sete dil
inc edi
mov edx, edi
lea rcx, [0x1400d7880]
call fcn.14002ff94
lea r8, [r13 + 0x578]
mov edx, edi
mov rcx, r13
call fcn.140038040
nop
lea rcx, [rbp - 0x19]
call fcn.140024110
nop
lea rcx, [rbp + 7]
call fcn.140024110
mov rcx, qword [rbp + 0x27]
xor rcx, rsp
call fcn.140077c90
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 0x14003b354
lea rsi, [rbp - 0x39]
mov r15, qword [rbp - 0x21]
cmp r15, 0xf
cmova rsi, r12
cmp r14, 0xb
jb 0x14003b6db
lea r8, [r14 - 0xa]
add r8, rsi
sub r8, rsi
mov rcx, rsi
jmp 0x14003b6c9
mov r8d, SafeArrayDestroy
lea rdx, str.Traditional
mov rcx, rbx
call fcn.14009bd00
test eax, eax
je 0x14003b6fa
inc rbx
lea r8, [r14 - 0xa]
add r8, rsi
sub r8, rbx
mov rcx, rbx
mov edx, 0x54
call fcn.14009bc60
test rax, rax
mov rbx, rax
jne 0x14003b6a0
or rbx, 0xffffffffffffffff
lea rax, str.Chinese_Traditional
lea rdx, str.Chinese_Simplified
cmp rbx, 0xffffffffffffffff
cmovne rdx, rax
jmp 0x14003b35f
sub rbx, rsi
jmp 0x14003b6df
call fcn.14007e634
nop
call fcn.14007e634
nop
call fcn.14007e634
nop
call fcn.14007e634
int3