Function at 0x140016ce0
Capabilities:
Delete file

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x40
mov dl, 1
mov rsi, rcx
call fcn.14001a5b0
test eax, eax
jne 0x140016d07
xor r8d, r8d
lea rcx, str.ENABLE_PowerSaving_fail.
xor edx, edx
call fcn.140033ae0
call qword [0x1402ca459]
mov rcx, qword [0x1402ca449]
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
lea rdi, [rsi + 0x26f1]
mov qword [0x1402ca449], 0
mov rdx, rdi
mov byte [0x1402ca448], 0
lea r8, [0x1402807f0]
lea rcx, [rsp + 0x60]
call fcn.140009e30
mov rcx, qword [rax]
call qword [sym.imp.KERNEL32.dll_DeleteFileA]
mov rdx, qword [rsp + 0x60]
add rdx, 0xffffffffffffffe8
or ebx, 0xffffffff
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140016d71
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
lea r8, [0x140280800]
mov rdx, rdi
lea rcx, [rsp + 0x68]
call fcn.140009e30
mov rcx, qword [rax]
call qword [sym.imp.KERNEL32.dll_DeleteFileA]
mov rdx, qword [rsp + 0x68]
mov eax, ebx
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140016dac
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
lea r8, str.asmfilter64.cat
mov rdx, rdi
lea rcx, [rsp + 0x70]
call fcn.140009e30
mov rcx, qword [rax]
call qword [sym.imp.KERNEL32.dll_DeleteFileA]
mov rdx, qword [rsp + 0x70]
mov eax, ebx
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140016de7
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
lea r8, str.ASMXu424FW.rom
mov rdx, rdi
lea rcx, [rsp + 0x78]
call fcn.140009e30
mov rcx, qword [rax]
call qword [sym.imp.KERNEL32.dll_DeleteFileA]
mov rdx, qword [rsp + 0x78]
mov eax, ebx
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140016e22
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
lea r8, [0x14027fed8]
mov rdx, rdi
lea rcx, [rsp + 0x20]
call fcn.140009e30
mov rcx, qword [rax]
call qword [sym.imp.KERNEL32.dll_DeleteFileA]
mov rdx, qword [rsp + 0x20]
mov eax, ebx
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140016e5d
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
lea r8, str.devconAMD64.exe
mov rdx, rdi
lea rcx, [rsp + 0x28]
call fcn.140009e30
mov rcx, qword [rax]
call qword [sym.imp.KERNEL32.dll_DeleteFileA]
mov rdx, qword [rsp + 0x28]
mov eax, ebx
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140016e98
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
lea r8, [0x140280840]
mov rdx, rdi
lea rcx, [rsp + 0x30]
call fcn.140009e30
mov rcx, qword [rax]
call qword [sym.imp.KERNEL32.dll_DeleteFileA]
mov rdx, qword [rsp + 0x30]
mov eax, ebx
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140016ed3
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
lea r8, str.RemoteUSB4.ps1
mov rdx, rdi
lea rcx, [rsp + 0x38]
call fcn.140009e30
mov rcx, qword [rax]
call qword [sym.imp.KERNEL32.dll_DeleteFileA]
mov rdx, qword [rsp + 0x38]
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], ebx
sub ebx, 1
jg 0x140016f0c
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rcx, rsi
add rsp, 0x40
pop rdi
pop rsi
pop rbx
jmp fcn.140035b08