Function at 0x140001990
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.140025220
xor edx, edx
lea rcx, [rbp + 0x190]
mov r8d, 0x104
call fcn.140025220
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.140015314
xor r15d, r15d
test edi, edi
je 0x140001a98
xor edx, edx
lea rcx, [rbp + 0x190]
mov r8d, 2
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
test rax, rax
je 0x140001a80
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.14000c698
test rax, rax
je 0x140001a76
cmp word [rax - 2], 0x20
jne 0x140001a72
mov word [rax - 2], r15w
jmp 0x140001a76
mov word [rax], r15w
cmp word [rbp + 0x3a0], r15w
jne 0x140001a98
lea r8, [0x140031ef0]
mov edx, 0x104
lea rcx, [rbp + 0x3a0]
call fcn.140015314
xor edx, edx
lea rcx, [rbp - 0x80]
mov r8d, 0x105
call fcn.140025220
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, [0x140031990]
mov edx, 0x105
lea rcx, [rbp - 0x80]
call fcn.140015314
lea rcx, [rbp - 0x80]
mov rax, 0xffffffffffffffff
nop word [rax + rax]
cmp word [rcx + rax*2 + 2], r15w
lea rax, [rax + 1]
jne 0x140001af0
lea rax, [rax*2 + 2]
cmp rax, 0x20a
jae 0x140001d41
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 0x140001d3a
xor edx, edx
lea rcx, [rbp - 0x80]
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x140001ba3
mov rbx, qword [rsp + 0x6f0]
mov rcx, qword [rbp + 0x5b0]
xor rcx, rsp
call fcn.140008910
add rsp, 0x6c0
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
lea r8, [0x1400318f0]
mov edx, 0x104
lea rcx, [rbp - 0x80]
call fcn.140015314
lea r8, [rbp + 0x3a0]
mov edx, 0x104
lea rcx, [rbp - 0x80]
call fcn.140015314
lea r8, [0x1400321f0]
mov edx, 0x104
lea rcx, [rbp - 0x80]
call fcn.140015314
lea r8, str.ExplorerPatcher_.lnk
mov edx, 0x104
lea rcx, [rbp - 0x80]
call fcn.140015314
xor edx, edx
lea rcx, [rbp + 0x190]
mov r8d, 0x104
call fcn.140025220
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.140015314
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoInitialize]
test eax, eax
js 0x140001d3a
lea rax, [rsp + 0x30]
mov qword [rsp + 0x30], r15
lea r9, [0x1400275f0]
mov qword [rsp + 0x20], rax
xor edx, edx
lea rcx, [0x140027600]
mov r8d, 3
call qword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x140001d34
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, [0x140031ef0]
mov rax, qword [rcx]
call qword [rax + 0x38]
mov rcx, qword [rsp + 0x30]
lea r8, [rsp + 0x38]
mov qword [rsp + 0x38], r15
lea rdx, [0x140027620]
mov rax, qword [rcx]
call qword [rax]
test eax, eax
js 0x140001d29
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 0x140001b7d
call fcn.140008a38
int3