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

Disassembly:
jmp 0x140021ef0
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 [0x140070328]
xor rax, rbp
mov qword [rbp + 0xed8], rax
lea rcx, [0x140078cb5]
call fcn.140015b09
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 [0x140070bf8]
cmp dword [rax + 8], 0x23f0
jae 0x140021fa7
mov dword [rbp + 0xed4], 1
jmp 0x140021fb1
mov dword [rbp + 0xed4], 0
movzx eax, byte [rbp + 0xed4]
mov byte [rbp + 0x964], al
movzx eax, byte [rbp + 0x964]
test eax, eax
je 0x140021fd5
mov dword [rbp + 0xed4], 2
jmp 0x140021fdf
mov dword [rbp + 0xed4], 4
mov ecx, dword [rbp + 0xed4]
call fcn.14001538e
movzx eax, al
test eax, eax
jne 0x140021ff6
jmp 0x140022345
lea rdx, [rbp + 0x928]
lea rcx, str.Accessibility
call fcn.140015708
movzx eax, al
test eax, eax
jne 0x140022015
jmp 0x140022345
lea rdx, [rbp + 0xa08]
mov rcx, qword [rbp + 0x928]
call fcn.14001548d
test eax, eax
jne 0x140022031
jmp 0x140022345
movzx eax, byte [rbp + 0x964]
test eax, eax
jne 0x1400220f8
lea rcx, [rbp + 0x9a8]
call fcn.1400152ee
mov rax, qword [0x140070bf8]
add rax, 0x272
mov rdx, rax
lea rcx, [rbp + 0x30]
call fcn.1400151ea
lea rdx, str.mschedexe.exe
lea rcx, [rbp + 0x30]
call fcn.140015a96
mov dword [rsp + 0x20], 0x2ee0
xor r9d, r9d
xor r8d, r8d
lea rdx, str.Start
lea rcx, [rbp + 0x30]
call fcn.140015852
test eax, eax
jne 0x14002209c
jmp 0x140022345
mov ecx, 0x7d0
call qword [sym.imp.KERNEL32.dll_Sleep]
lea rcx, str.ngentask.exe
call fcn.1400153e8
test eax, eax
jne 0x1400220e1
lea rcx, [rbp + 0x9c8]
call fcn.1400152ee
test eax, eax
je 0x1400220e1
lea rdx, [rbp + 0x9c8]
lea rcx, [rbp + 0x9a8]
call qword [sym.imp.KERNEL32.dll_CompareFileTime]
test eax, eax
jge 0x1400220e1
jmp 0x1400220f8
mov eax, dword [rbp + 0x9e4]
dec eax
mov dword [rbp + 0x9e4], eax
cmp dword [rbp + 0x9e4], 0
jne 0x14002209c
lea rax, [rbp + 0xa08]
mov qword [rbp + 0xa38], rax
mov qword [rbp + 0xa40], 0
mov rax, qword [0x140070bf8]
add rax, 0x68
mov rdx, rax
lea rcx, [rbp + 0x30]
call fcn.1400151ea
lea rdx, str.assemblyNativeImages_
lea rcx, [rbp + 0x30]
call fcn.140015a96
movzx eax, byte [rbp + 0x964]
test eax, eax
je 0x140022155
lea rdx, str.v2.0.50727
lea rcx, [rbp + 0x30]
call fcn.140015a96
jmp 0x140022165
lea rdx, str.v4.0.30319
lea rcx, [rbp + 0x30]
call fcn.140015a96
lea rdx, [0x14004a718]
lea rcx, [rbp + 0x30]
call fcn.140015a96
lea rdx, str.Accessibility_
lea rcx, [rbp + 0x30]
call fcn.140015a96
lea r9, [rbp + 0xa38]
lea r8, [0x140015703]
lea rdx, [0x14004a750]
lea rcx, [rbp + 0x30]
call fcn.140015a69
test eax, eax
jne 0x1400221ac
jmp 0x140022345
mov rax, qword [rbp + 0xa40]
mov qword [rbp + 0x948], rax
cmp qword [rbp + 0x948], 0
jne 0x1400221c9
jmp 0x140022345
lea rdx, [rbp + 0x884]
mov rcx, qword [rbp + 0x948]
call fcn.1400156b3
mov qword [rbp + 0x8c8], rax
cmp qword [rbp + 0x8c8], 0
jne 0x1400221f2
jmp 0x140022345
mov qword [rbp + 0x908], 0
lea r9, [rbp + 0x908]
mov r8d, 1
mov edx, 4
mov rcx, qword [rbp + 0x948]
call fcn.140015be0
test eax, eax
jne 0x140022224
jmp 0x140022345
lea r9, str.D:_A__GA___WD_
mov r8d, 1
mov edx, 4
mov rcx, qword [rbp + 0x948]
call fcn.140015bdb
test eax, eax
jne 0x14002224b
jmp 0x140022345
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 0x1400222db
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 0x1400222dd
jmp 0x140022345
mov rax, qword [0x140070bf8]
add rax, 0x272
mov rdx, rax
lea rcx, [rbp + 0x460]
call fcn.1400151ea
lea rdx, str.mmc.exe
lea rcx, [rbp + 0x460]
call fcn.140015a96
mov dword [rsp + 0x20], 0x2ee0
mov r9d, 5
xor r8d, r8d
lea rdx, str.wf.msc
lea rcx, [rbp + 0x460]
call fcn.140015852
test eax, eax
je 0x14002233b
mov dword [rbp + 4], 0
xor eax, eax
test eax, eax
jne 0x140021f8b
cmp qword [rbp + 0x928], 0
je 0x14002235b
mov rcx, qword [rbp + 0x928]
call fcn.140015bae
cmp qword [rbp + 0x8c8], 0
je 0x140022458
cmp qword [rbp + 0x948], 0
je 0x140022458
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 0x1400223fe
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.14001519f
cmp qword [rbp + 0x908], 0
je 0x14002244c
movzx eax, byte [rbp + 0x984]
test eax, eax
je 0x14002243f
mov r9, qword [rbp + 0x908]
mov r8d, 1
mov edx, 4
mov rcx, qword [rbp + 0x948]
call fcn.140015bdb
mov rcx, qword [rbp + 0x908]
call qword [sym.imp.ole32.dll_CoTaskMemFree]
mov rcx, qword [rbp + 0x948]
call fcn.140015bae
cmp dword [rbp + 4], 0
jge 0x140022463
call fcn.140015154
mov eax, dword [rbp + 4]
mov edi, eax
lea rcx, [rbp - 0x40]
lea rdx, reloc.Cabinet.dll_FCICreate
call fcn.14001595b
mov eax, edi
mov rcx, qword [rbp + 0xed8]
xor rcx, rbp
call fcn.140015582
lea rsp, [rbp + 0xee8]
pop rdi
pop rbp
ret