Function at 0x1401a4020
Capabilities:
Check if file exists
Get file attributes
Persist via winlogon helper dll registry key
Set registry value

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x70]
sub rsp, 0x170
mov qword [rbp + 0x30], 0xfffffffffffffffe
mov qword [rsp + 0x1c0], rbx
mov rax, qword [0x1403eaa10]
xor rax, rsp
mov qword [rbp + 0x60], rax
mov r14, rdx
mov qword [rbp - 0x10], rdx
mov r15, rcx
mov qword [rsp + 0x70], rcx
lea rax, vtable.Core::Collection_class_Core::String_.0
mov qword [rbp - 0x48], rax
xor r12d, r12d
mov dword [rbp - 0x40], r12d
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x38], xmm0
lea r13, [rcx + 0xb0]
mov qword [rbp], r13
mov rax, qword [r13]
mov rcx, r13
call qword [rax + 8]
lea rdi, [0x140328268]
mov rbx, qword [r14 + 0x18]
cmp byte [r15 + 8], r12b
jne 0x1401a4115
test rbx, rbx
je 0x1401a40c7
nop word [rax + rax]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 8]
cmp eax, 8
je 0x1401a40c7
mov rbx, qword [rbx + 0x28]
test rbx, rbx
jne 0x1401a40b0
lea r8, str.reboot
lea rdx, [rsp + 0x50]
mov rcx, rbx
call fcn.1401edd30
nop
xor r8d, r8d
mov rdx, rdi
lea rcx, [rsp + 0x50]
call fcn.1401e9310
test al, al
je 0x1401a40f5
mov byte [r15 + 0x11], 1
movzx ecx, byte [r15 + 0x11]
call fcn.1401ac7e0
nop
cmp dword [rsp + 0x58], 0
jle 0x1401a41cc
mov rcx, qword [rsp + 0x50]
jmp 0x1401a41c7
test rbx, rbx
je 0x1401a4137
nop word [rax + rax]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 8]
cmp eax, 8
je 0x1401a4137
mov rbx, qword [rbx + 0x28]
test rbx, rbx
jne 0x1401a4120
lea r8, str.erase_unpartitioned_sectors
lea rdx, [rsp + 0x50]
mov rcx, rbx
call fcn.1401edd30
nop
mov rbx, qword [rsp + 0x50]
test rbx, rbx
je 0x1401a41bd
or rax, 0xffffffffffffffff
nop word [rax + rax]
inc rax
cmp word [rbx + rax*2], 0
jne 0x1401a4160
test rax, rax
sete al
test al, al
jne 0x1401a41bd
cmp dword [rsp + 0x5c], 0
je 0x1401a41bd
mov r8d, 0xa
lea rdx, [rsp + 0x60]
mov rcx, rbx
call fcn.14029b2e4
mov rdx, qword [rsp + 0x60]
sub rdx, rbx
sar rdx, 1
movsxd rcx, dword [rsp + 0x5c]
cmp rdx, rcx
jne 0x1401a41b8
lea ecx, [rax + 0x7fffffff]
cmp ecx, 0xfffffffd
ja 0x1401a41b8
mov edx, eax
mov rcx, r15
call fcn.1401a6e90
mov rbx, qword [rsp + 0x50]
cmp dword [rsp + 0x58], 0
jle 0x1401a41cc
mov rcx, rbx
call fcn.140298600
mov qword [rsp + 0x58], r12
mov edx, 7
lea rcx, [rsp + 0x50]
call fcn.1401e9030
mov eax, dword [rsp + 0x58]
inc eax
movsxd rdx, eax
mov r9d, 7
lea r8, str.Results
mov rcx, qword [rsp + 0x50]
call fcn.14029b4d8
mov edx, 7
lea rcx, [rsp + 0x50]
call fcn.1401ea290
nop
mov rsi, r12
mov qword [rbp - 0x50], r12
lea rcx, [rsp + 0x50]
call fcn.1401fe1d0
test al, al
je 0x1401a4256
mov ecx, 0x50
call fcn.14029806c
mov qword [rsp + 0x40], rax
test rax, rax
je 0x1401a424f
lea r8, [r15 + 0x40]
lea rdx, [rsp + 0x50]
mov rcx, rax
call fcn.1401eda80
mov rsi, rax
jmp 0x1401a4252
mov rsi, r12
mov qword [rbp - 0x50], rsi
cmp dword [rsp + 0x58], 0
jle 0x1401a4267
mov rcx, qword [rsp + 0x50]
call fcn.140298600
mov rax, qword [r15 + 0x40]
mov rdx, rsi
lea rcx, [r15 + 0x40]
call qword [rax + 0x28]
mov qword [rsp + 0x38], r12
mov edx, 7
lea rcx, [rsp + 0x30]
call fcn.1401e9030
mov eax, dword [rsp + 0x38]
inc eax
movsxd rdx, eax
mov r9d, 7
lea r8, str.Success
mov rcx, qword [rsp + 0x30]
call fcn.14029b4d8
mov edx, 7
lea rcx, [rsp + 0x30]
call fcn.1401ea290
nop
mov rdi, r12
lea rcx, [rsp + 0x30]
call fcn.1401fe1d0
test al, al
je 0x1401a42f7
mov ecx, 0x50
call fcn.14029806c
mov qword [rsp + 0x40], rax
test rax, rax
je 0x1401a42f4
lea r8, [r15 + 0x40]
lea rdx, [rsp + 0x30]
mov rcx, rax
call fcn.1401eda80
mov rdi, rax
jmp 0x1401a42f7
mov rdi, r12
mov rax, qword [rsi]
mov rdx, rdi
mov rcx, rsi
call qword [rax + 0x28]
nop
cmp dword [rsp + 0x38], 0
jle 0x1401a4315
mov rcx, qword [rsp + 0x30]
call fcn.140298600
mov qword [rsp + 0x38], r12
mov edx, 7
lea rcx, [rsp + 0x30]
call fcn.1401e9030
mov eax, dword [rsp + 0x38]
inc eax
movsxd rdx, eax
mov r9d, 7
lea r8, str.Pending
mov rcx, qword [rsp + 0x30]
call fcn.14029b4d8
mov edx, 7
lea rcx, [rsp + 0x30]
call fcn.1401ea290
nop
mov rdi, r12
lea rcx, [rsp + 0x30]
call fcn.1401fe1d0
test al, al
je 0x1401a4397
mov ecx, 0x50
call fcn.14029806c
mov qword [rsp + 0x40], rax
test rax, rax
je 0x1401a4394
lea r8, [r15 + 0x40]
lea rdx, [rsp + 0x30]
mov rcx, rax
call fcn.1401eda80
mov rdi, rax
jmp 0x1401a4397
mov rdi, r12
mov rax, qword [rsi]
mov rdx, rdi
mov rcx, rsi
call qword [rax + 0x28]
nop
cmp dword [rsp + 0x38], 0
jle 0x1401a43b5
mov rcx, qword [rsp + 0x30]
call fcn.140298600
mov qword [rsp + 0x38], r12
mov edx, 6
lea rcx, [rsp + 0x30]
call fcn.1401e9030
mov eax, dword [rsp + 0x38]
inc eax
movsxd rdx, eax
mov r9d, 6
lea r8, str.Failed
mov rcx, qword [rsp + 0x30]
call fcn.14029b4d8
mov edx, 6
lea rcx, [rsp + 0x30]
call fcn.1401ea290
nop
mov rdi, r12
lea rcx, [rsp + 0x30]
call fcn.1401fe1d0
test al, al
je 0x1401a4437
mov ecx, 0x50
call fcn.14029806c
mov qword [rsp + 0x40], rax
test rax, rax
je 0x1401a4434
lea r8, [r15 + 0x40]
lea rdx, [rsp + 0x30]
mov rcx, rax
call fcn.1401eda80
mov rdi, rax
jmp 0x1401a4437
mov rdi, r12
mov rax, qword [rsi]
mov rdx, rdi
mov rcx, rsi
call qword [rax + 0x28]
nop
cmp dword [rsp + 0x38], 0
jle 0x1401a4455
mov rcx, qword [rsp + 0x30]
call fcn.140298600
lea rax, vtable.Core::Array_class_Core::Xml::XmlElement____ptr64_.0
mov qword [rbp + 0x18], rax
mov dword [rbp + 0x20], r12d
mov qword [rbp + 0x28], r12
mov qword [rsp + 0x38], r12
mov edx, 5
lea rcx, [rsp + 0x30]
call fcn.1401e9030
mov eax, dword [rsp + 0x38]
inc eax
movsxd rdx, eax
mov r9d, 5
lea r8, str.Group
mov rcx, qword [rsp + 0x30]
call fcn.14029b4d8
mov edx, 5
lea rcx, [rsp + 0x30]
call fcn.1401ea290
nop
mov rbx, qword [r14 + 0x18]
test rbx, rbx
je 0x1401a44cc
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 8]
cmp eax, 8
je 0x1401a44cc
mov rbx, qword [rbx + 0x28]
test rbx, rbx
jne 0x1401a44b5
lea r8, [rbp + 0x18]
lea rdx, [rsp + 0x30]
mov rcx, rbx
call fcn.1401f0b30
nop
cmp dword [rsp + 0x38], 0
jle 0x1401a44ef
mov rcx, qword [rsp + 0x30]
call fcn.140298600
mov rbx, qword [rbp + 0x28]
mov r12d, dword [rbp + 0x20]
cmp byte [r15 + 8], 0
jne 0x1401a4703
xor esi, esi
mov qword [rsp + 0x60], rsi
mov qword [rsp + 0x68], rsi
call fcn.1400df600
mov rdi, rax
mov qword [rsp + 0x60], rax
test r12d, r12d
jle 0x1401a4612
mov r14, rbx
mov r15d, r12d
lea r13, vtable.Core::Array_class_Core::Xml::XmlElement____ptr64_.0
mov qword [rbp - 0x80], r13
mov dword [rbp - 0x78], esi
mov qword [rbp - 0x70], rsi
mov qword [rsp + 0x38], 0
mov edx, 7
lea rcx, [rsp + 0x30]
call fcn.1401e9030
mov eax, dword [rsp + 0x38]
inc eax
movsxd rdx, eax
mov r9d, 7
lea r8, str.Process
mov rcx, qword [rsp + 0x30]
call fcn.14029b4d8
mov edx, 7
lea rcx, [rsp + 0x30]
call fcn.1401ea290
nop
lea r8, [rbp - 0x80]
lea rdx, [rsp + 0x30]
mov rcx, qword [r14]
call fcn.1401f0b30
test eax, eax
setg bl
cmp dword [rsp + 0x38], 0
jle 0x1401a45ab
mov rcx, qword [rsp + 0x30]
call fcn.140298600
mov rsi, qword [rbp - 0x70]
test bl, bl
je 0x1401a45e5
mov eax, dword [rbp - 0x78]
test eax, eax
jle 0x1401a45e5
mov rbx, rsi
mov edi, eax
nop
movzx eax, byte [0x1403fdd79]
mov byte [rsp + 0x20], al
mov r9, rbx
lea rdx, [rbp - 0x68]
lea rcx, [rsp + 0x60]
call fcn.1400df640
add rbx, 8
dec rdi
jne 0x1401a45c0
test rsi, rsi
je 0x1401a45f2
mov rcx, rsi
call fcn.1402983dc
add r14, 8
dec r15
mov esi, 0
jne 0x1401a4531
mov rdi, qword [rsp + 0x60]
mov r13, qword [rbp]
mov r15, qword [rsp + 0x70]
cmp qword [rsp + 0x68], 0
jbe 0x1401a462c
lea rdx, [rsp + 0x60]
mov rcx, r15
call fcn.1401a5340
mov rdi, qword [rsp + 0x60]
mov rbx, qword [rdi]
cmp rbx, rbx
jne 0x1401a4688
mov rsi, qword [rdi + 8]
mov rbx, rsi
cmp byte [rsi + 0x19], 0
jne 0x1401a4668
mov rdx, qword [rbx + 0x10]
lea rcx, [rsp + 0x60]
call fcn.140009cb0
mov rbx, qword [rbx]
mov rcx, rsi
call fcn.1402012c0
mov rsi, rbx
cmp byte [rbx + 0x19], 0
je 0x1401a4641
mov rdi, qword [rsp + 0x60]
mov qword [rdi + 8], rdi
mov rax, qword [rsp + 0x60]
mov qword [rax], rax
mov rax, qword [rsp + 0x60]
mov qword [rax + 0x10], rax
mov qword [rsp + 0x68], 0
jmp 0x1401a46f2
cmp rbx, rdi
je 0x1401a46f7
nop dword [rax]
mov r8, rbx
cmp byte [rbx + 0x19], 0
jne 0x1401a46de
mov rax, qword [rbx + 0x10]
cmp byte [rax + 0x19], 0
jne 0x1401a46be
mov rbx, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], 0
jne 0x1401a46de
nop
mov rbx, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], 0
je 0x1401a46b0
jmp 0x1401a46de
mov rax, qword [rbx + 8]
cmp byte [rax + 0x19], 0
jne 0x1401a46db
cmp rbx, qword [rax + 0x10]
jne 0x1401a46db
mov rbx, rax
mov rax, qword [rax + 8]
cmp byte [rax + 0x19], 0
je 0x1401a46c8
mov rbx, rax
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x60]
call fcn.1400096d0
cmp rbx, rdi
jne 0x1401a4690
mov rdi, qword [rsp + 0x60]
mov rcx, rdi
call fcn.1402012c0
mov rbx, qword [rbp + 0x28]
lea rax, str.Service
mov qword [rbp + 0x38], rax
lea rax, str.Handle
mov qword [rbp + 0x40], rax
lea rax, str.File
mov qword [rbp + 0x48], rax
lea rax, str.Registry
mov qword [rbp + 0x50], rax
lea rax, str.Folder
mov qword [rbp + 0x58], rax
movzx eax, byte [r15 + 8]
neg al
sbb esi, esi
and esi, 2
mov dword [rsp + 0x78], esi
test r12d, r12d
jle 0x1401a4ab8
movsxd rdi, esi
mov qword [rsp + 0x40], rdi
mov r14, rbx
mov qword [rbp - 8], rbx
mov rbx, r12
mov qword [rsp + 0x60], rbx
nop word [rax + rax]
lea r8, [0x1403281e0]
lea rdx, [rbp - 0x28]
mov rcx, qword [r14]
call fcn.1401edd30
nop
mov rdx, qword [rbp - 0x28]
lea rcx, str.__s__r_n
call fcn.1401a2060
mov dword [rbp - 0x58], esi
cmp rdi, 5
jae 0x1401a4a8b
lea r13, [rbp + 0x38]
lea r13, [r13 + rdi*8]
nop word [rax + rax]
lea rax, vtable.Core::Array_class_Core::Xml::XmlElement____ptr64_.0
mov qword [rbp - 0x80], rax
xor eax, eax
mov dword [rbp - 0x78], eax
mov qword [rbp - 0x70], rax
mov rdi, qword [r13]
test rdi, rdi
jne 0x1401a47d6
mov ebx, eax
mov qword [rsp + 0x38], rax
jmp 0x1401a47f3
or rbx, 0xffffffffffffffff
nop word [rax + rax]
inc rbx
cmp word [rdi + rbx*2], 0
jne 0x1401a47e0
mov qword [rsp + 0x38], rax
test ebx, ebx
jne 0x1401a4801
lea rax, [0x140323de0]
mov qword [rsp + 0x30], rax
jmp 0x1401a4826
mov edx, ebx
lea rcx, [rsp + 0x30]
call fcn.1401e9030
movsxd r9, ebx
mov eax, dword [rsp + 0x38]
inc eax
movsxd rdx, eax
mov r8, rdi
mov rcx, qword [rsp + 0x30]
call fcn.14029b4d8
mov edx, ebx
lea rcx, [rsp + 0x30]
call fcn.1401ea290
nop
lea r8, [rbp - 0x80]
lea rdx, [rsp + 0x30]
mov rcx, qword [r14]
call fcn.1401f0b30
test eax, eax
setg bl
cmp dword [rsp + 0x38], 0
jle 0x1401a485a
mov rcx, qword [rsp + 0x30]
call fcn.140298600
mov r12, qword [rbp - 0x70]
test bl, bl
je 0x1401a4a5e
mov rdx, rdi
lea rcx, str.___s_r_n
call fcn.1401a2060
xor ecx, ecx
lea rdx, str.File
nop
movzx eax, word [rdi + rcx*2]
inc rcx
cmp ax, word [rdx + rcx*2 - 2]
jne 0x1401a49c5
cmp rcx, 5
jne 0x1401a4880
mov eax, dword [rbp - 0x78]
test eax, eax
jle 0x1401a49b4
mov r14, r12
mov r15d, eax
lea r12, [0x140323de0]
lea r8, [0x140328260]
lea rdx, [rbp + 8]
mov rcx, qword [r14]
call fcn.1401edd30
nop
xor r8d, r8d
lea rdx, [0x140328268]
mov rcx, rax
call fcn.1401e9310
movzx ebx, al
cmp dword [rbp + 0x10], 0
jle 0x1401a48e8
mov rcx, qword [rbp + 8]
call fcn.140298600
test bl, bl
je 0x1401a4997
lea r8, str.path
lea rdx, [rbp - 0x68]
mov rcx, qword [r14]
call fcn.1401edd30
mov rsi, rax
mov ecx, 0x20
call fcn.14029806c
mov rbx, rax
test rax, rax
je 0x1401a4924
mov qword [rax + 0x10], r12
xor eax, eax
mov qword [rbx + 0x18], rax
jmp 0x1401a4926
xor ebx, ebx
mov edx, dword [rsi + 0xc]
lea rcx, [rbx + 0x10]
call fcn.1401e9030
movsxd r9, dword [rsi + 0xc]
mov eax, dword [rbx + 0x18]
inc eax
movsxd rdx, eax
mov r8, qword [rsi]
mov rcx, qword [rbx + 0x10]
call fcn.14029b4d8
mov edx, dword [rsi + 0xc]
lea rcx, [rbx + 0x10]
call fcn.1401ea290
cmp dword [rbp - 0x40], 0
jne 0x1401a496b
xor eax, eax
mov qword [rbx], rax
mov qword [rbx + 8], rax
mov qword [rbp - 0x38], rbx
jmp 0x1401a4981
mov rax, qword [rbp - 0x30]
mov qword [rax], rbx
mov qword [rbx], 0
mov rax, qword [rbp - 0x30]
mov qword [rbx + 8], rax
mov qword [rbp - 0x30], rbx
inc dword [rbp - 0x40]
cmp dword [rbp - 0x60], 0
jle 0x1401a4997
mov rcx, qword [rbp - 0x68]
call fcn.140298600
add r14, 8
dec r15
jne 0x1401a48b0
mov r12, qword [rbp - 0x70]
mov esi, dword [rbp - 0x58]
mov r14, qword [rbp - 8]
mov r15, qword [rsp + 0x70]
lea rdx, [rbp - 0x80]
mov rcx, r15
call fcn.1401a56e0
jmp 0x1401a4a5e
or rcx, 0xffffffffffffffff
lea rdx, str.Registry
movzx eax, word [rdi + rcx*2 + 2]
cmp ax, word [rdx + rcx*2 + 2]
jne 0x1401a4a00
add rcx, 2
cmp rcx, 9
je 0x1401a49f2
movzx eax, word [rdi + rcx*2]
cmp ax, word [rdx + rcx*2]
jne 0x1401a4a00
jmp 0x1401a49d0
lea rdx, [rbp - 0x80]
mov rcx, r15
call fcn.1401a7d00
jmp 0x1401a4a5e
xor ecx, ecx
lea rdx, str.Folder
nop dword [rax]
movzx eax, word [rdi + rcx*2]
inc rcx
cmp ax, word [rdx + rcx*2 - 2]
jne 0x1401a4a32
cmp rcx, 7
jne 0x1401a4a10
lea rdx, [rbp - 0x80]
mov rcx, r15
call fcn.1401a5ad0
jmp 0x1401a4a5e
xor edx, edx
lea rcx, str.Handle
nop dword [rax + rax]
movzx eax, word [rdi + rdx*2]
inc rdx
cmp ax, word [rcx + rdx*2 - 2]
jne 0x1401a4a5e
cmp rdx, 7
jne 0x1401a4a40
lea rdx, [rbp - 0x80]
call fcn.1401a50b0
nop
test r12, r12
je 0x1401a4a6b
mov rcx, r12
call fcn.1402983dc
inc esi
mov dword [rbp - 0x58], esi
add r13, 8
movsxd rax, esi
cmp rax, 5
jb 0x1401a47b0
mov rbx, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x40]
cmp dword [rbp - 0x20], 0
jle 0x1401a4a9a
mov rcx, qword [rbp - 0x28]
call fcn.140298600
add r14, 8
mov qword [rbp - 8], r14
dec rbx
mov qword [rsp + 0x60], rbx
mov esi, dword [rsp + 0x78]
jne 0x1401a4770
mov r13, qword [rbp]
lea rcx, str._Complete_r_n
call fcn.1401a2060
mov rax, qword [r13]
mov rcx, r13
call qword [rax + 0x18]
mov r13, qword [rsp + 0x70]
test eax, eax
jle 0x1401a4e57
lea rcx, [r13 + 0xa8]
mov rax, qword [rcx]
call qword [rax]
mov r14, rax
lea rsi, vtable.Core::SharedPtr_class_Core::Collections::Generic::IEnumerator_class_Core::String__.0
mov qword [rbp - 0x80], rsi
mov qword [rbp - 0x78], rax
xor r12d, r12d
mov r15d, r12d
mov qword [rsp + 0x70], r12
mov qword [rbp - 0x70], r12
test rax, rax
je 0x1401a4b40
lea ecx, [r12 + 4]
call fcn.14029806c
mov r15, rax
mov qword [rsp + 0x70], rax
test rax, rax
je 0x1401a4b2d
mov dword [rax], r12d
mov qword [rbp - 0x70], rax
jmp 0x1401a4b39
mov r15, r12
mov qword [rsp + 0x70], r12
mov qword [rbp - 0x70], r12
mov dword [r15], 1
mov rax, qword [r14]
mov rcx, r14
call qword [rax]
test al, al
je 0x1401a4e30
lea r15, [0x140323de0]
mov rax, qword [r14]
mov rcx, r14
call qword [rax + 0x10]
mov rbx, rax
mov qword [rsp + 0x48], r12
mov edx, dword [rax + 0xc]
test edx, edx
jne 0x1401a4b76
mov qword [rsp + 0x40], r15
jmp 0x1401a4b9a
lea rcx, [rsp + 0x40]
call fcn.1401e9030
movsxd r9, dword [rbx + 0xc]
mov eax, dword [rsp + 0x48]
inc eax
movsxd rdx, eax
mov r8, qword [rbx]
mov rcx, qword [rsp + 0x40]
call fcn.14029b4d8
mov edx, dword [rbx + 0xc]
lea rcx, [rsp + 0x40]
call fcn.1401ea290
nop
nop dword [rax + rax]
xor bl, bl
mov rdx, qword [rsp + 0x40]
lea rcx, str.Is_folder_empty__r_n_t_s_r_n
call fcn.1401a2060
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x40]
call fcn.1401ebac0
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x1401a4d5b
test al, 0x10
je 0x1401a4d5b
cmp dword [rsp + 0x38], 0
jle 0x1401a4bff
mov rcx, qword [rsp + 0x30]
call fcn.140298600
lea rcx, [r13 + 0x80]
mov rax, qword [rcx]
call qword [rax]
mov rdi, rax
mov qword [rbp - 0x28], rsi
mov qword [rbp - 0x20], rax
mov rsi, r12
mov qword [rbp - 0x18], r12
test rax, rax
je 0x1401a4c4a
mov ecx, 4
call fcn.14029806c
mov rsi, rax
test rax, rax
je 0x1401a4c3d
mov dword [rax], r12d
mov qword [rbp - 0x18], rax
jmp 0x1401a4c44
mov rsi, r12
mov qword [rbp - 0x18], r12
mov dword [rsi], 1
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax]
test al, al
je 0x1401a4c8f
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 0x10]
mov ecx, dword [rax + 0xc]
cmp dword [rsp + 0x4c], ecx
jne 0x1401a4c4a
mov rdx, qword [rax]
mov rcx, qword [rsp + 0x40]
call fcn.14029848c
test eax, eax
sete al
test al, al
je 0x1401a4c4a
lea rcx, str._tNot_deleting_Shell_folder_r_n
call fcn.1401a2060
jmp 0x1401a4d23
lea rdx, [rsp + 0x40]
mov rcx, r13
call fcn.1401a5bf0
test al, al
je 0x1401a4cae
lea rcx, str._tFolder_has_files__r_n
call fcn.1401a2060
jmp 0x1401a4d23
mov rdx, qword [rsp + 0x40]
lea rcx, str.Empty_folder_detected___Deleting__r_n_t_s_r_n
call fcn.1401a2060
lea rdx, [rsp + 0x40]
mov rcx, r13
call fcn.1401a60c0
lea rdx, [rsp + 0x40]
lea rcx, [rbp - 0x68]
call fcn.1400d1ab0
mov rbx, rax
mov edx, dword [rax + 0xc]
lea rcx, [rsp + 0x40]
call fcn.1401e9030
movsxd r9, dword [rbx + 0xc]
mov ecx, dword [rsp + 0x48]
inc ecx
movsxd rdx, ecx
mov r8, qword [rbx]
mov rcx, qword [rsp + 0x40]
call fcn.14029b4d8
mov edx, dword [rbx + 0xc]
lea rcx, [rsp + 0x40]
call fcn.1401ea290
nop
cmp dword [rbp - 0x60], 0
jle 0x1401a4d21
mov rcx, qword [rbp - 0x68]
call fcn.140298600
mov bl, 1
test rsi, rsi
je 0x1401a4d47
mov eax, dword [rsi]
test eax, eax
jle 0x1401a4d32
dec eax
mov dword [rsi], eax
cmp dword [rsi], 0
jne 0x1401a4d47
mov rcx, rdi
call fcn.1402012c0
mov rcx, rsi
call fcn.1402012c0
lea rsi, vtable.Core::SharedPtr_class_Core::Collections::Generic::IEnumerator_class_Core::String__.0
test bl, bl
je 0x1401a4e0a
jmp 0x1401a4bb0
cmp dword [rsp + 0x38], 0
jle 0x1401a4d6c
mov rcx, qword [rsp + 0x30]
call fcn.140298600
lea rcx, str._tfolder_not_found_r_n
call fcn.1401a2060
cmp dword [rsp + 0x4c], 0
je 0x1401a4e0a
mov edx, 0x5c
mov rcx, qword [rsp + 0x40]
call fcn.14029aea8
test rax, rax
je 0x1401a4e0a
mov rcx, qword [rsp + 0x40]
sub rax, rcx
sar rax, 1
test eax, eax
js 0x1401a4e0f
mov r9d, eax
xor r8d, r8d
lea rdx, [rbp + 8]
lea rcx, [rsp + 0x40]
call fcn.1401eb1b0
mov rbx, rax
mov edx, dword [rax + 0xc]
lea rcx, [rsp + 0x40]
call fcn.1401e9030
movsxd r9, dword [rbx + 0xc]
mov ecx, dword [rsp + 0x48]
inc ecx
movsxd rdx, ecx
mov r8, qword [rbx]
mov rcx, qword [rsp + 0x40]
call fcn.14029b4d8
mov edx, dword [rbx + 0xc]
lea rcx, [rsp + 0x40]
call fcn.1401ea290
nop
cmp dword [rbp + 0x10], 0
jle 0x1401a4bb0
mov rcx, qword [rbp + 8]
call fcn.140298600
jmp 0x1401a4bb0
mov rcx, qword [rsp + 0x40]
cmp dword [rsp + 0x48], 0
jle 0x1401a4e1b
call fcn.140298600
mov rax, qword [r14]
mov rcx, r14
call qword [rax]
test al, al
jne 0x1401a4b57
mov r15, qword [rsp + 0x70]
test r15, r15
je 0x1401a4e57
mov eax, dword [r15]
test eax, eax
jle 0x1401a4e41
dec eax
mov dword [r15], eax
cmp dword [r15], 0
jne 0x1401a4e57
mov rcx, r14
call fcn.1402012c0
mov rcx, r15
call fcn.1402012c0
cmp byte [r13 + 8], 0
jne 0x1401a5032
cmp byte [r13 + 9], 0
je 0x1401a4e8d
lea rcx, str.Resetting_the_wallpaper_r_n
call fcn.1401a2060
mov r9d, 1
lea r8, [0x140323de0]
xor edx, edx
lea ecx, [rdx + 0x14]
call qword [sym.imp.USER32.dll_SystemParametersInfoW]
cmp byte [r13 + 0xa], 0
je 0x1401a4ea8
lea rcx, str.Deploying_BootDeleter_r_n
call fcn.1401a2060
mov rcx, r13
call fcn.1401a3360
cmp byte [r13 + 0x12], 0
je 0x1401a4f57
mov qword [rsp + 0x38], 0
mov edx, 0x3a
lea rcx, [rsp + 0x30]
call fcn.1401e9030
mov eax, dword [rsp + 0x38]
inc eax
movsxd rdx, eax
mov r9d, 0x3a
lea r8, str.HKLMSOFTWAREMicrosoftWindows_NTCurrentVersionWinlogon
mov rcx, qword [rsp + 0x30]
call fcn.14029b4d8
mov edx, 0x3a
lea rcx, [rsp + 0x30]
call fcn.1401ea290
nop
xor r8d, r8d
mov dl, 1
lea rcx, [rsp + 0x30]
call fcn.1400ecf50
mov rbx, rax
cmp dword [rsp + 0x38], 0
jle 0x1401a4f1e
mov rcx, qword [rsp + 0x30]
call fcn.140298600
test rbx, rbx
je 0x1401a4f57
mov ecx, dword [r13 + 0x14]
mov dword [rsp + 0x78], ecx
mov dword [rsp + 0x28], 4
lea rax, [rsp + 0x78]
mov qword [rsp + 0x20], rax
mov r9d, 4
xor r8d, r8d
lea rdx, str.AutoRestartShell
mov rcx, qword [rbx + 8]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
lea r8, [0x14032d250]
cmp byte [r13 + 0x11], 0
lea rax, [0x140328268]
cmovne r8, rax
lea rdx, str.reboot
mov rcx, qword [rbp - 0x50]
call fcn.1401edd80
mov edx, dword [r13 + 0xc]
test edx, edx
jle 0x1401a4fdc
lea rcx, [rbp - 0x68]
call fcn.140003890
mov rdi, rax
mov rsi, qword [rbp - 0x10]
mov rbx, qword [rsi + 0x18]
test rbx, rbx
je 0x1401a4fb8
nop
mov r8, qword [rbx]
mov rcx, rbx
call qword [r8 + 8]
cmp eax, 8
je 0x1401a4fb8
mov rbx, qword [rbx + 0x28]
test rbx, rbx
jne 0x1401a4fa0
mov r8, qword [rdi]
lea rdx, str.erase_unpartitioned_sectors
mov rcx, rbx
call fcn.1401edd80
nop
cmp dword [rbp - 0x60], 0
jle 0x1401a4fe0
mov rcx, qword [rbp - 0x68]
call fcn.140298600
jmp 0x1401a4fe0
mov rsi, qword [rbp - 0x10]
cmp byte [r13 + 0x11], 0
je 0x1401a5032
lea rcx, str.Saving_crusader_file_r_n
call fcn.1401a2060
lea rdx, [rbp - 0x68]
call fcn.1401a3c70
nop
xor r9d, r9d
lea edx, [r9 + 2]
mov r8d, 0x40000000
mov rcx, rax
call fcn.1401f2360
test rax, rax
je 0x1401a5023
mov rdx, rax
mov rcx, rsi
call fcn.1401ed690
nop
cmp dword [rbp - 0x60], 0
jle 0x1401a5032
mov rcx, qword [rbp - 0x68]
call fcn.140298600
cmp dword [rbp - 0x40], 0
jle 0x1401a5042
lea rcx, [rbp - 0x48]
call fcn.1401e2440
nop
mov rcx, qword [rbp + 0x28]
test rcx, rcx
je 0x1401a5051
call fcn.1402983dc
nop
lea rax, vtable.Core::Collection_class_Core::String_.0
mov qword [rbp - 0x48], rax
mov rbx, qword [rbp - 0x38]
test rbx, rbx
je 0x1401a5087
mov rdi, qword [rbx]
cmp dword [rbx + 0x18], 0
jle 0x1401a5077
mov rcx, qword [rbx + 0x10]
call fcn.140298600
mov rcx, rbx
call fcn.1402012c0
mov rbx, rdi
test rdi, rdi
jne 0x1401a5065
mov al, 1
mov rcx, qword [rbp + 0x60]
xor rcx, rsp
call fcn.140297ff0
mov rbx, qword [rsp + 0x1c0]
add rsp, 0x170
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret