Function at 0x140006a58
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 0x140006e86
mov rcx, qword [0x14001a028]
lea rsi, [0x14001a028]
cmp rcx, rsi
je 0x140006ab8
test byte [rcx + 0x1c], 4
je 0x140006ab8
mov rcx, qword [rcx + 0x10]
mov r9, rdi
call fcn.140007200
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 0x140006b1e
mov rcx, qword [0x14001a028]
cmp rcx, rsi
je 0x140006b07
test byte [rcx + 0x1c], 1
je 0x140006b07
mov edx, 0x15
mov rcx, qword [rcx + 0x10]
lea r8, [0x140014b10]
mov r9d, ebx
call fcn.1400036a4
mov rcx, qword [rbp - 0x29]
test rcx, rcx
je 0x140006ebc
call fcn.14000164c
jmp 0x140006ebc
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 0x140006e5d
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 0x140006bb9
mov rcx, qword [0x14001a028]
cmp rcx, rsi
je 0x140006b90
test byte [rcx + 0x1c], 1
je 0x140006b90
mov rcx, qword [rcx + 0x10]
lea r8, [0x140014b10]
mov edx, 0x17
mov r9d, eax
call fcn.1400036a4
mov rcx, qword [rbp - 0x31]
test rcx, rcx
je 0x140006b07
mov rax, qword [rcx]
movabs r10, 0xcc411749525d9370
mov rax, qword [rax + 8]
call qword [0x140013c50]
jmp 0x140006b07
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 0x140006e02
cmp qword [rbp - 0x31], 0
je 0x140006dce
mov rdx, qword [rbp - 0x21]
test rdx, rdx
je 0x140006dce
test r15, r15
je 0x140006c2d
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 0x140006d6a
mov rdx, qword [rbp - 0x21]
test byte [rdx], 0x10
jne 0x140006bbd
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 0x140006bbd
test r12, r12
je 0x140006c73
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 0x140006bbd
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 0x140006ccc
call fcn.140011b58
test eax, eax
jns 0x140006ccc
mov rcx, qword [0x14001a028]
cmp rcx, rsi
je 0x140006bbd
test byte [rcx + 0x1c], 1
je 0x140006bbd
mov r9, qword [rbp - 0x31]
lea r8, [0x140014b10]
mov rcx, qword [rcx + 0x10]
mov edx, 0x1b
mov dword [rsp + 0x20], eax
call fcn.14000729c
jmp 0x140006bbd
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 0x140006bbd
test byte [rcx + 0x1c], 4
je 0x140006bbd
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.14000710c
jmp 0x140006bbd
mov rcx, qword [0x14001a028]
mov rdi, qword [rbp - 0x29]
cmp rcx, rsi
je 0x140006d98
test byte [rcx + 0x1c], 2
je 0x140006d98
mov rcx, qword [rcx + 0x10]
lea r8, [0x140014b10]
mov edx, 0x19
mov r9, rdi
call fcn.1400056e0
test rbx, rbx
je 0x140006db7
mov rax, qword [rbx]
movabs r10, 0xcc411749525d9370
mov rax, qword [rax + 8]
mov rcx, rbx
call qword [0x140013c50]
test rdi, rdi
je 0x140006dc4
mov rcx, rdi
call fcn.14000164c
mov eax, 0x80004004
jmp 0x140006ebe
test rbx, rbx
je 0x140006ded
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 0x140006dfb
call fcn.14000164c
xor eax, eax
jmp 0x140006ebe
mov rcx, qword [0x14001a028]
cmp rcx, rsi
je 0x140006e2c
test byte [rcx + 0x1c], 1
je 0x140006e2c
mov rcx, qword [rcx + 0x10]
lea r8, [0x140014b10]
mov edx, 0x18
mov r9d, edi
call fcn.1400036a4
test rbx, rbx
je 0x140006e4b
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 0x140006e59
call fcn.14000164c
mov eax, edi
jmp 0x140006ebe
mov rcx, qword [0x14001a028]
mov ebx, 0x8000ffff
cmp rcx, rsi
je 0x140006b07
test byte [rcx + 0x1c], 1
je 0x140006b07
mov edx, 0x16
jmp 0x140006af4
mov rcx, qword [0x14001a028]
lea rsi, [0x14001a028]
mov ebx, 0x80070057
cmp rcx, rsi
je 0x140006ebc
test byte [rcx + 0x1c], 1
je 0x140006ebc
mov rcx, qword [rcx + 0x10]
lea r8, [0x140014b10]
mov edx, 0x13
mov r9d, ebx
call fcn.1400036a4
mov eax, ebx
mov rcx, qword [rbp + 0xf]
xor rcx, rsp
call fcn.1400015e0
add rsp, 0xa0
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret