Function at 0x1400710e0
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r14
lea rbp, [rsp - 0x1e0]
sub rsp, 0x2e0
mov rax, qword [0x140128040]
xor rax, rsp
mov qword [rbp + 0x1d0], rax
mov rdi, rcx
mov qword [rsp + 0x50], rcx
xor r14d, r14d
mov dword [rsp + 0x30], r14d
lea rax, [rbp - 0x40]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea edx, [r14 + 0x1a]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
xorps xmm0, xmm0
test eax, eax
js 0x140071201
movups xmmword [rsp + 0x78], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x78], xmm1
lea rax, [rbp - 0x40]
or r8, 0xffffffffffffffff
inc r8
cmp word [rax + r8*2], r14w
jne 0x140071159
lea rdx, [rbp - 0x40]
lea rcx, [rsp + 0x78]
call fcn.140015b60
nop
lea rcx, [rsp + 0x78]
cmp qword [rbp - 0x70], 7
cmova rcx, qword [rsp + 0x78]
mov rax, qword [rbp - 0x78]
lea r8, [rcx + rax*2]
lea rdx, [rsp + 0x78]
cmova rdx, qword [rsp + 0x78]
lea rcx, [rsp + 0x58]
call fcn.140037a58
mov esi, 2
mov dword [rsp + 0x30], esi
mov rdx, qword [rbp - 0x70]
cmp rdx, 7
jbe 0x1400711ec
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400711e7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400711e7
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400df074
movdqa xmm0, xmmword [0x140115080]
movdqu xmmword [rbp - 0x78], xmm0
mov word [rsp + 0x78], r14w
jmp 0x140071222
movups xmmword [rsp + 0x58], xmm0
movdqa xmm1, xmmword [0x1401150a0]
movdqu xmmword [rsp + 0x68], xmm1
mov byte [rsp + 0x58], r14b
mov esi, 2
mov dword [rsp + 0x30], esi
mov rcx, qword [rsp + 0x68]
mov rax, qword [rsp + 0x70]
sub rax, rcx
mov edx, 0xe
cmp rax, rdx
jb 0x140071273
lea rax, [rcx + 0xe]
mov qword [rsp + 0x68], rax
lea rbx, [rsp + 0x58]
cmp qword [rsp + 0x70], 0xf
cmova rbx, qword [rsp + 0x58]
add rbx, rcx
mov r8d, edx
lea rdx, str._aromaconfigs
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
mov byte [rbx + 0xe], r14b
lea rax, [rsp + 0x58]
jmp 0x140071289
mov qword [rsp + 0x20], rdx
lea r9, str._aromaconfigs
lea rcx, [rsp + 0x58]
call fcn.14000dcc8
xorps xmm0, xmm0
movups xmmword [rdi], xmm0
mov qword [rdi + 0x10], r14
mov qword [rdi + 0x18], r14
movups xmm0, xmmword [rax]
movups xmmword [rdi], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rdi + 0x10], xmm1
mov qword [rax + 0x10], r14
mov qword [rax + 0x18], 0xf
mov byte [rax], r14b
or esi, 4
or esi, 1
mov dword [rsp + 0x30], esi
mov rdx, qword [rsp + 0x70]
cmp rdx, 0xf
jbe 0x1400712fe
inc rdx
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400712f9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400712f9
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400df074
movdqa xmm0, xmmword [0x1401150a0]
movdqu xmmword [rsp + 0x68], xmm0
mov byte [rsp + 0x58], r14b
mov rcx, qword [rdi + 0x10]
mov rax, rdi
cmp qword [rdi + 0x18], 0xf
jbe 0x140071322
mov rax, qword [rdi]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x48], rcx
movaps xmm0, xmmword [rsp + 0x40]
movdqa xmmword [rsp + 0x40], xmm0
lea rdx, [rsp + 0x40]
lea rcx, [rbp - 0x68]
call fcn.14003dea8
or esi, 8
mov dword [rsp + 0x30], esi
mov dword [rsp + 0x40], r14d
lea rax, [0x1401cf8a8]
mov qword [rsp + 0x48], rax
lea rdx, [rsp + 0x40]
lea rcx, [rbp - 0x68]
call fcn.140031d64
mov bl, al
cmp dword [rsp + 0x40], r14d
jne 0x140071421
lea rcx, [rbp - 0x68]
call fcn.140014dd0
test bl, bl
jne 0x1400713e4
mov rcx, qword [rdi + 0x10]
mov rax, rdi
cmp qword [rdi + 0x18], 0xf
jbe 0x140071396
mov rax, qword [rdi]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x48], rcx
movaps xmm0, xmmword [rsp + 0x40]
movdqa xmmword [rsp + 0x40], xmm0
lea rdx, [rsp + 0x40]
lea rcx, [rbp - 0x68]
call fcn.14003dea8
or esi, 0x10
mov dword [rsp + 0x30], esi
lea rcx, [rbp - 0x68]
cmp qword [rbp - 0x50], 7
cmova rcx, qword [rbp - 0x68]
call fcn.1400e0570
shr rax, 0x20
test eax, eax
jne 0x14007140e
lea rcx, [rbp - 0x68]
call fcn.140014dd0
mov rax, rdi
mov rcx, qword [rbp + 0x1d0]
xor rcx, rsp
call fcn.1400df010
lea r11, [rsp + 0x2e0]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
lea r8, [rbp - 0x68]
mov edx, eax
lea rcx, str.create_directory
call fcn.14003e638
nop
lea r8, [rbp - 0x68]
lea rdx, [rsp + 0x40]
call fcn.140031c8c
int3