Function at 0x140001e50
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.14001a950
xor edx, edx
lea rcx, [rbp + 0x190]
mov r8d, 0x104
call fcn.14001a950
mov edx, 0x104
lea rcx, [rbp + 0x190]
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
lea r8, [0x140025248]
mov edx, 0x104
lea rcx, [rbp + 0x190]
call fcn.14000df40
xor r15d, r15d
test edi, edi
je 0x140001f58
xor edx, edx
lea rcx, [rbp + 0x190]
mov r8d, 2
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
test rax, rax
je 0x140001f40
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.140005ee0
test rax, rax
je 0x140001f36
cmp word [rax - 2], 0x20
jne 0x140001f32
mov word [rax - 2], r15w
jmp 0x140001f36
mov word [rax], r15w
cmp word [rbp + 0x3a0], r15w
jne 0x140001f58
lea r8, [0x140024ad0]
mov edx, 0x104
lea rcx, [rbp + 0x3a0]
call fcn.14000df40
xor edx, edx
lea rcx, [rbp - 0x80]
mov r8d, 0x105
call fcn.14001a950
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, [0x140024b78]
mov edx, 0x105
lea rcx, [rbp - 0x80]
call fcn.14000df40
lea rcx, [rbp - 0x80]
mov rax, 0xffffffffffffffff
nop word [rax + rax]
cmp word [rcx + rax*2 + 2], r15w
lea rax, [rax + 1]
jne 0x140001fb0
lea rax, [rax*2 + 2]
cmp rax, 0x20a
jae 0x140002201
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 0x1400021fa
xor edx, edx
lea rcx, [rbp - 0x80]
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x140002063
mov rbx, qword [rsp + 0x6f0]
mov rcx, qword [rbp + 0x5b0]
xor rcx, rsp
call fcn.1400050c0
add rsp, 0x6c0
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
lea r8, [0x140024a70]
mov edx, 0x104
lea rcx, [rbp - 0x80]
call fcn.14000df40
lea r8, [rbp + 0x3a0]
mov edx, 0x104
lea rcx, [rbp - 0x80]
call fcn.14000df40
lea r8, [0x140025270]
mov edx, 0x104
lea rcx, [rbp - 0x80]
call fcn.14000df40
lea r8, str.ExplorerPatcher_.lnk
mov edx, 0x104
lea rcx, [rbp - 0x80]
call fcn.14000df40
xor edx, edx
lea rcx, [rbp + 0x190]
mov r8d, 0x104
call fcn.14001a950
mov edx, 0x104
lea rcx, [rbp + 0x190]
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
lea r8, [0x1400252a8]
mov edx, 0x104
lea rcx, [rbp + 0x190]
call fcn.14000df40
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoInitialize]
test eax, eax
js 0x1400021fa
lea rax, [rsp + 0x30]
mov qword [rsp + 0x30], r15
lea r9, [0x14001c630]
mov qword [rsp + 0x20], rax
xor edx, edx
lea rcx, [0x14001c640]
mov r8d, 3
call qword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x1400021f4
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, [0x140024ad0]
mov rax, qword [rcx]
call qword [rax + 0x38]
mov rcx, qword [rsp + 0x30]
lea r8, [rsp + 0x38]
mov qword [rsp + 0x38], r15
lea rdx, [0x14001c660]
mov rax, qword [rcx]
call qword [rax]
test eax, eax
js 0x1400021e9
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 0x14000203d
call fcn.1400051e8
int3