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 [0x14002a008]
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.1400066a0
xor edx, edx
lea rcx, [rbp + 0x190]
mov r8d, 0x104
call fcn.1400066a0
mov edx, 0x104
lea rcx, [rbp + 0x190]
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
lea r8, [0x1400252d0]
mov edx, 0x104
lea rcx, [rbp + 0x190]
call fcn.14000ef48
xor r15d, r15d
test edi, edi
je 0x140001f55
xor edx, edx
lea r8d, [r15 + 2]
lea rcx, [rbp + 0x190]
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
test rax, rax
je 0x140001f3d
mov r9d, 0x104
lea r8, [rbp + 0x3a0]
mov edx, 0xc42e
mov rcx, rax
call qword [sym.imp.USER32.dll_LoadStringW]
lea edx, [r15 + 0x28]
lea rcx, [rbp + 0x3a0]
call fcn.140006220
test rax, rax
je 0x140001f33
cmp word [rax - 2], 0x20
jne 0x140001f2f
mov word [rax - 2], r15w
jmp 0x140001f33
mov word [rax], r15w
cmp word [rbp + 0x3a0], r15w
jne 0x140001f55
lea r8, [0x140024ae0]
mov edx, 0x104
lea rcx, [rbp + 0x3a0]
call fcn.14000ef48
xor edx, edx
lea rcx, [rbp - 0x80]
mov r8d, 0x105
call fcn.1400066a0
xor r9d, r9d
lea rax, [rbp - 0x80]
xor r8d, r8d
mov qword [rsp + 0x20], rax
xor ecx, ecx
lea edx, [r9 + 0x17]
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
lea r8, [0x140024b88]
mov edx, 0x105
lea rcx, [rbp - 0x80]
call fcn.14000ef48
lea rcx, [rbp - 0x80]
mov rax, 0xffffffffffffffff
cmp word [rcx + rax*2 + 2], r15w
lea rax, [rax + 1]
jne 0x140001fa1
lea rax, [rax*2 + 2]
cmp rax, 0x20a
jae 0x1400021f0
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 0x1400021e9
xor edx, edx
lea rcx, [rbp - 0x80]
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x140002054
mov rbx, qword [rsp + 0x6f0]
mov rcx, qword [rbp + 0x5b0]
xor rcx, rsp
call fcn.140005510
add rsp, 0x6c0
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
lea r8, [0x140024a80]
mov edx, 0x104
lea rcx, [rbp - 0x80]
call fcn.14000ef48
lea r8, [rbp + 0x3a0]
mov edx, 0x104
lea rcx, [rbp - 0x80]
call fcn.14000ef48
lea r8, [0x1400252f8]
mov edx, 0x104
lea rcx, [rbp - 0x80]
call fcn.14000ef48
lea r8, str.ExplorerPatcher_.lnk
mov edx, 0x104
lea rcx, [rbp - 0x80]
call fcn.14000ef48
xor edx, edx
lea rcx, [rbp + 0x190]
mov r8d, 0x104
call fcn.1400066a0
mov edx, 0x104
lea rcx, [rbp + 0x190]
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
lea r8, [0x140025330]
mov edx, 0x104
lea rcx, [rbp + 0x190]
call fcn.14000ef48
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoInitialize]
test eax, eax
js 0x1400021e9
xor edx, edx
mov qword [rsp + 0x30], r15
lea rax, [rsp + 0x30]
lea r9, [0x14001c640]
mov qword [rsp + 0x20], rax
lea rcx, [0x14001c650]
lea r8d, [rdx + 3]
call qword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x1400021e3
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, [0x140024ae0]
mov rax, qword [rcx]
call qword [rax + 0x38]
mov rcx, qword [rsp + 0x30]
lea r8, [rsp + 0x38]
mov qword [rsp + 0x38], r15
lea rdx, [0x14001c670]
mov rax, qword [rcx]
call qword [rax]
test eax, eax
js 0x1400021d8
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 0x14000202e
call fcn.140005638
int3