Function at 0x140016325
Capabilities:
Clear file content
Write file on windows

Disassembly:
jmp 0x140024c80
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0xf28
lea rbp, [rsp + 0x40]
lea rdi, [rsp + 0x40]
mov ecx, 0x29a
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0xf48]
mov rax, qword [0x140074400]
xor rax, rbp
mov qword [rbp + 0xed8], rax
lea rcx, [0x14007ddd2]
call fcn.140016b68
nop
mov dword [rbp + 4], 0xc0000022
mov dword [rbp + 0x884], 0
mov qword [rbp + 0x8c8], 0
mov qword [rbp + 0x908], 0
mov qword [rbp + 0x928], 0
mov qword [rbp + 0x948], 0
mov byte [rbp + 0x984], 0
mov dword [rbp + 0x9e4], 0x32
mov rax, qword [0x140074d18]
cmp dword [rax + 8], 0x23f0
jae 0x140024d38
mov dword [rbp + 0xed4], 1
jmp 0x140024d42
mov dword [rbp + 0xed4], 0
movzx eax, byte [rbp + 0xed4]
mov byte [rbp + 0x964], al
movzx eax, byte [rbp + 0x964]
test eax, eax
je 0x140024d66
mov dword [rbp + 0xed4], 2
jmp 0x140024d70
mov dword [rbp + 0xed4], 4
mov ecx, dword [rbp + 0xed4]
call fcn.1400163bb
movzx eax, al
test eax, eax
jne 0x140024d87
jmp 0x1400250e5
lea rdx, [rbp + 0x928]
lea rcx, str.Accessibility
call fcn.140016744
movzx eax, al
test eax, eax
jne 0x140024da6
jmp 0x1400250e5
lea rdx, [rbp + 0xa08]
mov rcx, qword [rbp + 0x928]
call fcn.1400164ba
test eax, eax
jne 0x140024dc2
jmp 0x1400250e5
movzx eax, byte [rbp + 0x964]
test eax, eax
jne 0x140024e8d
lea rcx, [rbp + 0x9a8]
call fcn.140016307
nop
mov rax, qword [0x140074d18]
add rax, 0x272
mov rdx, rax
lea rcx, [rbp + 0x30]
call fcn.1400161f9
nop
lea rdx, str.mschedexe.exe
lea rcx, [rbp + 0x30]
call fcn.140016af0
nop
mov dword [rsp + 0x20], 0x2ee0
xor r9d, r9d
xor r8d, r8d
lea rdx, str.Start
lea rcx, [rbp + 0x30]
call fcn.14001689d
test eax, eax
jne 0x140024e30
jmp 0x1400250e5
mov ecx, 0x7d0
call qword [sym.imp.KERNEL32.dll_Sleep]
nop
lea rcx, str.ngentask.exe
call fcn.140016415
test eax, eax
jne 0x140024e76
lea rcx, [rbp + 0x9c8]
call fcn.140016307
test eax, eax
je 0x140024e76
lea rdx, [rbp + 0x9c8]
lea rcx, [rbp + 0x9a8]
call qword [sym.imp.KERNEL32.dll_CompareFileTime]
test eax, eax
jge 0x140024e76
jmp 0x140024e8d
mov eax, dword [rbp + 0x9e4]
dec eax
mov dword [rbp + 0x9e4], eax
cmp dword [rbp + 0x9e4], 0
jne 0x140024e30
lea rax, [rbp + 0xa08]
mov qword [rbp + 0xa38], rax
mov qword [rbp + 0xa40], 0
mov rax, qword [0x140074d18]
add rax, 0x68
mov rdx, rax
lea rcx, [rbp + 0x30]
call fcn.1400161f9
nop
lea rdx, str.assemblyNativeImages_
lea rcx, [rbp + 0x30]
call fcn.140016af0
nop
movzx eax, byte [rbp + 0x964]
test eax, eax
je 0x140024eed
lea rdx, str.v2.0.50727
lea rcx, [rbp + 0x30]
call fcn.140016af0
nop
jmp 0x140024efe
lea rdx, str.v4.0.30319
lea rcx, [rbp + 0x30]
call fcn.140016af0
nop
lea rdx, [0x14004e638]
lea rcx, [rbp + 0x30]
call fcn.140016af0
nop
lea rdx, str.Accessibility_
lea rcx, [rbp + 0x30]
call fcn.140016af0
nop
lea r9, [rbp + 0xa38]
lea r8, [0x14001673f]
lea rdx, [0x14004e670]
lea rcx, [rbp + 0x30]
call fcn.140016ac3
test eax, eax
jne 0x140024f47
jmp 0x1400250e5
mov rax, qword [rbp + 0xa40]
mov qword [rbp + 0x948], rax
cmp qword [rbp + 0x948], 0
jne 0x140024f64
jmp 0x1400250e5
lea rdx, [rbp + 0x884]
mov rcx, qword [rbp + 0x948]
call fcn.1400166ef
mov qword [rbp + 0x8c8], rax
cmp qword [rbp + 0x8c8], 0
jne 0x140024f8d
jmp 0x1400250e5
mov qword [rbp + 0x908], 0
lea r9, [rbp + 0x908]
mov r8d, 1
mov edx, 4
mov rcx, qword [rbp + 0x948]
call fcn.140016c58
test eax, eax
jne 0x140024fbf
jmp 0x1400250e5
lea r9, str.D:_A__GA___WD_
mov r8d, 1
mov edx, 4
mov rcx, qword [rbp + 0x948]
call fcn.140016c53
test eax, eax
jne 0x140024fe6
jmp 0x1400250e5
mov byte [rbp + 0x984], 1
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 3
xor r9d, r9d
xor r8d, r8d
mov edx, 0x40000000
mov rcx, qword [rbp + 0x948]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov qword [rbp + 0x8e8], rax
cmp qword [rbp + 0x8e8], 0xffffffffffffffff
je 0x140025079
mov qword [rsp + 0x20], 0
lea r9, [rbp + 0x8a4]
mov r8d, dword [rbp + 0xf08]
mov rdx, qword [rbp + 0xf00]
mov rcx, qword [rbp + 0x8e8]
call qword [sym.imp.KERNEL32.dll_WriteFile]
nop
mov rcx, qword [rbp + 0x8e8]
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
nop
mov rcx, qword [rbp + 0x8e8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
jmp 0x14002507b
jmp 0x1400250e5
mov rax, qword [0x140074d18]
add rax, 0x272
mov rdx, rax
lea rcx, [rbp + 0x460]
call fcn.1400161f9
nop
lea rdx, str.mmc.exe
lea rcx, [rbp + 0x460]
call fcn.140016af0
nop
mov dword [rsp + 0x20], 0x2ee0
mov r9d, 5
xor r8d, r8d
lea rdx, str.wf.msc
lea rcx, [rbp + 0x460]
call fcn.14001689d
test eax, eax
je 0x1400250db
mov dword [rbp + 4], 0
xor eax, eax
test eax, eax
jne 0x140024d1c
cmp qword [rbp + 0x928], 0
je 0x1400250fc
mov rcx, qword [rbp + 0x928]
call fcn.140016c21
nop
cmp qword [rbp + 0x8c8], 0
je 0x140025200
cmp qword [rbp + 0x948], 0
je 0x140025200
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 3
xor r9d, r9d
xor r8d, r8d
mov edx, 0x40000000
mov rcx, qword [rbp + 0x948]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov qword [rbp + 0x8e8], rax
cmp qword [rbp + 0x8e8], 0xffffffffffffffff
je 0x1400251a2
mov qword [rsp + 0x20], 0
lea r9, [rbp + 0x8a4]
mov r8d, dword [rbp + 0x884]
mov rdx, qword [rbp + 0x8c8]
mov rcx, qword [rbp + 0x8e8]
call qword [sym.imp.KERNEL32.dll_WriteFile]
nop
mov rcx, qword [rbp + 0x8e8]
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
nop
mov rcx, qword [rbp + 0x8e8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
xor edx, edx
mov rcx, qword [rbp + 0x8c8]
call fcn.1400161ae
nop
cmp qword [rbp + 0x908], 0
je 0x1400251f3
movzx eax, byte [rbp + 0x984]
test eax, eax
je 0x1400251e5
mov r9, qword [rbp + 0x908]
mov r8d, 1
mov edx, 4
mov rcx, qword [rbp + 0x948]
call fcn.140016c53
nop
mov rcx, qword [rbp + 0x908]
call qword [sym.imp.ole32.dll_CoTaskMemFree]
nop
mov rcx, qword [rbp + 0x948]
call fcn.140016c21
nop
cmp dword [rbp + 4], 0
jge 0x14002520c
call fcn.14001615e
nop
mov eax, dword [rbp + 4]
mov edi, eax
lea rcx, [rbp - 0x40]
lea rdx, reloc.Cabinet.dll_FCICreate
call fcn.1400169a6
mov eax, edi
mov rcx, qword [rbp + 0xed8]
xor rcx, rbp
call fcn.1400165b9
lea rsp, [rbp + 0xee8]
pop rdi
pop rbp
ret