Function at 0x140001c91
Capabilities:
Create directory
Delete file
Get common file path

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x438]
sub rsp, 0x510
mov rax, qword [0x1400ca008]
xor rax, rsp
mov qword [rbp + 0x400], rax
mov r12, qword [0x1400cbbc0]
xor r13d, r13d
mov ebx, r13d
lea edi, [r13 + 0x5c]
mov r14d, 1
mov word [rsp + 0x40], r13w
cmp ebx, r14d
mov rcx, r12
lea edx, [r14 + 1]
lea eax, [rdx + 0x15]
cmove edx, eax
lea rax, [rsp + 0x40]
xor r9d, r9d
mov qword [rsp + 0x20], rax
xor r8d, r8d
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
jne 0x140001f31
movzx ecx, word [rsp + 0x40]
mov rax, r13
test cx, cx
je 0x140001d6a
lea rdx, [rsp + 0x40]
cmp cx, 0x2f
jne 0x140001d36
mov word [rdx], di
inc rax
lea rdx, [rsp + 0x40]
lea rdx, [rdx + rax*2]
movzx ecx, word [rdx]
test cx, cx
jne 0x140001d29
test rax, rax
je 0x140001d6a
cmp word [rsp + rax*2 + 0x3e], di
je 0x140001d6a
mov dword [rsp + rax*2 + 0x40], 0x5c
lea rdx, [0x1400257a0]
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_lstrcatW]
test ebx, ebx
je 0x140001d9f
xor edx, edx
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x140001d9f
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx ecx, word [rsp + 0x40]
mov rax, r13
test cx, cx
je 0x140001df6
lea rdx, [rsp + 0x40]
cmp cx, 0x2f
jne 0x140001dc2
mov word [rdx], di
inc rax
lea rdx, [rsp + 0x40]
lea rdx, [rdx + rax*2]
movzx ecx, word [rdx]
test cx, cx
jne 0x140001db5
test rax, rax
je 0x140001df6
cmp word [rsp + rax*2 + 0x3e], di
je 0x140001df6
mov dword [rsp + rax*2 + 0x40], 0x5c
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_lstrlenW]
mov eax, eax
lea r15, [rsp + 0x40]
mov edi, r13d
lea r15, [r15 + rax*2]
lea rax, str.7_Zip_File_Manager.lnk
test edi, edi
lea rdx, str.7_Zip_Help.lnk
mov rcx, r15
cmove rdx, rax
call qword [sym.imp.KERNEL32.dll_lstrcpyW]
lea rdx, [0x1400cbbe0]
lea rcx, [rbp + 0x1a0]
call qword [sym.imp.KERNEL32.dll_lstrcpyW]
lea rax, str.7zFM.exe
test edi, edi
lea rdx, str.7_zip.chm
cmove rdx, rax
lea rcx, [rbp + 0x1a0]
call qword [sym.imp.KERNEL32.dll_lstrcatW]
test ebx, ebx
jne 0x140001e79
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
jmp 0x140001f10
xor edx, edx
lea rax, [rsp + 0x30]
lea r9, [0x14001e480]
mov qword [rsp + 0x20], rax
lea rcx, [0x14001e4a0]
lea r8d, [rdx + 1]
call qword [sym.imp.ole32.dll_CoCreateInstance]
mov esi, eax
test eax, eax
js 0x140001f0a
mov rcx, qword [rsp + 0x30]
lea rdx, [rbp + 0x1a0]
mov rax, qword [rcx]
call qword [rax + 0xa0]
mov rcx, qword [rsp + 0x30]
lea r8, [rsp + 0x38]
lea rdx, [0x14001e490]
mov rax, qword [rcx]
call qword [rax]
mov esi, eax
test eax, eax
js 0x140001eff
mov rcx, qword [rsp + 0x38]
lea rdx, [rsp + 0x40]
mov r8d, 1
mov rax, qword [rcx]
call qword [rax + 0x30]
mov rcx, qword [rsp + 0x38]
mov esi, eax
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rsp + 0x30]
mov rax, qword [rcx]
call qword [rax + 0x10]
test esi, esi
cmovne r14d, r13d
inc edi
cmp edi, 2
jb 0x140001e0f
test ebx, ebx
je 0x140001f2c
test r14d, r14d
jne 0x140001f3c
mov edi, 0x5c
inc ebx
cmp ebx, 3
jb 0x140001cd9
mov rcx, qword [rbp + 0x400]
xor rcx, rsp
call fcn.140009348
lea r11, [rsp + 0x510]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret