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

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov eax, 0x1880
call fcn.140012000
sub rsp, rax
mov rax, qword [0x140019280]
xor rax, rsp
mov qword [rsp + 0x1870], rax
mov r12, rdx
mov qword [rsp + 0x48], rdx
mov r14, r8
mov r13, rcx
lea rdx, [rsp + 0x870]
mov r8d, 0x400
xor ecx, ecx
mov bpl, r9b
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea rcx, [rsp + 0x870]
call fcn.14000424c
lea rdx, str.WinRAR.exe
mov rcx, rax
call fcn.140007b34
lea rcx, [rsp + 0x38]
call qword [sym.imp.SHELL32.dll_SHGetMalloc]
call fcn.1400040f4
lea rcx, [rsp + 0x70]
cmp eax, 0x600
lea rsi, str.WinRAR.lnk
setae bl
xor r15d, r15d
mov dil, r15b
call fcn.1400028f0
cmp bl, r15b
je 0x140002fe7
lea rcx, [rsp + 0x70]
call fcn.140004180
lea rcx, [rsp + 0x70]
mov rdx, rsi
call fcn.140007b08
lea rcx, [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
lea rcx, [rsp + 0x50]
cmp eax, r15d
setne dil
call qword [sym.imp.SHELL32.dll_SHGetMalloc]
lea r8, [rsp + 0x40]
lea edx, [r15 + 0x19]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
mov rcx, qword [rsp + 0x40]
lea rdx, [rsp + 0x70]
call qword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
mov rcx, qword [rsp + 0x50]
mov rdx, qword [rsp + 0x40]
mov rax, qword [rcx]
call qword [rax + 0x28]
lea rcx, [rsp + 0x70]
call fcn.140004180
lea rcx, [rsp + 0x70]
mov rdx, rsi
call fcn.140007b08
cmp byte [r13 + 0x14], r15b
je 0x1400030d4
cmp bpl, r15b
je 0x140003027
lea rdx, [rsp + 0x70]
xor ecx, ecx
call fcn.140001a14
cmp al, r15b
jne 0x140003027
cmp dil, r15b
je 0x1400030de
mov ecx, 0x13f9
call fcn.140005a58
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x870]
xor r8d, r8d
mov r9, rax
mov qword [rsp + 0x28], r15
mov qword [rsp + 0x20], r14
call fcn.1400078f0
cmp al, r15b
jne 0x1400030de
cmp bl, r15b
je 0x1400030de
cmp bpl, r15b
je 0x1400030de
lea rcx, [rsp + 0x70]
call fcn.140001a7c
cmp al, r15b
je 0x140003085
lea rcx, [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp eax, r15d
je 0x1400030de
lea rcx, [rsp + 0x70]
call fcn.1400028f0
lea rcx, [rsp + 0x70]
call fcn.140004180
lea rcx, [rsp + 0x70]
mov rdx, rsi
call fcn.140007b08
mov ecx, 0x13f9
call fcn.140005a58
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x870]
xor r8d, r8d
mov r9, rax
mov qword [rsp + 0x28], r15
mov qword [rsp + 0x20], r14
call fcn.1400078f0
jmp 0x1400030de
lea rcx, [rsp + 0x70]
call fcn.140001af4
neg bl
lea r8, [rsp + 0x30]
sbb edx, edx
xor ecx, ecx
and edx, 0xb
add edx, 0xb
call qword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
mov rcx, qword [rsp + 0x30]
lea rdx, [rsp + 0x70]
call qword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
mov rcx, qword [rsp + 0x38]
mov rdx, qword [rsp + 0x30]
mov rax, qword [rcx]
call qword [rax + 0x28]
lea rcx, [rsp + 0x70]
call fcn.140004180
lea rcx, [rsp + 0x70]
mov rdx, rsi
call fcn.140007b08
cmp byte [r13 + 0x15], r15b
je 0x140003174
cmp bpl, r15b
je 0x140003146
lea rcx, [rsp + 0x70]
call fcn.140001a7c
cmp al, r15b
je 0x14000317e
mov ecx, 0x13f9
call fcn.140005a58
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x870]
xor r8d, r8d
mov r9, rax
mov qword [rsp + 0x28], r15
mov qword [rsp + 0x20], r14
call fcn.1400078f0
jmp 0x14000317e
lea rcx, [rsp + 0x70]
call fcn.140001af4
lea rdi, [0x140013f18]
mov ecx, 0x13ee
mov qword [rsp + 0x58], rdi
call fcn.140005a58
mov ecx, 0x13ef
mov qword [rsp + 0x60], rax
call fcn.140005a58
lea r8, [rsp + 0x30]
mov edx, 2
xor ecx, ecx
mov qword [rsp + 0x68], rax
call qword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
mov rcx, qword [rsp + 0x30]
lea rdx, [rsp + 0x70]
call qword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
mov rcx, qword [rsp + 0x38]
mov rdx, qword [rsp + 0x30]
mov rax, qword [rcx]
call qword [rax + 0x28]
lea rcx, [rsp + 0x70]
call fcn.140004180
lea rcx, [rsp + 0x70]
mov rdx, rdi
call fcn.140007b08
lea rbx, str.WinRAR.exe
cmp bpl, r15b
je 0x140003210
lea rcx, [rsp + 0x70]
call fcn.140001a7c
cmp al, r15b
je 0x140003327
cmp byte [r13 + 0x16], r15b
je 0x14000331b
cmp r12, r15
je 0x14000322c
lea rdx, [rsp + 0x70]
mov rcx, r12
call fcn.140007b34
lea rdx, [rsp + 0x70]
xor ecx, ecx
call fcn.14000293c
lea rcx, [rsp + 0x70]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov esi, r15d
mov rdi, r15
lea r12, str.WinRAR.exe
mov rax, qword [rdi + r12]
cmp word [rax], r15w
je 0x1400032f7
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x1070]
call fcn.140007b34
lea rcx, [rsp + 0x1070]
call fcn.140004180
mov rdx, qword [rsp + rdi + 0x58]
lea rcx, [rsp + 0x1070]
call fcn.140007b08
lea rdx, str..lnk
lea rcx, [rsp + 0x1070]
call fcn.140007b08
lea rcx, [rsp + 0x870]
call fcn.14000424c
mov rdx, qword [rdi + r12]
mov rcx, rax
call fcn.140007b34
mov rbx, r15
cmp esi, r15d
mov ecx, 0x13f9
cmove rbx, r14
call fcn.140005a58
lea rdx, [rsp + 0x1070]
lea rcx, [rsp + 0x870]
xor r8d, r8d
mov r9, rax
mov qword [rsp + 0x28], r15
mov qword [rsp + 0x20], rbx
call fcn.1400078f0
inc esi
add rdi, 8
cmp esi, 3
jb 0x140003252
mov r12, qword [rsp + 0x48]
lea rbx, str.WinRAR.exe
lea rdi, [0x140013f18]
jmp 0x140003327
lea rdx, [rsp + 0x70]
xor ecx, ecx
call fcn.14000293c
lea r8, [rsp + 0x30]
mov edx, 0x17
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
cmp eax, r15d
jne 0x14000349d
mov rcx, qword [rsp + 0x30]
lea rdx, [rsp + 0x70]
call qword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
mov rcx, qword [rsp + 0x38]
mov rdx, qword [rsp + 0x30]
mov rax, qword [rcx]
call qword [rax + 0x28]
lea rcx, [rsp + 0x70]
call fcn.140004180
lea rcx, [rsp + 0x70]
mov rdx, rdi
call fcn.140007b08
cmp bpl, r15b
je 0x140003391
lea rcx, [rsp + 0x70]
call fcn.140001a7c
cmp al, r15b
je 0x14000349d
xor ecx, ecx
lea rdx, [rsp + 0x70]
cmp byte [r13 + 0x16], r15b
je 0x140003498
call fcn.14000293c
lea rcx, [rsp + 0x70]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
cmp r12, r15
je 0x1400033d5
lea rcx, [rsp + 0x70]
call fcn.140001a7c
cmp al, r15b
je 0x1400033d5
lea rdx, [rsp + 0x70]
mov rcx, r12
call fcn.140007b34
mov esi, r15d
mov rdi, r15
mov rax, qword [rdi + rbx]
cmp word [rax], r15w
je 0x140003487
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x1070]
call fcn.140007b34
lea rcx, [rsp + 0x1070]
call fcn.140004180
mov rdx, qword [rsp + rdi + 0x58]
lea rcx, [rsp + 0x1070]
call fcn.140007b08
lea rdx, str..lnk
lea rcx, [rsp + 0x1070]
call fcn.140007b08
lea rcx, [rsp + 0x870]
call fcn.14000424c
mov rdx, qword [rdi + rbx]
mov rcx, rax
call fcn.140007b34
mov rbx, r15
cmp esi, r15d
mov ecx, 0x13f9
cmove rbx, r14
call fcn.140005a58
lea rdx, [rsp + 0x1070]
lea rcx, [rsp + 0x870]
xor r8d, r8d
mov r9, rax
mov qword [rsp + 0x28], r15
mov qword [rsp + 0x20], rbx
call fcn.1400078f0
lea rbx, str.WinRAR.exe
inc esi
add rdi, 8
cmp esi, 3
jb 0x1400033db
jmp 0x14000349d
call fcn.14000293c
mov rcx, qword [rsp + 0x38]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rsp + 0x1870]
xor rcx, rsp
call fcn.140008090
mov rbx, qword [rsp + 0x18c0]
add rsp, 0x1880
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret