Function at 0x1401b5480
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 [0x140418a10]
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, [0x14034d4f0]
mov rbx, qword [r14 + 0x18]
cmp byte [r15 + 8], r12b
jne 0x1401b5575
test rbx, rbx
je 0x1401b5527
nop word [rax + rax]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 8]
cmp eax, 8
je 0x1401b5527
mov rbx, qword [rbx + 0x28]
test rbx, rbx
jne 0x1401b5510
lea r8, [0x14034f1f0]
lea rdx, [rsp + 0x50]
mov rcx, rbx
call fcn.140204010
nop
xor r8d, r8d
mov rdx, rdi
lea rcx, [rsp + 0x50]
call fcn.1401ff540
test al, al
je 0x1401b5555
mov byte [r15 + 0x11], 1
movzx ecx, byte [r15 + 0x11]
call fcn.1401bdce0
nop
cmp dword [rsp + 0x58], 0
jle 0x1401b562c
mov rcx, qword [rsp + 0x50]
jmp 0x1401b5627
test rbx, rbx
je 0x1401b5597
nop word [rax + rax]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 8]
cmp eax, 8
je 0x1401b5597
mov rbx, qword [rbx + 0x28]
test rbx, rbx
jne 0x1401b5580
lea r8, str.erase_unpartitioned_sectors
lea rdx, [rsp + 0x50]
mov rcx, rbx
call fcn.140204010
nop
mov rbx, qword [rsp + 0x50]
test rbx, rbx
je 0x1401b561d
or rax, 0xffffffffffffffff
nop word [rax + rax]
inc rax
cmp word [rbx + rax*2], 0
jne 0x1401b55c0
test rax, rax
sete al
test al, al
jne 0x1401b561d
cmp dword [rsp + 0x5c], 0
je 0x1401b561d
mov r8d, 0xa
lea rdx, [rsp + 0x60]
mov rcx, rbx
call fcn.1402bd028
mov rdx, qword [rsp + 0x60]
sub rdx, rbx
sar rdx, 1
movsxd rcx, dword [rsp + 0x5c]
cmp rdx, rcx
jne 0x1401b5618
lea ecx, [rax + 0x7fffffff]
cmp ecx, 0xfffffffd
ja 0x1401b5618
mov edx, eax
mov rcx, r15
call fcn.1401b8260
mov rbx, qword [rsp + 0x50]
cmp dword [rsp + 0x58], 0
jle 0x1401b562c
mov rcx, rbx
call fcn.1402b9c20
mov qword [rsp + 0x58], r12
mov edx, 7
lea rcx, [rsp + 0x50]
call fcn.1401ff260
mov eax, dword [rsp + 0x58]
inc eax
movsxd rdx, eax
mov r9d, 7
lea r8, str.Results
mov rcx, qword [rsp + 0x50]
call fcn.1402bd21c
mov edx, 7
lea rcx, [rsp + 0x50]
call fcn.140200570
nop
mov rsi, r12
mov qword [rbp - 0x50], r12
lea rcx, [rsp + 0x50]
call fcn.1402146f0
test al, al
je 0x1401b56b6
mov ecx, 0x50
call fcn.1402b968c
mov qword [rsp + 0x40], rax
test rax, rax
je 0x1401b56af
lea r8, [r15 + 0x40]
lea rdx, [rsp + 0x50]
mov rcx, rax
call fcn.140203d60
mov rsi, rax
jmp 0x1401b56b2
mov rsi, r12
mov qword [rbp - 0x50], rsi
cmp dword [rsp + 0x58], 0
jle 0x1401b56c7
mov rcx, qword [rsp + 0x50]
call fcn.1402b9c20
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.1401ff260
mov eax, dword [rsp + 0x38]
inc eax
movsxd rdx, eax
mov r9d, 7
lea r8, str.Success
mov rcx, qword [rsp + 0x30]
call fcn.1402bd21c
mov edx, 7
lea rcx, [rsp + 0x30]
call fcn.140200570
nop
mov rdi, r12
lea rcx, [rsp + 0x30]
call fcn.1402146f0
test al, al
je 0x1401b5757
mov ecx, 0x50
call fcn.1402b968c
mov qword [rsp + 0x40], rax
test rax, rax
je 0x1401b5754
lea r8, [r15 + 0x40]
lea rdx, [rsp + 0x30]
mov rcx, rax
call fcn.140203d60
mov rdi, rax
jmp 0x1401b5757
mov rdi, r12
mov rax, qword [rsi]
mov rdx, rdi
mov rcx, rsi
call qword [rax + 0x28]
nop
cmp dword [rsp + 0x38], 0
jle 0x1401b5775
mov rcx, qword [rsp + 0x30]
call fcn.1402b9c20
mov qword [rsp + 0x38], r12
mov edx, 7
lea rcx, [rsp + 0x30]
call fcn.1401ff260
mov eax, dword [rsp + 0x38]
inc eax
movsxd rdx, eax
mov r9d, 7
lea r8, str.Pending
mov rcx, qword [rsp + 0x30]
call fcn.1402bd21c
mov edx, 7
lea rcx, [rsp + 0x30]
call fcn.140200570
nop
mov rdi, r12
lea rcx, [rsp + 0x30]
call fcn.1402146f0
test al, al
je 0x1401b57f7
mov ecx, 0x50
call fcn.1402b968c
mov qword [rsp + 0x40], rax
test rax, rax
je 0x1401b57f4
lea r8, [r15 + 0x40]
lea rdx, [rsp + 0x30]
mov rcx, rax
call fcn.140203d60
mov rdi, rax
jmp 0x1401b57f7
mov rdi, r12
mov rax, qword [rsi]
mov rdx, rdi
mov rcx, rsi
call qword [rax + 0x28]
nop
cmp dword [rsp + 0x38], 0
jle 0x1401b5815
mov rcx, qword [rsp + 0x30]
call fcn.1402b9c20
mov qword [rsp + 0x38], r12
mov edx, 6
lea rcx, [rsp + 0x30]
call fcn.1401ff260
mov eax, dword [rsp + 0x38]
inc eax
movsxd rdx, eax
mov r9d, 6
lea r8, str.Failed
mov rcx, qword [rsp + 0x30]
call fcn.1402bd21c
mov edx, 6
lea rcx, [rsp + 0x30]
call fcn.140200570
nop
mov rdi, r12
lea rcx, [rsp + 0x30]
call fcn.1402146f0
test al, al
je 0x1401b5897
mov ecx, 0x50
call fcn.1402b968c
mov qword [rsp + 0x40], rax
test rax, rax
je 0x1401b5894
lea r8, [r15 + 0x40]
lea rdx, [rsp + 0x30]
mov rcx, rax
call fcn.140203d60
mov rdi, rax
jmp 0x1401b5897
mov rdi, r12
mov rax, qword [rsi]
mov rdx, rdi
mov rcx, rsi
call qword [rax + 0x28]
nop
cmp dword [rsp + 0x38], 0
jle 0x1401b58b5
mov rcx, qword [rsp + 0x30]
call fcn.1402b9c20
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.1401ff260
mov eax, dword [rsp + 0x38]
inc eax
movsxd rdx, eax
mov r9d, 5
lea r8, str.Group
mov rcx, qword [rsp + 0x30]
call fcn.1402bd21c
mov edx, 5
lea rcx, [rsp + 0x30]
call fcn.140200570
nop
mov rbx, qword [r14 + 0x18]
test rbx, rbx
je 0x1401b592c
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 8]
cmp eax, 8
je 0x1401b592c
mov rbx, qword [rbx + 0x28]
test rbx, rbx
jne 0x1401b5915
lea r8, [rbp + 0x18]
lea rdx, [rsp + 0x30]
mov rcx, rbx
call fcn.140206e10
nop
cmp dword [rsp + 0x38], 0
jle 0x1401b594f
mov rcx, qword [rsp + 0x30]
call fcn.1402b9c20
mov rbx, qword [rbp + 0x28]
mov r12d, dword [rbp + 0x20]
cmp byte [r15 + 8], 0
jne 0x1401b5b63
xor esi, esi
mov qword [rsp + 0x60], rsi
mov qword [rsp + 0x68], rsi
call fcn.1400e2a30
mov rdi, rax
mov qword [rsp + 0x60], rax
test r12d, r12d
jle 0x1401b5a72
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.1401ff260
mov eax, dword [rsp + 0x38]
inc eax
movsxd rdx, eax
mov r9d, 7
lea r8, str.Process
mov rcx, qword [rsp + 0x30]
call fcn.1402bd21c
mov edx, 7
lea rcx, [rsp + 0x30]
call fcn.140200570
nop
lea r8, [rbp - 0x80]
lea rdx, [rsp + 0x30]
mov rcx, qword [r14]
call fcn.140206e10
test eax, eax
setg bl
cmp dword [rsp + 0x38], 0
jle 0x1401b5a0b
mov rcx, qword [rsp + 0x30]
call fcn.1402b9c20
mov rsi, qword [rbp - 0x70]
test bl, bl
je 0x1401b5a45
mov eax, dword [rbp - 0x78]
test eax, eax
jle 0x1401b5a45
mov rbx, rsi
mov edi, eax
nop
movzx eax, byte [0x14042c16c]
mov byte [rsp + 0x20], al
mov r9, rbx
lea rdx, [rbp - 0x68]
lea rcx, [rsp + 0x60]
call fcn.1400e2a70
add rbx, 8
dec rdi
jne 0x1401b5a20
test rsi, rsi
je 0x1401b5a52
mov rcx, rsi
call fcn.1402b99fc
add r14, 8
dec r15
mov esi, 0
jne 0x1401b5991
mov rdi, qword [rsp + 0x60]
mov r13, qword [rbp]
mov r15, qword [rsp + 0x70]
cmp qword [rsp + 0x68], 0
jbe 0x1401b5a8c
lea rdx, [rsp + 0x60]
mov rcx, r15
call fcn.1401b67a0
mov rdi, qword [rsp + 0x60]
mov rbx, qword [rdi]
cmp rbx, rbx
jne 0x1401b5ae8
mov rsi, qword [rdi + 8]
mov rbx, rsi
cmp byte [rsi + 0x19], 0
jne 0x1401b5ac8
mov rdx, qword [rbx + 0x10]
lea rcx, [rsp + 0x60]
call fcn.140009de0
mov rbx, qword [rbx]
mov rcx, rsi
call fcn.1402177e0
mov rsi, rbx
cmp byte [rbx + 0x19], 0
je 0x1401b5aa1
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 0x1401b5b52
cmp rbx, rdi
je 0x1401b5b57
nop dword [rax]
mov r8, rbx
cmp byte [rbx + 0x19], 0
jne 0x1401b5b3e
mov rax, qword [rbx + 0x10]
cmp byte [rax + 0x19], 0
jne 0x1401b5b1e
mov rbx, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], 0
jne 0x1401b5b3e
nop
mov rbx, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], 0
je 0x1401b5b10
jmp 0x1401b5b3e
mov rax, qword [rbx + 8]
cmp byte [rax + 0x19], 0
jne 0x1401b5b3b
cmp rbx, qword [rax + 0x10]
jne 0x1401b5b3b
mov rbx, rax
mov rax, qword [rax + 8]
cmp byte [rax + 0x19], 0
je 0x1401b5b28
mov rbx, rax
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x60]
call fcn.140009800
cmp rbx, rdi
jne 0x1401b5af0
mov rdi, qword [rsp + 0x60]
mov rcx, rdi
call fcn.1402177e0
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 0x1401b5f18
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, [0x14034d498]
lea rdx, [rbp - 0x28]
mov rcx, qword [r14]
call fcn.140204010
nop
mov rdx, qword [rbp - 0x28]
lea rcx, str.__s__r_n
call fcn.1401b34f0
mov dword [rbp - 0x58], esi
cmp rdi, 5
jae 0x1401b5eeb
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 0x1401b5c36
mov ebx, eax
mov qword [rsp + 0x38], rax
jmp 0x1401b5c53
or rbx, 0xffffffffffffffff
nop word [rax + rax]
inc rbx
cmp word [rdi + rbx*2], 0
jne 0x1401b5c40
mov qword [rsp + 0x38], rax
test ebx, ebx
jne 0x1401b5c61
lea rax, [0x140348ca0]
mov qword [rsp + 0x30], rax
jmp 0x1401b5c86
mov edx, ebx
lea rcx, [rsp + 0x30]
call fcn.1401ff260
movsxd r9, ebx
mov eax, dword [rsp + 0x38]
inc eax
movsxd rdx, eax
mov r8, rdi
mov rcx, qword [rsp + 0x30]
call fcn.1402bd21c
mov edx, ebx
lea rcx, [rsp + 0x30]
call fcn.140200570
nop
lea r8, [rbp - 0x80]
lea rdx, [rsp + 0x30]
mov rcx, qword [r14]
call fcn.140206e10
test eax, eax
setg bl
cmp dword [rsp + 0x38], 0
jle 0x1401b5cba
mov rcx, qword [rsp + 0x30]
call fcn.1402b9c20
mov r12, qword [rbp - 0x70]
test bl, bl
je 0x1401b5ebe
mov rdx, rdi
lea rcx, str.___s_r_n
call fcn.1401b34f0
xor ecx, ecx
lea rdx, str.File
nop
movzx eax, word [rdi + rcx*2]
inc rcx
cmp ax, word [rdx + rcx*2 - 2]
jne 0x1401b5e25
cmp rcx, 5
jne 0x1401b5ce0
mov eax, dword [rbp - 0x78]
test eax, eax
jle 0x1401b5e14
mov r14, r12
mov r15d, eax
lea r12, [0x140348ca0]
lea r8, [0x14034d510]
lea rdx, [rbp + 8]
mov rcx, qword [r14]
call fcn.140204010
nop
xor r8d, r8d
lea rdx, [0x14034d4f0]
mov rcx, rax
call fcn.1401ff540
movzx ebx, al
cmp dword [rbp + 0x10], 0
jle 0x1401b5d48
mov rcx, qword [rbp + 8]
call fcn.1402b9c20
test bl, bl
je 0x1401b5df7
lea r8, str.path
lea rdx, [rbp - 0x68]
mov rcx, qword [r14]
call fcn.140204010
mov rsi, rax
mov ecx, 0x20
call fcn.1402b968c
mov rbx, rax
test rax, rax
je 0x1401b5d84
mov qword [rax + 0x10], r12
xor eax, eax
mov qword [rbx + 0x18], rax
jmp 0x1401b5d86
xor ebx, ebx
mov edx, dword [rsi + 0xc]
lea rcx, [rbx + 0x10]
call fcn.1401ff260
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.1402bd21c
mov edx, dword [rsi + 0xc]
lea rcx, [rbx + 0x10]
call fcn.140200570
cmp dword [rbp - 0x40], 0
jne 0x1401b5dcb
xor eax, eax
mov qword [rbx], rax
mov qword [rbx + 8], rax
mov qword [rbp - 0x38], rbx
jmp 0x1401b5de1
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 0x1401b5df7
mov rcx, qword [rbp - 0x68]
call fcn.1402b9c20
add r14, 8
dec r15
jne 0x1401b5d10
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.1401b6b40
jmp 0x1401b5ebe
or rcx, 0xffffffffffffffff
lea rdx, str.Registry
movzx eax, word [rdi + rcx*2 + 2]
cmp ax, word [rdx + rcx*2 + 2]
jne 0x1401b5e60
add rcx, 2
cmp rcx, 9
je 0x1401b5e52
movzx eax, word [rdi + rcx*2]
cmp ax, word [rdx + rcx*2]
jne 0x1401b5e60
jmp 0x1401b5e30
lea rdx, [rbp - 0x80]
mov rcx, r15
call fcn.1401b90c0
jmp 0x1401b5ebe
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 0x1401b5e92
cmp rcx, 7
jne 0x1401b5e70
lea rdx, [rbp - 0x80]
mov rcx, r15
call fcn.1401b6f30
jmp 0x1401b5ebe
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 0x1401b5ebe
cmp rdx, 7
jne 0x1401b5ea0
lea rdx, [rbp - 0x80]
call fcn.1401b6510
nop
test r12, r12
je 0x1401b5ecb
mov rcx, r12
call fcn.1402b99fc
inc esi
mov dword [rbp - 0x58], esi
add r13, 8
movsxd rax, esi
cmp rax, 5
jb 0x1401b5c10
mov rbx, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x40]
cmp dword [rbp - 0x20], 0
jle 0x1401b5efa
mov rcx, qword [rbp - 0x28]
call fcn.1402b9c20
add r14, 8
mov qword [rbp - 8], r14
dec rbx
mov qword [rsp + 0x60], rbx
mov esi, dword [rsp + 0x78]
jne 0x1401b5bd0
mov r13, qword [rbp]
lea rcx, str._Complete_r_n
call fcn.1401b34f0
mov rax, qword [r13]
mov rcx, r13
call qword [rax + 0x18]
mov r13, qword [rsp + 0x70]
test eax, eax
jle 0x1401b62b7
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 0x1401b5fa0
lea ecx, [r12 + 4]
call fcn.1402b968c
mov r15, rax
mov qword [rsp + 0x70], rax
test rax, rax
je 0x1401b5f8d
mov dword [rax], r12d
mov qword [rbp - 0x70], rax
jmp 0x1401b5f99
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 0x1401b6290
lea r15, [0x140348ca0]
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 0x1401b5fd6
mov qword [rsp + 0x40], r15
jmp 0x1401b5ffa
lea rcx, [rsp + 0x40]
call fcn.1401ff260
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.1402bd21c
mov edx, dword [rbx + 0xc]
lea rcx, [rsp + 0x40]
call fcn.140200570
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.1401b34f0
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x40]
call fcn.140201da0
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x1401b61bb
test al, 0x10
je 0x1401b61bb
cmp dword [rsp + 0x38], 0
jle 0x1401b605f
mov rcx, qword [rsp + 0x30]
call fcn.1402b9c20
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 0x1401b60aa
mov ecx, 4
call fcn.1402b968c
mov rsi, rax
test rax, rax
je 0x1401b609d
mov dword [rax], r12d
mov qword [rbp - 0x18], rax
jmp 0x1401b60a4
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 0x1401b60ef
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 0x10]
mov ecx, dword [rax + 0xc]
cmp dword [rsp + 0x4c], ecx
jne 0x1401b60aa
mov rdx, qword [rax]
mov rcx, qword [rsp + 0x40]
call fcn.1402b9aac
test eax, eax
sete al
test al, al
je 0x1401b60aa
lea rcx, str._tNot_deleting_Shell_folder_r_n
call fcn.1401b34f0
jmp 0x1401b6183
lea rdx, [rsp + 0x40]
mov rcx, r13
call fcn.1401b7050
test al, al
je 0x1401b610e
lea rcx, str._tFolder_has_files__r_n
call fcn.1401b34f0
jmp 0x1401b6183
mov rdx, qword [rsp + 0x40]
lea rcx, str.Empty_folder_detected___Deleting__r_n_t_s_r_n
call fcn.1401b34f0
lea rdx, [rsp + 0x40]
mov rcx, r13
call fcn.1401b7520
lea rdx, [rsp + 0x40]
lea rcx, [rbp - 0x68]
call fcn.1400d2ff0
mov rbx, rax
mov edx, dword [rax + 0xc]
lea rcx, [rsp + 0x40]
call fcn.1401ff260
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.1402bd21c
mov edx, dword [rbx + 0xc]
lea rcx, [rsp + 0x40]
call fcn.140200570
nop
cmp dword [rbp - 0x60], 0
jle 0x1401b6181
mov rcx, qword [rbp - 0x68]
call fcn.1402b9c20
mov bl, 1
test rsi, rsi
je 0x1401b61a7
mov eax, dword [rsi]
test eax, eax
jle 0x1401b6192
dec eax
mov dword [rsi], eax
cmp dword [rsi], 0
jne 0x1401b61a7
mov rcx, rdi
call fcn.1402177e0
mov rcx, rsi
call fcn.1402177e0
lea rsi, vtable.Core::SharedPtr_class_Core::Collections::Generic::IEnumerator_class_Core::String__.0
test bl, bl
je 0x1401b626a
jmp 0x1401b6010
cmp dword [rsp + 0x38], 0
jle 0x1401b61cc
mov rcx, qword [rsp + 0x30]
call fcn.1402b9c20
lea rcx, str._tfolder_not_found_r_n
call fcn.1401b34f0
cmp dword [rsp + 0x4c], 0
je 0x1401b626a
mov edx, 0x5c
mov rcx, qword [rsp + 0x40]
call fcn.1402bcbec
test rax, rax
je 0x1401b626a
mov rcx, qword [rsp + 0x40]
sub rax, rcx
sar rax, 1
test eax, eax
js 0x1401b626f
mov r9d, eax
xor r8d, r8d
lea rdx, [rbp + 8]
lea rcx, [rsp + 0x40]
call fcn.140201490
mov rbx, rax
mov edx, dword [rax + 0xc]
lea rcx, [rsp + 0x40]
call fcn.1401ff260
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.1402bd21c
mov edx, dword [rbx + 0xc]
lea rcx, [rsp + 0x40]
call fcn.140200570
nop
cmp dword [rbp + 0x10], 0
jle 0x1401b6010
mov rcx, qword [rbp + 8]
call fcn.1402b9c20
jmp 0x1401b6010
mov rcx, qword [rsp + 0x40]
cmp dword [rsp + 0x48], 0
jle 0x1401b627b
call fcn.1402b9c20
mov rax, qword [r14]
mov rcx, r14
call qword [rax]
test al, al
jne 0x1401b5fb7
mov r15, qword [rsp + 0x70]
test r15, r15
je 0x1401b62b7
mov eax, dword [r15]
test eax, eax
jle 0x1401b62a1
dec eax
mov dword [r15], eax
cmp dword [r15], 0
jne 0x1401b62b7
mov rcx, r14
call fcn.1402177e0
mov rcx, r15
call fcn.1402177e0
cmp byte [r13 + 8], 0
jne 0x1401b6492
cmp byte [r13 + 9], 0
je 0x1401b62ed
lea rcx, str.Resetting_the_wallpaper_r_n
call fcn.1401b34f0
mov r9d, 1
lea r8, [0x140348ca0]
xor edx, edx
lea ecx, [rdx + 0x14]
call qword [sym.imp.USER32.dll_SystemParametersInfoW]
cmp byte [r13 + 0xa], 0
je 0x1401b6308
lea rcx, str.Deploying_BootDeleter_r_n
call fcn.1401b34f0
mov rcx, r13
call fcn.1401b4800
cmp byte [r13 + 0x12], 0
je 0x1401b63b7
mov qword [rsp + 0x38], 0
mov edx, 0x3a
lea rcx, [rsp + 0x30]
call fcn.1401ff260
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.1402bd21c
mov edx, 0x3a
lea rcx, [rsp + 0x30]
call fcn.140200570
nop
xor r8d, r8d
mov dl, 1
lea rcx, [rsp + 0x30]
call fcn.1400ec370
mov rbx, rax
cmp dword [rsp + 0x38], 0
jle 0x1401b637e
mov rcx, qword [rsp + 0x30]
call fcn.1402b9c20
test rbx, rbx
je 0x1401b63b7
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, [0x140352518]
cmp byte [r13 + 0x11], 0
lea rax, [0x14034d4f0]
cmovne r8, rax
lea rdx, [0x14034f1f0]
mov rcx, qword [rbp - 0x50]
call fcn.140204060
mov edx, dword [r13 + 0xc]
test edx, edx
jle 0x1401b643c
lea rcx, [rbp - 0x68]
call fcn.1400039c0
mov rdi, rax
mov rsi, qword [rbp - 0x10]
mov rbx, qword [rsi + 0x18]
test rbx, rbx
je 0x1401b6418
nop
mov r8, qword [rbx]
mov rcx, rbx
call qword [r8 + 8]
cmp eax, 8
je 0x1401b6418
mov rbx, qword [rbx + 0x28]
test rbx, rbx
jne 0x1401b6400
mov r8, qword [rdi]
lea rdx, str.erase_unpartitioned_sectors
mov rcx, rbx
call fcn.140204060
nop
cmp dword [rbp - 0x60], 0
jle 0x1401b6440
mov rcx, qword [rbp - 0x68]
call fcn.1402b9c20
jmp 0x1401b6440
mov rsi, qword [rbp - 0x10]
cmp byte [r13 + 0x11], 0
je 0x1401b6492
lea rcx, str.Saving_crusader_file_r_n
call fcn.1401b34f0
lea rdx, [rbp - 0x68]
call fcn.1401b50d0
nop
xor r9d, r9d
lea edx, [r9 + 2]
mov r8d, 0x40000000
mov rcx, rax
call fcn.140208780
test rax, rax
je 0x1401b6483
mov rdx, rax
mov rcx, rsi
call fcn.140203970
nop
cmp dword [rbp - 0x60], 0
jle 0x1401b6492
mov rcx, qword [rbp - 0x68]
call fcn.1402b9c20
cmp dword [rbp - 0x40], 0
jle 0x1401b64a2
lea rcx, [rbp - 0x48]
call fcn.1401f86d0
nop
mov rcx, qword [rbp + 0x28]
test rcx, rcx
je 0x1401b64b1
call fcn.1402b99fc
nop
lea rax, vtable.Core::Collection_class_Core::String_.0
mov qword [rbp - 0x48], rax
mov rbx, qword [rbp - 0x38]
test rbx, rbx
je 0x1401b64e7
mov rdi, qword [rbx]
cmp dword [rbx + 0x18], 0
jle 0x1401b64d7
mov rcx, qword [rbx + 0x10]
call fcn.1402b9c20
mov rcx, rbx
call fcn.1402177e0
mov rbx, rdi
test rdi, rdi
jne 0x1401b64c5
mov al, 1
mov rcx, qword [rbp + 0x60]
xor rcx, rsp
call fcn.1402b9610
mov rbx, qword [rsp + 0x1c0]
add rsp, 0x170
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret