Function at 0x140129b20
Capabilities:
Check if file exists
Delete file
Get common file path

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x2e0]
sub rsp, 0x3e0
mov rax, qword [0x1402be5c8]
xor rax, rsp
mov qword [rbp + 0x2d0], rax
mov qword [rsp + 0x40], rcx
mov qword [rbp - 0x48], rcx
mov r14, qword [rcx + 0x10]
mov rdi, rcx
cmp qword [rcx + 0x18], 8
jb 0x140129b72
mov rdi, qword [rcx]
movabs r13, 0x7ffffffffffffffe
cmp r14, 8
jae 0x140129b94
movups xmm0, xmmword [rdi]
movups xmmword [rbp - 8], xmm0
mov esi, 7
mov r15, qword [rbp - 8]
jmp 0x140129bc9
mov rsi, r14
or rsi, 7
cmp rsi, r13
cmova rsi, r13
lea rdx, [rsi + 1]
lea rcx, [rbp - 8]
call fcn.140023c30
mov r15, rax
mov qword [rbp - 8], rax
lea r8, [r14*2 + 2]
mov rdx, rdi
mov rcx, rax
call fcn.1401cf850
mov qword [rbp + 0x10], rsi
mov qword [rbp + 8], r14
xor r12d, r12d
mov qword [rbp + 0x58], r12
mov qword [rbp + 0x68], r12
mov qword [rbp + 0x70], 7
mov word [rbp + 0x58], r12w
lea rdx, [rbp + 0xc0]
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
lea r8, [r12 - 1]
test eax, eax
je 0x140129c9c
lea rax, [rbp + 0xc0]
nop
inc r8
cmp word [rax + r8*2], 0
jne 0x140129c10
lea rdx, [rbp + 0xc0]
lea rcx, [rbp + 0x58]
call fcn.140018360
mov rcx, qword [rbp + 0x68]
mov rdx, qword [rbp + 0x70]
mov rax, rdx
sub rax, rcx
cmp rax, 7
jb 0x140129c71
lea rbx, [rcx + 7]
mov qword [rbp + 0x68], rbx
lea rdi, [rbp + 0x58]
cmp rdx, 8
cmovae rdi, qword [rbp + 0x58]
lea rcx, [rdi + rcx*2]
mov r8d, 0xe
lea rdx, str.CNFTemp
call fcn.1401cf850
mov word [rdi + rbx*2], r12w
jmp 0x140129c95
mov qword [rsp + 0x20], 7
lea r9, str.CNFTemp
movzx r8d, byte [rsp + 0x30]
mov edx, 7
lea rcx, [rbp + 0x58]
call fcn.14002dc10
mov r8, 0xffffffffffffffff
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x40], xmm1
mov qword [rbp - 0x30], r12
sub r13, r14
cmp r13, 0xd
jb 0x14012a3d9
lea rax, [rbp - 8]
cmp rsi, 8
setae byte [rsp + 0x30]
cmovae rax, r15
mov qword [rsp + 0x38], rax
mov qword [rbp + 0x38], r12
lea r12, [r14 + 0xd]
mov edi, 7
lea rbx, [rbp + 0x38]
lea ecx, [rdi + 3]
cmp r12, rdi
jbe 0x140129d26
mov rdi, r12
or rdi, 7
movabs rax, 0x7ffffffffffffffe
cmp rdi, rax
jbe 0x140129cff
mov rdi, rax
jmp 0x140129d06
cmp rdi, rcx
cmovb rdi, rcx
mov rdx, rdi
add rdx, 1
cmovb rdx, r8
lea rcx, [rbp + 0x38]
call fcn.140023c30
mov rbx, rax
mov qword [rbp + 0x38], rax
mov rax, qword [rsp + 0x38]
mov qword [rbp + 0x48], r12
mov qword [rbp + 0x50], rdi
lea rsi, [r14 + r14]
mov r8, rsi
mov rdx, rax
mov rcx, rbx
call fcn.1401cf850
movups xmm0, xmmword [str._atdcm64a.sys]
movups xmmword [rbx + rsi], xmm0
movsd xmm1, qword [0x14024d578]
movsd qword [rbx + rsi + 0x10], xmm1
movzx eax, word [reloc.msi.dll_MsiRecordIsNull]
mov word [rbx + rsi + 0x18], ax
xor ecx, ecx
mov word [rbx + r12*2], cx
lea rax, [rbp - 8]
cmp byte [rsp + 0x30], cl
cmovne rax, r15
mov qword [rsp + 0x38], rax
mov qword [rbp + 0x18], rcx
lea rbx, [r14 + 0xc]
mov edi, 7
lea r12, [rbp + 0x18]
cmp rbx, rdi
jbe 0x140129de2
mov rdi, rbx
or rdi, 7
movabs rax, 0x7ffffffffffffffe
cmp rdi, rax
jbe 0x140129dae
mov rdi, rax
jmp 0x140129dbb
cmp rdi, 0xa
mov eax, 0xa
cmovb rdi, rax
mov rdx, rdi
add rdx, 1
mov rax, 0xffffffffffffffff
cmovb rdx, rax
lea rcx, [rbp + 0x18]
call fcn.140023c30
mov r12, rax
mov qword [rbp + 0x18], rax
mov rax, qword [rsp + 0x38]
mov qword [rbp + 0x28], rbx
mov qword [rbp + 0x30], rdi
mov r8, rsi
mov rdx, rax
mov rcx, r12
call fcn.1401cf850
movups xmm0, xmmword [str.Add_Rem.txt]
movups xmmword [r12 + rsi], xmm0
movsd xmm1, qword [0x14024d598]
movsd qword [r12 + rsi + 0x10], xmm1
xor eax, eax
mov word [r12 + rbx*2], ax
cmp r13, 0x11
jb 0x14012a3d3
lea r13, [rbp - 8]
cmp byte [rsp + 0x30], al
cmovne r13, r15
mov qword [rbp + 0x98], rax
lea r12, [r14 + 0x11]
mov edi, 7
lea r14, [rbp + 0x98]
cmp r12, rdi
jbe 0x140129e9c
mov rdi, r12
or rdi, 7
movabs rax, 0x7ffffffffffffffe
cmp rdi, rax
jbe 0x140129e67
mov rdi, rax
jmp 0x140129e74
cmp rdi, 0xa
mov eax, 0xa
cmovb rdi, rax
mov rdx, rdi
add rdx, 1
mov rax, 0xffffffffffffffff
cmovb rdx, rax
lea rcx, [rbp + 0x98]
call fcn.140023c30
mov r14, rax
mov qword [rbp + 0x98], rax
mov qword [rbp + 0xa8], r12
mov qword [rbp + 0xb0], rdi
mov r8, rsi
mov rdx, r13
mov rcx, r14
call fcn.1401cf850
movups xmm0, xmmword [str._atikmdag_dce.log]
movups xmmword [r14 + rsi], xmm0
movups xmm1, xmmword [0x14024d5b8]
movups xmmword [r14 + rsi + 0x10], xmm1
movzx eax, word [0x14024d5c8]
mov word [r14 + rsi + 0x20], ax
xor r13d, r13d
mov word [r14 + r12*2], r13w
lea r12, [rbp - 8]
cmp byte [rsp + 0x30], r13b
cmovne r12, r15
mov qword [rbp + 0x78], r13
mov edi, 7
lea r14, [rbp + 0x78]
movabs r15, 0x7ffffffffffffffe
cmp rbx, rdi
jbe 0x140129f4f
mov rdi, rbx
or rdi, 7
cmp rdi, r15
jbe 0x140129f20
mov rdi, r15
jmp 0x140129f2d
cmp rdi, 0xa
mov eax, 0xa
cmovb rdi, rax
mov rdx, rdi
add rdx, 1
mov rax, 0xffffffffffffffff
cmovb rdx, rax
lea rcx, [rbp + 0x78]
call fcn.140023c30
mov r14, rax
mov qword [rbp + 0x78], rax
mov qword [rbp + 0x88], rbx
mov qword [rbp + 0x90], rdi
mov r8, rsi
mov rdx, r12
mov rcx, r14
call fcn.1401cf850
movups xmm0, xmmword [str.license.rtf]
movups xmmword [r14 + rsi], xmm0
movsd xmm1, qword [0x14024d5e0]
movsd qword [r14 + rsi + 0x10], xmm1
mov word [r14 + rbx*2], r13w
mov rdi, qword [rbp - 0x38]
cmp rdi, qword [rbp - 0x30]
je 0x14012a00c
mov qword [rdi], r13
mov qword [rdi + 0x10], r13
mov qword [rdi + 0x18], r13
lea r14, [rbp + 0x38]
cmp qword [rbp + 0x50], 8
cmovae r14, qword [rbp + 0x38]
mov rsi, qword [rbp + 0x48]
cmp rsi, 8
jae 0x140129fc6
movups xmm0, xmmword [r14]
movups xmmword [rdi], xmm0
mov ebx, 7
jmp 0x140129ff6
mov rbx, rsi
or rbx, 7
cmp rbx, r15
cmova rbx, r15
lea rdx, [rbx + 1]
mov rcx, rdi
call fcn.140023c30
mov qword [rdi], rax
lea r8, [rsi*2 + 2]
mov rdx, r14
mov rcx, rax
call fcn.1401cf850
mov qword [rdi + 0x10], rsi
mov qword [rdi + 0x18], rbx
mov rdi, qword [rbp - 0x38]
add rdi, 0x20
mov qword [rbp - 0x38], rdi
jmp 0x14012a020
lea r8, [rbp + 0x38]
mov rdx, rdi
lea rcx, [rbp - 0x40]
call fcn.140039d40
mov rdi, qword [rbp - 0x38]
cmp rdi, qword [rbp - 0x30]
je 0x14012a09d
mov qword [rdi], r13
mov qword [rdi + 0x10], r13
mov qword [rdi + 0x18], r13
lea r14, [rbp + 0x18]
cmp qword [rbp + 0x30], 8
cmovae r14, qword [rbp + 0x18]
mov rsi, qword [rbp + 0x28]
cmp rsi, 8
jae 0x14012a057
movups xmm0, xmmword [r14]
movups xmmword [rdi], xmm0
mov ebx, 7
jmp 0x14012a087
mov rbx, rsi
or rbx, 7
cmp rbx, r15
cmova rbx, r15
lea rdx, [rbx + 1]
mov rcx, rdi
call fcn.140023c30
mov qword [rdi], rax
lea r8, [rsi*2 + 2]
mov rdx, r14
mov rcx, rax
call fcn.1401cf850
mov qword [rdi + 0x10], rsi
mov qword [rdi + 0x18], rbx
mov rax, qword [rbp - 0x38]
add rax, 0x20
mov qword [rbp - 0x38], rax
jmp 0x14012a0b1
lea r8, [rbp + 0x18]
mov rdx, rdi
lea rcx, [rbp - 0x40]
call fcn.140039d40
mov rax, qword [rbp - 0x38]
cmp rax, qword [rbp - 0x30]
je 0x14012a0d4
lea rdx, [rbp + 0x98]
mov rcx, rax
call fcn.140018e70
mov rax, qword [rbp - 0x38]
add rax, 0x20
mov qword [rbp - 0x38], rax
jmp 0x14012a0eb
lea r8, [rbp + 0x98]
mov rdx, rax
lea rcx, [rbp - 0x40]
call fcn.140039d40
mov rax, qword [rbp - 0x38]
cmp rax, qword [rbp - 0x30]
je 0x14012a10b
lea rdx, [rbp + 0x78]
mov rcx, rax
call fcn.140018e70
mov r15, qword [rbp - 0x38]
add r15, 0x20
mov qword [rbp - 0x38], r15
jmp 0x14012a11f
lea r8, [rbp + 0x78]
mov rdx, rax
lea rcx, [rbp - 0x40]
call fcn.140039d40
mov r15, qword [rbp - 0x38]
mov rbx, qword [rbp - 0x40]
cmp rbx, r15
je 0x14012a350
nop dword [rax]
mov rcx, rbx
cmp qword [rbx + 0x18], 8
jb 0x14012a13d
mov rcx, qword [rbx]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x14012a343
mov rcx, rbx
cmp qword [rbx + 0x18], 8
jb 0x14012a158
mov rcx, qword [rbx]
call qword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
jne 0x14012a17a
mov rcx, rbx
cmp qword [rbx + 0x18], 8
jb 0x14012a16f
mov rcx, qword [rbx]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
jmp 0x14012a343
mov qword [rbp - 0x28], r13
mov qword [rbp - 0x18], r13
mov qword [rbp - 0x10], r13
mov rsi, qword [rbx + 0x10]
mov r14, rbx
cmp qword [rbx + 0x18], 8
jb 0x14012a197
mov r14, qword [rbx]
cmp rsi, 8
jae 0x14012a1af
movups xmm0, xmmword [r14]
movups xmmword [rbp - 0x28], xmm0
mov qword [rbp - 0x10], 7
jmp 0x14012a1ef
mov rdi, rsi
or rdi, 7
movabs rax, 0x7ffffffffffffffe
cmp rdi, rax
cmova rdi, rax
lea rdx, [rdi + 1]
lea rcx, [rbp - 0x28]
call fcn.140023c30
mov qword [rbp - 0x28], rax
lea r8, [rsi*2 + 2]
mov rdx, r14
mov rcx, rax
call fcn.1401cf850
mov qword [rbp - 0x10], rdi
mov qword [rbp - 0x18], rsi
lea rcx, [rbp - 0x28]
call fcn.1400a3050
movzx esi, al
mov qword [rbp - 0x28], r13
mov qword [rbp - 0x18], r13
mov qword [rbp - 0x10], 7
mov word [rbp - 0x28], r13w
mov edx, 0x400
lea rcx, [rbp - 0x28]
call fcn.140023c30
mov r8, rax
mov qword [rbp - 0x18], 0x3ff
mov qword [rbp - 0x10], 0x3ff
movzx eax, r13w
mov rdi, r8
mov ecx, 0x3ff
rep stosw word [rdi], ax
mov word [r8 + 0x7fe], r13w
mov qword [rbp - 0x28], r8
mov rdi, rbx
cmp qword [rbx + 0x18], 8
jb 0x14012a25d
mov rdi, qword [rbx]
lea rcx, [rbp - 0x28]
mov rdx, qword [rbp - 0x10]
cmp rdx, 8
cmovae rcx, r8
mov dword [rsp + 0x28], esi
mov qword [rsp + 0x20], rdi
lea r9, str.AMD_Directory_file__s_removed_status__d:
mov r8, 0xffffffffffffffff
call fcn.14009d740
lea rdi, [rbp - 0x28]
cmp qword [rbp - 0x10], 8
cmovae rdi, qword [rbp - 0x28]
mov dword [rsp + 0x38], r13d
lea rax, [rsp + 0x38]
mov qword [rsp + 0x60], rax
lea rax, [rsp + 0x3c]
mov qword [rsp + 0x68], rax
lea rax, [rsp + 0x70]
mov qword [rbp - 0x50], rax
mov qword [rsp + 0x70], r13
mov qword [rbp - 0x80], r13
mov qword [rbp - 0x78], 7
mov r8d, 0x12
lea rdx, str.deleteLeftoutFiles
lea rcx, [rsp + 0x70]
call fcn.140018360
nop
mov qword [rbp - 0x70], r13
mov qword [rbp - 0x60], r13
mov qword [rbp - 0x58], 7
mov r8d, MsiRecordSetStreamA
lea rdx, str.c:constructicon_buildsgfx_six23.19installNeomaInstallNeomaIN_Apps_srcCoreInstallManInstallManHelpers.cpp
lea rcx, [rbp - 0x70]
call fcn.140018360
movaps xmm0, xmmword [rsp + 0x60]
movdqa xmmword [rsp + 0x50], xmm0
mov qword [rsp + 0x28], rdi
mov dword [rsp + 0x20], 1
lea r9, [rsp + 0x50]
mov r8d, 0x10d5
lea rdx, [rsp + 0x70]
lea rcx, [rbp - 0x70]
call fcn.1400b0fe0
nop
lea rcx, [rbp - 0x28]
call fcn.1400272a0
add rbx, 0x20
cmp rbx, r15
jne 0x14012a130
lea rcx, [rbp + 0x78]
call fcn.1400272a0
nop
lea rcx, [rbp + 0x98]
call fcn.1400272a0
nop
lea rcx, [rbp + 0x18]
call fcn.1400272a0
nop
lea rcx, [rbp + 0x38]
call fcn.1400272a0
nop
lea rcx, [rbp - 0x40]
call fcn.140022360
nop
lea rcx, [rbp + 0x58]
call fcn.1400272a0
nop
lea rcx, [rbp - 8]
call fcn.1400272a0
nop
mov rcx, qword [rsp + 0x40]
call fcn.1400272a0
mov rcx, qword [rbp + 0x2d0]
xor rcx, rsp
call fcn.1401a9440
lea r11, [rsp + 0x3e0]
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
call fcn.1400153e0
nop
call fcn.1400153e0
int3