Function at 0x140003f90
Capabilities:
Create directory
Get common file path
Set file attributes

Disassembly:
mov rax, rsp
push rbp
push rsi
push rdi
push r12
push r15
lea rbp, [rax - 0x408]
sub rsp, 0x4e0
mov qword [rsp + 0x60], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov rax, qword [0x140085930]
xor rax, rsp
mov qword [rbp + 0x3d0], rax
mov rbx, rdx
mov rdi, rcx
mov qword [rsp + 0x58], rcx
mov qword [rsp + 0x68], rdx
xor esi, esi
mov dword [rsp + 0x30], esi
lea r15d, [rsi + 0xf]
mov qword [rcx + 0x18], r15
mov qword [rcx + 0x10], rsi
mov byte [rcx], sil
mov dword [rsp + 0x30], 1
cmp qword [rdx + 0x18], 0x10
jb 0x140003fff
mov rcx, qword [rdx]
jmp 0x140004002
mov rcx, rdx
mov r8, qword [rdx + 0x10]
add r8, rcx
cmp qword [rdx + 0x18], 0x10
jb 0x140004013
mov rdx, qword [rdx]
mov qword [rbp - 0x58], r15
mov qword [rbp - 0x60], rsi
mov byte [rbp - 0x70], sil
cmp rdx, r8
je 0x140004031
sub r8, rdx
lea rcx, [rbp - 0x70]
call fcn.14001e444
nop
lea rax, [rbp - 0x30]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 0x1a]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderPathA]
mov qword [rbp - 0x78], r15
mov qword [rbp - 0x80], rsi
mov byte [rsp + 0x70], sil
or r12, 0xffffffffffffffff
cmp byte [rbp - 0x30], sil
jne 0x140004068
mov r8, rsi
jmp 0x140004078
lea rax, [rbp - 0x30]
mov r8, r12
inc r8
cmp byte [rax + r8], sil
jne 0x14000406f
lea rdx, [rbp - 0x30]
lea rcx, [rsp + 0x70]
call fcn.14001e444
lea rdx, [rsp + 0x70]
mov rcx, rdi
call fcn.14001af54
cmp qword [rbp - 0x78], 0x10
jb 0x1400040a4
mov rcx, qword [rsp + 0x70]
call fcn.14002df20
mov qword [rsp + 0x50], r15
mov qword [rsp + 0x48], rsi
mov byte [rsp + 0x38], sil
mov r9, r12
xor r8d, r8d
mov rdx, rbx
lea rcx, [rsp + 0x38]
call fcn.14001e320
xor r8d, r8d
lea rdx, [rsp + 0x38]
lea rcx, [rbp - 0x50]
call fcn.140003bb8
nop
mov r8, rax
lea rdx, [0x140072dbc]
lea rcx, [rsp + 0x70]
call fcn.140023d08
nop
mov r9, r12
xor r8d, r8d
mov rdx, rax
mov rcx, rdi
call fcn.140020dcc
nop
cmp qword [rbp - 0x78], 0x10
jb 0x140004110
mov rcx, qword [rsp + 0x70]
call fcn.14002df20
mov qword [rbp - 0x78], r15
mov qword [rbp - 0x80], rsi
mov byte [rsp + 0x70], sil
cmp qword [rbp - 0x38], 0x10
jb 0x14000412d
mov rcx, qword [rbp - 0x50]
call fcn.14002df20
cmp qword [rdi + 0x18], 0x10
jb 0x140004139
mov rcx, qword [rdi]
jmp 0x14000413c
mov rcx, rdi
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryA]
cmp qword [rdi + 0x18], 0x10
jb 0x140004150
mov rcx, qword [rdi]
jmp 0x140004153
mov rcx, rdi
mov edx, 2
call qword [sym.imp.KERNEL32.dll_SetFileAttributesA]
mov qword [rsp + 0x50], r15
mov qword [rsp + 0x48], rsi
mov byte [rsp + 0x38], sil
mov r9, r12
xor r8d, r8d
mov rdx, rbx
lea rcx, [rsp + 0x38]
call fcn.14001e320
mov r8b, 1
lea rdx, [rsp + 0x38]
lea rcx, [rbp - 0x50]
call fcn.140003bb8
nop
mov r8, rax
lea rdx, [0x140072dbc]
lea rcx, [rsp + 0x70]
call fcn.140023d08
nop
mov r9, r12
xor r8d, r8d
mov rdx, rax
mov rcx, rdi
call fcn.140020dcc
nop
cmp qword [rbp - 0x78], 0x10
jb 0x1400041ca
mov rcx, qword [rsp + 0x70]
call fcn.14002df20
mov qword [rbp - 0x78], r15
mov qword [rbp - 0x80], rsi
mov byte [rsp + 0x70], sil
cmp qword [rbp - 0x38], 0x10
jb 0x1400041e8
mov rcx, qword [rbp - 0x50]
call fcn.14002df20
nop
cmp qword [rbp - 0x58], 0x10
jb 0x1400041f8
mov rcx, qword [rbp - 0x70]
call fcn.14002df20
mov qword [rbp - 0x58], r15
mov qword [rbp - 0x60], rsi
mov byte [rbp - 0x70], sil
cmp qword [rbx + 0x18], 0x10
jb 0x140004213
mov rcx, qword [rbx]
call fcn.14002df20
mov qword [rbx + 0x18], r15
mov qword [rbx + 0x10], rsi
mov byte [rbx], sil
mov rax, rdi
mov rcx, qword [rbp + 0x3d0]
xor rcx, rsp
call fcn.14002b700
mov rbx, qword [rsp + 0x520]
add rsp, 0x4e0
pop r15
pop r12
pop rdi
pop rsi
pop rbp
ret