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

Disassembly:
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x5c0]
sub rsp, 0x6c0
mov rax, qword [section..data]
xor rax, rsp
mov qword [rbp + 0x5b0], rax
mov r14, r8
mov rsi, rdx
mov edi, ecx
xor edx, edx
mov r8d, 0x104
lea rcx, [rbp + 0x3a0]
call fcn.140025020
xor edx, edx
lea rcx, [rbp + 0x190]
mov r8d, 0x104
call fcn.140025020
mov edx, 0x104
lea rcx, [rbp + 0x190]
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
lea r8, str.ExplorerFrame.dll
mov edx, 0x104
lea rcx, [rbp + 0x190]
call fcn.1400150ac
xor r15d, r15d
test edi, edi
je 0x140001838
xor edx, edx
lea rcx, [rbp + 0x190]
mov r8d, 2
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
test rax, rax
je 0x140001820
mov r9d, 0x104
lea r8, [rbp + 0x3a0]
mov edx, 0xc42e
mov rcx, rax
call qword [sym.imp.USER32.dll_LoadStringW]
mov edx, 0x28
lea rcx, [rbp + 0x3a0]
call fcn.14000c498
test rax, rax
je 0x140001816
cmp word [rax - 2], 0x20
jne 0x140001812
mov word [rax - 2], r15w
jmp 0x140001816
mov word [rax], r15w
cmp word [rbp + 0x3a0], r15w
jne 0x140001838
lea r8, str.ExplorerPatcher
mov edx, 0x104
lea rcx, [rbp + 0x3a0]
call fcn.1400150ac
xor edx, edx
lea rcx, [rbp - 0x80]
mov r8d, 0x105
call fcn.140025020
lea rax, [rbp - 0x80]
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], rax
mov edx, 0x17
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
lea r8, [0x140030920]
mov edx, 0x105
lea rcx, [rbp - 0x80]
call fcn.1400150ac
lea rcx, [rbp - 0x80]
mov rax, 0xffffffffffffffff
nop word [rax + rax]
cmp word [rcx + rax*2 + 2], r15w
lea rax, [rax + 1]
jne 0x140001890
lea rax, [rax*2 + 2]
cmp rax, 0x20a
jae 0x140001ae1
mov word [rbp + rax - 0x80], r15w
lea rcx, [rsp + 0x40]
xor eax, eax
mov qword [rsp + 0x6f0], rbx
xorps xmm0, xmm0
mov qword [rsp + 0x70], rax
lea rax, [rbp - 0x80]
movups xmmword [rsp + 0x50], xmm0
mov qword [rsp + 0x50], rax
mov eax, 0x614
movups xmmword [rsp + 0x40], xmm0
mov dword [rsp + 0x48], 3
movups xmmword [rsp + 0x60], xmm0
mov word [rsp + 0x60], ax
call qword [sym.imp.SHELL32.dll_SHFileOperationW]
test eax, eax
mov ebx, r15d
sete bl
test edi, edi
je 0x140001ada
xor edx, edx
lea rcx, [rbp - 0x80]
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x140001943
mov rbx, qword [rsp + 0x6f0]
mov rcx, qword [rbp + 0x5b0]
xor rcx, rsp
call fcn.140008700
add rsp, 0x6c0
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
lea r8, [0x1400308c0]
mov edx, 0x104
lea rcx, [rbp - 0x80]
call fcn.1400150ac
lea r8, [rbp + 0x3a0]
mov edx, 0x104
lea rcx, [rbp - 0x80]
call fcn.1400150ac
lea r8, [0x140031080]
mov edx, 0x104
lea rcx, [rbp - 0x80]
call fcn.1400150ac
lea r8, str.ExplorerPatcher_.lnk
mov edx, 0x104
lea rcx, [rbp - 0x80]
call fcn.1400150ac
xor edx, edx
lea rcx, [rbp + 0x190]
mov r8d, 0x104
call fcn.140025020
mov edx, 0x104
lea rcx, [rbp + 0x190]
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
lea r8, str._shell32.dll
mov edx, 0x104
lea rcx, [rbp + 0x190]
call fcn.1400150ac
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoInitialize]
test eax, eax
js 0x140001ada
lea rax, [rsp + 0x30]
mov qword [rsp + 0x30], r15
lea r9, [0x1400265d0]
mov qword [rsp + 0x20], rax
xor edx, edx
lea rcx, [0x1400265e0]
mov r8d, 3
call qword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x140001ad4
mov rcx, qword [rsp + 0x30]
mov rdx, rsi
mov rax, qword [rcx]
call qword [rax + 0xa0]
mov rcx, qword [rsp + 0x30]
mov rdx, r14
mov rax, qword [rcx]
call qword [rax + 0x58]
mov rcx, qword [rsp + 0x30]
lea rdx, [rbp + 0x190]
mov r8d, 0x27
mov rax, qword [rcx]
call qword [rax + 0x88]
lea rcx, [rbp + 0x190]
call qword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
mov rcx, qword [rsp + 0x30]
lea rdx, [rbp + 0x190]
mov rax, qword [rcx]
call qword [rax + 0x48]
mov rcx, qword [rsp + 0x30]
lea rdx, str.ExplorerPatcher
mov rax, qword [rcx]
call qword [rax + 0x38]
mov rcx, qword [rsp + 0x30]
lea r8, [rsp + 0x38]
mov qword [rsp + 0x38], r15
lea rdx, [0x1400265f0]
mov rax, qword [rcx]
call qword [rax]
test eax, eax
js 0x140001ac9
mov rcx, qword [rsp + 0x38]
lea rdx, [rbp - 0x80]
mov edi, 1
mov r8d, edi
mov rax, qword [rcx]
call qword [rax + 0x30]
mov rcx, qword [rsp + 0x38]
test eax, eax
cmovns ebx, edi
mov rdx, qword [rcx]
call qword [rdx + 0x10]
mov rcx, qword [rsp + 0x30]
mov rdx, qword [rcx]
call qword [rdx + 0x10]
call qword [sym.imp.ole32.dll_CoUninitialize]
mov eax, ebx
jmp 0x14000191d
call fcn.140008828
int3