Function at 0x140031ab0
Capabilities:
Delete file
Set file attributes

Disassembly:
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x220
mov rax, qword [0x14018f080]
xor rax, rsp
mov qword [rsp + 0x210], rax
call fcn.1400316a0
mov qword [rsp + 0x98], rax
mov rcx, qword [rsp + 0x230]
call qword [rsp + 0x98]
test eax, eax
jne 0x140031af4
jmp 0x14003210f
mov qword [rsp + 0x150], 0
mov qword [rsp + 0x158], 0
mov byte [rsp + 0x1a0], 0
mov byte [rsp + 0x1a1], 0
mov byte [rsp + 0x1a2], 0
mov byte [rsp + 0x1a3], 0
mov byte [rsp + 0x1a4], 0
mov byte [rsp + 0x1a5], 1
call fcn.140031670
mov qword [rsp + 0xa0], rax
lea rax, [rsp + 0x150]
mov qword [rsp + 0x50], rax
mov dword [rsp + 0x48], 0
mov dword [rsp + 0x40], 0
mov dword [rsp + 0x38], 0
mov dword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
mov dl, 1
lea rcx, [rsp + 0x1a0]
call qword [rsp + 0xa0]
test eax, eax
jne 0x140031ba6
jmp 0x14003210f
mov byte [rsp + 0x1a8], 0
mov byte [rsp + 0x1a9], 0
mov byte [rsp + 0x1aa], 0
mov byte [rsp + 0x1ab], 0
mov byte [rsp + 0x1ac], 0
mov byte [rsp + 0x1ad], 5
call fcn.140031660
mov qword [rsp + 0xa8], rax
lea rax, [rsp + 0x158]
mov qword [rsp + 0x50], rax
mov dword [rsp + 0x48], 0
mov dword [rsp + 0x40], 0
mov dword [rsp + 0x38], 0
mov dword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
mov r9d, 0x220
mov r8d, 0x20
mov dl, 2
lea rcx, [rsp + 0x1a8]
call qword [rsp + 0xa8]
test eax, eax
jne 0x140031c72
call fcn.1400318c0
mov qword [rsp + 0xb8], rax
mov rax, qword [rsp + 0x150]
mov qword [rsp + 0xb0], rax
mov rcx, qword [rsp + 0xb0]
call qword [rsp + 0xb8]
jmp 0x14003210f
mov dword [rsp + 0x1b0], 0
lea rax, [rsp + 0x1b4]
mov rdi, rax
xor eax, eax
mov ecx, 0x5c
rep stosb byte [rdi], al
mov eax, 0x30
imul rax, rax, 0
mov dword [rsp + rax + 0x1b0], 0x10000000
mov eax, 0x30
imul rax, rax, 0
mov dword [rsp + rax + 0x1b4], 2
mov eax, 0x30
imul rax, rax, 0
mov dword [rsp + rax + 0x1b8], 0
mov eax, 0x30
imul rax, rax, 0
mov dword [rsp + rax + 0x1cc], 0
mov eax, 0x30
imul rax, rax, 0
mov dword [rsp + rax + 0x1d0], 2
mov eax, 0x30
imul rax, rax, 0
mov rcx, qword [rsp + 0x150]
mov qword [rsp + rax + 0x1d8], rcx
mov eax, 0x30
imul rax, rax, 1
mov dword [rsp + rax + 0x1b0], 0x10000000
mov eax, 0x30
imul rax, rax, 1
mov dword [rsp + rax + 0x1b4], 2
mov eax, 0x30
imul rax, rax, 1
mov dword [rsp + rax + 0x1b8], 0
mov eax, 0x30
imul rax, rax, 1
mov dword [rsp + rax + 0x1cc], 0
mov eax, 0x30
imul rax, rax, 1
mov dword [rsp + rax + 0x1d0], 2
mov eax, 0x30
imul rax, rax, 1
mov rcx, qword [rsp + 0x158]
mov qword [rsp + rax + 0x1d8], rcx
mov qword [rsp + 0x160], 0
lea r9, [rsp + 0x160]
xor r8d, r8d
lea rdx, [rsp + 0x1b0]
mov ecx, 2
call qword [sym.imp.ADVAPI32.dll_SetEntriesInAclW]
mov dword [rsp + 0x60], eax
cmp dword [rsp + 0x60], 0
je 0x140031e1d
call fcn.140031890
mov qword [rsp + 0xc8], rax
mov rax, qword [rsp + 0x150]
mov qword [rsp + 0xc0], rax
mov rcx, qword [rsp + 0xc0]
call qword [rsp + 0xc8]
call fcn.140031830
mov qword [rsp + 0xd8], rax
mov rax, qword [rsp + 0x158]
mov qword [rsp + 0xd0], rax
mov rcx, qword [rsp + 0xd0]
call qword [rsp + 0xd8]
jmp 0x14003210f
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
mov r9, qword [rsp + 0x158]
mov r8d, 1
mov edx, 1
mov rcx, qword [rsp + 0x230]
call qword [sym.imp.ADVAPI32.dll_SetNamedSecurityInfoW]
mov dword [rsp + 0x60], eax
cmp dword [rsp + 0x60], 0
je 0x140031ef1
call fcn.140031850
mov qword [rsp + 0xe8], rax
mov rax, qword [rsp + 0x150]
mov qword [rsp + 0xe0], rax
mov rcx, qword [rsp + 0xe0]
call qword [rsp + 0xe8]
call fcn.140031880
mov qword [rsp + 0xf8], rax
mov rax, qword [rsp + 0x158]
mov qword [rsp + 0xf0], rax
mov rcx, qword [rsp + 0xf0]
call qword [rsp + pe_nt_image_headers64]
call fcn.1400318b0
mov qword [rsp + 0x108], rax
mov rax, qword [rsp + 0x160]
mov qword [rsp + 0x100], rax
mov rcx, qword [rsp + 0x100]
call qword [rsp + 0x108]
jmp 0x14003210f
mov qword [rsp + 0x30], 0
mov rax, qword [rsp + 0x160]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], 0
xor r9d, r9d
mov r8d, 4
mov edx, 1
mov rcx, qword [rsp + 0x230]
call qword [sym.imp.ADVAPI32.dll_SetNamedSecurityInfoW]
mov dword [rsp + 0x60], eax
cmp dword [rsp + 0x60], 0
je 0x140031fc4
call fcn.1400318e0
mov qword [rsp + 0x118], rax
mov rax, qword [rsp + 0x150]
mov qword [rsp + 0x110], rax
mov rcx, qword [rsp + 0x110]
call qword [rsp + 0x118]
call fcn.140031870
mov qword [rsp + 0x128], rax
mov rax, qword [rsp + 0x158]
mov qword [rsp + 0x120], rax
mov rcx, qword [rsp + 0x120]
call qword [rsp + 0x128]
call fcn.140031840
mov qword [rsp + 0x138], rax
mov rax, qword [rsp + 0x160]
mov qword [rsp + 0x130], rax
mov rcx, qword [rsp + 0x130]
call qword [rsp + 0x138]
jmp 0x14003210f
mov edx, 0x80
mov rcx, qword [rsp + 0x230]
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
lea rax, [rsp + 0x168]
mov rdi, rax
xor eax, eax
mov ecx, 0x38
rep stosb byte [rdi], al
mov dword [rsp + 0x170], 3
mov rax, qword [rsp + 0x230]
mov qword [rsp + 0x140], rax
mov qword [rsp + 0x68], 0xffffffffffffffff
inc qword [rsp + 0x68]
mov rax, qword [rsp + 0x140]
mov rcx, qword [rsp + 0x68]
cmp word [rax + rcx*2], 0
jne 0x14003200f
mov rax, qword [rsp + 0x68]
xor ecx, ecx
mov rdx, qword [rsp + 0x230]
mov word [rdx + rax*2 + 2], cx
mov rax, qword [rsp + 0x230]
mov qword [rsp + 0x178], rax
lea rax, [0x140168c54]
mov qword [rsp + 0x180], rax
mov eax, 0x414
mov word [rsp + 0x188], ax
lea rax, [0x140168c58]
mov qword [rsp + 0x198], rax
mov rcx, qword [rsp + 0x230]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x140032097
lea rcx, [rsp + 0x168]
call qword [sym.imp.SHELL32.dll_SHFileOperationW]
call fcn.1400318a0
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0x150]
mov qword [rsp + 0x148], rax
mov rcx, qword [rsp + 0x148]
call qword [rsp + 0x70]
call fcn.140031860
mov qword [rsp + 0x80], rax
mov rax, qword [rsp + 0x158]
mov qword [rsp + 0x78], rax
mov rcx, qword [rsp + 0x78]
call qword [rsp + 0x80]
call fcn.1400318d0
mov qword [rsp + 0x90], rax
mov rax, qword [rsp + 0x160]
mov qword [rsp + 0x88], rax
mov rcx, qword [rsp + 0x88]
call qword [rsp + 0x90]
mov rcx, qword [rsp + 0x210]
xor rcx, rsp
call fcn.140160680
add rsp, 0x220
pop rdi
ret