Function at 0x140077ca0
Capabilities:
Check if file exists
Delete file

Disassembly:
sub rsp, 0x158
mov qword [rsp + 0xd8], 0xfffffffffffffffe
mov rax, qword [0x1402126b0]
xor rax, rsp
mov qword [rsp + 0x148], rax
call fcn.14001de90
mov qword [rsp + 0x88], rax
cmp qword [rsp + 0x88], 0xffffffffffffffff
jne 0x140077ce2
jmp 0x1400780ba
mov edx, 8
lea rcx, [rsp + 0x130]
call fcn.14000c8b0
lea rcx, [rsp + 0x100]
call fcn.14001a240
mov qword [rsp + 0x90], rax
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0x98], rax
mov rcx, qword [rsp + 0x98]
call fcn.1400101f0
mov rdx, rax
lea rcx, [rsp + 0x130]
call fcn.14000fff0
nop
lea rcx, [rsp + 0x100]
call fcn.140010220
mov edx, 8
lea rcx, [rsp + 0x128]
call fcn.14000c8b0
lea rdx, str.WindowsWebPkg.7z
lea rcx, [rsp + 0x20]
call fcn.140022af0
nop
lea r8, [rsp + 0x20]
lea rdx, [rsp + 0x130]
lea rcx, [rsp + 0x128]
call fcn.140022670
nop
lea rcx, [rsp + 0x20]
call fcn.14000ffc0
mov edx, 8
lea rcx, [rsp + 0x138]
call fcn.14000c8b0
lea rdx, str.WindowsWeb
lea rcx, [rsp + 0x28]
call fcn.140022af0
nop
lea r8, [rsp + 0x28]
lea rdx, [rsp + 0x130]
lea rcx, [rsp + 0x138]
call fcn.140022670
nop
lea rcx, [rsp + 0x28]
call fcn.14000ffc0
lea rcx, [rsp + 0x128]
call fcn.140010050
mov rcx, rax
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x140077e1e
lea rcx, [rsp + 0x138]
call fcn.14000ffc0
nop
lea rcx, [rsp + 0x128]
call fcn.14000ffc0
nop
lea rcx, [rsp + 0x130]
call fcn.14000ffc0
jmp 0x1400780ba
mov qword [rsp + 0x120], 0
lea rcx, [0x1401d6c28]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
lea rdx, str.Wow64DisableWow64FsRedirection
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x30], rax
lea rcx, [0x1401d6cb8]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
lea rdx, str.Wow64RevertWow64FsRedirection
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x30], 0
je 0x140077e82
lea rcx, [rsp + 0x120]
call qword [rsp + 0x30]
lea rax, [rsp + 0xe0]
mov qword [rsp + 0xa0], rax
lea rdx, str.8iSdM7Iumd1.7evop
lea rcx, [rsp + 0x38]
call fcn.14000fff0
nop
lea rdx, str._t7z
mov rcx, qword [rsp + 0xa0]
call fcn.14000fff0
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x80], rax
mov r9, qword [rsp + 0x80]
lea r8, [rsp + 0x38]
lea rdx, [rsp + 0x138]
lea rcx, [rsp + 0x128]
call fcn.14001d630
nop
lea rcx, [rsp + 0x38]
call fcn.14000ffc0
mov edx, 8
lea rcx, [rsp + 0x140]
call fcn.14000c8b0
lea rdx, str.WindowsSystem32
lea rcx, [rsp + 0x40]
call fcn.140022af0
nop
lea r8, [rsp + 0x40]
lea rdx, [rsp + 0x130]
lea rcx, [rsp + 0x140]
call fcn.140022670
nop
lea rcx, [rsp + 0x40]
call fcn.14000ffc0
lea rax, [rsp + 0xe8]
mov qword [rsp + 0x78], rax
lea rax, [rsp + 0xf0]
mov qword [rsp + 0x68], rax
lea rdx, str.Pkg
lea rcx, [rsp + 0x48]
call fcn.140022af0
nop
lea rdx, [rsp + 0x140]
mov rcx, qword [rsp + 0x78]
call fcn.140010d70
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0xb0], rax
lea r8, [rsp + 0x48]
lea rdx, [rsp + 0x138]
mov rcx, qword [rsp + 0x68]
call fcn.140022670
mov qword [rsp + 0xa8], rax
mov rax, qword [rsp + 0xa8]
mov qword [rsp + 0xb8], rax
mov rdx, qword [rsp + 0xb0]
mov rcx, qword [rsp + 0xb8]
call fcn.14001a340
nop
lea rcx, [rsp + 0x48]
call fcn.14000ffc0
cmp qword [rsp + 0x50], 0
je 0x140077ff3
mov rcx, qword [rsp + 0x120]
call qword [rsp + 0x50]
lea rcx, [rsp + 0x128]
call fcn.140010050
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
lea rax, [rsp + 0xf8]
mov qword [rsp + 0xc0], rax
lea rdx, [0x1401d6cc8]
lea rcx, [rsp + 0x58]
call fcn.140022af0
nop
lea r8, [rsp + 0x58]
lea rdx, [rsp + 0x138]
mov rcx, qword [rsp + 0xc0]
call fcn.140022670
mov qword [rsp + 0xc8], rax
mov rax, qword [rsp + 0xc8]
mov qword [rsp + 0xd0], rax
mov dl, 1
mov rcx, qword [rsp + 0xd0]
call fcn.140036a00
nop
lea rcx, [rsp + 0x58]
call fcn.14000ffc0
mov ecx, 0x7d0
call qword [sym.imp.KERNEL32.dll_Sleep]
nop
lea rcx, [rsp + 0x140]
call fcn.14000ffc0
nop
lea rcx, [rsp + 0x138]
call fcn.14000ffc0
nop
lea rcx, [rsp + 0x128]
call fcn.14000ffc0
nop
lea rcx, [rsp + 0x130]
call fcn.14000ffc0
mov rcx, qword [rsp + 0x148]
xor rcx, rsp
call fcn.140138320
add rsp, 0x158
ret