Function at 0x140053794
Capabilities:
Delete file

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], r12
mov qword [rax + 0x20], r9
push rbp
push r13
push r15
mov rbp, rsp
sub rsp, 0x50
and qword [rbp - 0x20], 0
mov r13, rdx
mov rdx, rcx
mov r12, rcx
lea rcx, [rbp - 0x20]
call fcn.140104140
mov esi, eax
test eax, eax
jns 0x1400537fb
mov rcx, qword [0x14016d280]
lea rbx, [0x14016d280]
cmp rcx, rbx
je 0x1400539d3
test byte [rcx + 0x1c], 1
je 0x1400539d3
mov edx, 0x16
jmp 0x1400539bc
and qword [rbp - 0x10], 0
lea rbx, [0x14016d280]
mov rcx, qword [rbp - 0x20]
lea rdx, [rbp - 0x10]
mov rax, qword [rcx]
mov rax, qword [rax + 0x18]
call fcn.140107c30
mov esi, eax
test eax, eax
js 0x1400539a5
mov rdx, qword [rbp - 0x10]
test rdx, rdx
je 0x14005398c
add rdx, 0x2c
xor r9d, r9d
mov r8, r13
mov rcx, r12
call fcn.14005570c
test eax, eax
jns 0x140053874
mov rcx, qword [0x14016d280]
cmp rcx, rbx
je 0x140053807
test byte [rcx + 0x1c], 1
je 0x140053807
mov rcx, qword [rcx + 0x10]
lea r8, [0x14012cc20]
mov edx, 0x18
mov r9d, eax
call fcn.140044380
jmp 0x140053807
mov r9, qword [rbp - 0x10]
lea rdx, [0x14012d070]
and qword [rbp - 0x18], 0
lea rcx, [rbp - 0x18]
add r9, 0x2c
mov r8, r13
call fcn.14004a3b8
mov r15d, eax
test eax, eax
js 0x140053929
mov rcx, qword [rbp + 0x38]
lea rax, [rbp - 0x18]
lea rdx, [rbp - 8]
mov qword [rbp - 8], rax
call fcn.1400512a0
mov rsi, qword [rbp - 0x18]
mov r15d, eax
test eax, eax
js 0x14005390b
test rsi, rsi
je 0x140053807
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x1400538fd
mov rcx, qword [0x14016d280]
cmp rcx, rbx
je 0x1400538fd
test byte [rcx + 0x1c], 1
je 0x1400538fd
mov rcx, qword [rcx + 0x10]
lea edx, [rax + 0xa]
mov r9, rsi
lea r8, [0x14012cc20]
call fcn.140044638
mov rcx, rsi
call qword [sym.imp.mpclient.dll_MpFreeMemory]
jmp 0x140053807
test rsi, rsi
je 0x140053972
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x140053969
mov rcx, qword [0x14016d280]
cmp rcx, rbx
jmp 0x140053949
mov rsi, qword [rbp - 0x18]
test rsi, rsi
je 0x140053972
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x140053969
mov rcx, qword [0x14016d280]
cmp rcx, rbx
je 0x140053969
test byte [rcx + 0x1c], 1
je 0x140053969
mov rcx, qword [rcx + 0x10]
lea r8, [0x14012cc20]
mov edx, 0xa
mov r9, rsi
call fcn.140044638
mov rcx, rsi
call qword [sym.imp.mpclient.dll_MpFreeMemory]
mov rcx, qword [rbp - 0x20]
test rcx, rcx
je 0x140053987
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call fcn.140107c30
mov eax, r15d
jmp 0x1400539ea
mov rcx, qword [rbp - 0x20]
test rcx, rcx
je 0x1400539a1
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call fcn.140107c30
xor eax, eax
jmp 0x1400539ea
mov rcx, qword [0x14016d280]
cmp rcx, rbx
je 0x1400539d3
test byte [rcx + 0x1c], 1
je 0x1400539d3
mov edx, 0x17
mov rcx, qword [rcx + 0x10]
lea r8, [0x14012cc20]
mov r9, r12
mov dword [rsp + 0x20], esi
call fcn.140044694
mov rcx, qword [rbp - 0x20]
test rcx, rcx
je 0x1400539e8
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call fcn.140107c30
mov eax, esi
lea r11, [rsp + 0x50]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov r12, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop r13
pop rbp
ret