Function at 0x14001b35c
Capabilities:
Delete file
Get common file path

Disassembly:
mov rax, rsp
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x448]
sub rsp, 0x520
mov qword [rsp + 0x48], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x140032370]
xor rax, rsp
mov qword [rbp + 0x410], rax
mov rdi, rcx
xor r14d, r14d
mov dword [rsp + 0x38], r14d
mov byte [rsp + 0x34], r14b
movdqa xmm0, xmmword [0x140028850]
movdqu xmmword [rsp + 0x60], xmm0
mov word [rsp + 0x50], r14w
mov dword [rsp + 0x30], r14d
call fcn.140008e78
mov rbx, rax
movabs r13, 0x800000000001
lea rcx, str.2019.8D
lea r15d, [r14 + 8]
lea rsi, [0x140021d4c]
lea r12, str.SedimentPackSelfUpdater
cmp dword [rax], 1
jbe 0x14001b4a4
test qword [rax + 0x10], r13
je 0x14001b4a4
mov rax, qword [rax + 0x18]
and rax, r13
cmp rax, qword [rbx + 0x18]
jne 0x14001b4a4
mov qword [rbp - 0x70], rcx
mov qword [rbp - 0x68], r15
call fcn.1400084d0
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x40]
mov qword [rbp - 0x60], rax
mov qword [rbp - 0x58], r15
call fcn.1400087e8
mov rdx, rsi
mov ecx, r14d
test rax, rax
je 0x14001b453
mov rdx, rax
or rcx, 0xffffffffffffffff
inc rcx
cmp byte [rax + rcx], r14b
jne 0x14001b44a
mov qword [rbp - 0x50], rdx
lea eax, [rcx + 1]
mov dword [rbp - 0x48], eax
mov dword [rbp - 0x44], r14d
mov qword [rbp - 0x40], r12
mov qword [rbp - 0x38], 0x18
mov dword [rsp + 0x3c], r14d
lea rax, [rsp + 0x3c]
mov qword [rbp - 0x30], rax
mov qword [rbp - 0x28], 4
lea rax, [rsp + 0x70]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 7
lea rdx, [0x14002a091]
mov rcx, rbx
call fcn.140001078
mov ebx, 0x208
mov r8d, ebx
xor edx, edx
lea rcx, [rbp - 0x10]
call sub.api_ms_win_crt_string_l1_1_0.dll_memset
mov r8d, ebx
xor edx, edx
lea rcx, [rbp + 0x200]
call sub.api_ms_win_crt_string_l1_1_0.dll_memset
lea rdx, [rbp - 0x10]
mov ebx, 0x104
mov ecx, ebx
call qword [sym.imp.api_ms_win_core_file_l1_2_0.dll_GetTempPathW]
lea r12, str.onecoreenduserupgradeenablers_sedimentpackupdater_sedimentpackupdater.cpp
cmp eax, ebx
jb 0x14001b4f8
lea edx, [rbx - 0x47]
mov r8, r12
mov rcx, qword [rbp + 0x448]
call fcn.140004134
jmp 0x14001b543
lea r9, [rbp + 0x200]
xor r8d, r8d
lea rdx, str.sedpack_
lea rcx, [rbp - 0x10]
call qword [sym.imp.api_ms_win_core_file_l1_1_0.dll_GetTempFileNameW]
test eax, eax
jne 0x14001b51e
mov edx, 0xbe
jmp 0x14001b4e7
lea rdx, [rbp + 0x200]
lea rcx, [rsp + 0x50]
call fcn.140009638
lea rdx, str..cab
lea rcx, [rsp + 0x50]
call fcn.140009638
mov eax, r14d
mov dword [rsp + 0x38], eax
test eax, eax
jns 0x14001b555
or dword [rsp + 0x30], 1
jmp 0x14001b6a4
lea rdx, [rsp + 0x50]
cmp qword [rsp + 0x68], r15
cmovae rdx, qword [rsp + 0x50]
mov rcx, rdi
call fcn.14001b7b4
mov dword [rsp + 0x38], eax
test eax, eax
jns 0x14001b57f
or dword [rsp + 0x30], 2
jmp 0x14001b6a4
lea rdx, [rsp + 0x50]
cmp qword [rsp + 0x68], r15
cmovae rdx, qword [rsp + 0x50]
lea r8, [rsp + 0x34]
mov rcx, rdi
call fcn.14001ba14
mov dword [rsp + 0x38], eax
test eax, eax
jns 0x14001b5ae
or dword [rsp + 0x30], 4
jmp 0x14001b6a4
cmp byte [rsp + 0x34], r14b
jne 0x14001b5c7
mov dword [rsp + 0x38], 0x80070143
or dword [rsp + 0x30], r15d
jmp 0x14001b6a4
lea rcx, [rsp + 0x50]
cmp qword [rsp + 0x68], r15
cmovae rcx, qword [rsp + 0x50]
xor edx, edx
call fcn.140014300
mov ebx, eax
test eax, eax
jns 0x14001b5fd
mov rcx, qword [rbp + 0x448]
mov r9d, eax
mov r8, r12
mov edx, 0x9f
call fcn.140004104
jmp 0x14001b600
mov ebx, r14d
mov dword [rsp + 0x38], ebx
test ebx, ebx
jns 0x14001b612
or dword [rsp + 0x30], 0x10
jmp 0x14001b6a4
lea rcx, [rsp + 0x50]
cmp qword [rsp + 0x68], r15
cmovae rcx, qword [rsp + 0x50]
mov r9, qword [rdi + 8]
lea r8, [0x14001bb30]
xor edx, edx
call qword [sym.imp.ext_ms_win_setupapi_classinstallers_l1_1_2.dll_SetupIterateCabinetW]
test eax, eax
jne 0x14001b64f
mov rcx, qword [rbp + 0x448]
mov r8, r12
mov edx, 0xa8
call fcn.140004134
jmp 0x14001b652
mov eax, r14d
mov dword [rsp + 0x38], eax
test eax, eax
jns 0x14001b65f
or dword [rsp + 0x30], 0x20
lea rcx, [rsp + 0x50]
cmp qword [rsp + 0x68], r15
cmovae rcx, qword [rsp + 0x50]
call qword [sym.imp.api_ms_win_core_file_l1_1_0.dll_DeleteFileW]
test eax, eax
jne 0x14001b68f
mov rcx, qword [rbp + 0x448]
mov r8, r12
mov edx, 0xae
call fcn.140004134
jmp 0x14001b692
mov eax, r14d
mov dword [rsp + 0x38], eax
test eax, eax
jns 0x14001b6a4
or dword [rsp + 0x30], 0x40
mov dword [rsp + 0x38], r14d
call fcn.140008e78
mov rbx, rax
cmp dword [rax], 1
jbe 0x14001b774
test qword [rax + 0x10], r13
je 0x14001b774
mov rcx, qword [rax + 0x18]
and rcx, r13
cmp rcx, qword [rax + 0x18]
jne 0x14001b774
lea rax, str.2019.8D
mov qword [rbp - 0x70], rax
mov qword [rbp - 0x68], r15
call fcn.1400084d0
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x40]
mov qword [rbp - 0x60], rax
mov qword [rbp - 0x58], r15
call fcn.1400087e8
mov rcx, r14
test rax, rax
je 0x14001b713
mov rsi, rax
or rcx, 0xffffffffffffffff
inc rcx
cmp byte [rax + rcx], r14b
jne 0x14001b70a
mov qword [rbp - 0x50], rsi
lea eax, [rcx + 1]
mov dword [rbp - 0x48], eax
mov dword [rbp - 0x44], r14d
lea rax, str.SedimentPackSelfUpdater
mov qword [rbp - 0x40], rax
mov qword [rbp - 0x38], 0x18
lea rax, [rsp + 0x38]
mov qword [rbp - 0x30], rax
mov qword [rbp - 0x28], 4
lea rax, [rsp + 0x30]
mov qword [rbp - 0x20], rax
mov qword [rbp - 0x18], 4
lea rax, [rsp + 0x70]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], r15d
lea rdx, [0x14002a0e4]
mov rcx, rbx
call fcn.140001078
mov ebx, dword [rsp + 0x38]
lea rcx, [rsp + 0x50]
call fcn.14000b958
mov eax, ebx
mov rcx, qword [rbp + 0x410]
xor rcx, rsp
call fcn.14001c430
lea r11, [rsp + 0x520]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret