Function at 0x1400017e0
Capabilities:
Delete file

Disassembly:
mov rax, rsp
push rbp
push rdi
push r14
lea rbp, [rax - 0x5f]
sub rsp, 0xa0
mov qword [rbp - 0x29], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov rax, qword [0x14025bd70]
xor rax, rsp
mov qword [rbp + 0x37], rax
mov rbx, rcx
cmp byte [rcx + 0x2a0], 0
je 0x140001af5
call fcn.140009adc
mov rcx, rax
xor edi, edi
mov edx, edi
test rax, rax
setne dl
test edx, edx
jne 0x140001841
mov ecx, 0x80004005
call fcn.140004af0
int3
mov rax, qword [rax]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
add rax, 0x18
mov qword [rbp - 0x11], rax
lea r14, vtable.CUtlCommonPath.0
mov qword [rbp - 0x19], r14
mov dword [rbp - 9], edi
mov rcx, qword [rbx + 0x290]
sub rcx, 0x18
call fcn.140004a20
lea rdx, [rax + 0x18]
mov qword [rbp - 0x31], rdx
mov dword [rbp - 9], edi
or rsi, 0xffffffffffffffff
test rdx, rdx
jne 0x140001885
mov eax, edi
jmp 0x14000189a
mov rax, rsi
nop dword [rax + rax]
inc rax
cmp word [rdx + rax*2], 0
jne 0x140001890
mov r8d, eax
lea rcx, [rbp - 0x11]
call fcn.140004870
lea rdx, str.Lang
lea rcx, [rbp - 0x19]
call fcn.140005880
lea rdx, [rbp - 0x39]
lea rcx, [rbp - 0x19]
call fcn.1400057c0
nop
mov rdx, qword [rbp - 0x39]
lea rcx, [rbp - 0x19]
call fcn.140006060
nop
mov rdx, qword [rbp - 0x39]
add rdx, 0xffffffffffffffe8
lock add dword [rdx + 0x10], 0xffffffff
jg 0x1400018ea
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov dword [rbp - 9], edi
mov rbx, qword [rbp - 0x31]
test rbx, rbx
jne 0x1400018fa
mov eax, edi
jmp 0x14000190a
mov rax, rsi
nop dword [rax]
inc rax
cmp word [rbx + rax*2], 0
jne 0x140001900
mov r8d, eax
mov rdx, rbx
lea rcx, [rbp - 0x11]
call fcn.140004870
lea rdx, [0x1402167a8]
lea rcx, [rbp - 0x19]
call fcn.140005880
mov rcx, qword [rbp - 0x11]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
mov dword [rbp - 9], edi
test rbx, rbx
jne 0x14000193f
mov eax, edi
jmp 0x14000194c
mov rax, rsi
inc rax
cmp word [rbx + rax*2], 0
jne 0x140001942
mov r8d, eax
mov rdx, rbx
lea rcx, [rbp - 0x11]
call fcn.140004870
lea rdx, str.SetupARP.exe
lea rcx, [rbp - 0x19]
call fcn.140005880
mov rcx, qword [rbp - 0x11]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
mov dword [rbp - 9], edi
test rbx, rbx
jne 0x140001981
mov eax, edi
jmp 0x14000198e
mov rax, rsi
inc rax
cmp word [rbx + rax*2], 0
jne 0x140001984
mov r8d, eax
mov rdx, rbx
lea rcx, [rbp - 0x11]
call fcn.140004870
lea rdx, str.Setup.exe
lea rcx, [rbp - 0x19]
call fcn.140005880
mov rcx, qword [rbp - 0x11]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
mov dword [rbp - 9], edi
test rbx, rbx
jne 0x1400019c3
mov eax, edi
jmp 0x1400019d0
mov rax, rsi
inc rax
cmp word [rbx + rax*2], 0
jne 0x1400019c6
mov r8d, eax
mov rdx, rbx
lea rcx, [rbp - 0x11]
call fcn.140004870
lea rdx, str.SetupSN.dll
lea rcx, [rbp - 0x19]
call fcn.140005880
mov rcx, qword [rbp - 0x11]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
mov dword [rbp - 9], edi
test rbx, rbx
jne 0x140001a05
mov eax, edi
jmp 0x140001a1a
mov rax, rsi
nop dword [rax + rax]
inc rax
cmp word [rbx + rax*2], 0
jne 0x140001a10
mov r8d, eax
mov rdx, rbx
lea rcx, [rbp - 0x11]
call fcn.140004870
lea rdx, str.SerChck.dll
lea rcx, [rbp - 0x19]
call fcn.140005880
mov rcx, qword [rbp - 0x11]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
mov dword [rbp - 9], edi
test rbx, rbx
jne 0x140001a4f
mov eax, edi
jmp 0x140001a5c
mov rax, rsi
inc rax
cmp word [rbx + rax*2], 0
jne 0x140001a52
mov r8d, eax
mov rdx, rbx
lea rcx, [rbp - 0x11]
call fcn.140004870
lea rdx, str.Setup.xml
lea rcx, [rbp - 0x19]
call fcn.140005880
mov rcx, qword [rbp - 0x11]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
mov dword [rbp - 9], edi
test rbx, rbx
je 0x140001a9a
mov rdi, rsi
inc rdi
cmp word [rbx + rdi*2], 0
jne 0x140001a90
mov r8d, edi
mov rdx, rbx
lea rcx, [rbp - 0x11]
call fcn.140004870
lea rdx, str.Script.dll
lea rcx, [rbp - 0x19]
call fcn.140005880
mov rcx, qword [rbp - 0x11]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
nop
lea rdx, [rbx - 0x18]
lock add dword [rdx + 0x10], 0xffffffff
jg 0x140001ad9
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov qword [rbp - 0x19], r14
mov rdx, qword [rbp - 0x11]
add rdx, 0xffffffffffffffe8
lock add dword [rdx + 0x10], 0xffffffff
jg 0x140001af5
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rcx, qword [rbp + 0x37]
xor rcx, rsp
call fcn.14018d4a0
lea r11, [rsp + 0xa0]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret