Function at 0x1401a2170
Capabilities:
Acquire debug privileges
Create thread
Delete file
Get common file path
Persist via run registry key
Resolve function by parsing pe exports

Disassembly:
mov rax, rsp
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x208]
sub rsp, 0x2e0
mov qword [rbp - 0x60], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x1403eaa10]
xor rax, rsp
mov qword [rbp + 0x1d0], rax
movzx ebx, dl
mov r12, rcx
mov qword [rsp + 0x58], rcx
mov qword [rbp - 0x70], rcx
lea rax, vtable.HitmanPro35::Crusader.0
mov qword [rcx], rax
lea r13, [0x140323de0]
mov qword [rcx + 0x30], r13
xor r15d, r15d
mov qword [rcx + 0x38], r15
mov qword [rcx + 0x48], r15
mov qword [rcx + 0x50], r15
mov qword [rcx + 0x58], r15
mov qword [rcx + 0x60], r15
mov qword [rcx + 0x68], r15
mov qword [rcx + 0x70], r15
lea rax, vtable.Core::Xml::XmlDocument.0
mov qword [rcx + 0x40], rax
mov byte [rcx + 0x78], r15b
lea rcx, vtable.Core::Collections::Generic::LinkedList_class_Core::String_.1.0
mov qword [r12 + 0x80], rcx
lea rax, vtable.Core::Collections::Generic::LinkedList_class_Core::String_.0
mov qword [r12 + 0x88], rax
mov qword [r12 + 0x90], r15
mov qword [r12 + 0x98], r15
mov dword [r12 + 0xa0], r15d
mov qword [r12 + 0xa8], rcx
mov qword [r12 + 0xb0], rax
mov qword [r12 + 0xb8], r15
mov qword [r12 + 0xc0], r15
mov dword [r12 + 0xc8], r15d
mov qword [r12 + 0xd0], rcx
mov qword [r12 + 0xd8], rax
mov qword [r12 + 0xe0], r15
mov qword [r12 + 0xe8], r15
mov dword [r12 + 0xf0], r15d
lea rax, vtable.Core::Collection_int_.0
mov qword [r12 + 0xf8], rax
mov dword [r12 + 0x100], r15d
mov qword [r12 + 0x108], r15
mov qword [r12 + 0x110], r15
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov qword [r12 + 0x18], rax
mov byte [r12 + 8], bl
mov word [r12 + 9], r15w
mov dword [r12 + 0xc], r15d
mov word [r12 + 0x10], r15w
mov byte [r12 + 0x12], r15b
mov dword [r12 + 0x14], 1
mov qword [r12 + 0x28], r15
lea rcx, str.SeDebugPrivilege
call fcn.1400ffc40
lea rcx, str.SeSystemtimePrivilege
call fcn.1400ffc40
lea rcx, str.SeSecurityPrivilege
call fcn.1400ffc40
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov rbx, rax
test rax, rax
je 0x1401a2371
lea rax, [rsp + 0x50]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], r15d
mov r9, rbx
lea r8, [0x1401a20f0]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [r12 + 0x28], rax
test rax, rax
je 0x1401a2368
mov edx, 0x1388
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x1401a2368
mov ecx, 0x1f4
call qword [sym.imp.KERNEL32.dll_Sleep]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rsp + 0x38], r15
mov edx, 0xe
lea rcx, [rsp + 0x30]
call fcn.1401e9030
mov eax, dword [rsp + 0x38]
inc eax
movsxd rdx, eax
mov r9d, 0xe
lea r8, str.bootdelete.lst
mov rcx, qword [rsp + 0x30]
call fcn.14029b4d8
mov edx, 0xe
lea rcx, [rsp + 0x30]
call fcn.1401ea290
nop
mov edx, 0x25
lea rcx, [rsp + 0x40]
call fcn.1401f44e0
nop
lea r8, [rsp + 0x30]
mov rdx, rax
lea rcx, [rbp - 0x58]
call fcn.1400d1690
mov rbx, rax
mov edx, dword [rax + 0xc]
lea rcx, [r12 + 0x30]
call fcn.1401e9030
movsxd r9, dword [rbx + 0xc]
mov ecx, dword [r12 + 0x38]
inc ecx
movsxd rdx, ecx
mov r8, qword [rbx]
mov rcx, qword [r12 + 0x30]
call fcn.14029b4d8
mov edx, dword [rbx + 0xc]
lea rcx, [r12 + 0x30]
call fcn.1401ea290
nop
cmp dword [rbp - 0x50], 0
jle 0x1401a241f
mov rcx, qword [rbp - 0x58]
call fcn.140298600
nop
cmp dword [rsp + 0x48], 0
jle 0x1401a2431
mov rcx, qword [rsp + 0x40]
call fcn.140298600
nop
cmp dword [rsp + 0x38], 0
jle 0x1401a2442
mov rcx, qword [rsp + 0x30]
call fcn.140298600
lea rcx, [r12 + 0x30]
call fcn.1401f2230
test al, al
je 0x1401a245b
mov rcx, qword [r12 + 0x30]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
mov qword [rsp + 0x38], r15
mov edx, 0xe
lea rcx, [rsp + 0x30]
call fcn.1401e9030
mov eax, dword [rsp + 0x38]
inc eax
movsxd rdx, eax
mov r9d, 0xe
lea r8, str.bootdelete.exe
mov rcx, qword [rsp + 0x30]
call fcn.14029b4d8
mov edx, 0xe
lea rcx, [rsp + 0x30]
call fcn.1401ea290
nop
mov edx, 0x25
lea rcx, [rsp + 0x40]
call fcn.1401f44e0
nop
lea r8, [rsp + 0x30]
mov rdx, rax
lea rcx, [rbp - 0x58]
call fcn.1400d1690
mov rcx, rax
call fcn.1401f2230
movzx ebx, al
cmp dword [rbp - 0x50], 0
jle 0x1401a24db
mov rcx, qword [rbp - 0x58]
call fcn.140298600
nop
cmp dword [rsp + 0x48], 0
jle 0x1401a24ed
mov rcx, qword [rsp + 0x40]
call fcn.140298600
nop
cmp dword [rsp + 0x38], 0
jle 0x1401a24fe
mov rcx, qword [rsp + 0x30]
call fcn.140298600
test bl, bl
je 0x1401a25a7
mov qword [rsp + 0x38], r15
mov edx, 0xe
lea rcx, [rsp + 0x30]
call fcn.1401e9030
mov eax, dword [rsp + 0x38]
inc eax
movsxd rdx, eax
mov r9d, 0xe
lea r8, str.bootdelete.exe
mov rcx, qword [rsp + 0x30]
call fcn.14029b4d8
mov edx, 0xe
lea rcx, [rsp + 0x30]
call fcn.1401ea290
nop
mov edx, 0x25
lea rcx, [rsp + 0x40]
call fcn.1401f44e0
nop
lea r8, [rsp + 0x30]
mov rdx, rax
lea rcx, [rbp - 0x58]
call fcn.1400d1690
mov rcx, qword [rax]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp dword [rbp - 0x50], 0
jle 0x1401a2584
mov rcx, qword [rbp - 0x58]
call fcn.140298600
nop
cmp dword [rsp + 0x48], 0
jle 0x1401a2596
mov rcx, qword [rsp + 0x40]
call fcn.140298600
nop
cmp dword [rsp + 0x38], 0
jle 0x1401a25a7
mov rcx, qword [rsp + 0x30]
call fcn.140298600
movdqa xmm0, xmmword [0x14034cf90]
movdqu xmmword [rbp - 0x58], xmm0
mov esi, r15d
lea r14, [rbp - 0x58]
nop dword [rax + rax]
lea rax, [rbp - 0x40]
mov qword [rsp + 0x20], rax
mov r9d, 0x4001
xor r8d, r8d
mov edx, dword [r14]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
js 0x1401a26f6
lea rax, [rbp - 0x40]
or rbx, 0xffffffffffffffff
nop dword [rax]
inc rbx
cmp word [rax + rbx*2], 0
jne 0x1401a25f0
mov qword [rsp + 0x38], r15
test ebx, ebx
jne 0x1401a260a
mov qword [rsp + 0x30], r13
jmp 0x1401a2630
mov edx, ebx
lea rcx, [rsp + 0x30]
call fcn.1401e9030
movsxd r9, ebx
mov eax, dword [rsp + 0x38]
inc eax
movsxd rdx, eax
lea r8, [rbp - 0x40]
mov rcx, qword [rsp + 0x30]
call fcn.14029b4d8
mov edx, ebx
lea rcx, [rsp + 0x30]
call fcn.1401ea290
nop
mov rax, qword [r12 + 0x88]
lea rdx, [rsp + 0x30]
lea rcx, [r12 + 0x88]
call qword [rax + 0x10]
test al, al
sete bl
cmp dword [rsp + 0x38], 0
jle 0x1401a266b
mov rcx, qword [rsp + 0x30]
call fcn.140298600
test bl, bl
je 0x1401a26f6
lea rax, [rbp - 0x40]
or rbx, 0xffffffffffffffff
nop dword [rax + rax]
inc rbx
cmp word [rax + rbx*2], 0
jne 0x1401a2680
mov qword [rsp + 0x48], r15
test ebx, ebx
jne 0x1401a269a
mov qword [rsp + 0x40], r13
jmp 0x1401a26c0
mov edx, ebx
lea rcx, [rsp + 0x40]
call fcn.1401e9030
movsxd r9, ebx
mov eax, dword [rsp + 0x48]
inc eax
movsxd rdx, eax
lea r8, [rbp - 0x40]
mov rcx, qword [rsp + 0x40]
call fcn.14029b4d8
mov edx, ebx
lea rcx, [rsp + 0x40]
call fcn.1401ea290
nop
mov rax, qword [r12 + 0x88]
lea rdx, [rsp + 0x40]
lea rcx, [r12 + 0x88]
call qword [rax]
nop
cmp dword [rsp + 0x48], 0
jle 0x1401a26f6
mov rcx, qword [rsp + 0x40]
call fcn.140298600
inc esi
add r14, 4
movsxd rax, esi
cmp rax, 4
jb 0x1401a25c0
mov eax, dword [0x1403fe608]
lea r13, vtable.Core::Win32::RegistryKey.0
test al, 1
jne 0x1401a2741
or eax, 1
mov dword [0x1403fe608], eax
mov qword [0x1403fe5e0], r13
mov qword [0x1403fe5e8], 0xffffffff80000002
lea rcx, [0x1402de040]
call fcn.140299c6c
mov qword [rsp + 0x50], r15
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
lea rdx, str.SoftwareMicrosoftWindowsCurrentVersionExplorerShell_Folders
mov rcx, qword [0x1403fe5e8]
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
lea rdi, vtable.Core::Array_class_Core::String_.0
test eax, eax
jne 0x1401a28b3
lea ecx, [rax + 0x10]
call fcn.14029806c
mov r14, rax
test rax, rax
je 0x1401a28b3
mov rcx, qword [rsp + 0x50]
mov qword [rax], r13
mov qword [rax + 8], rcx
mov qword [rbp - 0x58], rdi
mov dword [rbp - 0x50], r15d
mov qword [rbp - 0x48], r15
lea rdx, [rbp - 0x58]
mov rcx, rax
call fcn.1400eca70
mov r13, qword [rbp - 0x48]
test al, al
je 0x1401a2878
mov eax, dword [rbp - 0x50]
test eax, eax
jle 0x1401a2878
mov rsi, r13
mov rdi, r13
mov r15d, eax
lea r13, [0x140323de0]
nop dword [rax + rax]
mov qword [rsp + 0x30], r13
xor eax, eax
mov qword [rsp + 0x38], rax
lea r8d, [rax + 1]
lea rdx, [0x14033ade4]
mov rcx, rdi
call fcn.1401eb700
test al, al
jne 0x1401a284b
lea r8, [rsp + 0x30]
mov rdx, qword [rsi]
mov rcx, r14
call fcn.1400d5720
test al, al
je 0x1401a284b
mov rax, qword [r12 + 0x88]
lea rdx, [rsp + 0x30]
lea rcx, [r12 + 0x88]
call qword [rax + 0x10]
test al, al
jne 0x1401a284b
mov rax, qword [r12 + 0x88]
lea rdx, [rsp + 0x30]
lea rcx, [r12 + 0x88]
call qword [rax]
nop
cmp dword [rsp + 0x38], 0
jle 0x1401a285c
mov rcx, qword [rsp + 0x30]
call fcn.140298600
add rdi, 0x10
add rsi, 0x10
dec r15
jne 0x1401a27e0
mov r13, qword [rbp - 0x48]
lea rdi, vtable.Core::Array_class_Core::String_.0
mov rax, qword [r14]
mov edx, 1
mov rcx, r14
call qword [rax]
nop
test r13, r13
je 0x1401a28ac
lea r9, [fcn.140005d80]
mov r8d, dword [r13 - 8]
mov edx, 0x10
mov rcx, r13
call fcn.140298fa4
lea rcx, [r13 - 8]
call fcn.1402983dc
lea r13, vtable.Core::Win32::RegistryKey.0
mov qword [rsp + 0x60], rdi
mov dword [rsp + 0x68], r15d
mov qword [rsp + 0x70], r15
mov eax, dword [0x1403fe5f0]
test al, 1
jne 0x1401a28f3
or eax, 1
mov dword [0x1403fe5f0], eax
mov qword [0x1403fe5d0], r13
mov qword [0x1403fe5d8], 0xffffffff80000003
lea rcx, [0x1402de010]
call fcn.140299c6c
lea rdx, [rsp + 0x60]
lea rcx, [0x1403fe5d0]
call fcn.1400ec710
test al, al
je 0x1401a2b9a
mov eax, dword [rsp + 0x68]
test eax, eax
jle 0x1401a2b9a
mov r12, qword [rsp + 0x70]
add r12, 0xc
mov esi, eax
mov qword [rsp + 0x40], rax
mov edi, 0x5c
nop dword [rax]
mov qword [rsp + 0x38], 0
mov edx, dword [r12]
test edx, edx
jne 0x1401a294f
lea rbx, [0x140323de0]
mov qword [rsp + 0x30], rbx
jmp 0x1401a297c
lea rcx, [rsp + 0x30]
call fcn.1401e9030
movsxd r9, dword [r12]
mov eax, dword [rsp + 0x38]
inc eax
movsxd rdx, eax
mov r8, qword [r12 - 0xc]
mov rcx, qword [rsp + 0x30]
call fcn.14029b4d8
lea rbx, [0x140323de0]
mov edx, dword [r12]
lea rcx, [rsp + 0x30]
call fcn.1401ea290
nop
mov edx, dword [rsp + 0x3c]
inc edx
lea rcx, [rsp + 0x30]
call fcn.1401e9030
movsxd rcx, dword [rsp + 0x3c]
mov rax, qword [rsp + 0x30]
mov word [rax + rcx*2], di
mov edx, dword [rsp + 0x3c]
inc edx
lea rcx, [rsp + 0x30]
call fcn.1401ea290
lea rdx, str.SoftwareMicrosoftWindowsCurrentVersionExplorerShell_Folders
lea rcx, [rsp + 0x30]
call fcn.1401e7680
mov eax, dword [0x1403fe5f0]
test al, 1
jne 0x1401a29fb
or eax, 1
mov dword [0x1403fe5f0], eax
mov qword [0x1403fe5d0], r13
mov qword [0x1403fe5d8], 0xffffffff80000003
lea rcx, [0x1402de010]
call fcn.140299c6c
mov qword [rsp + 0x50], r15
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
mov rdx, qword [rsp + 0x30]
mov rcx, qword [0x1403fe5d8]
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1401a2a47
lea ecx, [rax + 0x10]
call fcn.14029806c
mov rdi, rax
test rax, rax
je 0x1401a2a47
mov rax, qword [rsp + 0x50]
mov qword [rdi], r13
mov qword [rdi + 8], rax
jmp 0x1401a2a4a
mov rdi, r15
test rdi, rdi
je 0x1401a2b66
lea rax, vtable.Core::Array_class_Core::String_.0
mov qword [rsp + 0x78], rax
mov dword [rbp - 0x80], r15d
mov qword [rbp - 0x78], r15
lea rdx, [rsp + 0x78]
mov rcx, rdi
call fcn.1400eca70
mov r13, qword [rbp - 0x78]
test al, al
je 0x1401a2b31
mov eax, dword [rbp - 0x80]
test eax, eax
jle 0x1401a2b31
mov r14, r13
mov rsi, r13
mov r15d, eax
mov r13, qword [rsp + 0x58]
nop dword [rax]
mov qword [rbp - 0x58], rbx
xor eax, eax
mov qword [rbp - 0x50], rax
lea r8d, [rax + 1]
lea rdx, [0x14033ade4]
mov rcx, rsi
call fcn.1401eb700
test al, al
jne 0x1401a2b08
lea r8, [rbp - 0x58]
mov rdx, qword [r14]
mov rcx, rdi
call fcn.1400d5720
test al, al
je 0x1401a2b08
mov rax, qword [r13 + 0x88]
lea rdx, [rbp - 0x58]
lea rcx, [r13 + 0x88]
call qword [rax + 0x10]
test al, al
jne 0x1401a2b01
mov rax, qword [r13 + 0x88]
lea rdx, [rbp - 0x58]
lea rcx, [r13 + 0x88]
call qword [rax]
lea rbx, [0x140323de0]
cmp dword [rbp - 0x50], 0
jle 0x1401a2b17
mov rcx, qword [rbp - 0x58]
call fcn.140298600
add rsi, 0x10
add r14, 0x10
dec r15
jne 0x1401a2aa0
mov r13, qword [rbp - 0x78]
mov rsi, qword [rsp + 0x40]
mov rax, qword [rdi]
mov edx, 1
mov rcx, rdi
call qword [rax]
nop
test r13, r13
je 0x1401a2b66
lea r9, [fcn.140005d80]
mov r8d, dword [r13 - 8]
mov edx, 0x10
mov rcx, r13
call fcn.140298fa4
lea rcx, [r13 - 8]
call fcn.1402983dc
nop
cmp dword [rsp + 0x38], 0
jle 0x1401a2b77
mov rcx, qword [rsp + 0x30]
call fcn.140298600
add r12, 0x10
dec rsi
mov qword [rsp + 0x40], rsi
lea r13, vtable.Core::Win32::RegistryKey.0
mov edi, 0x5c
jne 0x1401a2930
mov r12, qword [rsp + 0x58]
mov rax, qword [rsp + 0x70]
test rax, rax
je 0x1401a2bc7
lea rbx, [rax - 8]
lea r9, [fcn.140005d80]
mov r8d, dword [rbx]
mov edx, 0x10
mov rcx, rax
call fcn.140298fa4
mov rcx, rbx
call fcn.1402983dc
mov rcx, r12
call fcn.1401a2de0
nop
mov rax, r12
mov rcx, qword [rbp + 0x1d0]
xor rcx, rsp
call fcn.140297ff0
lea r11, [rsp + 0x2e0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret