Function at 0x14003b25c
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 [0x1400db380]
xor rax, rsp
mov qword [rbp + 0x27], rax
mov r13, rcx
xor edi, edi
lea rcx, [rbp + 7]
call fcn.140043d74
nop
lea r8, str.TrainerSettings.ini
lea rdx, [rbp + 7]
lea rcx, [rbp - 0x79]
call fcn.140002b20
mov rbx, rax
lea rsi, [r13 + 0x578]
lea r14d, [rdi + 7]
cmp rsi, rax
je 0x14003b2e4
mov rcx, rsi
call fcn.140024228
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.140024228
lea rcx, [rbp + 7]
call fcn.140044280
test al, al
jne 0x14003b30c
lea rcx, [rbp + 7]
cmp qword [rbp + 0x1f], r14
cmova rcx, qword [rbp + 7]
call fcn.14008bdf0
mov rdx, rsi
lea rcx, [rsp + 0x30]
call fcn.140032f68
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 0x14003b34b
mov rcx, rbx
call fcn.140024228
mov edx, r15d
mov rcx, rbx
call fcn.140078ab8
mov rbx, qword [rsp + 0x30]
test rbx, rbx
je 0x14003b368
mov rcx, rbx
call fcn.140024228
mov rdx, r15
mov rcx, rbx
call fcn.140078ab8
mov rax, qword [r13 + 0x688]
mov qword [rsp + 0x30], rax
lea r8, str.Trainer
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x38]
call fcn.140032fe0
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 0x14003b3bd
lea rcx, [rbx + 8]
call fcn.140024228
mov edx, r15d
mov rcx, rbx
call fcn.140078ab8
mov rbx, qword [rsp + 0x38]
test rbx, rbx
je 0x14003b3db
lea rcx, [rbx + 8]
call fcn.140024228
mov rdx, r15
mov rcx, rbx
call fcn.140078ab8
mov rcx, rsi
call fcn.140044280
mov esi, 0x1000
test al, al
jne 0x14003b5ec
lea rdx, [0x1400a5ca2]
mov ecx, 2
call fcn.14008c0f8
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 0x14003b414
mov rdx, rax
lea rcx, [rbp - 0x39]
call fcn.140003354
nop
xorps xmm0, xmm0
movups xmmword [rbp - 0x59], xmm0
movdqa xmm1, xmmword [0x1400a6e70]
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 0x14003b4b0
lea r15, [rsi + r14]
lea r8, [r15 - 6]
sub r8, rsi
mov rcx, rsi
jmp 0x14003b49a
mov r8d, 7
lea rdx, str.Chinese
mov rcx, rbx
call fcn.1400a0390
test eax, eax
je 0x14003b7c6
inc rbx
lea r8, [r15 - 6]
sub r8, rbx
mov rcx, rbx
mov edx, 0x43
call fcn.1400a02f0
test rax, rax
mov rbx, rax
jne 0x14003b470
mov r15, qword [rbp - 0x21]
lea rdx, str.English
lea rcx, [rbp - 0x59]
call fcn.1400246a8
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.140003434
mov r9, qword [rbx]
mov r14d, 7
cmp qword [r9 + 0x18], r14
jbe 0x14003b4fe
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 0x14003b525
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
mov rdx, qword [rbp - 0x61]
mov esi, 0x1000
cmp rdx, r14
jbe 0x14003b56c
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x79]
mov rax, rcx
cmp rdx, rsi
jb 0x14003b566
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14003b85d
call fcn.140078ab8
nop
mov rdx, qword [rbp - 0x41]
cmp rdx, r14
jbe 0x14003b5a7
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x59]
mov rax, rcx
cmp rdx, rsi
jb 0x14003b5a2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14003b863
call fcn.140078ab8
movdqa xmm0, xmmword [0x1400a6e70]
movdqu xmmword [rbp - 0x49], xmm0
mov word [rbp - 0x59], di
cmp r15, 0xf
jbe 0x14003b5ec
lea rdx, [r15 + 1]
mov rax, r12
cmp rdx, rsi
jb 0x14003b5e4
add rdx, 0x27
mov r12, qword [r12 - 8]
sub rax, r12
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14003b869
mov rcx, r12
call fcn.140078ab8
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.140003434
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.140003434
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.14003f624
nop
mov rdx, qword [rbp - 0x61]
cmp rdx, r14
jbe 0x14003b695
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x79]
mov rax, rcx
cmp rdx, rsi
jb 0x14003b690
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14003b857
call fcn.140078ab8
movdqa xmm0, xmmword [0x1400a6e70]
movdqu xmmword [rbp - 0x69], xmm0
mov word [rbp - 0x79], di
lea rcx, [rbp - 0x59]
call fcn.140024228
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 0x14003b708
sub r15, rbx
mov rsi, rax
movzx ecx, word [rbx]
call fcn.14007fe54
mov word [r15 + rbx], ax
add rbx, 2
cmp rbx, rsi
jne 0x14003b6e6
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.140028900
cmp rax, 0xffffffffffffffff
jne 0x14003b766
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.140028900
cmp rax, 0xffffffffffffffff
sete dil
inc edi
mov edx, edi
lea rcx, [0x1400dd880]
call fcn.1400300ec
lea r8, [r13 + 0x578]
mov edx, edi
mov rcx, r13
call fcn.140038198
nop
lea rcx, [rbp - 0x19]
call fcn.140024228
nop
lea rcx, [rbp + 7]
call fcn.140024228
mov rcx, qword [rbp + 0x27]
xor rcx, rsp
call fcn.140078f30
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 0x14003b4ac
lea rsi, [rbp - 0x39]
mov r15, qword [rbp - 0x21]
cmp r15, 0xf
cmova rsi, r12
cmp r14, 0xb
jb 0x14003b833
lea r8, [r14 - 0xa]
add r8, rsi
sub r8, rsi
mov rcx, rsi
jmp 0x14003b821
mov r8d, SafeArrayDestroy
lea rdx, str.Traditional
mov rcx, rbx
call fcn.1400a0390
test eax, eax
je 0x14003b852
inc rbx
lea r8, [r14 - 0xa]
add r8, rsi
sub r8, rbx
mov rcx, rbx
mov edx, 0x54
call fcn.1400a02f0
test rax, rax
mov rbx, rax
jne 0x14003b7f8
or rbx, 0xffffffffffffffff
lea rax, str.Chinese_Traditional
lea rdx, str.Chinese_Simplified
cmp rbx, 0xffffffffffffffff
cmovne rdx, rax
jmp 0x14003b4b7
sub rbx, rsi
jmp 0x14003b837
call fcn.14007faac
nop
call fcn.14007faac
nop
call fcn.14007faac
nop
call fcn.14007faac
int3