Function at 0x140053374
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.1400fb170
mov esi, eax
test eax, eax
jns 0x1400533db
mov rcx, qword [0x140162280]
lea rbx, [0x140162280]
cmp rcx, rbx
je 0x1400535b3
test byte [rcx + 0x1c], 1
je 0x1400535b3
mov edx, 0x16
jmp 0x14005359c
and qword [rbp - 0x10], 0
lea rbx, [0x140162280]
mov rcx, qword [rbp - 0x20]
lea rdx, [rbp - 0x10]
mov rax, qword [rcx]
mov rax, qword [rax + 0x18]
call fcn.1400fece0
mov esi, eax
test eax, eax
js 0x140053585
mov rdx, qword [rbp - 0x10]
test rdx, rdx
je 0x14005356c
add rdx, 0x2c
xor r9d, r9d
mov r8, r13
mov rcx, r12
call fcn.140054ff0
test eax, eax
jns 0x140053454
mov rcx, qword [0x140162280]
cmp rcx, rbx
je 0x1400533e7
test byte [rcx + 0x1c], 1
je 0x1400533e7
mov rcx, qword [rcx + 0x10]
lea r8, [0x140123930]
mov edx, 0x18
mov r9d, eax
call fcn.140044450
jmp 0x1400533e7
mov r9, qword [rbp - 0x10]
lea rdx, [0x140123d80]
and qword [rbp - 0x18], 0
lea rcx, [rbp - 0x18]
add r9, 0x2c
mov r8, r13
call fcn.14004a248
mov r15d, eax
test eax, eax
js 0x140053509
mov rcx, qword [rbp + 0x38]
lea rax, [rbp - 0x18]
lea rdx, [rbp - 8]
mov qword [rbp - 8], rax
call fcn.140051048
mov rsi, qword [rbp - 0x18]
mov r15d, eax
test eax, eax
js 0x1400534eb
test rsi, rsi
je 0x1400533e7
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x1400534dd
mov rcx, qword [0x140162280]
cmp rcx, rbx
je 0x1400534dd
test byte [rcx + 0x1c], 1
je 0x1400534dd
mov rcx, qword [rcx + 0x10]
lea edx, [rax + 0xa]
mov r9, rsi
lea r8, [0x140123930]
call fcn.140044708
mov rcx, rsi
call qword [sym.imp.mpclient.dll_MpFreeMemory]
jmp 0x1400533e7
test rsi, rsi
je 0x140053552
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x140053549
mov rcx, qword [0x140162280]
cmp rcx, rbx
jmp 0x140053529
mov rsi, qword [rbp - 0x18]
test rsi, rsi
je 0x140053552
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x140053549
mov rcx, qword [0x140162280]
cmp rcx, rbx
je 0x140053549
test byte [rcx + 0x1c], 1
je 0x140053549
mov rcx, qword [rcx + 0x10]
lea r8, [0x140123930]
mov edx, 0xa
mov r9, rsi
call fcn.140044708
mov rcx, rsi
call qword [sym.imp.mpclient.dll_MpFreeMemory]
mov rcx, qword [rbp - 0x20]
test rcx, rcx
je 0x140053567
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call fcn.1400fece0
mov eax, r15d
jmp 0x1400535ca
mov rcx, qword [rbp - 0x20]
test rcx, rcx
je 0x140053581
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call fcn.1400fece0
xor eax, eax
jmp 0x1400535ca
mov rcx, qword [0x140162280]
cmp rcx, rbx
je 0x1400535b3
test byte [rcx + 0x1c], 1
je 0x1400535b3
mov edx, 0x17
mov rcx, qword [rcx + 0x10]
lea r8, [0x140123930]
mov r9, r12
mov dword [rsp + 0x20], esi
call fcn.140044764
mov rcx, qword [rbp - 0x20]
test rcx, rcx
je 0x1400535c8
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call fcn.1400fece0
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