Function at 0x14003d648
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.1400baa60
sub rsp, rax
mov rax, qword [0x1400e0920]
xor rax, rsp
mov qword [rsp + 0x1870], rax
mov rbp, rdx
mov r14, r8
mov r13, rcx
lea rdx, [rsp + 0x870]
mov r8d, 0x400
xor ecx, ecx
mov r12b, r9b
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea rcx, [rsp + 0x870]
lea rdi, [0x1400c6580]
call fcn.140052af8
xor r15d, r15d
movzx ecx, word [rdi]
add rdi, 2
mov word [rax], cx
add rax, 2
cmp cx, r15w
jne 0x14003d6b0
lea rcx, [rsp + 0x38]
call qword [sym.imp.SHELL32.dll_SHGetMalloc]
call fcn.14003ed2c
lea rcx, [rsp + 0x70]
cmp eax, 0x600
mov sil, r15b
setae bl
call fcn.14003cff4
cmp bl, r15b
je 0x14003d783
lea rcx, [rsp + 0x70]
call fcn.140052588
xor eax, eax
or rcx, 0xffffffffffffffff
lea rdi, [rsp + 0x70]
repne scasw ax, word [rdi]
mov rax, qword [str.WinRAR.lnk]
lea rcx, [rsp + 0x70]
mov qword [rdi - 2], rax
mov rax, qword [0x1400c6f20]
mov qword [rdi + 6], rax
mov eax, dword [0x1400c6f28]
mov dword [rdi + 0xe], eax
movzx eax, word [0x1400c6f2c]
mov word [rdi + 0x12], ax
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
lea rcx, [rsp + 0x48]
cmp eax, r15d
setne sil
call qword [sym.imp.SHELL32.dll_SHGetMalloc]
lea r8, [rsp + 0x40]
mov edx, 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 + 0x48]
mov rdx, qword [rsp + 0x40]
mov rax, qword [rcx]
call qword [rax + 0x28]
lea rcx, [rsp + 0x70]
call fcn.140052588
xor eax, eax
or rcx, 0xffffffffffffffff
lea rdi, [rsp + 0x70]
repne scasw ax, word [rdi]
mov rax, qword [str.WinRAR.lnk]
mov qword [rdi - 2], rax
mov rax, qword [0x1400c6f20]
mov qword [rdi + 6], rax
mov eax, dword [0x1400c6f28]
mov dword [rdi + 0xe], eax
movzx eax, word [0x1400c6f2c]
mov word [rdi + 0x12], ax
cmp byte [r13 + 0x14], r15b
je 0x14003d8d2
cmp r12b, r15b
je 0x14003d7ee
lea rdx, [rsp + 0x70]
xor ecx, ecx
call fcn.1400310fc
cmp al, r15b
jne 0x14003d7ee
cmp sil, r15b
je 0x14003d8dc
mov ecx, 0x537
call fcn.140061d94
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.140087458
cmp al, r15b
jne 0x14003d8dc
cmp bl, r15b
je 0x14003d8dc
cmp r12b, r15b
je 0x14003d8dc
lea rcx, [rsp + 0x70]
call fcn.140031164
cmp al, r15b
je 0x14003d858
lea rcx, [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp eax, r15d
je 0x14003d8dc
lea rcx, [rsp + 0x70]
call fcn.14003cff4
lea rcx, [rsp + 0x70]
call fcn.140052588
xor eax, eax
or rcx, 0xffffffffffffffff
lea rdi, [rsp + 0x70]
repne scasw ax, word [rdi]
mov rax, qword [str.WinRAR.lnk]
mov ecx, 0x537
mov qword [rdi - 2], rax
mov rax, qword [0x1400c6f20]
mov qword [rdi + 6], rax
mov eax, dword [0x1400c6f28]
mov dword [rdi + 0xe], eax
movzx eax, word [0x1400c6f2c]
mov word [rdi + 0x12], ax
call fcn.140061d94
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.140087458
jmp 0x14003d8dc
lea rcx, [rsp + 0x70]
call fcn.140031400
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.140052588
xor eax, eax
or rbx, 0xffffffffffffffff
lea rdi, [rsp + 0x70]
mov rcx, rbx
repne scasw ax, word [rdi]
mov rax, qword [str.WinRAR.lnk]
mov qword [rdi - 2], rax
mov rax, qword [0x1400c6f20]
mov qword [rdi + 6], rax
mov eax, dword [0x1400c6f28]
mov dword [rdi + 0xe], eax
movzx eax, word [0x1400c6f2c]
mov word [rdi + 0x12], ax
cmp byte [r13 + 0x15], r15b
je 0x14003d9a0
cmp r12b, r15b
je 0x14003d972
lea rcx, [rsp + 0x70]
call fcn.140031164
cmp al, r15b
je 0x14003d9aa
mov ecx, 0x537
call fcn.140061d94
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.140087458
jmp 0x14003d9aa
lea rcx, [rsp + 0x70]
call fcn.140031400
lea rax, [0x1400c6ae8]
mov ecx, 0x38e
mov qword [rsp + 0x50], rax
call fcn.140061d94
mov ecx, 0x38f
mov qword [rsp + 0x58], rax
call fcn.140061d94
lea r8, [rsp + 0x30]
mov edx, 2
xor ecx, ecx
mov qword [rsp + 0x60], 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.140052588
xor eax, eax
lea rdi, [rsp + 0x70]
mov rcx, rbx
repne scasw ax, word [rdi]
mov rax, qword [0x1400c6ae8]
mov qword [rdi - 2], rax
mov eax, dword [0x1400c6af0]
mov dword [rdi + 6], eax
movzx eax, word [0x1400c6af4]
mov word [rdi + 0xa], ax
lea rdi, [0x1400df158]
cmp r12b, r15b
je 0x14003da5b
lea rcx, [rsp + 0x70]
call fcn.140031164
cmp al, r15b
je 0x14003dbbf
cmp byte [r13 + 0x16], r15b
je 0x14003dbb3
cmp rbp, r15
je 0x14003da8b
lea rax, [rsp + 0x70]
mov rdx, rbp
lea rcx, [rsp + 0x70]
sub rdx, rax
movzx eax, word [rcx]
mov word [rdx + rcx], ax
add rcx, 2
cmp ax, r15w
jne 0x14003da7a
lea rdx, [rsp + 0x70]
xor ecx, ecx
call fcn.14003d040
lea rcx, [rsp + 0x70]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov esi, r15d
mov rbx, r15
mov rax, qword [rbx + rdi]
cmp word [rax], r15w
je 0x14003db9e
mov rcx, r15
movzx eax, word [rsp + rcx + 0x70]
add rcx, 2
mov word [rsp + rcx + 0x106e], ax
cmp ax, r15w
jne 0x14003dabb
lea rcx, [rsp + 0x1070]
call fcn.140052588
mov rdx, qword [rsp + rbx + 0x50]
or r8, 0xffffffffffffffff
xor eax, eax
lea rdi, [rsp + 0x1070]
mov rcx, r8
repne scasw ax, word [rdi]
xor ecx, ecx
movzx eax, word [rdx + rcx]
add rcx, 2
mov word [rdi + rcx - 4], ax
test ax, ax
jne 0x14003dafa
xor eax, eax
mov rcx, r8
lea rdi, [rsp + 0x1070]
repne scasw ax, word [rdi]
mov rax, qword [str..lnk]
lea rcx, [rsp + 0x870]
mov qword [rdi - 2], rax
movzx eax, word [0x1400c6f10]
mov word [rdi + 6], ax
lea rdi, [0x1400df158]
mov rdi, qword [rbx + rdi]
call fcn.140052af8
movzx ecx, word [rdi]
add rdi, 2
mov word [rax], cx
add rax, 2
cmp cx, r15w
jne 0x14003db4a
mov rdi, r15
cmp esi, r15d
mov ecx, 0x537
cmove rdi, r14
call fcn.140061d94
lea rdx, [rsp + 0x1070]
lea rcx, [rsp + 0x870]
xor r8d, r8d
mov r9, rax
mov qword [rsp + 0x28], r15
mov qword [rsp + 0x20], rdi
call fcn.140087458
lea rdi, [0x1400df158]
inc esi
add rbx, 8
cmp esi, 3
jb 0x14003daaa
or rbx, 0xffffffffffffffff
jmp 0x14003dbbf
lea rdx, [rsp + 0x70]
xor ecx, ecx
call fcn.14003d040
lea r8, [rsp + 0x30]
mov edx, 0x17
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
cmp eax, r15d
jne 0x14003dda6
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.140052588
xor eax, eax
lea rdi, [rsp + 0x70]
mov rcx, rbx
repne scasw ax, word [rdi]
mov rax, qword [0x1400c6ae8]
mov qword [rdi - 2], rax
mov eax, dword [0x1400c6af0]
mov dword [rdi + 6], eax
movzx eax, word [0x1400c6af4]
mov word [rdi + 0xa], ax
cmp r12b, r15b
je 0x14003dc48
lea rcx, [rsp + 0x70]
call fcn.140031164
cmp al, r15b
je 0x14003dda6
xor ecx, ecx
lea rdx, [rsp + 0x70]
cmp byte [r13 + 0x16], r15b
je 0x14003dda1
call fcn.14003d040
lea rcx, [rsp + 0x70]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
cmp rbp, r15
je 0x14003dc9d
lea rcx, [rsp + 0x70]
call fcn.140031164
cmp al, r15b
je 0x14003dc9d
lea rax, [rsp + 0x70]
lea rcx, [rsp + 0x70]
sub rbp, rax
movzx eax, word [rcx]
mov word [rcx + rbp], ax
add rcx, 2
cmp ax, r15w
jne 0x14003dc8c
mov esi, r15d
mov rbx, r15
lea rbp, [0x1400df158]
mov rax, qword [rbx + rbp]
cmp word [rax], r15w
je 0x14003dd90
mov rcx, r15
movzx eax, word [rsp + rcx + 0x70]
add rcx, 2
mov word [rsp + rcx + 0x106e], ax
cmp ax, r15w
jne 0x14003dcbb
lea rcx, [rsp + 0x1070]
call fcn.140052588
mov rdx, qword [rsp + rbx + 0x50]
or r8, 0xffffffffffffffff
xor eax, eax
lea rdi, [rsp + 0x1070]
mov rcx, r8
repne scasw ax, word [rdi]
xor ecx, ecx
movzx eax, word [rdx + rcx]
add rcx, 2
mov word [rdi + rcx - 4], ax
test ax, ax
jne 0x14003dcfa
xor eax, eax
mov rcx, r8
lea rdi, [rsp + 0x1070]
repne scasw ax, word [rdi]
mov rax, qword [str..lnk]
lea rcx, [rsp + 0x870]
mov qword [rdi - 2], rax
movzx eax, word [0x1400c6f10]
mov word [rdi + 6], ax
mov rdi, qword [rbx + rbp]
call fcn.140052af8
movzx ecx, word [rdi]
add rdi, 2
mov word [rax], cx
add rax, 2
cmp cx, r15w
jne 0x14003dd43
mov rdi, r15
cmp esi, r15d
mov ecx, 0x537
cmove rdi, r14
call fcn.140061d94
lea rdx, [rsp + 0x1070]
lea rcx, [rsp + 0x870]
xor r8d, r8d
mov r9, rax
mov qword [rsp + 0x28], r15
mov qword [rsp + 0x20], rdi
call fcn.140087458
inc esi
add rbx, 8
cmp esi, 3
jb 0x14003dcaa
jmp 0x14003dda6
call fcn.14003d040
mov rcx, qword [rsp + 0x38]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rsp + 0x1870]
xor rcx, rsp
call fcn.1400a86e0
mov rbx, qword [rsp + 0x18c0]
add rsp, 0x1880
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret