Function at 0x140108450
Capabilities:
Check if file exists
Delete file
Delete registry key
Get common file path
Get file attributes
Get installed programs

Disassembly:
mov rax, rsp
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x688]
sub rsp, 0x760
mov qword [rbp - 0x38], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov rax, qword [0x140415a10]
xor rax, rsp
mov qword [rbp + 0x650], rax
lea rsi, [0x140346ce0]
mov qword [rbp - 0x70], rsi
xor r13d, r13d
mov qword [rbp - 0x68], r13
mov qword [rbp - 0x48], rsi
mov qword [rbp - 0x40], r13
lea rdx, [rbp - 0x70]
lea rcx, str.HitmanPro36
call fcn.1401071d0
test al, al
jne 0x1401084c5
xor r14b, r14b
jmp 0x140108d70
call fcn.140116b50
movzx r12d, al
xor r15b, r15b
xor r14b, r14b
mov qword [rsp + 0x70], r13
mov qword [rsp + 0x78], r13
call fcn.14000a340
mov qword [rsp + 0x70], rax
lea rax, [rbp + 0x440]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 0x19]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
or rdi, 0xffffffffffffffff
test eax, eax
jne 0x14010863a
mov qword [rsp + 0x58], r13
lea edx, [rdi + 0xe]
lea rcx, [rsp + 0x50]
call fcn.1401fcb40
mov eax, dword [rsp + 0x58]
inc eax
movsxd rdx, eax
lea r9d, [rdi + 0xe]
lea r8, str.HitmanPro.lnk
mov rcx, qword [rsp + 0x50]
call fcn.1402ba94c
lea edx, [rdi + 0xe]
lea rcx, [rsp + 0x50]
call fcn.1401fde50
nop
lea rax, [rbp + 0x440]
mov rbx, rdi
nop word [rax + rax]
inc rbx
cmp word [rax + rbx*2], 0
jne 0x140108560
mov qword [rsp + 0x38], r13
test ebx, ebx
jne 0x14010857a
mov qword [rsp + 0x30], rsi
jmp 0x1401085a3
mov edx, ebx
lea rcx, [rsp + 0x30]
call fcn.1401fcb40
movsxd r9, ebx
mov eax, dword [rsp + 0x38]
inc eax
movsxd rdx, eax
lea r8, [rbp + 0x440]
mov rcx, qword [rsp + 0x30]
call fcn.1402ba94c
mov edx, ebx
lea rcx, [rsp + 0x30]
call fcn.1401fde50
nop
lea r8, [rsp + 0x50]
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x60]
call fcn.1400d2ba0
nop
cmp dword [rsp + 0x38], 0
jle 0x1401085d7
mov rcx, qword [rsp + 0x30]
call fcn.1402b7350
nop
cmp dword [rsp + 0x58], 0
jle 0x1401085e8
mov rcx, qword [rsp + 0x50]
call fcn.1402b7350
lea rdx, [rbp - 0x20]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp rax, 0xffffffffffffffff
je 0x140108629
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_FindClose]
mov r14b, 1
movzx eax, byte [0x14042918a]
mov byte [rsp + 0x20], al
lea r9, [rsp + 0x60]
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x70]
call fcn.1400e8550
nop
cmp dword [rsp + 0x68], 0
jle 0x14010863a
mov rcx, qword [rsp + 0x60]
call fcn.1402b7350
lea rax, [rbp + 0x440]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 0x17]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
jne 0x1401088a7
mov qword [rsp + 0x58], r13
lea edx, [rax + 9]
lea rcx, [rsp + 0x50]
call fcn.1401fcb40
mov eax, dword [rsp + 0x58]
inc eax
movsxd rdx, eax
mov r9d, 9
lea r8, [0x14034cde8]
mov rcx, qword [rsp + 0x50]
call fcn.1402ba94c
mov edx, 9
lea rcx, [rsp + 0x50]
call fcn.1401fde50
nop
lea rax, [rbp + 0x440]
nop dword [rax]
inc rdi
cmp word [rax + rdi*2], 0
jne 0x1401086b0
mov qword [rsp + 0x38], r13
test edi, edi
jne 0x1401086ca
mov qword [rsp + 0x30], rsi
jmp 0x1401086f3
mov edx, edi
lea rcx, [rsp + 0x30]
call fcn.1401fcb40
movsxd r9, edi
mov eax, dword [rsp + 0x38]
inc eax
movsxd rdx, eax
lea r8, [rbp + 0x440]
mov rcx, qword [rsp + 0x30]
call fcn.1402ba94c
mov edx, edi
lea rcx, [rsp + 0x30]
call fcn.1401fde50
nop
lea r8, [rsp + 0x50]
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x60]
call fcn.1400d2ba0
nop
cmp dword [rsp + 0x38], 0
jle 0x140108727
mov rcx, qword [rsp + 0x30]
call fcn.1402b7350
nop
cmp dword [rsp + 0x58], 0
jle 0x140108738
mov rcx, qword [rsp + 0x50]
call fcn.1402b7350
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x60]
call fcn.1401ff680
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x140108884
test al, 0x10
je 0x140108884
cmp dword [rsp + 0x48], 0
jle 0x140108774
mov rcx, qword [rsp + 0x40]
call fcn.1402b7350
mov r15b, 1
lea rax, vtable.Core::Array_class_Core::String_.0
mov qword [rbp - 0x60], rax
mov dword [rbp - 0x58], r13d
mov qword [rbp - 0x50], r13
mov qword [rsp + 0x48], r13
mov edx, 1
lea rcx, [rsp + 0x40]
call fcn.1401fcb40
mov eax, dword [rsp + 0x48]
inc eax
movsxd rdx, eax
mov r9d, 1
lea r8, [0x14034c84c]
mov rcx, qword [rsp + 0x40]
call fcn.1402ba94c
mov edx, 1
lea rcx, [rsp + 0x40]
call fcn.1401fde50
nop
lea r8, [rbp - 0x60]
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x60]
call fcn.1400ebad0
movzx ebx, al
cmp dword [rsp + 0x48], 0
jle 0x1401087f5
mov rcx, qword [rsp + 0x40]
call fcn.1402b7350
mov rsi, qword [rbp - 0x50]
test bl, bl
je 0x14010885c
mov eax, dword [rbp - 0x58]
test eax, eax
jle 0x14010885c
mov rbx, rsi
mov edi, eax
nop dword [rax]
mov r8, rbx
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x40]
call fcn.1400d2ba0
nop
movzx eax, byte [0x14042918a]
mov byte [rsp + 0x20], al
lea r9, [rsp + 0x40]
lea rdx, [rbp - 0x30]
lea rcx, [rsp + 0x70]
call fcn.1400e8550
nop
cmp dword [rsp + 0x48], 0
jle 0x140108853
mov rcx, qword [rsp + 0x40]
call fcn.1402b7350
add rbx, 0x10
dec rdi
jne 0x140108810
test rsi, rsi
je 0x140108896
lea r9, [fcn.140005eb0]
mov r8d, dword [rsi - 8]
mov edx, 0x10
mov rcx, rsi
call fcn.1402b7cf4
lea rcx, [rsi - 8]
call fcn.1402b712c
jmp 0x140108896
cmp dword [rsp + 0x48], 0
jle 0x140108896
mov rcx, qword [rsp + 0x40]
call fcn.1402b7350
nop
cmp dword [rsp + 0x68], 0
jle 0x1401088a7
mov rcx, qword [rsp + 0x60]
call fcn.1402b7350
mov rax, qword [rsp + 0x70]
mov rbx, qword [rax]
cmp rbx, rax
je 0x140108915
mov rcx, qword [rbx + 0x20]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp byte [rbx + 0x19], 0
jne 0x14010890e
mov rax, qword [rbx + 0x10]
cmp byte [rax + 0x19], 0
jne 0x1401088ee
mov rbx, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], 0
jne 0x14010890e
nop word [rax + rax]
mov rbx, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], 0
je 0x1401088e0
jmp 0x14010890e
mov rax, qword [rbx + 8]
cmp byte [rax + 0x19], 0
jne 0x14010890b
cmp rbx, qword [rax + 0x10]
jne 0x14010890b
mov rbx, rax
mov rax, qword [rax + 8]
cmp byte [rax + 0x19], 0
je 0x1401088f8
mov rbx, rax
cmp rbx, qword [rsp + 0x70]
jne 0x1401088b4
mov eax, dword [0x140429a18]
lea rsi, vtable.Core::Win32::RegistryKey.0
test al, 1
jne 0x14010894d
or eax, 1
mov dword [0x140429a18], eax
mov qword [0x1404299f0], rsi
mov qword [0x1404299f8], 0xffffffff80000002
lea rcx, [0x1402fedc0]
call fcn.1402b8a74
mov qword [rsp + 0x30], r13
lea rax, [rsp + 0x30]
mov qword [rsp + 0x20], rax
mov r9d, 0x2001f
xor r8d, r8d
lea rdx, [0x14034f270]
mov rcx, qword [0x1404299f8]
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1401089bb
lea ecx, [rax + 0x10]
call fcn.1402b6dbc
mov rbx, rax
test rax, rax
je 0x1401089bb
mov rcx, qword [rsp + 0x30]
mov qword [rax], rsi
mov qword [rax + 8], rcx
lea rdx, str.HitmanPro36
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rax, qword [rbx]
mov edx, 1
mov rcx, rbx
call qword [rax]
lea rax, str.Network
mov qword [rsp + 0x60], rax
lea rax, str.Minimal
mov qword [rsp + 0x68], rax
mov ebx, r13d
lea rdi, [rsp + 0x60]
nop dword [rax + rax]
lea r8, str.SYSTEMCurrentControlSetControlSafeBoot_
mov edx, 0x104
lea rcx, [rbp - 0x20]
call fcn.1402b6e28
mov r8, qword [rdi]
mov edx, 0x104
lea rcx, [rbp - 0x20]
call fcn.1402b9308
lea r8, [0x140345f98]
mov edx, 0x104
lea rcx, [rbp - 0x20]
call fcn.1402b9308
lea r8, [rbp - 0x20]
mov edx, 0x104
lea rcx, [rbp + 0x230]
call fcn.1402b6e28
lea r8, str.hitmanpro36
mov edx, 0x104
lea rcx, [rbp + 0x230]
call fcn.1402b9308
mov eax, dword [0x140429a18]
test al, 1
jne 0x140108a79
or eax, 1
mov dword [0x140429a18], eax
mov qword [0x1404299f0], rsi
mov qword [0x1404299f8], 0xffffffff80000002
lea rcx, [0x1402fedc0]
call fcn.1402b8a74
lea rdx, [rbp + 0x230]
mov rcx, qword [0x1404299f8]
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_SetLastError]
lea r8, str..sys
mov edx, 0x104
lea rcx, [rbp + 0x230]
call fcn.1402b9308
mov eax, dword [0x140429a18]
test al, 1
jne 0x140108ade
or eax, 1
mov dword [0x140429a18], eax
mov qword [0x1404299f0], rsi
mov qword [0x1404299f8], 0xffffffff80000002
lea rcx, [0x1402fedc0]
call fcn.1402b8a74
lea rdx, [rbp + 0x230]
mov rcx, qword [0x1404299f8]
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_SetLastError]
lea r8, [rbp - 0x20]
mov edx, 0x104
lea rcx, [rbp + 0x230]
call fcn.1402b6e28
lea r8, str.HitmanPro36Crusader
mov edx, 0x104
lea rcx, [rbp + 0x230]
call fcn.1402b9308
mov eax, dword [0x140429a18]
test al, 1
jne 0x140108b58
or eax, 1
mov dword [0x140429a18], eax
mov qword [0x1404299f0], rsi
mov qword [0x1404299f8], 0xffffffff80000002
lea rcx, [0x1402fedc0]
call fcn.1402b8a74
lea rdx, [rbp + 0x230]
mov rcx, qword [0x1404299f8]
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_SetLastError]
lea r8, [rbp - 0x20]
mov edx, 0x104
lea rcx, [rbp + 0x230]
call fcn.1402b6e28
lea r8, str.HitmanPro36CrusaderBoot
mov edx, 0x104
lea rcx, [rbp + 0x230]
call fcn.1402b9308
mov eax, dword [0x140429a18]
test al, 1
jne 0x140108bd2
or eax, 1
mov dword [0x140429a18], eax
mov qword [0x1404299f0], rsi
mov qword [0x1404299f8], 0xffffffff80000002
lea rcx, [0x1402fedc0]
call fcn.1402b8a74
lea rdx, [rbp + 0x230]
mov rcx, qword [0x1404299f8]
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_SetLastError]
inc ebx
add rdi, 8
movsxd rax, ebx
cmp rax, 2
jb 0x1401089e0
lea rax, [0x140346ce0]
mov qword [rbp - 0x80], rax
mov qword [rbp - 0x78], r13
lea r9, [rbp - 0x80]
movzx r8d, r14b
movzx edx, r15b
movzx ecx, r12b
call fcn.140106660
test al, al
je 0x140108c67
mov cl, 1
call fcn.1401165d0
call fcn.140116e40
test al, al
je 0x140108c62
lea rcx, [rsp + 0x60]
call fcn.140117100
nop
mov cl, 1
call fcn.140116fe0
call fcn.140116ef0
nop
cmp dword [rsp + 0x68], 0
jle 0x140108c62
mov rcx, qword [rsp + 0x60]
call fcn.1402b7350
mov r14b, 1
jmp 0x140108c6a
xor r14b, r14b
cmp dword [rbp - 0x78], 0
jle 0x140108c7a
mov rcx, qword [rbp - 0x80]
call fcn.1402b7350
nop
mov rdi, qword [rsp + 0x70]
mov rbx, qword [rdi]
cmp rbx, rbx
jne 0x140108cf2
mov rsi, qword [rdi + 8]
mov rbx, rsi
cmp byte [rsi + 0x19], 0
jne 0x140108cd6
nop dword [rax]
nop dword [rax + rax]
mov rdx, qword [rbx + 0x10]
lea rcx, [rsp + 0x70]
call fcn.14000a240
mov rbx, qword [rbx]
cmp dword [rsi + 0x28], 0
jle 0x140108cc0
mov rcx, qword [rsi + 0x20]
call fcn.1402b7350
mov rcx, rsi
call fcn.1402150f0
mov rsi, rbx
cmp byte [rbx + 0x19], 0
je 0x140108ca0
mov rdi, qword [rsp + 0x70]
mov qword [rdi + 8], rdi
mov rax, qword [rsp + 0x70]
mov qword [rax], rax
mov rax, qword [rsp + 0x70]
mov qword [rax + 0x10], rax
mov qword [rsp + 0x78], r13
jmp 0x140108d62
cmp rbx, rdi
je 0x140108d67
mov r8, rbx
cmp byte [rbx + 0x19], 0
jne 0x140108d4e
mov rax, qword [rbx + 0x10]
cmp byte [rax + 0x19], 0
jne 0x140108d2e
mov rbx, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], 0
jne 0x140108d4e
nop word [rax + rax]
mov rbx, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], 0
je 0x140108d20
jmp 0x140108d4e
mov rax, qword [rbx + 8]
cmp byte [rax + 0x19], 0
jne 0x140108d4b
cmp rbx, qword [rax + 0x10]
jne 0x140108d4b
mov rbx, rax
mov rax, qword [rax + 8]
cmp byte [rax + 0x19], 0
je 0x140108d38
mov rbx, rax
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x70]
call fcn.140008e20
cmp rbx, rdi
jne 0x140108cf7
mov rdi, qword [rsp + 0x70]
mov rcx, rdi
call fcn.1402150f0
nop
cmp dword [rbp - 0x68], 0
jle 0x140108d7f
mov rcx, qword [rbp - 0x70]
call fcn.1402b7350
movzx eax, r14b
mov rcx, qword [rbp + 0x650]
xor rcx, rsp
call fcn.1402b6d40
lea r11, [rsp + 0x760]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret