Function at 0x140006db4
Capabilities:
Delete file

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x1f]
sub rsp, 0xa0
mov rax, qword [0x14001b710]
xor rax, rsp
mov qword [rbp + 0xf], rax
mov r12, qword [rbp + 0x7f]
mov r15, r9
mov r14d, r8d
mov rdi, rcx
test rcx, rcx
je 0x1400071e2
mov rcx, qword [0x14001b028]
lea rsi, [0x14001b028]
cmp rcx, rsi
je 0x140006e14
test byte [rcx + 0x1c], 4
je 0x140006e14
mov rcx, qword [rcx + 0x10]
mov r9, rdi
call fcn.140007650
and qword [rbp - 0x29], 0
lea r9, str.SHS_.etl
mov r8, rdi
lea rdx, str._s_s
lea rcx, [rbp - 0x29]
call fcn.140010244
mov ebx, eax
test eax, eax
jns 0x140006e7a
mov rcx, qword [0x14001b028]
cmp rcx, rsi
je 0x140006e63
test byte [rcx + 0x1c], 1
je 0x140006e63
mov edx, 0x15
mov rcx, qword [rcx + 0x10]
lea r8, [0x140015b90]
mov r9d, ebx
call fcn.14000391c
mov rcx, qword [rbp - 0x29]
test rcx, rcx
je 0x140007218
call fcn.14000165c
jmp 0x140007218
and qword [rbp - 0x19], 0
lea rcx, [rbp - 0x19]
call qword [sym.imp.KERNEL32.dll_GetSystemTimeAsFileTime]
nop dword [rax + rax]
mov rax, qword [rbp - 0x19]
imul rcx, r14, 0x989680
sub rax, rcx
cmp rax, qword [rbp - 0x19]
ja 0x1400071b9
and qword [rbp - 0x31], 0
lea rcx, [rbp - 0x31]
mov rdx, rdi
mov qword [rbp - 9], rax
call fcn.14001238c
mov ebx, eax
test eax, eax
jns 0x140006f15
mov rcx, qword [0x14001b028]
cmp rcx, rsi
je 0x140006eec
test byte [rcx + 0x1c], 1
je 0x140006eec
mov rcx, qword [rcx + 0x10]
lea r8, [0x140015b90]
mov edx, 0x17
mov r9d, eax
call fcn.14000391c
mov rcx, qword [rbp - 0x31]
test rcx, rcx
je 0x140006e63
mov rax, qword [rcx]
movabs r10, 0xcc411749525d9370
mov rax, qword [rax + 8]
call qword [0x140014c00]
jmp 0x140006e63
mov rbx, qword [rbp - 0x31]
and qword [rbp - 0x31], 0
and qword [rbp - 0x21], 0
mov rax, qword [rbx]
movabs r10, 0xbf0037f810dc5a70
mov rax, qword [rax + 0x20]
lea r8, [rbp - 0x21]
lea rdx, [rbp - 0x31]
mov rcx, rbx
call qword [0x140014c00]
mov edi, eax
test eax, eax
js 0x14000715e
cmp qword [rbp - 0x31], 0
je 0x14000712a
mov rdx, qword [rbp - 0x21]
test rdx, rdx
je 0x14000712a
test r15, r15
je 0x140006f89
xor edx, edx
mov rcx, r15
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_WaitForSingleObject]
nop dword [rax + rax]
test eax, eax
je 0x1400070c6
mov rdx, qword [rbp - 0x21]
test byte [rdx], 0x10
jne 0x140006f19
add rdx, 0x14
lea rcx, [rbp - 9]
call qword [sym.imp.api_ms_win_core_file_l1_1_0.dll_CompareFileTime]
nop dword [rax + rax]
cmp eax, 0xffffffff
je 0x140006f19
test r12, r12
je 0x140006fcf
mov rdx, qword [rbp - 0x21]
mov rcx, r12
add rdx, 0x2c
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
nop dword [rax + rax]
test eax, eax
je 0x140006f19
mov rcx, qword [rbp - 0x31]
call qword [sym.imp.api_ms_win_core_file_l1_1_0.dll_DeleteFileW]
nop dword [rax + rax]
test eax, eax
jne 0x140007028
call fcn.140012358
test eax, eax
jns 0x140007028
mov rcx, qword [0x14001b028]
cmp rcx, rsi
je 0x140006f19
test byte [rcx + 0x1c], 1
je 0x140006f19
mov r9, qword [rbp - 0x31]
lea r8, [0x140015b90]
mov rcx, qword [rcx + 0x10]
mov edx, 0x1b
mov dword [rsp + 0x20], eax
call fcn.1400076e8
jmp 0x140006f19
mov rcx, qword [rbp - 0x21]
lea rdx, [rbp - 0x11]
and qword [rbp - 0x11], 0
xorps xmm0, xmm0
add rcx, 0x14
movups xmmword [rbp - 1], xmm0
call qword [sym.imp.api_ms_win_core_file_l1_1_0.dll_FileTimeToLocalFileTime]
nop dword [rax + rax]
lea rdx, [rbp - 1]
lea rcx, [rbp - 0x11]
call qword [sym.imp.api_ms_win_core_timezone_l1_1_0.dll_FileTimeToSystemTime]
nop dword [rax + rax]
mov rcx, qword [0x14001b028]
cmp rcx, rsi
je 0x140006f19
test byte [rcx + 0x1c], 4
je 0x140006f19
movzx eax, word [rbp + 0xb]
mov r9, qword [rbp - 0x21]
mov rcx, qword [rcx + 0x10]
add r9, 0x2c
mov word [rsp + 0x48], ax
movzx eax, word [rbp + 9]
mov word [rsp + 0x40], ax
movzx eax, word [rbp + 7]
mov word [rsp + 0x38], ax
movzx eax, word [rbp + 5]
mov word [rsp + 0x30], ax
movzx eax, word [rbp + 1]
mov word [rsp + 0x28], ax
movzx eax, word [rbp - 1]
mov word [rsp + 0x20], ax
call fcn.14000755c
jmp 0x140006f19
mov rcx, qword [0x14001b028]
mov rdi, qword [rbp - 0x29]
cmp rcx, rsi
je 0x1400070f4
test byte [rcx + 0x1c], 2
je 0x1400070f4
mov rcx, qword [rcx + 0x10]
lea r8, [0x140015b90]
mov edx, 0x19
mov r9, rdi
call fcn.1400059b0
test rbx, rbx
je 0x140007113
mov rax, qword [rbx]
movabs r10, 0xcc411749525d9370
mov rax, qword [rax + 8]
mov rcx, rbx
call qword [0x140014c00]
test rdi, rdi
je 0x140007120
mov rcx, rdi
call fcn.14000165c
mov eax, 0x80004004
jmp 0x14000721a
test rbx, rbx
je 0x140007149
mov rax, qword [rbx]
movabs r10, 0xcc411749525d9370
mov rax, qword [rax + 8]
mov rcx, rbx
call qword [0x140014c00]
mov rcx, qword [rbp - 0x29]
test rcx, rcx
je 0x140007157
call fcn.14000165c
xor eax, eax
jmp 0x14000721a
mov rcx, qword [0x14001b028]
cmp rcx, rsi
je 0x140007188
test byte [rcx + 0x1c], 1
je 0x140007188
mov rcx, qword [rcx + 0x10]
lea r8, [0x140015b90]
mov edx, 0x18
mov r9d, edi
call fcn.14000391c
test rbx, rbx
je 0x1400071a7
mov rax, qword [rbx]
movabs r10, 0xcc411749525d9370
mov rax, qword [rax + 8]
mov rcx, rbx
call qword [0x140014c00]
mov rcx, qword [rbp - 0x29]
test rcx, rcx
je 0x1400071b5
call fcn.14000165c
mov eax, edi
jmp 0x14000721a
mov ebx, 0x8000ffff
mov rcx, qword [0x14001b028]
cmp rcx, rsi
je 0x140006e63
test byte [rcx + 0x1c], 1
je 0x140006e63
mov edx, 0x16
jmp 0x140006e50
mov ebx, 0x80070057
mov rcx, qword [0x14001b028]
lea rsi, [0x14001b028]
cmp rcx, rsi
je 0x140007218
test byte [rcx + 0x1c], 1
je 0x140007218
mov rcx, qword [rcx + 0x10]
lea r8, [0x140015b90]
mov edx, 0x13
mov r9d, ebx
call fcn.14000391c
mov eax, ebx
mov rcx, qword [rbp + 0xf]
xor rcx, rsp
call fcn.1400015f0
add rsp, 0xa0
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret