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

Disassembly:
jmp 0x140024ae0
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 [0x140073340]
xor rax, rbp
mov qword [rbp + 0xed8], rax
lea rcx, [0x14007cdd2]
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 [0x140073c58]
cmp dword [rax + 8], 0x23f0
jae 0x140024b97
mov dword [rbp + 0xed4], 1
jmp 0x140024ba1
mov dword [rbp + 0xed4], 0
movzx eax, byte [rbp + 0xed4]
mov byte [rbp + 0x964], al
movzx eax, byte [rbp + 0x964]
test eax, eax
je 0x140024bc5
mov dword [rbp + 0xed4], 2
jmp 0x140024bcf
mov dword [rbp + 0xed4], 4
mov ecx, dword [rbp + 0xed4]
call fcn.1400163bb
movzx eax, al
test eax, eax
jne 0x140024be6
jmp 0x140024f35
lea rdx, [rbp + 0x928]
lea rcx, str.Accessibility
call fcn.140016744
movzx eax, al
test eax, eax
jne 0x140024c05
jmp 0x140024f35
lea rdx, [rbp + 0xa08]
mov rcx, qword [rbp + 0x928]
call fcn.1400164ba
test eax, eax
jne 0x140024c21
jmp 0x140024f35
movzx eax, byte [rbp + 0x964]
test eax, eax
jne 0x140024ce8
lea rcx, [rbp + 0x9a8]
call fcn.140016307
mov rax, qword [0x140073c58]
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 0x140024c8c
jmp 0x140024f35
mov ecx, 0x7d0
call qword [sym.imp.KERNEL32.dll_Sleep]
lea rcx, str.ngentask.exe
call fcn.140016415
test eax, eax
jne 0x140024cd1
lea rcx, [rbp + 0x9c8]
call fcn.140016307
test eax, eax
je 0x140024cd1
lea rdx, [rbp + 0x9c8]
lea rcx, [rbp + 0x9a8]
call qword [sym.imp.KERNEL32.dll_CompareFileTime]
test eax, eax
jge 0x140024cd1
jmp 0x140024ce8
mov eax, dword [rbp + 0x9e4]
dec eax
mov dword [rbp + 0x9e4], eax
cmp dword [rbp + 0x9e4], 0
jne 0x140024c8c
lea rax, [rbp + 0xa08]
mov qword [rbp + 0xa38], rax
mov qword [rbp + 0xa40], 0
mov rax, qword [0x140073c58]
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 0x140024d45
lea rdx, str.v2.0.50727
lea rcx, [rbp + 0x30]
call fcn.140016af0
jmp 0x140024d55
lea rdx, str.v4.0.30319
lea rcx, [rbp + 0x30]
call fcn.140016af0
lea rdx, [0x14004d638]
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, [0x14004d670]
lea rcx, [rbp + 0x30]
call fcn.140016ac3
test eax, eax
jne 0x140024d9c
jmp 0x140024f35
mov rax, qword [rbp + 0xa40]
mov qword [rbp + 0x948], rax
cmp qword [rbp + 0x948], 0
jne 0x140024db9
jmp 0x140024f35
lea rdx, [rbp + 0x884]
mov rcx, qword [rbp + 0x948]
call fcn.1400166ef
mov qword [rbp + 0x8c8], rax
cmp qword [rbp + 0x8c8], 0
jne 0x140024de2
jmp 0x140024f35
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 0x140024e14
jmp 0x140024f35
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 0x140024e3b
jmp 0x140024f35
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 0x140024ecb
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 0x140024ecd
jmp 0x140024f35
mov rax, qword [0x140073c58]
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 0x140024f2b
mov dword [rbp + 4], 0
xor eax, eax
test eax, eax
jne 0x140024b7b
cmp qword [rbp + 0x928], 0
je 0x140024f4b
mov rcx, qword [rbp + 0x928]
call fcn.140016c1c
cmp qword [rbp + 0x8c8], 0
je 0x140025048
cmp qword [rbp + 0x948], 0
je 0x140025048
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 0x140024fee
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 0x14002503c
movzx eax, byte [rbp + 0x984]
test eax, eax
je 0x14002502f
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 0x140025053
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