Function at 0x1400ac0bc
Capabilities:
Delete file

Disassembly:
mov qword [rsp + 8], rbx
push rsi
push rdi
push r14
sub rsp, 0x2f0
mov rax, qword [0x14017a608]
xor rax, rsp
mov qword [rsp + 0x2e0], rax
mov ebx, r9d
mov rsi, r8
mov rdi, rdx
xor edx, edx
mov r8d, 0x288
lea rcx, [rsp + 0x50]
call sub.msvcrt.dll_memset
lea rax, [0x140155250]
mov qword [rsp + 0x30], rax
movdqa xmm0, xmmword [0x14016baf0]
movdqu xmmword [rsp + 0x38], xmm0
xor r14d, r14d
test rsi, rsi
jne 0x1400ac133
lea r8, str.pCatalog___NULL
mov edx, 0x599
lea rcx, [0x14015f648]
call fcn.14008ac24
mov rdx, rdi
call fcn.1400aadc8
nop
mov dword [rsp + 0x20], ebx
lea r8, [rsp + 0x50]
mov rdx, rdi
call fcn.1400aaaf8
mov rbx, rax
cmp rbx, 0xffffffffffffffff
jne 0x1400ac16e
lea r8, str.ph___INVALID_HANDLE_VALUE
mov edx, 0x3a5
lea rcx, str.base_stor_blbcatalogcatalog.hxx
call fcn.14008ac24
mov qword [rsp + 0x38], rbx
lea rdx, [rsp + 0x30]
mov rcx, rsi
call fcn.1400a2a90
mov ebx, eax
test eax, eax
jns 0x1400ac1ce
lea rax, [0x14017a048]
mov rcx, qword [0x14017a048]
cmp rcx, rax
je 0x1400ac309
test byte [rcx + 0x1c], 1
je 0x1400ac309
cmp byte [rcx + 0x19], 2
jb 0x1400ac309
mov edx, 0x36
mov r9d, ebx
lea r8, [0x14015fec8]
mov rcx, qword [rcx + 0x10]
call fcn.140006bc4
jmp 0x1400ac309
lea rcx, [rsp + 0x30]
call fcn.1400a7eb4
mov ebx, eax
test eax, eax
jns 0x1400ac210
lea rax, [0x14017a048]
mov rcx, qword [0x14017a048]
cmp rcx, rax
je 0x1400ac309
test byte [rcx + 0x1c], 1
je 0x1400ac309
cmp byte [rcx + 0x19], 2
jb 0x1400ac309
mov edx, 0x37
jmp 0x1400ac1b6
mov rcx, qword [rsp + 0x38]
cmp rcx, 0xffffffffffffffff
je 0x1400ac24f
test rcx, rcx
jne 0x1400ac23d
lea r8, str.m_hFile___NULL
mov edx, 0x3b1
lea rcx, str.base_stor_blbcatalogcatalog.hxx
call fcn.14008ac24
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop dword [rax + rax]
or qword [rsp + 0x38], 0xffffffffffffffff
lea r9, [rsp + 0x48]
mov r8d, 1
mov rdx, rdi
call fcn.1400abaf4
mov ebx, eax
test eax, eax
jns 0x1400ac2ad
lea rax, [0x14017a048]
mov rcx, qword [0x14017a048]
cmp rcx, rax
je 0x1400ac309
test byte [rcx + 0x1c], 1
je 0x1400ac309
cmp byte [rcx + 0x19], 2
jb 0x1400ac309
mov edx, 0x38
mov dword [rsp + 0x20], ebx
mov r9, rdi
lea r8, [0x14015fec8]
mov rcx, qword [rcx + 0x10]
call fcn.140011330
jmp 0x1400ac309
lea r8, [rsp + 0x50]
mov rdx, rdi
call fcn.1400abeec
mov ebx, eax
test eax, eax
jns 0x1400ac370
lea rax, [0x14017a048]
mov rcx, qword [0x14017a048]
cmp rcx, rax
je 0x1400ac309
test byte [rcx + 0x1c], 1
je 0x1400ac309
cmp byte [rcx + 0x19], 2
jb 0x1400ac309
mov edx, 0x39
mov dword [rsp + 0x28], ebx
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
mov r9, rdi
lea r8, [0x14015fec8]
mov rcx, qword [rcx + 0x10]
call fcn.140011464
cmp word [rsp + 0x50], r14w
je 0x1400ac362
mov rcx, qword [rsp + 0x38]
cmp rcx, 0xffffffffffffffff
je 0x1400ac350
test rcx, rcx
jne 0x1400ac33e
lea r8, str.m_hFile___NULL
mov edx, 0x3b1
lea rcx, str.base_stor_blbcatalogcatalog.hxx
call fcn.14008ac24
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop dword [rax + rax]
or qword [rsp + 0x38], 0xffffffffffffffff
lea rcx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
nop dword [rax + rax]
nop
lea rcx, [rsp + 0x30]
call fcn.1400a7084
mov eax, ebx
jmp 0x1400ac3a2
mov word [rsp + 0x50], r14w
cmp dword [rsp + 0x48], r14d
jne 0x1400ac386
mov rdx, rdi
call fcn.1400aa7d4
nop
lea rcx, [rsp + 0x30]
call fcn.1400a7084
xor eax, eax
jmp 0x1400ac3a2
mov rcx, qword [rsp + 0x2e0]
xor rcx, rsp
call fcn.140001d90
mov rbx, qword [rsp + 0x310]
add rsp, 0x2f0
pop r14
pop rdi
pop rsi
ret