Function at 0x1800022f0
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
lea rbp, [rsp - 0xc0]
sub rsp, 0x1c0
mov rax, qword [0x180118100]
xor rax, rsp
mov qword [rbp + 0xb0], rax
xor ebx, ebx
mov rsi, qword [0x1801bdc78]
lea rax, [rbp - 0x60]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov edx, 0x1a
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderPathA]
test eax, eax
js 0x1800024a6
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x50], xmm1
lea rax, [rbp - 0x60]
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp byte [rax + r8], bl
jne 0x180002370
lea rdx, [rbp - 0x60]
lea rcx, [rsp + 0x40]
call fcn.18002fe70
nop
mov r8d, 0xa
lea rdx, str.penumbra_
lea rcx, [rsp + 0x40]
call fcn.180030140
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x60], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x70], xmm1
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
lea rdi, [rsi + 0x40]
lea rdx, [rsp + 0x60]
mov rcx, rdi
call fcn.1800301d0
lea rcx, [rsp + 0x60]
call fcn.1800304d0
nop
lea rcx, [rsp + 0x40]
call fcn.1800304d0
mov rcx, qword [rdi + 0x10]
mov rax, rdi
cmp qword [rdi + 0x18], 0xf
jbe 0x1800023f6
mov rax, qword [rdi]
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], rcx
call fcn.180090470
movaps xmm0, xmmword [rsp + 0x60]
movdqa xmmword [rsp + 0x60], xmm0
lea r8, [rsp + 0x60]
mov edx, eax
lea rcx, [rsp + 0x40]
call fcn.18000da70
nop
lea rcx, [rsp + 0x40]
call fcn.18002fd70
movzx ebx, al
lea rcx, [rsp + 0x40]
call fcn.18002fb10
test bl, bl
jne 0x1800024a6
mov rax, qword [rdi + 0x10]
cmp qword [rdi + 0x18], 0xf
jbe 0x18000244b
mov rdi, qword [rdi]
mov qword [rsp + 0x60], rdi
mov qword [rsp + 0x68], rax
call fcn.180090470
movaps xmm0, xmmword [rsp + 0x60]
movdqa xmmword [rsp + 0x60], xmm0
lea r8, [rsp + 0x60]
mov edx, eax
lea rcx, [rsp + 0x40]
call fcn.18000da70
nop
lea rcx, [rsp + 0x40]
cmp qword [rsp + 0x58], 7
cmova rcx, qword [rsp + 0x40]
call fcn.1800906d0
mov rdx, rax
shr rax, 0x20
test eax, eax
jne 0x1800025c5
lea rcx, [rsp + 0x40]
call fcn.18002fb10
lea r9, [rsi + 0x40]
mov rcx, qword [r9 + 0x10]
movabs rax, 0x7fffffffffffffff
sub rax, rcx
cmp rax, 0xc
jb 0x1800025bf
cmp qword [r9 + 0x18], 0xf
jbe 0x1800024cf
mov r9, qword [r9]
mov qword [rsp + 0x30], 0xc
lea rax, str.Default.json
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rcx
lea rcx, [rbp - 0x80]
call fcn.18002e9e0
nop
lea rax, [rbp - 0x80]
cmp qword [rbp - 0x68], 0xf
cmova rax, qword [rbp - 0x80]
mov qword [rsp + 0x60], rax
mov rax, qword [rbp - 0x70]
mov qword [rsp + 0x68], rax
call fcn.180090470
movaps xmm0, xmmword [rsp + 0x60]
movdqa xmmword [rsp + 0x60], xmm0
lea r8, [rsp + 0x60]
mov edx, eax
lea rcx, [rsp + 0x40]
call fcn.18000da70
nop
lea rcx, [rsp + 0x40]
call fcn.18002fd70
movzx ebx, al
lea rcx, [rsp + 0x40]
call fcn.18002fb10
test bl, bl
jne 0x18000258e
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x50], xmm1
mov r8d, 7
lea rdx, str.Default
lea rcx, [rsp + 0x40]
call fcn.18002fe70
nop
lea rdx, [rsp + 0x40]
mov rcx, rsi
call fcn.180002720
nop
lea rcx, [rsp + 0x40]
call fcn.1800304d0
nop
lea rcx, [rbp - 0x80]
call fcn.1800304d0
mov rcx, qword [rbp + 0xb0]
xor rcx, rsp
call fcn.1800921e0
lea r11, [rsp + 0x1c0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret
call fcn.180030260
nop
shr rdx, 0x20
lea r8, [rsp + 0x40]
lea rcx, str.create_directory
call fcn.18002eb00
int3