Function at 0x14000c684
Capabilities:
Delete file
Get common file path

Disassembly:
mov rax, rsp
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rax - 0x1c8]
sub rsp, 0x2a0
mov qword [rsp + 0x60], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov rax, qword [0x1400c2688]
xor rax, rsp
mov qword [rbp + 0x190], rax
mov edx, 0x3ed
call fcn.140032178
mov rdi, rax
mov esi, 0x104
mov edx, esi
lea rcx, [rbp - 0x80]
call qword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
lea r8, [0x140085174]
lea ebx, [rsi + 1]
mov edx, ebx
lea rcx, [rbp - 0x80]
call fcn.1400673e8
lea r8, str.diskpt0.dat
mov edx, ebx
lea rcx, [rbp - 0x80]
call fcn.1400673e8
call fcn.1400279a4
mov rcx, rax
test rax, rax
je 0x14000c95b
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x20], rax
lea rdx, [rsp + 0x68]
movzx ecx, word [rbp - 0x80]
call fcn.1400620e0
test eax, eax
je 0x14000c753
cmp dword [rsp + 0x6c], 1
jne 0x14000c753
mov dword [rsp + 0x28], esi
lea r8, [rsp + 0x28]
lea rdx, [rbp - 0x80]
lea rcx, [rbp - 0x80]
call fcn.140061ce0
lea rcx, [rbp - 0x80]
call fcn.1400675ec
mov r8d, eax
lea rdx, [rbp - 0x80]
lea rcx, [rsp + 0x20]
call fcn.14000521c
call fcn.140061820
xor r9d, r9d
xor r8d, r8d
mov r15d, 0x1004
mov edx, r15d
mov rcx, qword [rdi + 0x40]
call qword [sym.imp.USER32.dll_SendMessageW]
or r12, 0xffffffffffffffff
test eax, eax
jne 0x14000c7a6
mov rbx, qword [rsp + 0x20]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
jmp 0x14000c908
xor r9d, r9d
xor r8d, r8d
mov edx, r15d
mov rcx, qword [rdi + 0x40]
call qword [sym.imp.USER32.dll_SendMessageW]
movsxd rcx, eax
mov eax, 0x3ec
mul rcx
cmovo rax, r12
mov rcx, rax
call fcn.14002700c
mov rsi, rax
test rax, rax
je 0x14000c90f
xor ebx, ebx
xor r9d, r9d
xor r8d, r8d
mov edx, r15d
mov rcx, qword [rdi + 0x40]
call qword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
jle 0x14000c873
mov r14, rsi
mov dword [r14], 1
xor r9d, r9d
mov r8d, ebx
lea rdx, [rsp + 0x30]
mov rcx, rdi
call fcn.1400365cc
nop
mov r8, qword [rax]
movsxd rax, ebx
imul rcx, rax, 0x3ec
add rcx, 4
add rcx, rsi
mov edx, 0x1f4
call fcn.140067468
nop
mov rdx, qword [rsp + 0x30]
add rdx, 0xffffffffffffffe8
mov eax, r12d
lock xadd dword [rdx + 0x10], eax
add eax, r12d
test eax, eax
jg 0x14000c853
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
inc ebx
add r14, 0x3ec
xor r9d, r9d
xor r8d, r8d
mov edx, r15d
mov rcx, qword [rdi + 0x40]
call qword [sym.imp.USER32.dll_SendMessageW]
cmp ebx, eax
jl 0x14000c7f8
lea rcx, [rsp + 0x38]
call fcn.140037358
nop
xor r9d, r9d
mov r8d, 0x9001
mov rbx, qword [rsp + 0x20]
mov rdx, rbx
lea rcx, [rsp + 0x38]
call fcn.140037998
test eax, eax
je 0x14000c8f5
xor r9d, r9d
xor r8d, r8d
mov edx, r15d
mov rcx, qword [rdi + 0x40]
call qword [sym.imp.USER32.dll_SendMessageW]
imul r8d, eax, 0x3ec
mov rdx, rsi
lea rcx, [rsp + 0x38]
call fcn.140037d44
xor r9d, r9d
xor r8d, r8d
mov edx, r15d
mov rcx, qword [rdi + 0x40]
call qword [sym.imp.USER32.dll_SendMessageW]
movsxd rcx, eax
imul rdx, rcx, 0x3ec
lea rcx, [rsp + 0x38]
call fcn.140037cb8
lea rcx, [rsp + 0x38]
call fcn.140037624
mov rcx, rsi
call fcn.140027004
nop
lea rcx, [rsp + 0x38]
call fcn.1400373b0
call fcn.140061710
jmp 0x14000c914
mov rbx, qword [rsp + 0x20]
lea rdx, [rbx - 0x18]
mov eax, r12d
lock xadd dword [rdx + 0x10], eax
add eax, r12d
test eax, eax
jg 0x14000c930
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rcx, qword [rbp + 0x190]
xor rcx, rsp
call fcn.14005ef50
lea r11, [rsp + 0x2a0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
mov ecx, 0x80004005
call fcn.140003bc0
int3