Function at 0x140006a78
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 [0x14001a710]
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 0x140006ea6
mov rcx, qword [0x14001a028]
lea rsi, [0x14001a028]
cmp rcx, rsi
je 0x140006ad8
test byte [rcx + 0x1c], 4
je 0x140006ad8
mov rcx, qword [rcx + 0x10]
mov r9, rdi
call fcn.140007220
and qword [rbp - 0x29], 0
lea r9, str.SHS_.etl
mov r8, rdi
lea rdx, str._s_s
lea rcx, [rbp - 0x29]
call fcn.14000fa24
mov ebx, eax
test eax, eax
jns 0x140006b3e
mov rcx, qword [0x14001a028]
cmp rcx, rsi
je 0x140006b27
test byte [rcx + 0x1c], 1
je 0x140006b27
mov edx, 0x15
mov rcx, qword [rcx + 0x10]
lea r8, [0x140014b20]
mov r9d, ebx
call fcn.1400036c4
mov rcx, qword [rbp - 0x29]
test rcx, rcx
je 0x140006edc
call fcn.14000166c
jmp 0x140006edc
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 0x140006e7d
and qword [rbp - 0x31], 0
lea rcx, [rbp - 0x31]
mov rdx, rdi
mov qword [rbp - 9], rax
call fcn.140011b8c
mov ebx, eax
test eax, eax
jns 0x140006bd9
mov rcx, qword [0x14001a028]
cmp rcx, rsi
je 0x140006bb0
test byte [rcx + 0x1c], 1
je 0x140006bb0
mov rcx, qword [rcx + 0x10]
lea r8, [0x140014b20]
mov edx, 0x17
mov r9d, eax
call fcn.1400036c4
mov rcx, qword [rbp - 0x31]
test rcx, rcx
je 0x140006b27
mov rax, qword [rcx]
movabs r10, 0xcc411749525d9370
mov rax, qword [rax + 8]
call qword [0x140013c50]
jmp 0x140006b27
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 [0x140013c50]
mov edi, eax
test eax, eax
js 0x140006e22
cmp qword [rbp - 0x31], 0
je 0x140006dee
mov rdx, qword [rbp - 0x21]
test rdx, rdx
je 0x140006dee
test r15, r15
je 0x140006c4d
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 0x140006d8a
mov rdx, qword [rbp - 0x21]
test byte [rdx], 0x10
jne 0x140006bdd
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 0x140006bdd
test r12, r12
je 0x140006c93
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 0x140006bdd
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 0x140006cec
call fcn.140011b58
test eax, eax
jns 0x140006cec
mov rcx, qword [0x14001a028]
cmp rcx, rsi
je 0x140006bdd
test byte [rcx + 0x1c], 1
je 0x140006bdd
mov r9, qword [rbp - 0x31]
lea r8, [0x140014b20]
mov rcx, qword [rcx + 0x10]
mov edx, 0x1b
mov dword [rsp + 0x20], eax
call fcn.1400072bc
jmp 0x140006bdd
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 [0x14001a028]
cmp rcx, rsi
je 0x140006bdd
test byte [rcx + 0x1c], 4
je 0x140006bdd
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.14000712c
jmp 0x140006bdd
mov rcx, qword [0x14001a028]
mov rdi, qword [rbp - 0x29]
cmp rcx, rsi
je 0x140006db8
test byte [rcx + 0x1c], 2
je 0x140006db8
mov rcx, qword [rcx + 0x10]
lea r8, [0x140014b20]
mov edx, 0x19
mov r9, rdi
call fcn.140005700
test rbx, rbx
je 0x140006dd7
mov rax, qword [rbx]
movabs r10, 0xcc411749525d9370
mov rax, qword [rax + 8]
mov rcx, rbx
call qword [0x140013c50]
test rdi, rdi
je 0x140006de4
mov rcx, rdi
call fcn.14000166c
mov eax, 0x80004004
jmp 0x140006ede
test rbx, rbx
je 0x140006e0d
mov rax, qword [rbx]
movabs r10, 0xcc411749525d9370
mov rax, qword [rax + 8]
mov rcx, rbx
call qword [0x140013c50]
mov rcx, qword [rbp - 0x29]
test rcx, rcx
je 0x140006e1b
call fcn.14000166c
xor eax, eax
jmp 0x140006ede
mov rcx, qword [0x14001a028]
cmp rcx, rsi
je 0x140006e4c
test byte [rcx + 0x1c], 1
je 0x140006e4c
mov rcx, qword [rcx + 0x10]
lea r8, [0x140014b20]
mov edx, 0x18
mov r9d, edi
call fcn.1400036c4
test rbx, rbx
je 0x140006e6b
mov rax, qword [rbx]
movabs r10, 0xcc411749525d9370
mov rax, qword [rax + 8]
mov rcx, rbx
call qword [0x140013c50]
mov rcx, qword [rbp - 0x29]
test rcx, rcx
je 0x140006e79
call fcn.14000166c
mov eax, edi
jmp 0x140006ede
mov rcx, qword [0x14001a028]
mov ebx, 0x8000ffff
cmp rcx, rsi
je 0x140006b27
test byte [rcx + 0x1c], 1
je 0x140006b27
mov edx, 0x16
jmp 0x140006b14
mov rcx, qword [0x14001a028]
lea rsi, [0x14001a028]
mov ebx, 0x80070057
cmp rcx, rsi
je 0x140006edc
test byte [rcx + 0x1c], 1
je 0x140006edc
mov rcx, qword [rcx + 0x10]
lea r8, [0x140014b20]
mov edx, 0x13
mov r9d, ebx
call fcn.1400036c4
mov eax, ebx
mov rcx, qword [rbp + 0xf]
xor rcx, rsp
call fcn.140001600
add rsp, 0xa0
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret