Function at 0x140092c80
Capabilities:
Delete directory
Delete file
Set file attributes

Disassembly:
push rbp
push rdi
push r13
push r14
push r15
sub rsp, 0xa0
xor ebp, ebp
mov qword [rsp + 0x40], rcx
mov r14, r9
mov r13, r8
mov r15, rdx
mov rdi, rcx
test rdx, rdx
jne 0x140092cba
xor eax, eax
add rsp, 0xa0
pop r15
pop r14
pop r13
pop rdi
pop rbp
ret
cmp dword [0x14045ebc8], ebp
jne 0x140092cc7
call fcn.14005e1b0
mov qword [rsp + 0x98], rbx
cmp qword [r15 + 0x79], rbp
jbe 0x140092ecc
mov rax, qword [r15 + 0x71]
mov qword [rsp + 0x88], r12
mov rbx, qword [rax]
cmp rbx, rax
je 0x140092e85
mov qword [rsp + 0x90], rsi
nop dword [rax]
cmp dword [0x14045e968], ebp
jne 0x140092e78
cmp qword [rbx + 0x38], 8
lea rdi, [rbx + 0x20]
jb 0x140092d1c
mov rdx, qword [rdi]
jmp 0x140092d1f
mov rdx, rdi
mov qword [rsp + 0x68], 7
mov qword [rsp + 0x60], rbp
mov word [rsp + 0x50], bp
cmp word [rdx], bp
jne 0x140092d3c
mov r8, rbp
jmp 0x140092d4a
or r8, 0xffffffffffffffff
inc r8
cmp word [rdx + r8*2], bp
jne 0x140092d40
lea rcx, [rsp + 0x50]
call fcn.14004dd70
lea rcx, [rsp + 0x50]
call fcn.140082440
mov rax, qword [rbx + 0x40]
test byte [rax + 0x38], 0x10
je 0x140092dc3
cmp qword [rdi + 0x18], 8
jb 0x140092d72
mov rdi, qword [rdi]
mov edx, 1
mov rcx, rdi
lea r8d, [rdx + 2]
call fcn.1400526c0
mov rsi, rax
cmp rax, 0xffffffffffffffff
je 0x140092daa
xor r9d, r9d
lea rdx, [0x140084880]
mov r8, rdi
mov rcx, rax
call fcn.140052980
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, 0x80
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
jmp 0x140092de4
cmp qword [rdi + 0x18], 8
jb 0x140092dcd
mov rdi, qword [rdi]
mov edx, 0x80
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
je 0x140092e20
mov rax, qword [rbx + 0x40]
mov rcx, qword [rax + 0x28]
test rcx, rcx
jle 0x140092df8
add qword [r14], rcx
mov rcx, qword [rbx + 0x40]
test rcx, rcx
je 0x140092e0a
call fcn.14012a2d4
mov qword [rbx + 0x40], rbp
mov r8, rbx
lea rdx, [rsp + 0x48]
lea rcx, [r15 + 0x71]
call fcn.140067ef0
mov rbx, qword [rax]
jmp 0x140092e6e
cmp byte [rbx + 0x19], bpl
jne 0x140092e6e
mov rax, qword [rbx + 0x10]
cmp byte [rax + 0x19], bpl
jne 0x140092e4e
mov rbx, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], bpl
jne 0x140092e6e
nop dword [rax]
mov rbx, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], bpl
je 0x140092e40
jmp 0x140092e6e
mov rax, qword [rbx + 8]
cmp byte [rax + 0x19], bpl
jne 0x140092e6b
cmp rbx, qword [rax + 0x10]
jne 0x140092e6b
mov rbx, rax
mov rax, qword [rax + 8]
cmp byte [rax + 0x19], bpl
je 0x140092e58
mov rbx, rax
cmp rbx, qword [r15 + 0x71]
jne 0x140092d00
mov rdi, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x90]
mov rax, qword [r15 + 0x79]
mov r12, qword [rsp + 0x88]
test rax, rax
sete bpl
test rax, rax
jne 0x140092eab
cmp byte [r15 + 0x6c], 1
jne 0x140092eab
mov rax, qword [r15 + 0x64]
add qword [r14], rax
mov eax, dword [r13]
xor r9d, r9d
inc eax
mov edx, 0x4cd
mov dword [r13], eax
mov rcx, qword [rdi + 8]
movsxd r8, eax
call qword [sym.imp.USER32.dll_PostMessageW]
jmp 0x140092f36
cmp byte [r15 + 0x6c], 1
jne 0x140092f4f
cmp qword [r15 + 0x1c], 8
lea rbx, [r15 + 4]
jb 0x140092ee3
mov rdx, qword [rbx]
jmp 0x140092ee6
mov rdx, rbx
lea rcx, [rsp + 0x50]
call fcn.14004dad0
mov rcx, rax
call fcn.140082440
mov eax, dword [r13]
xor r9d, r9d
inc eax
mov edx, 0x4cd
mov dword [r13], eax
mov rcx, qword [rdi + 8]
movsxd r8, eax
call qword [sym.imp.USER32.dll_PostMessageW]
cmp qword [rbx + 0x18], 8
jb 0x140092f21
mov rbx, qword [rbx]
mov rcx, rbx
call fcn.1400849b0
mov ebp, eax
test eax, eax
je 0x140092f4f
mov rcx, qword [r15 + 0x64]
add qword [r14], rcx
test ebp, ebp
je 0x140092f4f
mov r8, qword [r14]
xor r9d, r9d
mov rcx, qword [rdi + 8]
mov edx, 0x4ce
call qword [sym.imp.USER32.dll_PostMessageW]
cmp dword [0x14045ebc8], 0
mov rbx, qword [rsp + 0x98]
jne 0x140092f66
call qword [sym.imp.ADVAPI32.dll_RevertToSelf]
mov eax, ebp
add rsp, 0xa0
pop r15
pop r14
pop r13
pop rdi
pop rbp
ret