Function at 0x14001f368
Capabilities:
Delete file

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r14
lea rbp, [rsp - 0x80]
sub rsp, 0x180
mov rax, qword [0x14002c298]
xor rax, rsp
mov qword [rbp + 0x70], rax
xor edi, edi
mov dword [rbp + 0x68], 1
xorps xmm0, xmm0
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x38], rdi
mov eax, edi
mov byte [rsp + 0x68], dil
mov r14, r8
mov qword [rbp + 0x28], rdi
mov rbx, rdx
mov qword [rbp - 0x20], rdi
mov qword [rbp - 0x50], rdi
mov qword [rbp - 0x48], rdi
mov qword [rbp - 0x18], rdi
mov dword [rbp - 0x10], edi
mov qword [rbp - 8], rdi
mov qword [rbp], rdi
mov qword [rbp + 0x30], rdi
mov dword [rbp + 0x38], edi
movdqa xmmword [rbp + 0x40], xmm0
mov dword [rbp + 0x50], edi
mov qword [rbp + 0x58], rdi
mov qword [rbp + 0x60], rdi
mov qword [rsp + rax*8 + 0x70], rdi
mov dword [rbp + rax*4 - 0x70], edi
mov dword [rbp + rax*4 - 0x60], edi
mov qword [rbp + rax*8 + 8], rdi
mov qword [rbp + rax*8 - 0x40], rdi
inc rax
cmp rax, 4
jl 0x14001f3e9
mov r8, qword [rcx + 0x88]
mov edx, r9d
lea rcx, [rsp + 0x30]
call fcn.14002121c
test al, al
je 0x14001f5c0
mov r8, r14
lea rcx, [rsp + 0x30]
mov rdx, rbx
call fcn.14002138c
test al, al
je 0x14001f5c0
mov r8, qword [rbp - 0x48]
lea rdx, [rsp + 0x30]
lea rcx, [0x1400214d0]
call qword [sym.imp.ADVAPI32.dll_ReadEncryptedFileRaw]
nop dword [rax + rax]
cmp dword [0x14002d804], edi
mov esi, eax
je 0x14001f478
mov edx, eax
lea rcx, str._nEFS:__ReadEncryptedFileRaw___returned__d
call qword [sym.imp.msvcrt.dll_wprintf]
nop dword [rax + rax]
test esi, esi
je 0x14001f48f
mov rcx, qword [rbp - 0x20]
mov dword [rbp - 0x18], esi
call qword [sym.imp.KERNEL32.dll_SetEvent]
nop dword [rax + rax]
mov rcx, qword [rsp + 0x30]
mov edx, 0x2710
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
nop dword [rax + rax]
test eax, eax
je 0x14001f4d1
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov edx, eax
lea rcx, str._nEFS:_ERROR__d_Waiting_for_Writer_thread_n
mov ebx, eax
call qword [sym.imp.msvcrt.dll_wprintf]
nop dword [rax + rax]
test esi, esi
cmove esi, ebx
cmp dword [0x14002d804], edi
je 0x14001f4ec
lea rcx, str._nEFS:_Closing_files
call qword [sym.imp.msvcrt.dll_wprintf]
nop dword [rax + rax]
lea rcx, [rsp + 0x30]
call fcn.140021038
mov eax, dword [0x14002d804]
test eax, eax
je 0x14001f54e
lea rcx, str._nEFS:_Files_Closed
call qword [sym.imp.msvcrt.dll_wprintf]
nop dword [rax + rax]
mov eax, dword [0x14002d804]
test eax, eax
je 0x14001f54e
test esi, esi
je 0x14001f552
mov eax, dword [rsp + 0x38]
lea rcx, str._n_nEFS:_ERROR:_LastError_d_readError_d_writeError_d__exitCode_d_n
mov r9d, dword [rbp + 0x30]
mov edx, esi
mov r8d, dword [rbp - 0x18]
mov dword [rsp + 0x20], eax
call qword [sym.imp.msvcrt.dll_wprintf]
nop dword [rax + rax]
mov eax, dword [0x14002d804]
jmp 0x14001f56a
test esi, esi
jne 0x14001f56a
mov edx, dword [rsp + 0x38]
mov esi, edx
test edx, edx
jne 0x14001f56a
mov esi, dword [rbp - 0x18]
test esi, esi
jne 0x14001f56a
mov esi, dword [rbp + 0x30]
test esi, esi
je 0x14001f594
test eax, eax
je 0x14001f581
lea rcx, str._nEFS:_Deleting_Target
call qword [sym.imp.msvcrt.dll_wprintf]
nop dword [rax + rax]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
nop dword [rax + rax]
mov edx, dword [rsp + 0x38]
cmp esi, 0x1d
jne 0x14001f59e
test edx, edx
cmovne esi, edx
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_SetLastError]
nop dword [rax + rax]
test esi, esi
lea rcx, [rsp + 0x30]
sete dil
call fcn.140020f34
mov eax, edi
jmp 0x14001f5cc
lea rcx, [rsp + 0x30]
call fcn.140020f34
xor eax, eax
mov rcx, qword [rbp + 0x70]
xor rcx, rsp
call fcn.140001a50
lea r11, [rsp + 0x180]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret