Function at 0x14001b21c
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 [0x140033670]
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 [0x140028a50]
movdqu xmmword [rsp + 0x60], xmm0
mov word [rsp + 0x50], r14w
mov dword [rsp + 0x30], r14d
call fcn.14000864c
mov rbx, rax
movabs r13, 0x800000000001
lea rcx, str.2019.8D
lea r15d, [r14 + 8]
lea rsi, [0x140021ebc]
lea r12, str.SedimentPackSelfUpdater
cmp dword [rax], 1
jbe 0x14001b364
test qword [rax + 0x10], r13
je 0x14001b364
mov rax, qword [rax + 0x18]
and rax, r13
cmp rax, qword [rbx + 0x18]
jne 0x14001b364
mov qword [rbp - 0x70], rcx
mov qword [rbp - 0x68], r15
call fcn.140007da0
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x40]
mov qword [rbp - 0x60], rax
mov qword [rbp - 0x58], r15
call fcn.140007fb8
mov rdx, rsi
mov ecx, r14d
test rax, rax
je 0x14001b313
mov rdx, rax
or rcx, 0xffffffffffffffff
inc rcx
cmp byte [rax + rcx], r14b
jne 0x14001b30a
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, [0x14002aa6c]
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 0x14001b3b8
lea edx, [rbx - 0x47]
mov r8, r12
mov rcx, qword [rbp + 0x448]
call fcn.1400047b4
jmp 0x14001b403
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 0x14001b3de
mov edx, 0xbe
jmp 0x14001b3a7
lea rdx, [rbp + 0x200]
lea rcx, [rsp + 0x50]
call fcn.140008c6c
lea rdx, str..cab
lea rcx, [rsp + 0x50]
call fcn.140008c6c
mov eax, r14d
mov dword [rsp + 0x38], eax
test eax, eax
jns 0x14001b415
or dword [rsp + 0x30], 1
jmp 0x14001b564
lea rdx, [rsp + 0x50]
cmp qword [rsp + 0x68], r15
cmovae rdx, qword [rsp + 0x50]
mov rcx, rdi
call fcn.14001b674
mov dword [rsp + 0x38], eax
test eax, eax
jns 0x14001b43f
or dword [rsp + 0x30], 2
jmp 0x14001b564
lea rdx, [rsp + 0x50]
cmp qword [rsp + 0x68], r15
cmovae rdx, qword [rsp + 0x50]
lea r8, [rsp + 0x34]
mov rcx, rdi
call fcn.14001b8d4
mov dword [rsp + 0x38], eax
test eax, eax
jns 0x14001b46e
or dword [rsp + 0x30], 4
jmp 0x14001b564
cmp byte [rsp + 0x34], r14b
jne 0x14001b487
mov dword [rsp + 0x38], 0x80070143
or dword [rsp + 0x30], r15d
jmp 0x14001b564
lea rcx, [rsp + 0x50]
cmp qword [rsp + 0x68], r15
cmovae rcx, qword [rsp + 0x50]
xor edx, edx
call fcn.140013e08
mov ebx, eax
test eax, eax
jns 0x14001b4bd
mov rcx, qword [rbp + 0x448]
mov r9d, eax
mov r8, r12
mov edx, 0x9f
call fcn.140004784
jmp 0x14001b4c0
mov ebx, r14d
mov dword [rsp + 0x38], ebx
test ebx, ebx
jns 0x14001b4d2
or dword [rsp + 0x30], 0x10
jmp 0x14001b564
lea rcx, [rsp + 0x50]
cmp qword [rsp + 0x68], r15
cmovae rcx, qword [rsp + 0x50]
mov r9, qword [rdi + 8]
lea r8, [0x14001b9f0]
xor edx, edx
call qword [sym.imp.ext_ms_win_setupapi_classinstallers_l1_1_2.dll_SetupIterateCabinetW]
test eax, eax
jne 0x14001b50f
mov rcx, qword [rbp + 0x448]
mov r8, r12
mov edx, 0xa8
call fcn.1400047b4
jmp 0x14001b512
mov eax, r14d
mov dword [rsp + 0x38], eax
test eax, eax
jns 0x14001b51f
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 0x14001b54f
mov rcx, qword [rbp + 0x448]
mov r8, r12
mov edx, 0xae
call fcn.1400047b4
jmp 0x14001b552
mov eax, r14d
mov dword [rsp + 0x38], eax
test eax, eax
jns 0x14001b564
or dword [rsp + 0x30], 0x40
mov dword [rsp + 0x38], r14d
call fcn.14000864c
mov rbx, rax
cmp dword [rax], 1
jbe 0x14001b634
test qword [rax + 0x10], r13
je 0x14001b634
mov rcx, qword [rax + 0x18]
and rcx, r13
cmp rcx, qword [rax + 0x18]
jne 0x14001b634
lea rax, str.2019.8D
mov qword [rbp - 0x70], rax
mov qword [rbp - 0x68], r15
call fcn.140007da0
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x40]
mov qword [rbp - 0x60], rax
mov qword [rbp - 0x58], r15
call fcn.140007fb8
mov rcx, r14
test rax, rax
je 0x14001b5d3
mov rsi, rax
or rcx, 0xffffffffffffffff
inc rcx
cmp byte [rax + rcx], r14b
jne 0x14001b5ca
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, [0x14002aabf]
mov rcx, rbx
call fcn.140001078
mov ebx, dword [rsp + 0x38]
lea rcx, [rsp + 0x50]
call fcn.140009ee8
mov eax, ebx
mov rcx, qword [rbp + 0x410]
xor rcx, rsp
call fcn.14001c1f0
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