Function at 0x14002c6d0
Capabilities:
Create directory
Get common file path

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r13
push r14
push r15
lea rbp, [rsp - 0x1f0]
sub rsp, 0x2f0
mov rax, qword [0x1400d5380]
xor rax, rsp
mov qword [rbp + 0x1e0], rax
mov rdi, rcx
xor esi, esi
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp - 0x30]
call fcn.14009c4a0
lea rdx, [rbp - 0x30]
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
lea r14d, [rsi + 7]
test eax, eax
je 0x14002c948
xorps xmm0, xmm0
movups xmmword [rsp + 0x68], xmm0
mov qword [rsp + 0x78], rsi
mov qword [rbp - 0x80], rsi
lea rax, [rbp - 0x30]
or rbx, 0xffffffffffffffff
mov r8, rbx
inc r8
cmp word [rax + r8*2], si
jne 0x14002c74f
lea rdx, [rbp - 0x30]
lea rcx, [rsp + 0x68]
call fcn.140003318
nop
lea rcx, [rsp + 0x68]
cmp qword [rbp - 0x80], r14
cmova rcx, qword [rsp + 0x68]
mov r15d, 1
mov qword [rsp + 0x20], r15
lea r13, [0x1400a301c]
mov r9, r13
mov r8, rbx
mov rbx, qword [rsp + 0x78]
mov rdx, rbx
call fcn.1400288a4
lea rcx, [rbx - 1]
cmp rax, rcx
je 0x14002c7b5
mov r8d, r15d
mov rdx, r13
lea rcx, [rsp + 0x68]
call fcn.1400244a4
mov r8d, 0x10
lea rdx, str.FLiNGTrainerTemp
lea rcx, [rsp + 0x68]
call fcn.1400244a4
lea rcx, [rsp + 0x68]
call fcn.140044128
test al, al
jne 0x14002c7f1
lea rcx, [rsp + 0x68]
cmp qword [rbp - 0x80], r14
cmova rcx, qword [rsp + 0x68]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
lea rcx, [rsp + 0x68]
call fcn.140044128
test al, al
je 0x14002c90c
movabs rax, 0x7ffffffffffffffe
mov rcx, qword [rsp + 0x78]
sub rax, rcx
cmp rax, r15
jb 0x14002c99a
lea r9, [rsp + 0x68]
cmp qword [rbp - 0x80], r14
cmova r9, qword [rsp + 0x68]
mov qword [rsp + 0x30], r15
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x20], rcx
lea r8, [rsp + 0x68]
mov dl, byte [rsp + 0x40]
lea rcx, [rbp - 0x58]
call fcn.1400088d0
nop
lea rdx, [rdi + 0x80]
mov r8, qword [rdx + 0x10]
cmp qword [rdx + 0x18], r14
jbe 0x14002c863
mov rdx, qword [rdx]
lea rcx, [rbp - 0x58]
call fcn.1400244a4
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x48], xmm0
movups xmmword [rbp - 0x78], xmm0
movups xmm0, xmmword [rax + 0x10]
movups xmmword [rsp + 0x58], xmm0
movups xmmword [rbp - 0x68], xmm0
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], r14
mov word [rax], si
lea rbx, [rdi + 0xa0]
lea rax, [rbp - 0x78]
cmp rbx, rax
je 0x14002c8c2
mov rcx, rbx
call fcn.140024110
movups xmm0, xmmword [rsp + 0x48]
movups xmmword [rbx], xmm0
movups xmm1, xmmword [rsp + 0x58]
movups xmmword [rbx + 0x10], xmm1
mov rdx, r14
mov word [rbp - 0x78], si
jmp 0x14002c8c6
mov rdx, qword [rbp - 0x60]
cmp rdx, r14
jbe 0x14002c902
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002c8fc
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002c9a0
call fcn.140077818
nop
lea rcx, [rbp - 0x58]
call fcn.140024110
nop
mov rdx, qword [rbp - 0x80]
cmp rdx, r14
jbe 0x14002c948
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002c943
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002c994
call fcn.140077818
lea r8, [rdi + 0xa0]
cmp qword [r8 + 0x18], r14
jbe 0x14002c958
mov r8, qword [r8]
lea rdx, [0x1400a3020]
mov ecx, 0x100
call fcn.140043290
mov rcx, qword [rbp + 0x1e0]
xor rcx, rsp
call fcn.140077c90
lea r11, [rsp + 0x2f0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop rdi
pop rbp
ret
call fcn.14007e634
nop
call fcn.140024374
nop
call fcn.14007e634
int3