Function at 0x140001eb0
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.14001d8a0
xor edx, edx
lea rcx, [rbp + 0x190]
mov r8d, 0x104
call fcn.14001d8a0
mov edx, 0x104
lea rcx, [rbp + 0x190]
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
lea r8, [0x1400282e8]
mov edx, 0x104
lea rcx, [rbp + 0x190]
call fcn.140010e88
xor r15d, r15d
test edi, edi
je 0x140001fb8
xor edx, edx
lea rcx, [rbp + 0x190]
mov r8d, 2
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
test rax, rax
je 0x140001fa0
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.140006350
test rax, rax
je 0x140001f96
cmp word [rax - 2], 0x20
jne 0x140001f92
mov word [rax - 2], r15w
jmp 0x140001f96
mov word [rax], r15w
cmp word [rbp + 0x3a0], r15w
jne 0x140001fb8
lea r8, [0x140027ad0]
mov edx, 0x104
lea rcx, [rbp + 0x3a0]
call fcn.140010e88
xor edx, edx
lea rcx, [rbp - 0x80]
mov r8d, 0x105
call fcn.14001d8a0
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, [0x140027b78]
mov edx, 0x105
lea rcx, [rbp - 0x80]
call fcn.140010e88
lea rcx, [rbp - 0x80]
mov rax, 0xffffffffffffffff
nop word [rax + rax]
cmp word [rcx + rax*2 + 2], r15w
lea rax, [rax + 1]
jne 0x140002010
lea rax, [rax*2 + 2]
cmp rax, 0x20a
jae 0x140002261
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 0x14000225a
xor edx, edx
lea rcx, [rbp - 0x80]
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x1400020c3
mov rbx, qword [rsp + 0x6f0]
mov rcx, qword [rbp + 0x5b0]
xor rcx, rsp
call fcn.140005530
add rsp, 0x6c0
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
lea r8, [0x140027a70]
mov edx, 0x104
lea rcx, [rbp - 0x80]
call fcn.140010e88
lea r8, [rbp + 0x3a0]
mov edx, 0x104
lea rcx, [rbp - 0x80]
call fcn.140010e88
lea r8, [0x140028310]
mov edx, 0x104
lea rcx, [rbp - 0x80]
call fcn.140010e88
lea r8, str.ExplorerPatcher_.lnk
mov edx, 0x104
lea rcx, [rbp - 0x80]
call fcn.140010e88
xor edx, edx
lea rcx, [rbp + 0x190]
mov r8d, 0x104
call fcn.14001d8a0
mov edx, 0x104
lea rcx, [rbp + 0x190]
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
lea r8, [0x140028348]
mov edx, 0x104
lea rcx, [rbp + 0x190]
call fcn.140010e88
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoInitialize]
test eax, eax
js 0x14000225a
lea rax, [rsp + 0x30]
mov qword [rsp + 0x30], r15
lea r9, [0x14001f630]
mov qword [rsp + 0x20], rax
xor edx, edx
lea rcx, [0x14001f640]
mov r8d, 3
call qword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x140002254
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, [0x140027ad0]
mov rax, qword [rcx]
call qword [rax + 0x38]
mov rcx, qword [rsp + 0x30]
lea r8, [rsp + 0x38]
mov qword [rsp + 0x38], r15
lea rdx, [0x14001f660]
mov rax, qword [rcx]
call qword [rax]
test eax, eax
js 0x140002249
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 0x14000209d
call fcn.140005658
int3