Function at 0x140007c94
Capabilities:
Delete file

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], r12
mov qword [rax + 0x20], r15
push rbp
lea rbp, [rax - 0x3f8]
sub rsp, 0x4f0
mov rax, qword [0x14000f068]
xor rax, rsp
mov qword [rbp + 0x3e0], rax
mov ebx, 0x488
lea rcx, [rsp + 0x50]
mov r8d, ebx
xor edx, edx
call sub.msvcrt.dll_memset
mov rcx, qword [str._LocalAppData_MicrosoftWindowsExplorer]
lea rdx, [rbp - 0x38]
mov dword [rsp + 0x50], ebx
mov edi, 0x104
mov r12d, 0x80004005
mov dword [rsp + 0x7c], 0x20000
mov r8d, edi
mov dword [rbp - 0x80], 8
mov dword [rbp - 0x70], 0x20801
mov ebx, r12d
mov dword [rbp - 0x40], 0x78
mov dword [rbp - 0x3c], 0x280
call qword [sym.imp.SHLWAPI.dll_Ordinal_460]
nop dword [rax + rax]
test eax, eax
je 0x140007eb1
lea rdx, [rbp - 0x38]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHCreateDirectory]
nop dword [rax + rax]
lea r8, str.ExplorerStartupLog_RunOnce
mov edx, edi
lea rcx, [rbp - 0x38]
call qword [sym.imp.api_ms_win_core_path_l1_1_0.dll_PathCchAppend]
nop dword [rax + rax]
mov ebx, eax
test eax, eax
js 0x140007eb1
lea r8, str..etl
mov edx, edi
lea rcx, [rbp - 0x38]
call qword [sym.imp.api_ms_win_core_path_l1_1_0.dll_PathCchAddExtension]
nop dword [rax + rax]
mov ebx, eax
test eax, eax
js 0x140007eb1
and qword [rsp + 0x40], 0
lea r8, [rsp + 0x50]
lea rdx, str.ExplorerStartupLog_RunOnce
lea rcx, [rsp + 0x40]
call qword [sym.imp.api_ms_win_eventing_controller_l1_1_0.dll_StartTraceW]
nop dword [rax + rax]
movzx ebx, ax
mov r15d, 0x80070000
or ebx, r15d
test eax, eax
cmovle ebx, eax
cmp ebx, 0x80070057
jne 0x140007e22
lea rcx, [rbp - 0x38]
call qword [sym.imp.api_ms_win_core_file_l1_1_0.dll_DeleteFileW]
nop dword [rax + rax]
test eax, eax
je 0x140007e05
lea r8, [rsp + 0x50]
lea rdx, str.ExplorerStartupLog_RunOnce
lea rcx, [rsp + 0x40]
call qword [sym.imp.api_ms_win_eventing_controller_l1_1_0.dll_StartTraceW]
nop dword [rax + rax]
movzx ebx, ax
or ebx, r15d
test eax, eax
cmovle ebx, eax
jmp 0x140007e22
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
movzx ebx, ax
or ebx, r15d
test eax, eax
cmovle ebx, eax
test ebx, ebx
cmovns ebx, r12d
test ebx, ebx
js 0x140007eb1
xor edi, edi
test ebx, ebx
js 0x140007e89
mov rax, qword [0x14000a318]
lea rcx, [rdi + rdi*2]
and qword [rsp + 0x38], 0
mov r9b, 4
and dword [rsp + 0x30], 0
mov r8d, 1
and qword [rsp + 0x28], 0
lea rdx, [rax + rcx*8]
mov rcx, qword [rsp + 0x40]
mov rax, qword [rdx + 0x10]
mov qword [rsp + 0x20], rax
call qword [sym.imp.api_ms_win_eventing_controller_l1_1_0.dll_EnableTraceEx2]
nop dword [rax + rax]
movzx ebx, ax
or ebx, r15d
test eax, eax
cmovle ebx, eax
inc edi
cmp edi, 1
jb 0x140007e2c
test ebx, ebx
jns 0x140007eb1
mov rcx, qword [rsp + 0x40]
lea r8, [rsp + 0x50]
xor edx, edx
call qword [sym.imp.api_ms_win_eventing_controller_l1_1_0.dll_StopTraceW]
nop dword [rax + rax]
lea rcx, [rbp - 0x38]
call qword [sym.imp.api_ms_win_core_file_l1_1_0.dll_DeleteFileW]
nop dword [rax + rax]
mov eax, ebx
mov rcx, qword [rbp + 0x3e0]
xor rcx, rsp
call fcn.140009590
lea r11, [rsp + 0x4f0]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov r12, qword [r11 + 0x20]
mov r15, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret