Function at 0x1400457b0
Capabilities:
Delete file

Disassembly:
mov r11, rsp
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x90
mov qword [rsp + 0x40], 0xfffffffffffffffe
mov qword [r11 + 0x20], rbx
mov rax, qword [0x1400d2478]
xor rax, rsp
mov qword [rsp + 0x80], rax
mov rsi, r8
mov rbp, rdx
mov r12, rcx
mov qword [r11 - 0x58], rdx
mov qword [r11 - 0x50], r8
mov qword [r11 - 0x60], 7
xor r14d, r14d
mov qword [r11 - 0x68], r14
mov word [r11 - 0x78], r14w
lea r8d, [r14 + 0x44]
lea rdx, str.PSWindowsInstallerUtilities::PSWIUTIL_DeleteSuspendedMsiExcutionMark
lea rcx, [r11 - 0x80]
call fcn.140001870
nop
mov dil, 1
lea r9, [rsp + 0x50]
cmp qword [rsp + 0x68], 8
cmovae r9, qword [rsp + 0x50]
lea rax, str.Function_start
mov qword [rsp + 0x20], rax
lea edx, [r14 + 0x32]
lea r8d, [r14 + 1]
mov rcx, r12
call fcn.1400144a0
cmp qword [rbp + 0x20], 8
jb 0x14004585e
lea rbx, [rbp + 8]
mov rax, qword [rbx]
jmp 0x140045865
lea rbx, [rbp + 8]
mov rax, rbx
lea r9, [rsp + 0x50]
cmp qword [rsp + 0x68], 8
cmovae r9, qword [rsp + 0x50]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], 1
lea r15, str.Parameter___i_:__s
mov qword [rsp + 0x20], r15
mov edx, 0x1e
lea r8d, [rdx - 0x1d]
mov rcx, r12
call fcn.1400144a0
cmp qword [rbp + 0x20], 8
jb 0x1400458ac
mov rcx, qword [rbx]
jmp 0x1400458af
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
movzx r13d, dil
test eax, eax
cmove r13d, r14d
cmp qword [rsi + 0x20], 8
jb 0x1400458cf
lea rdi, [rsi + 8]
mov rax, qword [rdi]
jmp 0x1400458d6
lea rdi, [rsi + 8]
mov rax, rdi
lea r9, [rsp + 0x50]
cmp qword [rsp + 0x68], 8
cmovae r9, qword [rsp + 0x50]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], 2
mov qword [rsp + 0x20], r15
mov edx, 0x1e
lea r8d, [rdx - 0x1d]
mov rcx, r12
call fcn.1400144a0
cmp qword [rsi + 0x20], 8
jb 0x140045916
mov rcx, qword [rdi]
jmp 0x140045919
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
cmove r13d, r14d
lea r9, [rsp + 0x50]
cmp qword [rsp + 0x68], 8
cmovae r9, qword [rsp + 0x50]
lea rax, str.SoftwareMicrosoftWindowsCurrentVersionInstallerInProgress
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], 3
mov qword [rsp + 0x20], r15
mov edx, 0x1e
lea r8d, [rdx - 0x1d]
mov rcx, r12
call fcn.1400144a0
cmp byte [0x1400d5081], 0
jne 0x140045977
call fcn.14001dc80
test al, al
jne 0x140045977
xor r9b, r9b
jmp 0x14004597f
movzx r9d, byte [0x1400d3748]
lea r8, str.SoftwareMicrosoftWindowsCurrentVersionInstallerInProgress
mov rdx, 0xffffffff80000002
mov rcx, r12
call fcn.140034db0
test al, al
cmove r13d, r14d
lea r9, [rsp + 0x50]
cmp qword [rsp + 0x68], 8
cmovae r9, qword [rsp + 0x50]
lea rax, str.SoftwareMicrosoftWindowsCurrentVersionInstallerTempPackages
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], 4
mov qword [rsp + 0x20], r15
mov edx, 0x1e
lea r8d, [rdx - 0x1d]
mov rcx, r12
call fcn.1400144a0
cmp byte [0x1400d5081], 0
jne 0x1400459ed
call fcn.14001dc80
test al, al
jne 0x1400459ed
xor r9b, r9b
jmp 0x1400459f5
movzx r9d, byte [0x1400d3748]
lea r8, str.SoftwareMicrosoftWindowsCurrentVersionInstallerTempPackages
mov rdx, 0xffffffff80000002
mov rcx, r12
call fcn.140034db0
test al, al
cmove r13d, r14d
lea r9, [rsp + 0x50]
cmp qword [rsp + 0x68], 8
cmovae r9, qword [rsp + 0x50]
movzx eax, r13b
mov dword [rsp + 0x28], eax
lea rax, str.Return_code___i_
mov qword [rsp + 0x20], rax
mov edx, 0x28
lea r8d, [rdx - 0x27]
mov rcx, r12
call fcn.1400144a0
lea r9, [rsp + 0x50]
cmp qword [rsp + 0x68], 8
cmovae r9, qword [rsp + 0x50]
lea rax, str.Function_end
mov qword [rsp + 0x20], rax
mov edx, 0x32
lea r8d, [rdx - 0x31]
mov rcx, r12
call fcn.1400144a0
nop
cmp qword [rsp + 0x68], 8
jb 0x140045a88
mov rcx, qword [rsp + 0x50]
call fcn.140065920
mov qword [rsp + 0x68], 7
mov qword [rsp + 0x60], r14
mov word [rsp + 0x50], r14w
cmp qword [rbp + 0x20], 8
jb 0x140045aab
mov rcx, qword [rbx]
call fcn.140065920
mov qword [rbp + 0x20], 7
mov qword [rbp + 0x18], r14
mov word [rbx], r14w
cmp qword [rsi + 0x20], 8
jb 0x140045aca
mov rcx, qword [rdi]
call fcn.140065920
mov qword [rsi + 0x20], 7
mov qword [rsi + 0x18], r14
mov word [rdi], r14w
mov al, r13b
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.140064b70
mov rbx, qword [rsp + 0xe8]
add rsp, 0x90
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret