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

Disassembly:
jmp 0x140024b10
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 [0x140075340]
xor rax, rbp
mov qword [rbp + 0xed8], rax
lea rcx, [0x14007edd2]
call fcn.140016b68
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 [0x140075c58]
cmp dword [rax + 8], 0x23f0
jae 0x140024bc7
mov dword [rbp + 0xed4], 1
jmp 0x140024bd1
mov dword [rbp + 0xed4], 0
movzx eax, byte [rbp + 0xed4]
mov byte [rbp + 0x964], al
movzx eax, byte [rbp + 0x964]
test eax, eax
je 0x140024bf5
mov dword [rbp + 0xed4], 2
jmp 0x140024bff
mov dword [rbp + 0xed4], 4
mov ecx, dword [rbp + 0xed4]
call fcn.1400163bb
movzx eax, al
test eax, eax
jne 0x140024c16
jmp 0x140024f65
lea rdx, [rbp + 0x928]
lea rcx, str.Accessibility
call fcn.140016744
movzx eax, al
test eax, eax
jne 0x140024c35
jmp 0x140024f65
lea rdx, [rbp + 0xa08]
mov rcx, qword [rbp + 0x928]
call fcn.1400164ba
test eax, eax
jne 0x140024c51
jmp 0x140024f65
movzx eax, byte [rbp + 0x964]
test eax, eax
jne 0x140024d18
lea rcx, [rbp + 0x9a8]
call fcn.140016307
mov rax, qword [0x140075c58]
add rax, 0x272
mov rdx, rax
lea rcx, [rbp + 0x30]
call fcn.1400161f9
lea rdx, str.mschedexe.exe
lea rcx, [rbp + 0x30]
call fcn.140016af0
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 0x140024cbc
jmp 0x140024f65
mov ecx, 0x7d0
call qword [sym.imp.KERNEL32.dll_Sleep]
lea rcx, str.ngentask.exe
call fcn.140016415
test eax, eax
jne 0x140024d01
lea rcx, [rbp + 0x9c8]
call fcn.140016307
test eax, eax
je 0x140024d01
lea rdx, [rbp + 0x9c8]
lea rcx, [rbp + 0x9a8]
call qword [sym.imp.KERNEL32.dll_CompareFileTime]
test eax, eax
jge 0x140024d01
jmp 0x140024d18
mov eax, dword [rbp + 0x9e4]
dec eax
mov dword [rbp + 0x9e4], eax
cmp dword [rbp + 0x9e4], 0
jne 0x140024cbc
lea rax, [rbp + 0xa08]
mov qword [rbp + 0xa38], rax
mov qword [rbp + 0xa40], 0
mov rax, qword [0x140075c58]
add rax, 0x68
mov rdx, rax
lea rcx, [rbp + 0x30]
call fcn.1400161f9
lea rdx, str.assemblyNativeImages_
lea rcx, [rbp + 0x30]
call fcn.140016af0
movzx eax, byte [rbp + 0x964]
test eax, eax
je 0x140024d75
lea rdx, str.v2.0.50727
lea rcx, [rbp + 0x30]
call fcn.140016af0
jmp 0x140024d85
lea rdx, str.v4.0.30319
lea rcx, [rbp + 0x30]
call fcn.140016af0
lea rdx, [0x14004e678]
lea rcx, [rbp + 0x30]
call fcn.140016af0
lea rdx, str.Accessibility_
lea rcx, [rbp + 0x30]
call fcn.140016af0
lea r9, [rbp + 0xa38]
lea r8, [0x14001673f]
lea rdx, [0x14004e6b0]
lea rcx, [rbp + 0x30]
call fcn.140016ac3
test eax, eax
jne 0x140024dcc
jmp 0x140024f65
mov rax, qword [rbp + 0xa40]
mov qword [rbp + 0x948], rax
cmp qword [rbp + 0x948], 0
jne 0x140024de9
jmp 0x140024f65
lea rdx, [rbp + 0x884]
mov rcx, qword [rbp + 0x948]
call fcn.1400166ef
mov qword [rbp + 0x8c8], rax
cmp qword [rbp + 0x8c8], 0
jne 0x140024e12
jmp 0x140024f65
mov qword [rbp + 0x908], 0
lea r9, [rbp + 0x908]
mov r8d, 1
mov edx, 4
mov rcx, qword [rbp + 0x948]
call fcn.140016c4e
test eax, eax
jne 0x140024e44
jmp 0x140024f65
lea r9, str.D:_A__GA___WD_
mov r8d, 1
mov edx, 4
mov rcx, qword [rbp + 0x948]
call fcn.140016c49
test eax, eax
jne 0x140024e6b
jmp 0x140024f65
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 0x140024efb
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]
mov rcx, qword [rbp + 0x8e8]
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
mov rcx, qword [rbp + 0x8e8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x140024efd
jmp 0x140024f65
mov rax, qword [0x140075c58]
add rax, 0x272
mov rdx, rax
lea rcx, [rbp + 0x460]
call fcn.1400161f9
lea rdx, str.mmc.exe
lea rcx, [rbp + 0x460]
call fcn.140016af0
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 0x140024f5b
mov dword [rbp + 4], 0
xor eax, eax
test eax, eax
jne 0x140024bab
cmp qword [rbp + 0x928], 0
je 0x140024f7b
mov rcx, qword [rbp + 0x928]
call fcn.140016c1c
cmp qword [rbp + 0x8c8], 0
je 0x140025078
cmp qword [rbp + 0x948], 0
je 0x140025078
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 0x14002501e
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]
mov rcx, qword [rbp + 0x8e8]
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
mov rcx, qword [rbp + 0x8e8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor edx, edx
mov rcx, qword [rbp + 0x8c8]
call fcn.1400161ae
cmp qword [rbp + 0x908], 0
je 0x14002506c
movzx eax, byte [rbp + 0x984]
test eax, eax
je 0x14002505f
mov r9, qword [rbp + 0x908]
mov r8d, 1
mov edx, 4
mov rcx, qword [rbp + 0x948]
call fcn.140016c49
mov rcx, qword [rbp + 0x908]
call qword [sym.imp.ole32.dll_CoTaskMemFree]
mov rcx, qword [rbp + 0x948]
call fcn.140016c1c
cmp dword [rbp + 4], 0
jge 0x140025083
call fcn.14001615e
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