Function at 0x1400075b0
Capabilities:
Delete file
Get common file path
Set file attributes

Disassembly:
mov rax, rsp
push rsi
push rdi
push r12
sub rsp, 0x2a0
mov qword [rsp + 0x70], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rbp
mov rax, qword [0x1400e71f0]
xor rax, rsp
mov qword [rsp + 0x290], rax
mov rbx, rdx
call fcn.1400696cc
mov rdx, rax
xor r12d, r12d
mov ecx, r12d
test rax, rax
setne cl
test ecx, ecx
jne 0x140007607
mov ecx, 0x80004005
call fcn.140001000
int3
mov rax, qword [rax]
mov rcx, rdx
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x30], rax
or rsi, 0xffffffffffffffff
test rbx, rbx
je 0x140007660
test rbx, 0xffffffffffff0000
jne 0x14000764c
movzx edi, bx
mov ecx, edi
call fcn.1400696b8
test rax, rax
je 0x140007674
mov r8d, edi
mov rdx, rax
lea rcx, [rsp + 0x30]
call fcn.140003a40
jmp 0x140007674
xor eax, eax
mov rcx, rsi
mov rdi, rbx
repne scasw ax, word [rdi]
not rcx
sub rcx, 1
jmp 0x140007663
mov ecx, r12d
mov r8d, ecx
mov rdx, rbx
lea rcx, [rsp + 0x30]
call fcn.140003c40
nop
call fcn.1400696cc
mov rdx, rax
mov ecx, r12d
test rax, rax
setne cl
test ecx, ecx
jne 0x140007694
mov ecx, 0x80004005
call fcn.140001000
int3
mov rax, qword [rax]
mov rcx, rdx
call qword [rax + 0x18]
lea rdi, [rax + 0x18]
mov qword [rsp + 0x48], rdi
mov r8d, 3
lea rdx, [rsp + 0x68]
lea rcx, [rsp + 0x30]
call fcn.140003710
nop
mov rdx, qword [rax]
lea rcx, [rdx - 0x18]
add rdi, 0xffffffffffffffe8
cmp rcx, rdi
je 0x140007716
cmp dword [rdi + 0x10], 0
jl 0x140007707
mov rax, qword [rdi]
cmp qword [rcx], rax
jne 0x140007707
call fcn.1400031e0
mov rbx, rax
mov ecx, esi
lock xadd dword [rdi + 0x10], ecx
add ecx, 0xffffffff
test ecx, ecx
jg 0x1400076fc
mov rcx, qword [rdi]
mov rax, qword [rcx]
mov rdx, rdi
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
lea rax, [rbx + 0x18]
mov qword [rsp + 0x48], rax
jmp 0x140007716
mov r8d, dword [rdx - 0x10]
lea rcx, [rsp + 0x48]
call fcn.140003c40
nop
mov rdx, qword [rsp + 0x68]
add rdx, 0xffffffffffffffe8
mov eax, esi
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x140007736
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
lea rdx, [0x1400a4950]
mov rcx, qword [rsp + 0x48]
call fcn.1400807e0
test eax, eax
jne 0x140007ac7
mov dx, 0x2e
mov rdi, qword [rsp + 0x30]
mov rcx, rdi
call fcn.140080890
mov rbx, rax
test rax, rax
jne 0x14000776c
mov ebx, esi
jmp 0x140007772
sub rbx, rdi
sar rbx, 1
mov dx, 0x5c
mov rcx, rdi
call fcn.140080890
mov rbp, rax
test rax, rax
jne 0x14000778a
mov ebp, esi
jmp 0x140007790
sub rbp, rdi
sar rbp, 1
test ebx, ebx
jg 0x1400077a0
test ebp, ebp
jg 0x1400077a0
cmp ebx, ebp
jle 0x140007ac7
call fcn.1400696cc
mov rdx, rax
mov ecx, r12d
test rax, rax
setne cl
test ecx, ecx
jne 0x1400077c0
mov ecx, 0x80004005
call fcn.140001000
int3
mov rax, qword [rax]
mov rcx, rdx
call qword [rax + 0x18]
lea rdi, [rax + 0x18]
mov qword [rsp + 0x50], rdi
call fcn.1400696cc
mov r11, rax
mov ecx, r12d
test rax, rax
setne cl
test ecx, ecx
jne 0x1400077f2
mov ecx, 0x80004005
call fcn.140001000
int3
mov rax, qword [rax]
mov rcx, r11
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x40], rax
call fcn.1400696cc
mov rcx, rax
test rax, rax
setne r12b
test r12d, r12d
jne 0x140007823
mov ecx, 0x80004005
call fcn.140001000
int3
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x38], rax
sub ebx, ebp
lea r8d, [rbp + 1]
lea r9d, [rbx - 1]
lea rdx, [rsp + 0x58]
lea rcx, [rsp + 0x30]
call fcn.140003560
nop
mov rdx, qword [rax]
lea rcx, [rdx - 0x18]
add rdi, 0xffffffffffffffe8
cmp rcx, rdi
je 0x1400078a6
cmp dword [rdi + 0x10], 0
jl 0x140007897
mov rax, qword [rdi]
cmp qword [rcx], rax
jne 0x140007897
call fcn.1400031e0
mov rbx, rax
mov ecx, esi
lock xadd dword [rdi + 0x10], ecx
add ecx, 0xffffffff
test ecx, ecx
jg 0x14000788c
mov rcx, qword [rdi]
mov rax, qword [rcx]
mov rdx, rdi
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
lea rax, [rbx + 0x18]
mov qword [rsp + 0x50], rax
jmp 0x1400078a6
mov r8d, dword [rdx - 0x10]
lea rcx, [rsp + 0x50]
call fcn.140003c40
nop
mov rdx, qword [rsp + 0x58]
add rdx, 0xffffffffffffffe8
mov eax, esi
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x1400078c6
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov r9d, ebp
xor r8d, r8d
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x30]
call fcn.140003560
nop
mov rdx, qword [rax]
lea rcx, [rdx - 0x18]
mov rdi, qword [rsp + 0x40]
add rdi, 0xffffffffffffffe8
cmp rcx, rdi
je 0x14000793b
cmp dword [rdi + 0x10], 0
jl 0x14000792c
mov rax, qword [rdi]
cmp qword [rcx], rax
jne 0x14000792c
call fcn.1400031e0
mov rbx, rax
mov ecx, esi
lock xadd dword [rdi + 0x10], ecx
add ecx, 0xffffffff
test ecx, ecx
jg 0x140007921
mov rcx, qword [rdi]
mov rax, qword [rcx]
mov rdx, rdi
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
lea rax, [rbx + 0x18]
mov qword [rsp + 0x40], rax
jmp 0x14000793b
mov r8d, dword [rdx - 0x10]
lea rcx, [rsp + 0x40]
call fcn.140003c40
nop
mov rdx, qword [rsp + 0x60]
add rdx, 0xffffffffffffffe8
mov eax, esi
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x14000795b
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
lea rax, str..GID
mov qword [rsp + 0x20], rax
mov rbx, qword [rsp + 0x50]
mov r9, rbx
mov r8, qword [rsp + 0x40]
lea rdx, [0x1400a4160]
lea rcx, [rsp + 0x38]
call fcn.1400040b0
mov edx, 0x20
mov rdi, qword [rsp + 0x38]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
call fcn.140015a10
cmp eax, 6
jne 0x140007a69
mov word [rsp + 0x80], 0
xor edx, edx
mov r8d, 0x206
lea rcx, [rsp + 0x82]
call fcn.140080d50
mov edx, 0x104
lea rcx, [rsp + 0x80]
call qword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
lea rcx, [rsp + 0x80]
call qword [sym.imp.KERNEL32.dll_lstrlenW]
movsxd rcx, eax
cmp word [rsp + rcx*2 + 0x7e], 0x5c
je 0x140007a24
lea rax, str..FTS
mov qword [rsp + 0x20], rax
mov r9, rbx
lea r8, [rsp + 0x80]
lea rdx, [0x1400a4180]
lea rcx, [rsp + 0x38]
call fcn.1400040b0
jmp 0x140007a4c
lea rax, str..FTS
mov qword [rsp + 0x20], rax
mov r9, rbx
lea r8, [rsp + 0x80]
lea rdx, str._sHELP_s_s
lea rcx, [rsp + 0x38]
call fcn.1400040b0
mov edx, 0x20
mov rdi, qword [rsp + 0x38]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
nop
lea rdx, [rdi - 0x18]
mov eax, esi
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x140007a85
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rsp + 0x40]
add rdx, 0xffffffffffffffe8
mov eax, esi
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x140007aa6
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rsp + 0x50]
add rdx, 0xffffffffffffffe8
mov eax, esi
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x140007ac7
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rsp + 0x48]
add rdx, 0xffffffffffffffe8
mov eax, esi
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x140007ae8
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rsp + 0x30]
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], esi
add esi, 0xffffffff
test esi, esi
jg 0x140007b06
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rcx, qword [rsp + 0x290]
xor rcx, rsp
call fcn.140081050
lea r11, [rsp + 0x2a0]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x30]
mov rsp, r11
pop r12
pop rdi
pop rsi
ret