Function at 0x1400936a0
Capabilities:
Delete file

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rdi
push rbp
lea rbp, [rsp - 0x230]
sub rsp, 0x330
mov rax, qword [0x14013d0a8]
xor rax, rsp
mov qword [rbp + 0x220], rax
mov rdi, rdx
mov rbx, rcx
lea rcx, [rsp + 0x30]
call fcn.1400269d0
nop
mov rax, qword [rsp + 0x30]
test rax, rax
je 0x1400936eb
mov rcx, qword [rax]
jmp 0x1400936ed
xor ecx, ecx
lea r8, [rbp - 0x20]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_GetFileAttributesExW]
test eax, eax
je 0x140093882
test byte [rbp - 0x20], 0x10
jne 0x140093882
call fcn.1400787d0
test rdi, rdi
jne 0x140093811
cmp dword [rbp], edi
jne 0x140093763
cmp dword [rbp - 4], edi
jne 0x140093763
lea r9d, [rdi + 0x30]
lea r8, [0x1400f7478]
lea rdx, str.The_log_of_boot_time_activity_created_by_a_previous_instance_of_Process_Monitor_is_incomplete_and_cannot_be_read.
mov rcx, rbx
call qword [sym.imp.USER32.dll_MessageBoxW]
mov rax, qword [rsp + 0x30]
test rax, rax
je 0x140093756
mov rcx, qword [rax]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
jmp 0x140093882
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
jmp 0x140093882
mov r9d, 0x24
lea r8, [0x1400f7478]
lea rdx, str.A_log_of_boot_time_activity_was_created_by_a_previous_instance_of_Process_Monitor._Do_you_wish_to_save_the_collected_data_now_
mov rcx, rbx
call qword [sym.imp.USER32.dll_MessageBoxW]
cmp eax, 6
jne 0x140093882
lea r8, str.Bootlog.pml
mov edx, 0x104
lea rcx, [rbp + 0x10]
call fcn.1400ce79c
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rsp + 0x40], xmm0
movups xmmword [rsp + 0x50], xmm0
movups xmmword [rsp + 0x60], xmm0
movups xmmword [rsp + 0x70], xmm0
movups xmmword [rbp - 0x80], xmm0
movups xmmword [rbp - 0x70], xmm0
movups xmmword [rbp - 0x60], xmm0
movups xmmword [rbp - 0x50], xmm0
movups xmmword [rbp - 0x40], xmm0
mov qword [rbp - 0x30], rax
mov dword [rsp + 0x40], 0x98
mov qword [rsp + 0x48], rbx
lea rax, [rbp + 0x10]
mov qword [rsp + 0x70], rax
mov dword [rsp + 0x78], 0x104
lea rax, [0x1400f7630]
mov qword [rsp + 0x58], rax
mov dword [rbp - 0x60], 0x20008
lea rcx, [rsp + 0x40]
call qword [sym.imp.COMDLG32.dll_GetSaveFileNameW]
test eax, eax
jne 0x140093822
jmp 0x140093882
mov r8, rdi
mov edx, 0x104
lea rcx, [rbp + 0x10]
call fcn.1400ce79c
lea r8, [0x1400f74f8]
mov edx, 0x104
lea rcx, [rbp + 0x10]
call fcn.140071bc0
lea rax, [0x140143310]
mov qword [rsp + 0x20], rax
lea r9, [0x140143100]
xor r8d, r8d
lea rdx, [rbp + 0x10]
lea rcx, [0x1401424a0]
call fcn.1400303b0
test al, al
jne 0x140093903
mov r9d, reloc.WS2_32.dll_recv
lea r8, [0x1400f7478]
lea rdx, str.Unable_to_create_the_requested_PML_file
mov rcx, rbx
call qword [sym.imp.USER32.dll_MessageBoxW]
xor dil, dil
mov rbx, qword [rsp + 0x30]
test rbx, rbx
je 0x1400938db
mov eax, 0xffffffff
lock xadd dword [rbx + 0x10], eax
cmp eax, 1
jne 0x1400938db
test rbx, rbx
je 0x1400938db
mov rcx, qword [rbx]
test rcx, rcx
je 0x1400938b8
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov qword [rbx], 0
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x1400938ce
call fcn.1400b56bc
mov qword [rbx + 8], 0
mov edx, reloc.OLEAUT32.dll_SafeArrayGetElement
mov rcx, rbx
call fcn.1400b56bc
movzx eax, dil
mov rcx, qword [rbp + 0x220]
xor rcx, rsp
call fcn.1400b5660
lea r11, [rsp + 0x330]
mov rbx, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
mov rax, qword [rsp + 0x30]
test rax, rax
je 0x140093912
mov rdx, qword [rax]
jmp 0x140093914
xor edx, edx
mov rcx, rbx
call fcn.140078330
movzx edi, al
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x14009392c
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test dil, dil
jne 0x140093950
mov r9d, reloc.WS2_32.dll_recv
lea r8, [0x1400f7478]
lea rdx, str.An_error_occurred_processing_the_boot_time_data
jmp 0x140093879
mov dil, 1
jmp 0x140093885