Function at 0x14001d1d0
Capabilities:
Check if file exists
Create directory
Get file attributes

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 - 0xb0]
sub rsp, 0x1b0
mov rax, qword [0x1400b2020]
xor rax, rsp
mov qword [rbp + 0xa0], rax
mov r14, rcx
xor r12d, r12d
mov dword [rsp + 0x30], r12d
mov qword [rbp + 0x10], r12
mov qword [rbp + 0x18], 7
mov word [rbp], r12w
lea rcx, [rbp + 0x60]
call fcn.140010360
nop
mov qword [rsp + 0x70], r12
mov qword [rsp + 0x78], 7
mov word [rsp + 0x60], r12w
mov dword [rsp + 0x30], 8
mov rdx, qword [rbp + 0x70]
add rdx, 0x14
lea rcx, [rsp + 0x60]
call fcn.140001670
lea rdx, [rbp + 0x60]
lea rcx, [rsp + 0x60]
call fcn.140001730
mov rcx, qword [rsp + 0x70]
mov rdx, qword [rsp + 0x78]
mov rax, rdx
sub rax, rcx
cmp rax, 0x14
jb 0x14001d2b4
lea rdi, [rcx + 0x14]
mov qword [rsp + 0x70], rdi
lea rbx, [rsp + 0x60]
cmp rdx, 8
cmovae rbx, qword [rsp + 0x60]
lea rcx, [rbx + rcx*2]
lea r8d, [r12 + 0x28]
lea rdx, str.TrainerSettings.ini
call fcn.14005d240
mov word [rbx + rdi*2], r12w
jmp 0x14001d2d3
mov qword [rsp + 0x20], 0x14
lea r9, str.TrainerSettings.ini
mov edx, 0x14
lea rcx, [rsp + 0x60]
call fcn.1400014c0
mov rdx, qword [rbp + 0x18]
cmp rdx, 8
jb 0x14001d313
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001d30e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001e69b
call fcn.14003e884
movups xmm0, xmmword [rsp + 0x60]
movups xmmword [rbp], xmm0
movups xmm1, xmmword [rsp + 0x70]
movups xmmword [rbp + 0x10], xmm1
lea rcx, [rbp + 0x60]
cmp qword [rbp + 0x78], 8
cmovae rcx, qword [rbp + 0x60]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x14001d351
lea rcx, [rbp + 0x60]
cmp qword [rbp + 0x78], 8
cmovae rcx, qword [rbp + 0x60]
call fcn.14006654c
mov ecx, 0x20
call fcn.14003e8b8
mov rbx, rax
mov qword [rsp + 0x30], rax
mov qword [rax + 0x10], r12
mov qword [rax + 0x18], 7
mov word [rax], r12w
lea rax, [rbp]
cmp rbx, rax
je 0x14001d397
lea rdx, [rbp]
cmp qword [rbp + 0x18], 8
cmovae rdx, qword [rbp]
mov r8, qword [rbp + 0x10]
mov rcx, rbx
call fcn.1400024c0
nop
mov qword [r14 + 0xc0], rbx
mov ecx, 0x28
call fcn.14003e8b8
mov rbx, rax
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x50], r12
mov qword [rsp + 0x58], 7
mov word [rsp + 0x40], r12w
mov r8d, 7
lea rdx, str.Trainer
lea rcx, [rsp + 0x40]
call fcn.1400024c0
nop
mov dword [rsp + 0x30], 1
mov rdi, qword [r14 + 0xc0]
lea rcx, [rbx + 8]
mov qword [rcx + 0x10], r12
mov qword [rcx + 0x18], 7
mov word [rcx], r12w
lea rax, [rsp + 0x40]
cmp rcx, rax
je 0x14001d424
lea rdx, [rsp + 0x40]
cmp qword [rsp + 0x58], 8
cmovae rdx, qword [rsp + 0x40]
mov r8, qword [rsp + 0x50]
call fcn.1400024c0
mov qword [rbx], rdi
mov qword [r14 + 0xc8], rbx
mov rdx, qword [rsp + 0x58]
cmp rdx, 8
jb 0x14001d470
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001d46b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001e71f
call fcn.14003e884
lea rcx, [rbp]
cmp qword [rbp + 0x18], 8
cmovae rcx, qword [rbp]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x14001d84c
lea rdx, [0x14009c1cb]
mov ecx, 2
call fcn.140066858
mov qword [rsp + 0x50], r12
mov qword [rsp + 0x58], 0xf
mov byte [rsp + 0x40], 0
mov rbx, 0xffffffffffffffff
mov r8, rbx
nop dword [rax + rax]
inc r8
cmp byte [rax + r8], 0
jne 0x14001d4c0
mov rdx, rax
lea rcx, [rsp + 0x40]
call fcn.140001b20
nop
mov qword [rsp + 0x70], r12
mov qword [rsp + 0x78], 7
mov word [rsp + 0x60], r12w
lea rcx, [rsp + 0x40]
mov rdi, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x58]
cmp rsi, 0x10
cmovae rcx, rdi
mov qword [rsp + 0x20], 7
lea r9, str.Chinese
xor r8d, r8d
mov r15, qword [rsp + 0x50]
mov rdx, r15
call fcn.1400013f0
cmp rax, 0xffffffffffffffff
je 0x14001d57f
lea rcx, [rsp + 0x40]
cmp rsi, 0x10
cmovae rcx, rdi
mov qword [rsp + 0x20], 0xb
lea r9, str.Traditional
xor r8d, r8d
mov rdx, r15
call fcn.1400013f0
lea rcx, str.Chinese_Traditional
lea rdx, str.Chinese_Simplified
cmp rax, 0xffffffffffffffff
cmovne rdx, rcx
nop word [rax + rax]
inc rbx
cmp word [rdx + rbx*2], 0
jne 0x14001d570
mov r8, rbx
jmp 0x14001d58c
mov r8d, 7
lea rdx, str.English
lea rcx, [rsp + 0x60]
call fcn.1400024c0
mov qword [rbp - 0x70], r12
mov qword [rbp - 0x68], 7
mov word [rbp - 0x80], r12w
mov r8d, 8
lea rdx, str.Language
lea rcx, [rbp - 0x80]
call fcn.1400024c0
mov rcx, qword [r14 + 0xc8]
mov r9, qword [rcx]
cmp qword [r9 + 0x18], 8
jb 0x14001d5d1
mov r9, qword [r9]
lea r8, [rsp + 0x60]
cmp qword [rsp + 0x78], 8
cmovae r8, qword [rsp + 0x60]
lea rdx, [rbp - 0x80]
cmp qword [rbp - 0x68], 8
cmovae rdx, qword [rbp - 0x80]
add rcx, 8
cmp qword [rcx + 0x18], 8
jb 0x14001d5fe
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
mov rdx, qword [rbp - 0x68]
cmp rdx, 8
jb 0x14001d644
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001d63f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001e6a1
call fcn.14003e884
mov qword [rbp - 0x70], r12
mov qword [rbp - 0x68], 7
mov word [rbp - 0x80], r12w
mov r8d, 0xa
lea rdx, str.ShowAVHint
lea rcx, [rbp - 0x80]
call fcn.1400024c0
nop
mov r8b, 1
lea rdx, [rbp - 0x80]
mov rcx, qword [r14 + 0xc8]
call fcn.14001c510
nop
mov rdx, qword [rbp - 0x68]
cmp rdx, 8
jb 0x14001d6c0
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001d6bb
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001e6a7
call fcn.14003e884
mov qword [rbp - 0x70], r12
mov qword [rbp - 0x68], 7
mov word [rbp - 0x80], r12w
mov r8d, 0xb
lea rdx, str.OnLoadMusic
lea rcx, [rbp - 0x80]
call fcn.1400024c0
nop
mov r8b, 1
lea rdx, [rbp - 0x80]
mov rcx, qword [r14 + 0xc8]
call fcn.14001c510
nop
mov rdx, qword [rbp - 0x68]
cmp rdx, 8
jb 0x14001d73c
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001d737
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001e6ad
call fcn.14003e884
mov qword [rbp - 0x70], r12
mov qword [rbp - 0x68], 7
mov word [rbp - 0x80], r12w
mov r8d, 0x11
lea rdx, str.IgnoreGameVersion
lea rcx, [rbp - 0x80]
call fcn.1400024c0
nop
xor r8d, r8d
lea rdx, [rbp - 0x80]
mov rcx, qword [r14 + 0xc8]
call fcn.14001c510
nop
mov rdx, qword [rbp - 0x68]
cmp rdx, 8
jb 0x14001d7b9
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001d7b3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001e6b3
call fcn.14003e884
nop
mov rdx, qword [rsp + 0x78]
cmp rdx, 8
jb 0x14001d7fb
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001d7f6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001e6b9
call fcn.14003e884
mov qword [rsp + 0x70], r12
mov qword [rsp + 0x78], 7
mov word [rsp + 0x60], r12w
mov rdx, qword [rsp + 0x58]
cmp rdx, 0x10
jb 0x14001d84c
inc rdx
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001d847
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001e6bf
call fcn.14003e884
mov qword [rbp - 0x70], r12
mov qword [rbp - 0x68], 7
mov word [rbp - 0x80], r12w
mov r8d, 7
lea rdx, str.ENGLISH
lea rcx, [rbp - 0x80]
call fcn.1400024c0
nop
mov qword [rbp + 0x90], r12
mov qword [rbp + 0x98], 7
mov word [rbp + 0x80], r12w
mov r8d, 8
lea rdx, str.Language
lea rcx, [rbp + 0x80]
call fcn.1400024c0
nop
mov rcx, qword [r14 + 0xc8]
lea r8, [rcx + 8]
lea rax, [rbp - 0x80]
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0x80]
lea rdx, [rbp - 0x20]
mov rcx, qword [rcx]
call fcn.14001c080
mov eax, 0x10
mov dword [rsp + 0x30], eax
mov rdx, qword [rbp + 0x98]
cmp rdx, 8
jb 0x14001d91e
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001d919
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001e6c5
call fcn.14003e884
mov qword [rbp + 0x90], r12
mov qword [rbp + 0x98], 7
mov word [rbp + 0x80], r12w
mov rdx, qword [rbp - 0x68]
cmp rdx, 8
jb 0x14001d978
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001d973
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001e6cb
call fcn.14003e884
mov qword [rbp - 0x70], r12
mov qword [rbp - 0x68], 7
mov word [rbp - 0x80], r12w
lea rsi, [rbp - 0x20]
mov r15, qword [rbp - 0x20]
mov r12, qword [rbp - 8]
cmp r12, 8
cmovae rsi, r15
lea rax, [rbp - 0x20]
cmovae rax, r15
mov r13, qword [rbp - 0x10]
lea rbx, [rax + r13*2]
lea rdi, [rbp - 0x20]
cmovae rdi, r15
cmp rdi, rbx
je 0x14001d9e1
sub rsi, rdi
nop dword [rax]
movzx ecx, word [rdi]
call fcn.140065684
mov word [rsi + rdi], ax
add rdi, 2
cmp rdi, rbx
jne 0x14001d9c0
mov r12, qword [rbp - 8]
mov r13, qword [rbp - 0x10]
mov r15, qword [rbp - 0x20]
lea rcx, [rbp - 0x20]
cmp r12, 8
cmovae rcx, r15
mov qword [rsp + 0x20], 0xa
lea r9, str.SIMPLIFIED
xor r8d, r8d
mov rdx, r13
call fcn.140001340
cmp rax, 0xffffffffffffffff
je 0x14001da16
xor r15d, r15d
mov edx, r15d
jmp 0x14001da4c
lea rcx, [rbp - 0x20]
cmp r12, 8
cmovae rcx, r15
mov qword [rsp + 0x20], 0xb
lea r9, str.TRADITIONAL
xor r8d, r8d
mov rdx, r13
call fcn.140001340
xor r15d, r15d
mov edx, r15d
cmp rax, 0xffffffffffffffff
sete dl
inc edx
mov rcx, r14
call fcn.14001f0d0
mov qword [rsp + 0x50], r15
mov qword [rsp + 0x58], 7
mov word [rsp + 0x40], r15w
mov r8d, 0xa
lea rdx, str.ShowAVHint
lea rcx, [rsp + 0x40]
call fcn.1400024c0
nop
lea rdx, [rsp + 0x40]
mov rcx, qword [r14 + 0xc8]
call fcn.14001c240
movzx ebx, al
mov rdx, qword [rsp + 0x58]
cmp rdx, 8
jb 0x14001dad6
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001dad1
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001e6d1
call fcn.14003e884
test bl, bl
je 0x14001e139
mov qword [rsp + 0x50], r15
mov qword [rsp + 0x58], 7
mov word [rsp + 0x40], r15w
xor r8d, r8d
lea rdx, [0x14009bff0]
lea rcx, [rsp + 0x40]
call fcn.1400024c0
nop
mov qword [rbp - 0x50], r15
mov qword [rbp - 0x48], 7
mov word [rbp - 0x60], r15w
mov r8d, 0xb
lea rdx, str.360Tray.exe
lea rcx, [rbp - 0x60]
call fcn.1400024c0
lea rcx, [rbp - 0x60]
call fcn.14001b0c0
test eax, eax
je 0x14001db52
mov r8d, 0xb
lea rdx, str.360Tray.exe
lea rcx, [rsp + 0x40]
call fcn.1400024c0
mov qword [rbp - 0x50], r15
mov qword [rbp - 0x48], 7
mov word [rbp - 0x60], r15w
mov r8d, 0xb
lea rdx, str.360Safe.exe
lea rcx, [rbp - 0x60]
call fcn.1400024c0
lea rcx, [rbp - 0x60]
call fcn.14001b0c0
test eax, eax
je 0x14001db9d
mov r8d, 0xb
lea rdx, str.360Safe.exe
lea rcx, [rsp + 0x40]
call fcn.1400024c0
mov rdx, qword [rsp + 0x50]
test rdx, rdx
je 0x14001e0f7
mov qword [rbp - 0x30], r15
mov qword [rbp - 0x28], 7
mov word [rbp - 0x40], r15w
mov dword [rsp + 0x30], 0x30
add rdx, 0xf
lea rcx, [rbp - 0x40]
call fcn.140001670
mov rcx, qword [rbp - 0x30]
mov rdx, qword [rbp - 0x28]
mov rax, rdx
sub rax, rcx
cmp rax, 0xf
jb 0x14001dc17
lea rdi, [rcx + 0xf]
mov qword [rbp - 0x30], rdi
lea rbx, [rbp - 0x40]
cmp rdx, 8
cmovae rbx, qword [rbp - 0x40]
lea rcx, [rbx + rcx*2]
mov r8d, 0x1e
lea rdx, [0x1400a00f8]
call fcn.14005d240
mov word [rbx + rdi*2], r15w
jmp 0x14001dc35
mov qword [rsp + 0x20], 0xf
lea r9, [0x1400a00f8]
mov edx, 0xf
lea rcx, [rbp - 0x40]
call fcn.1400014c0
lea rdx, [rsp + 0x40]
lea rcx, [rbp - 0x40]
call fcn.140001730
mov rcx, qword [rbp - 0x30]
mov rdx, qword [rbp - 0x28]
mov rax, rdx
sub rax, rcx
cmp rax, 9
jb 0x14001dc8d
lea rdi, [rcx + 9]
mov qword [rbp - 0x30], rdi
lea rbx, [rbp - 0x40]
cmp rdx, 8
cmovae rbx, qword [rbp - 0x40]
lea rcx, [rbx + rcx*2]
mov r8d, 0x12
lea rdx, [0x1400a00e0]
call fcn.14005d240
mov word [rbx + rdi*2], r15w
lea rax, [rbp - 0x40]
jmp 0x14001dcab
mov qword [rsp + 0x20], 9
lea r9, [0x1400a00e0]
mov edx, 9
lea rcx, [rbp - 0x40]
call fcn.1400014c0
mov qword [rsp + 0x70], r15
mov qword [rsp + 0x78], r15
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x60], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x70], xmm1
mov qword [rax + 0x10], r15
mov qword [rax + 0x18], 7
mov word [rax], r15w
mov dword [rsp + 0x30], 0x70
mov rcx, qword [rsp + 0x70]
mov rdx, qword [rsp + 0x78]
mov rax, rdx
sub rax, rcx
cmp rax, 0x25
jb 0x14001dd2e
lea rdi, [rcx + 0x25]
mov qword [rsp + 0x70], rdi
lea rbx, [rsp + 0x60]
cmp rdx, 8
cmovae rbx, qword [rsp + 0x60]
lea rcx, [rbx + rcx*2]
mov r8d, 0x4a
lea rdx, [0x1400a0090]
call fcn.14005d240
mov word [rbx + rdi*2], r15w
lea rax, [rsp + 0x60]
jmp 0x14001dd4d
mov qword [rsp + 0x20], 0x25
lea r9, [0x1400a0090]
mov edx, 0x25
lea rcx, [rsp + 0x60]
call fcn.1400014c0
mov qword [rbp + 0x50], r15
mov qword [rbp + 0x58], r15
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x40], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x50], xmm1
mov qword [rax + 0x10], r15
mov qword [rax + 0x18], 7
mov word [rax], r15w
mov dword [rsp + 0x30], 0xf0
mov rcx, qword [rbp + 0x50]
mov rdx, qword [rbp + 0x58]
mov rax, rdx
sub rax, rcx
cmp rax, 0x22
jb 0x14001ddc6
lea rdi, [rcx + 0x22]
mov qword [rbp + 0x50], rdi
lea rbx, [rbp + 0x40]
cmp rdx, 8
cmovae rbx, qword [rbp + 0x40]
lea rcx, [rbx + rcx*2]
mov r8d, 0x44
lea rdx, [0x1400a0040]
call fcn.14005d240
mov word [rbx + rdi*2], r15w
lea rax, [rbp + 0x40]
jmp 0x14001dde4
mov qword [rsp + 0x20], 0x22
lea r9, [0x1400a0040]
mov edx, 0x22
lea rcx, [rbp + 0x40]
call fcn.1400014c0
mov qword [rbp + 0x30], r15
mov qword [rbp + 0x38], r15
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x20], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x30], xmm1
mov qword [rax + 0x10], r15
mov qword [rax + 0x18], 7
mov word [rax], r15w
mov dword [rsp + 0x30], 0x1f0
mov rcx, qword [rbp + 0x30]
mov rdx, qword [rbp + 0x38]
mov rax, rdx
sub rax, rcx
cmp rax, 0x23
jb 0x14001de5d
lea rdi, [rcx + 0x23]
mov qword [rbp + 0x30], rdi
lea rbx, [rbp + 0x20]
cmp rdx, 8
cmovae rbx, qword [rbp + 0x20]
lea rcx, [rbx + rcx*2]
mov r8d, 0x46
lea rdx, [0x14009fff0]
call fcn.14005d240
mov word [rbx + rdi*2], r15w
lea rax, [rbp + 0x20]
jmp 0x14001de7b
mov qword [rsp + 0x20], 0x23
lea r9, [0x14009fff0]
mov edx, 0x23
lea rcx, [rbp + 0x20]
call fcn.1400014c0
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x60], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x50], xmm1
mov qword [rax + 0x10], r15
mov qword [rax + 0x18], 7
mov word [rax], r15w
mov rdx, qword [rbp + 0x38]
cmp rdx, 8
jb 0x14001deda
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001ded5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001e6d7
call fcn.14003e884
mov qword [rbp + 0x30], r15
mov qword [rbp + 0x38], 7
mov word [rbp + 0x20], r15w
mov rdx, qword [rbp + 0x58]
cmp rdx, 8
jb 0x14001df2b
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001df26
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001e6dd
call fcn.14003e884
mov qword [rbp + 0x50], r15
mov qword [rbp + 0x58], 7
mov word [rbp + 0x40], r15w
mov rdx, qword [rsp + 0x78]
cmp rdx, 8
jb 0x14001df7e
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001df79
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001e6e3
call fcn.14003e884
mov qword [rsp + 0x70], r15
mov qword [rsp + 0x78], 7
mov word [rsp + 0x60], r15w
mov eax, 0x3d0
mov dword [rsp + 0x30], eax
mov rdx, qword [rbp - 0x28]
cmp rdx, 8
jb 0x14001dfdb
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001dfd6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001e6e9
call fcn.14003e884
lea rdx, [rbp - 0x60]
cmp qword [rbp - 0x48], 8
cmovae rdx, qword [rbp - 0x60]
mov r9d, 4
lea r8, [0x1400a0118]
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxW]
cmp eax, 7
jne 0x14001e0b6
xor r9d, r9d
xor r8d, r8d
lea edx, [rax - 5]
mov rcx, qword [r14 + 0x50]
call qword [sym.imp.USER32.dll_SendMessageW]
mov rdx, qword [rbp - 0x48]
cmp rdx, 8
jb 0x14001e05a
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001e055
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001e6f5
call fcn.14003e884
mov qword [rbp - 0x50], r15
mov qword [rbp - 0x48], 7
mov word [rbp - 0x60], r15w
mov rdx, qword [rsp + 0x58]
cmp rdx, 8
jb 0x14001e581
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001e0ac
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001e6ef
call fcn.14003e884
jmp 0x14001e581
mov rdx, qword [rbp - 0x48]
cmp rdx, 8
jb 0x14001e0f7
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001e0f1
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001e6f5
call fcn.14003e884
nop
mov rdx, qword [rsp + 0x58]
cmp rdx, 8
jb 0x14001e139
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001e134
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001e6fb
call fcn.14003e884
lea rcx, [r14 + 0xe0]
call fcn.14001ac20
test eax, eax
setne dl
mov byte [r14 + 0x168], dl
test eax, eax
je 0x14001e16f
cmp qword [r14 + 0x128], 0x10000
jae 0x14001e16f
lea rcx, [r14 + 0xe0]
call fcn.14001b010
nop
mov qword [rsp + 0x70], r15
mov qword [rsp + 0x78], 7
mov word [rsp + 0x60], r15w
mov esi, dword [rsp + 0x30]
bts esi, 0xa
mov dword [rsp + 0x30], esi
mov rdx, qword [rbp + 0x70]
add rdx, 0xf
lea rcx, [rsp + 0x60]
call fcn.140001670
lea rdx, [rbp + 0x60]
lea rcx, [rsp + 0x60]
call fcn.140001730
mov rcx, qword [rsp + 0x70]
mov rdx, qword [rsp + 0x78]
mov rax, rdx
sub rax, rcx
cmp rax, 0xf
jb 0x14001e1fa
lea rdi, [rcx + 0xf]
mov qword [rsp + 0x70], rdi
lea rbx, [rsp + 0x60]
cmp rdx, 8
cmovae rbx, qword [rsp + 0x60]
lea rcx, [rbx + rcx*2]
mov r8d, 0x1e
lea rdx, str.TrainerBGM.mid
call fcn.14005d240
mov word [rbx + rdi*2], r15w
jmp 0x14001e219
mov qword [rsp + 0x20], 0xf
lea r9, str.TrainerBGM.mid
mov edx, 0xf
lea rcx, [rsp + 0x60]
call fcn.1400014c0
lea rbx, [r14 + 0x3c0]
lea rdx, [rsp + 0x60]
mov rcx, rbx
call fcn.140002240
btr esi, 0xa
mov rdx, qword [rsp + 0x78]
cmp rdx, 8
jb 0x14001e273
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001e26e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001e701
call fcn.14003e884
mov rcx, rbx
cmp qword [rbx + 0x18], 8
jb 0x14001e280
mov rcx, qword [rbx]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x14001e2a9
cmp qword [rbx + 0x18], 8
jb 0x14001e295
mov rbx, qword [rbx]
mov r8, rbx
lea rdx, [0x1400a0148]
mov ecx, 0xa7
call fcn.14000fef0
mov qword [rsp + 0x50], r15
mov qword [rsp + 0x58], 7
mov word [rsp + 0x40], r15w
mov r8d, 0x12
lea rdx, str.TrainerErrorStatus
lea rcx, [rsp + 0x40]
call fcn.1400024c0
nop
lea rdx, [rsp + 0x40]
mov rcx, qword [r14 + 0xc8]
call fcn.14001c620
mov ebx, eax
mov rdx, qword [rsp + 0x58]
cmp rdx, 8
jb 0x14001e32a
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001e325
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001e707
call fcn.14003e884
mov qword [rsp + 0x50], r15
mov qword [rsp + 0x58], 7
mov word [rsp + 0x40], r15w
lea rcx, [rsp + 0x40]
test ebx, ebx
jle 0x14001e3b6
mov r8d, 0xb
lea rdx, str.OnLoadMusic
call fcn.1400024c0
nop
xor r8d, r8d
lea rdx, [rsp + 0x40]
mov rcx, qword [r14 + 0xc8]
call fcn.14001c510
nop
mov rdx, qword [rsp + 0x58]
cmp rdx, 8
jb 0x14001e421
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001e41c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001e695
jmp 0x14001e41c
mov r8d, 0x12
lea rdx, str.TrainerErrorStatus
call fcn.1400024c0
nop
lea r8d, [rbx + 1]
lea rdx, [rsp + 0x40]
mov rcx, qword [r14 + 0xc8]
call fcn.14001c7c0
nop
mov rdx, qword [rsp + 0x58]
cmp rdx, 8
jb 0x14001e421
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001e41c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001e70d
call fcn.14003e884
cmp byte [r14 + 0x168], 0
jne 0x14001e477
mov qword [rsp + 0x50], r15
mov qword [rsp + 0x58], 7
mov word [rsp + 0x40], r15w
mov r8d, 0xb
lea rdx, str.OnLoadMusic
lea rcx, [rsp + 0x40]
call fcn.1400024c0
nop
or esi, 2
mov dword [rsp + 0x30], esi
lea rdx, [rsp + 0x40]
mov rcx, qword [r14 + 0xc8]
call fcn.14001c240
test al, al
je 0x14001e477
mov bl, 1
jmp 0x14001e479
xor bl, bl
test sil, 2
je 0x14001e4c1
mov rdx, qword [rsp + 0x58]
cmp rdx, 8
jb 0x14001e4c1
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001e4bc
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001e713
call fcn.14003e884
test bl, bl
je 0x14001e4cf
mov dl, 1
mov rcx, r14
call fcn.14001e730
mov qword [rsp + 0x50], r15
mov qword [rsp + 0x58], 7
mov word [rsp + 0x40], r15w
mov r8d, 0x12
lea rdx, str.TrainerErrorStatus
lea rcx, [rsp + 0x40]
call fcn.1400024c0
nop
xor r8d, r8d
lea rdx, [rsp + 0x40]
mov rcx, qword [r14 + 0xc8]
call fcn.14001c7c0
nop
mov rdx, qword [rsp + 0x58]
cmp rdx, 8
jb 0x14001e552
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001e54d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001e719
call fcn.14003e884
xor r9d, r9d
mov edx, 0x2710
lea r8d, [r9 + 0xa]
mov rcx, qword [r14 + 0x50]
call qword [sym.imp.USER32.dll_SetTimer]
xor r9d, r9d
mov edx, 0x2711
mov r8d, 0xc8
mov rcx, qword [r14 + 0x50]
call qword [sym.imp.USER32.dll_SetTimer]
nop
mov rdx, qword [rbp - 8]
cmp rdx, 8
jb 0x14001e5c1
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001e5bc
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001e71f
call fcn.14003e884
mov qword [rbp - 0x10], r15
mov qword [rbp - 8], 7
mov word [rbp - 0x20], r15w
mov rdx, qword [rbp + 0x78]
cmp rdx, 8
jb 0x14001e612
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001e60d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001e725
call fcn.14003e884
mov qword [rbp + 0x70], r15
mov qword [rbp + 0x78], 7
mov word [rbp + 0x60], r15w
mov rdx, qword [rbp + 0x18]
cmp rdx, 8
jb 0x14001e65f
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001e65a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001e68f
call fcn.14003e884
mov rcx, qword [rbp + 0xa0]
xor rcx, rsp
call fcn.14003e860
lea r11, [rsp + 0x1b0]
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.140061cdc
nop
call fcn.140061cdc
nop
call fcn.140061cdc
nop
call fcn.140061cdc
int3
call fcn.140061cdc
int3
call fcn.140061cdc
int3
call fcn.140061cdc
nop
call fcn.140061cdc
nop
call fcn.140061cdc
nop
call fcn.140061cdc
nop
call fcn.140061cdc
int3
call fcn.140061cdc
nop
call fcn.140061cdc
nop
call fcn.140061cdc
nop
call fcn.140061cdc
nop
call fcn.140061cdc
nop
call fcn.140061cdc
nop
call fcn.140061cdc
nop
call fcn.140061cdc
int3
call fcn.140061cdc
int3
call fcn.140061cdc
int3
call fcn.140061cdc
int3
call fcn.140061cdc
int3
call fcn.140061cdc
nop
call fcn.140061cdc
nop
call fcn.140061cdc
int3