Function at 0x1401b3e70
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 [0x140415a10]
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, [0x14034b530]
mov rbx, qword [r14 + 0x18]
cmp byte [r15 + 8], r12b
jne 0x1401b3f65
test rbx, rbx
je 0x1401b3f17
nop word [rax + rax]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 8]
cmp eax, 8
je 0x1401b3f17
mov rbx, qword [rbx + 0x28]
test rbx, rbx
jne 0x1401b3f00
lea r8, [0x14034d218]
lea rdx, [rsp + 0x50]
mov rcx, rbx
call fcn.1402018f0
nop
xor r8d, r8d
mov rdx, rdi
lea rcx, [rsp + 0x50]
call fcn.1401fce20
test al, al
je 0x1401b3f45
mov byte [r15 + 0x11], 1
movzx ecx, byte [r15 + 0x11]
call fcn.1401bc6c0
nop
cmp dword [rsp + 0x58], 0
jle 0x1401b401c
mov rcx, qword [rsp + 0x50]
jmp 0x1401b4017
test rbx, rbx
je 0x1401b3f87
nop word [rax + rax]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 8]
cmp eax, 8
je 0x1401b3f87
mov rbx, qword [rbx + 0x28]
test rbx, rbx
jne 0x1401b3f70
lea r8, str.erase_unpartitioned_sectors
lea rdx, [rsp + 0x50]
mov rcx, rbx
call fcn.1402018f0
nop
mov rbx, qword [rsp + 0x50]
test rbx, rbx
je 0x1401b400d
or rax, 0xffffffffffffffff
nop word [rax + rax]
inc rax
cmp word [rbx + rax*2], 0
jne 0x1401b3fb0
test rax, rax
sete al
test al, al
jne 0x1401b400d
cmp dword [rsp + 0x5c], 0
je 0x1401b400d
mov r8d, 0xa
lea rdx, [rsp + 0x60]
mov rcx, rbx
call fcn.1402ba758
mov rdx, qword [rsp + 0x60]
sub rdx, rbx
sar rdx, 1
movsxd rcx, dword [rsp + 0x5c]
cmp rdx, rcx
jne 0x1401b4008
lea ecx, [rax + 0x7fffffff]
cmp ecx, 0xfffffffd
ja 0x1401b4008
mov edx, eax
mov rcx, r15
call fcn.1401b6c50
mov rbx, qword [rsp + 0x50]
cmp dword [rsp + 0x58], 0
jle 0x1401b401c
mov rcx, rbx
call fcn.1402b7350
mov qword [rsp + 0x58], r12
mov edx, 7
lea rcx, [rsp + 0x50]
call fcn.1401fcb40
mov eax, dword [rsp + 0x58]
inc eax
movsxd rdx, eax
mov r9d, 7
lea r8, str.Results
mov rcx, qword [rsp + 0x50]
call fcn.1402ba94c
mov edx, 7
lea rcx, [rsp + 0x50]
call fcn.1401fde50
nop
mov rsi, r12
mov qword [rbp - 0x50], r12
lea rcx, [rsp + 0x50]
call fcn.140212000
test al, al
je 0x1401b40a6
mov ecx, 0x50
call fcn.1402b6dbc
mov qword [rsp + 0x40], rax
test rax, rax
je 0x1401b409f
lea r8, [r15 + 0x40]
lea rdx, [rsp + 0x50]
mov rcx, rax
call fcn.140201640
mov rsi, rax
jmp 0x1401b40a2
mov rsi, r12
mov qword [rbp - 0x50], rsi
cmp dword [rsp + 0x58], 0
jle 0x1401b40b7
mov rcx, qword [rsp + 0x50]
call fcn.1402b7350
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.1401fcb40
mov eax, dword [rsp + 0x38]
inc eax
movsxd rdx, eax
mov r9d, 7
lea r8, str.Success
mov rcx, qword [rsp + 0x30]
call fcn.1402ba94c
mov edx, 7
lea rcx, [rsp + 0x30]
call fcn.1401fde50
nop
mov rdi, r12
lea rcx, [rsp + 0x30]
call fcn.140212000
test al, al
je 0x1401b4147
mov ecx, 0x50
call fcn.1402b6dbc
mov qword [rsp + 0x40], rax
test rax, rax
je 0x1401b4144
lea r8, [r15 + 0x40]
lea rdx, [rsp + 0x30]
mov rcx, rax
call fcn.140201640
mov rdi, rax
jmp 0x1401b4147
mov rdi, r12
mov rax, qword [rsi]
mov rdx, rdi
mov rcx, rsi
call qword [rax + 0x28]
nop
cmp dword [rsp + 0x38], 0
jle 0x1401b4165
mov rcx, qword [rsp + 0x30]
call fcn.1402b7350
mov qword [rsp + 0x38], r12
mov edx, 7
lea rcx, [rsp + 0x30]
call fcn.1401fcb40
mov eax, dword [rsp + 0x38]
inc eax
movsxd rdx, eax
mov r9d, 7
lea r8, str.Pending
mov rcx, qword [rsp + 0x30]
call fcn.1402ba94c
mov edx, 7
lea rcx, [rsp + 0x30]
call fcn.1401fde50
nop
mov rdi, r12
lea rcx, [rsp + 0x30]
call fcn.140212000
test al, al
je 0x1401b41e7
mov ecx, 0x50
call fcn.1402b6dbc
mov qword [rsp + 0x40], rax
test rax, rax
je 0x1401b41e4
lea r8, [r15 + 0x40]
lea rdx, [rsp + 0x30]
mov rcx, rax
call fcn.140201640
mov rdi, rax
jmp 0x1401b41e7
mov rdi, r12
mov rax, qword [rsi]
mov rdx, rdi
mov rcx, rsi
call qword [rax + 0x28]
nop
cmp dword [rsp + 0x38], 0
jle 0x1401b4205
mov rcx, qword [rsp + 0x30]
call fcn.1402b7350
mov qword [rsp + 0x38], r12
mov edx, 6
lea rcx, [rsp + 0x30]
call fcn.1401fcb40
mov eax, dword [rsp + 0x38]
inc eax
movsxd rdx, eax
mov r9d, 6
lea r8, str.Failed
mov rcx, qword [rsp + 0x30]
call fcn.1402ba94c
mov edx, 6
lea rcx, [rsp + 0x30]
call fcn.1401fde50
nop
mov rdi, r12
lea rcx, [rsp + 0x30]
call fcn.140212000
test al, al
je 0x1401b4287
mov ecx, 0x50
call fcn.1402b6dbc
mov qword [rsp + 0x40], rax
test rax, rax
je 0x1401b4284
lea r8, [r15 + 0x40]
lea rdx, [rsp + 0x30]
mov rcx, rax
call fcn.140201640
mov rdi, rax
jmp 0x1401b4287
mov rdi, r12
mov rax, qword [rsi]
mov rdx, rdi
mov rcx, rsi
call qword [rax + 0x28]
nop
cmp dword [rsp + 0x38], 0
jle 0x1401b42a5
mov rcx, qword [rsp + 0x30]
call fcn.1402b7350
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.1401fcb40
mov eax, dword [rsp + 0x38]
inc eax
movsxd rdx, eax
mov r9d, 5
lea r8, str.Group
mov rcx, qword [rsp + 0x30]
call fcn.1402ba94c
mov edx, 5
lea rcx, [rsp + 0x30]
call fcn.1401fde50
nop
mov rbx, qword [r14 + 0x18]
test rbx, rbx
je 0x1401b431c
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 8]
cmp eax, 8
je 0x1401b431c
mov rbx, qword [rbx + 0x28]
test rbx, rbx
jne 0x1401b4305
lea r8, [rbp + 0x18]
lea rdx, [rsp + 0x30]
mov rcx, rbx
call fcn.1402046f0
nop
cmp dword [rsp + 0x38], 0
jle 0x1401b433f
mov rcx, qword [rsp + 0x30]
call fcn.1402b7350
mov rbx, qword [rbp + 0x28]
mov r12d, dword [rbp + 0x20]
cmp byte [r15 + 8], 0
jne 0x1401b4553
xor esi, esi
mov qword [rsp + 0x60], rsi
mov qword [rsp + 0x68], rsi
call fcn.1400e29c0
mov rdi, rax
mov qword [rsp + 0x60], rax
test r12d, r12d
jle 0x1401b4462
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.1401fcb40
mov eax, dword [rsp + 0x38]
inc eax
movsxd rdx, eax
mov r9d, 7
lea r8, str.Process
mov rcx, qword [rsp + 0x30]
call fcn.1402ba94c
mov edx, 7
lea rcx, [rsp + 0x30]
call fcn.1401fde50
nop
lea r8, [rbp - 0x80]
lea rdx, [rsp + 0x30]
mov rcx, qword [r14]
call fcn.1402046f0
test eax, eax
setg bl
cmp dword [rsp + 0x38], 0
jle 0x1401b43fb
mov rcx, qword [rsp + 0x30]
call fcn.1402b7350
mov rsi, qword [rbp - 0x70]
test bl, bl
je 0x1401b4435
mov eax, dword [rbp - 0x78]
test eax, eax
jle 0x1401b4435
mov rbx, rsi
mov edi, eax
nop
movzx eax, byte [0x14042918c]
mov byte [rsp + 0x20], al
mov r9, rbx
lea rdx, [rbp - 0x68]
lea rcx, [rsp + 0x60]
call fcn.1400e2a00
add rbx, 8
dec rdi
jne 0x1401b4410
test rsi, rsi
je 0x1401b4442
mov rcx, rsi
call fcn.1402b712c
add r14, 8
dec r15
mov esi, 0
jne 0x1401b4381
mov rdi, qword [rsp + 0x60]
mov r13, qword [rbp]
mov r15, qword [rsp + 0x70]
cmp qword [rsp + 0x68], 0
jbe 0x1401b447c
lea rdx, [rsp + 0x60]
mov rcx, r15
call fcn.1401b5190
mov rdi, qword [rsp + 0x60]
mov rbx, qword [rdi]
cmp rbx, rbx
jne 0x1401b44d8
mov rsi, qword [rdi + 8]
mov rbx, rsi
cmp byte [rsi + 0x19], 0
jne 0x1401b44b8
mov rdx, qword [rbx + 0x10]
lea rcx, [rsp + 0x60]
call fcn.140009de0
mov rbx, qword [rbx]
mov rcx, rsi
call fcn.1402150f0
mov rsi, rbx
cmp byte [rbx + 0x19], 0
je 0x1401b4491
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 0x1401b4542
cmp rbx, rdi
je 0x1401b4547
nop dword [rax]
mov r8, rbx
cmp byte [rbx + 0x19], 0
jne 0x1401b452e
mov rax, qword [rbx + 0x10]
cmp byte [rax + 0x19], 0
jne 0x1401b450e
mov rbx, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], 0
jne 0x1401b452e
nop
mov rbx, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], 0
je 0x1401b4500
jmp 0x1401b452e
mov rax, qword [rbx + 8]
cmp byte [rax + 0x19], 0
jne 0x1401b452b
cmp rbx, qword [rax + 0x10]
jne 0x1401b452b
mov rbx, rax
mov rax, qword [rax + 8]
cmp byte [rax + 0x19], 0
je 0x1401b4518
mov rbx, rax
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x60]
call fcn.140009800
cmp rbx, rdi
jne 0x1401b44e0
mov rdi, qword [rsp + 0x60]
mov rcx, rdi
call fcn.1402150f0
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 0x1401b4908
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, [0x14034b4d8]
lea rdx, [rbp - 0x28]
mov rcx, qword [r14]
call fcn.1402018f0
nop
mov rdx, qword [rbp - 0x28]
lea rcx, str.__s__r_n
call fcn.1401b1eb0
mov dword [rbp - 0x58], esi
cmp rdi, 5
jae 0x1401b48db
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 0x1401b4626
mov ebx, eax
mov qword [rsp + 0x38], rax
jmp 0x1401b4643
or rbx, 0xffffffffffffffff
nop word [rax + rax]
inc rbx
cmp word [rdi + rbx*2], 0
jne 0x1401b4630
mov qword [rsp + 0x38], rax
test ebx, ebx
jne 0x1401b4651
lea rax, [0x140346ce0]
mov qword [rsp + 0x30], rax
jmp 0x1401b4676
mov edx, ebx
lea rcx, [rsp + 0x30]
call fcn.1401fcb40
movsxd r9, ebx
mov eax, dword [rsp + 0x38]
inc eax
movsxd rdx, eax
mov r8, rdi
mov rcx, qword [rsp + 0x30]
call fcn.1402ba94c
mov edx, ebx
lea rcx, [rsp + 0x30]
call fcn.1401fde50
nop
lea r8, [rbp - 0x80]
lea rdx, [rsp + 0x30]
mov rcx, qword [r14]
call fcn.1402046f0
test eax, eax
setg bl
cmp dword [rsp + 0x38], 0
jle 0x1401b46aa
mov rcx, qword [rsp + 0x30]
call fcn.1402b7350
mov r12, qword [rbp - 0x70]
test bl, bl
je 0x1401b48ae
mov rdx, rdi
lea rcx, str.___s_r_n
call fcn.1401b1eb0
xor ecx, ecx
lea rdx, str.File
nop
movzx eax, word [rdi + rcx*2]
inc rcx
cmp ax, word [rdx + rcx*2 - 2]
jne 0x1401b4815
cmp rcx, 5
jne 0x1401b46d0
mov eax, dword [rbp - 0x78]
test eax, eax
jle 0x1401b4804
mov r14, r12
mov r15d, eax
lea r12, [0x140346ce0]
lea r8, [0x14034b550]
lea rdx, [rbp + 8]
mov rcx, qword [r14]
call fcn.1402018f0
nop
xor r8d, r8d
lea rdx, [0x14034b530]
mov rcx, rax
call fcn.1401fce20
movzx ebx, al
cmp dword [rbp + 0x10], 0
jle 0x1401b4738
mov rcx, qword [rbp + 8]
call fcn.1402b7350
test bl, bl
je 0x1401b47e7
lea r8, str.path
lea rdx, [rbp - 0x68]
mov rcx, qword [r14]
call fcn.1402018f0
mov rsi, rax
mov ecx, 0x20
call fcn.1402b6dbc
mov rbx, rax
test rax, rax
je 0x1401b4774
mov qword [rax + 0x10], r12
xor eax, eax
mov qword [rbx + 0x18], rax
jmp 0x1401b4776
xor ebx, ebx
mov edx, dword [rsi + 0xc]
lea rcx, [rbx + 0x10]
call fcn.1401fcb40
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.1402ba94c
mov edx, dword [rsi + 0xc]
lea rcx, [rbx + 0x10]
call fcn.1401fde50
cmp dword [rbp - 0x40], 0
jne 0x1401b47bb
xor eax, eax
mov qword [rbx], rax
mov qword [rbx + 8], rax
mov qword [rbp - 0x38], rbx
jmp 0x1401b47d1
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 0x1401b47e7
mov rcx, qword [rbp - 0x68]
call fcn.1402b7350
add r14, 8
dec r15
jne 0x1401b4700
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.1401b5530
jmp 0x1401b48ae
or rcx, 0xffffffffffffffff
lea rdx, str.Registry
movzx eax, word [rdi + rcx*2 + 2]
cmp ax, word [rdx + rcx*2 + 2]
jne 0x1401b4850
add rcx, 2
cmp rcx, 9
je 0x1401b4842
movzx eax, word [rdi + rcx*2]
cmp ax, word [rdx + rcx*2]
jne 0x1401b4850
jmp 0x1401b4820
lea rdx, [rbp - 0x80]
mov rcx, r15
call fcn.1401b7ab0
jmp 0x1401b48ae
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 0x1401b4882
cmp rcx, 7
jne 0x1401b4860
lea rdx, [rbp - 0x80]
mov rcx, r15
call fcn.1401b5920
jmp 0x1401b48ae
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 0x1401b48ae
cmp rdx, 7
jne 0x1401b4890
lea rdx, [rbp - 0x80]
call fcn.1401b4f00
nop
test r12, r12
je 0x1401b48bb
mov rcx, r12
call fcn.1402b712c
inc esi
mov dword [rbp - 0x58], esi
add r13, 8
movsxd rax, esi
cmp rax, 5
jb 0x1401b4600
mov rbx, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x40]
cmp dword [rbp - 0x20], 0
jle 0x1401b48ea
mov rcx, qword [rbp - 0x28]
call fcn.1402b7350
add r14, 8
mov qword [rbp - 8], r14
dec rbx
mov qword [rsp + 0x60], rbx
mov esi, dword [rsp + 0x78]
jne 0x1401b45c0
mov r13, qword [rbp]
lea rcx, str._Complete_r_n
call fcn.1401b1eb0
mov rax, qword [r13]
mov rcx, r13
call qword [rax + 0x18]
mov r13, qword [rsp + 0x70]
test eax, eax
jle 0x1401b4ca7
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 0x1401b4990
lea ecx, [r12 + 4]
call fcn.1402b6dbc
mov r15, rax
mov qword [rsp + 0x70], rax
test rax, rax
je 0x1401b497d
mov dword [rax], r12d
mov qword [rbp - 0x70], rax
jmp 0x1401b4989
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 0x1401b4c80
lea r15, [0x140346ce0]
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 0x1401b49c6
mov qword [rsp + 0x40], r15
jmp 0x1401b49ea
lea rcx, [rsp + 0x40]
call fcn.1401fcb40
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.1402ba94c
mov edx, dword [rbx + 0xc]
lea rcx, [rsp + 0x40]
call fcn.1401fde50
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.1401b1eb0
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x40]
call fcn.1401ff680
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x1401b4bab
test al, 0x10
je 0x1401b4bab
cmp dword [rsp + 0x38], 0
jle 0x1401b4a4f
mov rcx, qword [rsp + 0x30]
call fcn.1402b7350
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 0x1401b4a9a
mov ecx, 4
call fcn.1402b6dbc
mov rsi, rax
test rax, rax
je 0x1401b4a8d
mov dword [rax], r12d
mov qword [rbp - 0x18], rax
jmp 0x1401b4a94
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 0x1401b4adf
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 0x10]
mov ecx, dword [rax + 0xc]
cmp dword [rsp + 0x4c], ecx
jne 0x1401b4a9a
mov rdx, qword [rax]
mov rcx, qword [rsp + 0x40]
call fcn.1402b71dc
test eax, eax
sete al
test al, al
je 0x1401b4a9a
lea rcx, str._tNot_deleting_Shell_folder_r_n
call fcn.1401b1eb0
jmp 0x1401b4b73
lea rdx, [rsp + 0x40]
mov rcx, r13
call fcn.1401b5a40
test al, al
je 0x1401b4afe
lea rcx, str._tFolder_has_files__r_n
call fcn.1401b1eb0
jmp 0x1401b4b73
mov rdx, qword [rsp + 0x40]
lea rcx, str.Empty_folder_detected___Deleting__r_n_t_s_r_n
call fcn.1401b1eb0
lea rdx, [rsp + 0x40]
mov rcx, r13
call fcn.1401b5f10
lea rdx, [rsp + 0x40]
lea rcx, [rbp - 0x68]
call fcn.1400d2fc0
mov rbx, rax
mov edx, dword [rax + 0xc]
lea rcx, [rsp + 0x40]
call fcn.1401fcb40
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.1402ba94c
mov edx, dword [rbx + 0xc]
lea rcx, [rsp + 0x40]
call fcn.1401fde50
nop
cmp dword [rbp - 0x60], 0
jle 0x1401b4b71
mov rcx, qword [rbp - 0x68]
call fcn.1402b7350
mov bl, 1
test rsi, rsi
je 0x1401b4b97
mov eax, dword [rsi]
test eax, eax
jle 0x1401b4b82
dec eax
mov dword [rsi], eax
cmp dword [rsi], 0
jne 0x1401b4b97
mov rcx, rdi
call fcn.1402150f0
mov rcx, rsi
call fcn.1402150f0
lea rsi, vtable.Core::SharedPtr_class_Core::Collections::Generic::IEnumerator_class_Core::String__.0
test bl, bl
je 0x1401b4c5a
jmp 0x1401b4a00
cmp dword [rsp + 0x38], 0
jle 0x1401b4bbc
mov rcx, qword [rsp + 0x30]
call fcn.1402b7350
lea rcx, str._tfolder_not_found_r_n
call fcn.1401b1eb0
cmp dword [rsp + 0x4c], 0
je 0x1401b4c5a
mov edx, 0x5c
mov rcx, qword [rsp + 0x40]
call fcn.1402ba31c
test rax, rax
je 0x1401b4c5a
mov rcx, qword [rsp + 0x40]
sub rax, rcx
sar rax, 1
test eax, eax
js 0x1401b4c5f
mov r9d, eax
xor r8d, r8d
lea rdx, [rbp + 8]
lea rcx, [rsp + 0x40]
call fcn.1401fed70
mov rbx, rax
mov edx, dword [rax + 0xc]
lea rcx, [rsp + 0x40]
call fcn.1401fcb40
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.1402ba94c
mov edx, dword [rbx + 0xc]
lea rcx, [rsp + 0x40]
call fcn.1401fde50
nop
cmp dword [rbp + 0x10], 0
jle 0x1401b4a00
mov rcx, qword [rbp + 8]
call fcn.1402b7350
jmp 0x1401b4a00
mov rcx, qword [rsp + 0x40]
cmp dword [rsp + 0x48], 0
jle 0x1401b4c6b
call fcn.1402b7350
mov rax, qword [r14]
mov rcx, r14
call qword [rax]
test al, al
jne 0x1401b49a7
mov r15, qword [rsp + 0x70]
test r15, r15
je 0x1401b4ca7
mov eax, dword [r15]
test eax, eax
jle 0x1401b4c91
dec eax
mov dword [r15], eax
cmp dword [r15], 0
jne 0x1401b4ca7
mov rcx, r14
call fcn.1402150f0
mov rcx, r15
call fcn.1402150f0
cmp byte [r13 + 8], 0
jne 0x1401b4e82
cmp byte [r13 + 9], 0
je 0x1401b4cdd
lea rcx, str.Resetting_the_wallpaper_r_n
call fcn.1401b1eb0
mov r9d, 1
lea r8, [0x140346ce0]
xor edx, edx
lea ecx, [rdx + 0x14]
call qword [sym.imp.USER32.dll_SystemParametersInfoW]
cmp byte [r13 + 0xa], 0
je 0x1401b4cf8
lea rcx, str.Deploying_BootDeleter_r_n
call fcn.1401b1eb0
mov rcx, r13
call fcn.1401b31b0
cmp byte [r13 + 0x12], 0
je 0x1401b4da7
mov qword [rsp + 0x38], 0
mov edx, 0x3a
lea rcx, [rsp + 0x30]
call fcn.1401fcb40
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.1402ba94c
mov edx, 0x3a
lea rcx, [rsp + 0x30]
call fcn.1401fde50
nop
xor r8d, r8d
mov dl, 1
lea rcx, [rsp + 0x30]
call fcn.1400eb0d0
mov rbx, rax
cmp dword [rsp + 0x38], 0
jle 0x1401b4d6e
mov rcx, qword [rsp + 0x30]
call fcn.1402b7350
test rbx, rbx
je 0x1401b4da7
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, [0x1403504e0]
cmp byte [r13 + 0x11], 0
lea rax, [0x14034b530]
cmovne r8, rax
lea rdx, [0x14034d218]
mov rcx, qword [rbp - 0x50]
call fcn.140201940
mov edx, dword [r13 + 0xc]
test edx, edx
jle 0x1401b4e2c
lea rcx, [rbp - 0x68]
call fcn.1400039c0
mov rdi, rax
mov rsi, qword [rbp - 0x10]
mov rbx, qword [rsi + 0x18]
test rbx, rbx
je 0x1401b4e08
nop
mov r8, qword [rbx]
mov rcx, rbx
call qword [r8 + 8]
cmp eax, 8
je 0x1401b4e08
mov rbx, qword [rbx + 0x28]
test rbx, rbx
jne 0x1401b4df0
mov r8, qword [rdi]
lea rdx, str.erase_unpartitioned_sectors
mov rcx, rbx
call fcn.140201940
nop
cmp dword [rbp - 0x60], 0
jle 0x1401b4e30
mov rcx, qword [rbp - 0x68]
call fcn.1402b7350
jmp 0x1401b4e30
mov rsi, qword [rbp - 0x10]
cmp byte [r13 + 0x11], 0
je 0x1401b4e82
lea rcx, str.Saving_crusader_file_r_n
call fcn.1401b1eb0
lea rdx, [rbp - 0x68]
call fcn.1401b3ac0
nop
xor r9d, r9d
lea edx, [r9 + 2]
mov r8d, 0x40000000
mov rcx, rax
call fcn.140206060
test rax, rax
je 0x1401b4e73
mov rdx, rax
mov rcx, rsi
call fcn.140201250
nop
cmp dword [rbp - 0x60], 0
jle 0x1401b4e82
mov rcx, qword [rbp - 0x68]
call fcn.1402b7350
cmp dword [rbp - 0x40], 0
jle 0x1401b4e92
lea rcx, [rbp - 0x48]
call fcn.1401f5fb0
nop
mov rcx, qword [rbp + 0x28]
test rcx, rcx
je 0x1401b4ea1
call fcn.1402b712c
nop
lea rax, vtable.Core::Collection_class_Core::String_.0
mov qword [rbp - 0x48], rax
mov rbx, qword [rbp - 0x38]
test rbx, rbx
je 0x1401b4ed7
mov rdi, qword [rbx]
cmp dword [rbx + 0x18], 0
jle 0x1401b4ec7
mov rcx, qword [rbx + 0x10]
call fcn.1402b7350
mov rcx, rbx
call fcn.1402150f0
mov rbx, rdi
test rdi, rdi
jne 0x1401b4eb5
mov al, 1
mov rcx, qword [rbp + 0x60]
xor rcx, rsp
call fcn.1402b6d40
mov rbx, qword [rsp + 0x1c0]
add rsp, 0x170
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret