Function at 0x1401b2eb0
Capabilities:
Delete file

Disassembly:
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x1070]
mov eax, 0x1170
call fcn.140247340
sub rsp, rax
mov qword [rbp - 0x80], 0xfffffffffffffffe
mov qword [rsp + 0x11b0], rbx
mov esi, ecx
xor edx, edx
mov r8d, 0x410
lea rcx, [rbp - 0x70]
call fcn.140249b10
xor edx, edx
mov r8d, 0x410
lea rcx, [rbp + 0x3a0]
call fcn.140249b10
lea rcx, [rbp + 0x3a0]
test esi, esi
je 0x1401b2f1e
lea rdx, [0x14034e928]
call qword [sym.imp.KERNEL32.dll_lstrcpyA]
jmp 0x1401b2f3b
mov rdx, qword [0x1403517c8]
add rdx, 0x38
call qword [sym.imp.KERNEL32.dll_lstrcpyA]
lea rcx, [rbp + 0x3a0]
call fcn.1400fca30
call fcn.140192ec0
test eax, eax
je 0x1401b2f50
mov rcx, qword [0x1403517f8]
call fcn.140005fd0
mov r9d, 1
mov r8d, r9d
lea rdx, str.av_8
lea rcx, vtable.CSASApplicationLogManager.0
call fcn.140004a50
lea rdx, [rbp + 0x3a0]
lea rcx, [rbp - 0x70]
call qword [sym.imp.KERNEL32.dll_lstrcpyA]
lea rdx, str.av_engine_defs.dat
lea rcx, [rbp - 0x70]
call qword [sym.imp.SHLWAPI.dll_PathAppendA]
lea r15, vtable.CSABArchiveFile.0
mov qword [rsp + 0x30], r15
xor r14d, r14d
mov qword [rsp + 0x58], r14
mov qword [rsp + 0x60], r14
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x58]
call fcn.14000b0b0
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x68], r14
mov qword [rsp + 0x70], r14
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x68]
call fcn.14000b0b0
mov qword [rsp + 0x68], rax
mov dword [rsp + 0x50], r14d
mov qword [rsp + 0x48], r14
mov qword [rsp + 0x40], r14
mov dword [rsp + 0x38], r14d
xor r8d, r8d
lea rdx, [rbp - 0x70]
lea rcx, [rsp + 0x30]
call fcn.1401ad200
test eax, eax
je 0x1401b30b7
lea rdx, [rbp + 0x3a0]
lea rcx, [rbp - 0x70]
call qword [sym.imp.KERNEL32.dll_lstrcpyA]
lea rdx, [0x1402c710c]
lea rcx, [rbp - 0x70]
call qword [sym.imp.SHLWAPI.dll_PathAppendA]
xor edx, edx
lea rcx, [rbp - 0x70]
call fcn.140198240
mov dword [rsp + 0x28], r14d
mov qword [rsp + 0x20], r14
lea r9d, [r14 - 1]
lea r8, [rbp - 0x70]
xor edx, edx
lea ecx, [rdx + 3]
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov edi, eax
lea edx, [rax - 1]
xor ecx, ecx
call qword [sym.imp.OLEAUT32.dll_SysReAllocStringLen]
mov rbx, rax
test rax, rax
je 0x1401b3089
mov dword [rsp + 0x28], edi
mov qword [rsp + 0x20], rax
lea r9d, [r14 - 1]
lea r8, [rbp - 0x70]
xor edx, edx
lea ecx, [rdx + 3]
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
cmp eax, edi
jne 0x1401b3392
mov qword [rbp + 0x10a8], rbx
test rbx, rbx
je 0x1401b339b
xor r9d, r9d
xor r8d, r8d
mov rdx, rbx
lea rcx, [rsp + 0x30]
call fcn.1401acad0
nop
mov rcx, rbx
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
nop
lea rcx, [rsp + 0x30]
call fcn.14018e8d0
lea rdx, [rbp + 0x3a0]
lea rcx, [rbp - 0x70]
call qword [sym.imp.KERNEL32.dll_lstrcpyA]
lea rdx, str.av_engine_defs.dat
lea rcx, [rbp - 0x70]
call qword [sym.imp.SHLWAPI.dll_PathAppendA]
lea rcx, [rbp - 0x70]
call qword [sym.imp.KERNEL32.dll_DeleteFileA]
mov r9d, 1
mov r8d, r9d
lea rdx, [0x1402c7110]
lea rcx, vtable.CSASApplicationLogManager.0
call fcn.140004a50
lea rdx, [rbp + 0x3a0]
lea rcx, [rbp - 0x70]
call qword [sym.imp.KERNEL32.dll_lstrcpyA]
lea rdx, str.av_engine_files.dat
test esi, esi
je 0x1401b31f1
lea rcx, [rbp + 0x7b0]
call fcn.1400041b0
nop
lea rcx, str.Kernel32.DLL
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rbx, rax
test rax, rax
je 0x1401b319e
lea rdx, str.GetNativeSystemInfo
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x1401b3195
xor ecx, ecx
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x38], rcx
mov qword [rsp + 0x40], rcx
mov qword [rsp + 0x48], rcx
mov qword [rsp + 0x50], rcx
mov qword [rsp + 0x58], rcx
lea rcx, [rsp + 0x30]
call rax
mov eax, r14d
cmp word [rsp + 0x30], 9
sete al
jmp 0x1401b31a1
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, r14d
lea rcx, str.av_engine_files_32.dat
lea rbx, str.av_engine_files_64.dat
test eax, eax
cmove rbx, rcx
lea rax, vtable.CSABOSVersion.0
mov qword [rbp + 0x7b0], rax
lea rax, vtable.CSABString.0
mov qword [rbp + 0x1058], rax
add dword [rbp + 0x106c], 0xffffffff
mov rdx, rbx
jne 0x1401b31f1
mov rcx, qword [rbp + 0x1060]
test rcx, rcx
je 0x1401b31f1
call fcn.140247060
mov rdx, rbx
lea rcx, [rbp - 0x70]
call qword [sym.imp.SHLWAPI.dll_PathAppendA]
mov qword [rsp + 0x30], r15
mov qword [rsp + 0x58], r14
mov qword [rsp + 0x60], r14
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x58]
call fcn.14000b0b0
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x68], r14
mov qword [rsp + 0x70], r14
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x68]
call fcn.14000b0b0
mov qword [rsp + 0x68], rax
mov dword [rsp + 0x50], r14d
mov qword [rsp + 0x48], r14
mov qword [rsp + 0x40], r14
mov dword [rsp + 0x38], r14d
xor r8d, r8d
lea rdx, [rbp - 0x70]
lea rcx, [rsp + 0x30]
call fcn.1401ad200
test eax, eax
je 0x1401b3313
lea rdx, [rbp + 0x3a0]
lea rcx, [rbp - 0x70]
call qword [sym.imp.KERNEL32.dll_lstrcpyA]
lea rdx, [0x1402c710c]
lea rcx, [rbp - 0x70]
call qword [sym.imp.SHLWAPI.dll_PathAppendA]
mov dword [rsp + 0x28], r14d
mov qword [rsp + 0x20], r14
mov r9d, 0xffffffff
lea r8, [rbp - 0x70]
xor edx, edx
lea ecx, [rdx + 3]
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov edi, eax
lea edx, [rax - 1]
xor ecx, ecx
call qword [sym.imp.OLEAUT32.dll_SysReAllocStringLen]
mov rbx, rax
test rax, rax
je 0x1401b32e5
mov dword [rsp + 0x28], edi
mov qword [rsp + 0x20], rax
mov r9d, 0xffffffff
lea r8, [rbp - 0x70]
xor edx, edx
lea ecx, [rdx + 3]
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
cmp eax, edi
jne 0x1401b33a6
mov qword [rbp + 0x10a8], rbx
test rbx, rbx
je 0x1401b33af
xor r9d, r9d
xor r8d, r8d
mov rdx, rbx
lea rcx, [rsp + 0x30]
call fcn.1401acad0
nop
mov rcx, rbx
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
nop
lea rcx, [rsp + 0x30]
call fcn.14018e8d0
lea rdx, [rbp + 0x3a0]
lea rcx, [rbp - 0x70]
call qword [sym.imp.KERNEL32.dll_lstrcpyA]
lea rdx, str.av_engine_files.dat
lea rcx, [rbp - 0x70]
call qword [sym.imp.SHLWAPI.dll_PathAppendA]
lea rcx, [rbp - 0x70]
call qword [sym.imp.KERNEL32.dll_DeleteFileA]
call fcn.140192ec0
test eax, eax
je 0x1401b3376
mov rcx, qword [0x1403517f8]
call fcn.140005520
lea r8, [rbp + 0x10a0]
mov edx, 1
mov rcx, qword [0x1403517f8]
call fcn.140005020
mov eax, 1
mov rbx, qword [rsp + 0x11b0]
add rsp, 0x1170
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
mov rcx, rbx
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov ecx, 0x8007000e
call fcn.140004cd0
nop
mov rcx, rbx
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov ecx, 0x8007000e
call fcn.140004cd0
int3