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

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x3f0]
sub rsp, 0x4f0
mov r12, qword [0x14000d560]
xor r13d, r13d
mov ebx, r13d
lea edi, [r13 + 0x5c]
mov r14d, 1
mov word [rsp + 0x30], r13w
cmp ebx, r14d
mov rcx, r12
lea edx, [r14 + 1]
lea eax, [rdx + 0x15]
cmove edx, eax
lea rax, [rsp + 0x30]
xor r9d, r9d
mov qword [rsp + 0x20], rax
xor r8d, r8d
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
jne 0x140001e5d
movzx edx, word [rsp + 0x30]
mov rcx, r13
test dx, dx
je 0x140001cae
lea rax, [rsp + 0x30]
cmp dx, 0x2f
jne 0x140001c86
mov word [rax], di
inc rcx
lea rax, [rsp + 0x30]
lea rax, [rax + rcx*2]
movzx edx, word [rax]
test dx, dx
jne 0x140001c7d
test rcx, rcx
je 0x140001cae
cmp word [rax - 2], di
je 0x140001cae
mov word [rax], di
mov word [rsp + rcx*2 + 0x32], r13w
lea rdx, [0x14000a440]
lea rcx, [rsp + 0x30]
call fcn.140001000
test ebx, ebx
je 0x140001cda
xor edx, edx
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x140001cda
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx edx, word [rsp + 0x30]
mov rcx, r13
test dx, dx
je 0x140001d1d
lea rax, [rsp + 0x30]
cmp dx, 0x2f
jne 0x140001cf5
mov word [rax], di
inc rcx
lea rax, [rsp + 0x30]
lea rax, [rax + rcx*2]
movzx edx, word [rax]
test dx, dx
jne 0x140001cec
test rcx, rcx
je 0x140001d1d
cmp word [rax - 2], di
je 0x140001d1d
mov word [rax], di
mov word [rsp + rcx*2 + 0x32], r13w
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_lstrlenW]
mov eax, eax
lea r15, [rsp + 0x30]
mov edi, r13d
lea r15, [r15 + rax*2]
test edi, edi
lea rax, str.7_Zip_File_Manager.lnk
lea rdx, str.7_Zip_Help.lnk
mov r8, r15
cmove rdx, rax
movzx ecx, byte [rdx]
inc rdx
mov word [r8], cx
lea r8, [r8 + 2]
test cl, cl
jne 0x140001d4d
lea rdx, [0x14000d580]
lea rcx, [rbp + 0x190]
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 + 0x190]
call fcn.140001000
test ebx, ebx
jne 0x140001da7
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
jmp 0x140001e44
xor edx, edx
lea rax, [rbp + 0x430]
lea r9, [0x14000a400]
mov qword [rsp + 0x20], rax
lea rcx, [0x14000a420]
lea r8d, [rdx + 1]
call qword [sym.imp.ole32.dll_CoCreateInstance]
mov esi, eax
test eax, eax
js 0x140001e3e
mov rcx, qword [rbp + 0x430]
lea rdx, [rbp + 0x190]
mov rax, qword [rcx]
call qword [rax + 0xa0]
mov rcx, qword [rbp + 0x430]
lea r8, [rbp + 0x438]
lea rdx, [0x14000a410]
mov rax, qword [rcx]
call qword [rax]
mov esi, eax
test eax, eax
js 0x140001e31
mov rcx, qword [rbp + 0x438]
lea rdx, [rsp + 0x30]
mov r8d, 1
mov rax, qword [rcx]
call qword [rax + 0x30]
mov rcx, qword [rbp + 0x438]
mov esi, eax
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rbp + 0x430]
mov rax, qword [rcx]
call qword [rax + 0x10]
test esi, esi
cmovne r14d, r13d
inc edi
cmp edi, 2
jb 0x140001d36
test ebx, ebx
je 0x140001e58
test r14d, r14d
jne 0x140001e68
mov edi, 0x5c
inc ebx
cmp ebx, 3
jb 0x140001c31
mov rbx, qword [rsp + 0x540]
add rsp, 0x4f0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret