Function at 0x14010a040
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 - 0x468]
sub rsp, 0x540
mov qword [rbp - 0x48], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov rax, qword [0x140418a10]
xor rax, rsp
mov qword [rbp + 0x430], rax
lea rsi, [0x140348ca0]
mov qword [rbp - 0x70], rsi
xor r13d, r13d
mov qword [rbp - 0x68], r13
lea rdx, [rbp - 0x70]
lea rcx, str.HitmanPro37
call fcn.140108450
test al, al
jne 0x14010a0ad
xor r14b, r14b
jmp 0x14010a710
call fcn.140117dd0
movzx r12d, al
xor r15b, r15b
xor r14b, r14b
mov qword [rsp + 0x60], r13
mov qword [rsp + 0x68], r13
call fcn.14000a340
mov qword [rsp + 0x60], rax
lea rax, [rbp + 0x220]
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 0x14010a21c
mov qword [rsp + 0x58], r13
lea edx, [rdi + 0xe]
lea rcx, [rsp + 0x50]
call fcn.1401ff260
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.1402bd21c
lea edx, [rdi + 0xe]
lea rcx, [rsp + 0x50]
call fcn.140200570
nop
lea rax, [rbp + 0x220]
mov rbx, rdi
inc rbx
cmp word [rax + rbx*2], 0
jne 0x14010a142
mov qword [rsp + 0x38], r13
test ebx, ebx
jne 0x14010a15c
mov qword [rsp + 0x30], rsi
jmp 0x14010a185
mov edx, ebx
lea rcx, [rsp + 0x30]
call fcn.1401ff260
movsxd r9, ebx
mov eax, dword [rsp + 0x38]
inc eax
movsxd rdx, eax
lea r8, [rbp + 0x220]
mov rcx, qword [rsp + 0x30]
call fcn.1402bd21c
mov edx, ebx
lea rcx, [rsp + 0x30]
call fcn.140200570
nop
lea r8, [rsp + 0x50]
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x70]
call fcn.1400d2bd0
nop
cmp dword [rsp + 0x38], 0
jle 0x14010a1b9
mov rcx, qword [rsp + 0x30]
call fcn.1402b9c20
nop
cmp dword [rsp + 0x58], 0
jle 0x14010a1ca
mov rcx, qword [rsp + 0x50]
call fcn.1402b9c20
lea rdx, [rbp - 0x30]
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp rax, 0xffffffffffffffff
je 0x14010a20b
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_FindClose]
mov r14b, 1
movzx eax, byte [0x14042c16a]
mov byte [rsp + 0x20], al
lea r9, [rsp + 0x70]
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x60]
call fcn.1400e97f0
nop
cmp dword [rsp + 0x78], 0
jle 0x14010a21c
mov rcx, qword [rsp + 0x70]
call fcn.1402b9c20
lea rax, [rbp + 0x220]
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 0x14010a48a
mov qword [rsp + 0x58], r13
lea edx, [rax + 9]
lea rcx, [rsp + 0x50]
call fcn.1401ff260
mov eax, dword [rsp + 0x58]
inc eax
movsxd rdx, eax
mov r9d, 9
lea r8, [0x14034ee78]
mov rcx, qword [rsp + 0x50]
call fcn.1402bd21c
mov edx, 9
lea rcx, [rsp + 0x50]
call fcn.140200570
nop
lea rax, [rbp + 0x220]
nop dword [rax + rax]
inc rdi
cmp word [rax + rdi*2], 0
jne 0x14010a290
mov qword [rsp + 0x38], r13
test edi, edi
jne 0x14010a2aa
mov qword [rsp + 0x30], rsi
jmp 0x14010a2d3
mov edx, edi
lea rcx, [rsp + 0x30]
call fcn.1401ff260
movsxd r9, edi
mov eax, dword [rsp + 0x38]
inc eax
movsxd rdx, eax
lea r8, [rbp + 0x220]
mov rcx, qword [rsp + 0x30]
call fcn.1402bd21c
mov edx, edi
lea rcx, [rsp + 0x30]
call fcn.140200570
nop
lea r8, [rsp + 0x50]
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x70]
call fcn.1400d2bd0
nop
cmp dword [rsp + 0x38], 0
jle 0x14010a307
mov rcx, qword [rsp + 0x30]
call fcn.1402b9c20
nop
cmp dword [rsp + 0x58], 0
jle 0x14010a318
mov rcx, qword [rsp + 0x50]
call fcn.1402b9c20
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x70]
call fcn.140201da0
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x14010a351
cmp dword [rsp + 0x48], 0
jle 0x14010a479
mov rcx, qword [rsp + 0x40]
call fcn.1402b9c20
jmp 0x14010a479
test al, 0x10
je 0x14010a337
cmp dword [rsp + 0x48], 0
jle 0x14010a366
mov rcx, qword [rsp + 0x40]
call fcn.1402b9c20
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.1401ff260
mov eax, dword [rsp + 0x48]
inc eax
movsxd rdx, eax
mov r9d, 1
lea r8, [0x14034e8b4]
mov rcx, qword [rsp + 0x40]
call fcn.1402bd21c
mov edx, 1
lea rcx, [rsp + 0x40]
call fcn.140200570
nop
lea r8, [rbp - 0x60]
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x70]
call fcn.1400ecd70
movzx ebx, al
cmp dword [rsp + 0x48], 0
jle 0x14010a3e7
mov rcx, qword [rsp + 0x40]
call fcn.1402b9c20
mov rsi, qword [rbp - 0x50]
test bl, bl
je 0x14010a44c
mov eax, dword [rbp - 0x58]
test eax, eax
jle 0x14010a44c
mov rbx, rsi
mov edi, eax
nop dword [rax + rax]
mov r8, rbx
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x40]
call fcn.1400d2bd0
nop
movzx eax, byte [0x14042c16a]
mov byte [rsp + 0x20], al
lea r9, [rsp + 0x40]
lea rdx, [rbp - 0x40]
lea rcx, [rsp + 0x60]
call fcn.1400e97f0
nop
cmp dword [rsp + 0x48], 0
jle 0x14010a443
mov rcx, qword [rsp + 0x40]
call fcn.1402b9c20
add rbx, 0x10
dec rdi
jne 0x14010a400
test rsi, rsi
je 0x14010a472
lea r9, [fcn.140005eb0]
mov r8d, dword [rsi - 8]
mov edx, 0x10
mov rcx, rsi
call fcn.1402ba5c4
lea rcx, [rsi - 8]
call fcn.1402b99fc
lea rsi, [0x140348ca0]
cmp dword [rsp + 0x78], 0
jle 0x14010a48a
mov rcx, qword [rsp + 0x70]
call fcn.1402b9c20
mov rax, qword [rsp + 0x60]
mov rbx, qword [rax]
cmp rbx, rax
je 0x14010a505
nop word [rax + rax]
mov rcx, qword [rbx + 0x20]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp byte [rbx + 0x19], 0
jne 0x14010a4fe
mov rax, qword [rbx + 0x10]
cmp byte [rax + 0x19], 0
jne 0x14010a4de
mov rbx, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], 0
jne 0x14010a4fe
nop word [rax + rax]
mov rbx, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], 0
je 0x14010a4d0
jmp 0x14010a4fe
mov rax, qword [rbx + 8]
cmp byte [rax + 0x19], 0
jne 0x14010a4fb
cmp rbx, qword [rax + 0x10]
jne 0x14010a4fb
mov rbx, rax
mov rax, qword [rax + 8]
cmp byte [rax + 0x19], 0
je 0x14010a4e8
mov rbx, rax
cmp rbx, qword [rsp + 0x60]
jne 0x14010a4a0
mov eax, dword [0x14042c9e0]
lea rdi, vtable.Core::Win32::RegistryKey.0
test al, 1
jne 0x14010a53d
or eax, 1
mov dword [0x14042c9e0], eax
mov qword [0x14042c9e8], rdi
mov qword [0x14042c9f0], 0xffffffff80000002
lea rcx, [0x1403017d0]
call fcn.1402bb344
mov qword [rsp + 0x30], r13
lea rax, [rsp + 0x30]
mov qword [rsp + 0x20], rax
mov r9d, 0x2001f
xor r8d, r8d
lea rdx, [0x140351240]
mov rcx, qword [0x14042c9f0]
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14010a5ab
lea ecx, [rax + 0x10]
call fcn.1402b968c
mov rbx, rax
test rax, rax
je 0x14010a5ab
mov rcx, qword [rsp + 0x30]
mov qword [rax], rdi
mov qword [rax + 8], rcx
lea rdx, str.HitmanPro37
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]
mov qword [rbp - 0x80], rsi
mov qword [rbp - 0x78], r13
lea r9, [rbp - 0x80]
movzx r8d, r14b
movzx edx, r15b
movzx ecx, r12b
call fcn.1401078e0
test al, al
je 0x14010a60a
mov cl, 1
call fcn.140117850
call fcn.1401180c0
test al, al
je 0x14010a605
lea rcx, [rsp + 0x70]
call fcn.140118380
nop
mov cl, 1
call fcn.140118260
call fcn.140118170
nop
cmp dword [rsp + 0x78], 0
jle 0x14010a605
mov rcx, qword [rsp + 0x70]
call fcn.1402b9c20
mov r14b, 1
jmp 0x14010a60d
xor r14b, r14b
cmp dword [rbp - 0x78], 0
jle 0x14010a61d
mov rcx, qword [rbp - 0x80]
call fcn.1402b9c20
nop
mov rdi, qword [rsp + 0x60]
mov rbx, qword [rdi]
cmp rbx, rbx
jne 0x14010a692
mov rsi, qword [rdi + 8]
mov rbx, rsi
cmp byte [rsi + 0x19], 0
jne 0x14010a676
nop word [rax + rax]
mov rdx, qword [rbx + 0x10]
lea rcx, [rsp + 0x60]
call fcn.14000a240
mov rbx, qword [rbx]
cmp dword [rsi + 0x28], 0
jle 0x14010a660
mov rcx, qword [rsi + 0x20]
call fcn.1402b9c20
mov rcx, rsi
call fcn.1402177e0
mov rsi, rbx
cmp byte [rbx + 0x19], 0
je 0x14010a640
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], r13
jmp 0x14010a702
cmp rbx, rdi
je 0x14010a707
mov r8, rbx
cmp byte [rbx + 0x19], 0
jne 0x14010a6ee
mov rax, qword [rbx + 0x10]
cmp byte [rax + 0x19], 0
jne 0x14010a6ce
mov rbx, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], 0
jne 0x14010a6ee
nop word [rax + rax]
mov rbx, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], 0
je 0x14010a6c0
jmp 0x14010a6ee
mov rax, qword [rbx + 8]
cmp byte [rax + 0x19], 0
jne 0x14010a6eb
cmp rbx, qword [rax + 0x10]
jne 0x14010a6eb
mov rbx, rax
mov rax, qword [rax + 8]
cmp byte [rax + 0x19], 0
je 0x14010a6d8
mov rbx, rax
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x60]
call fcn.140008e20
cmp rbx, rdi
jne 0x14010a697
mov rdi, qword [rsp + 0x60]
mov rcx, rdi
call fcn.1402177e0
nop
cmp dword [rbp - 0x68], 0
jle 0x14010a71f
mov rcx, qword [rbp - 0x70]
call fcn.1402b9c20
movzx eax, r14b
mov rcx, qword [rbp + 0x430]
xor rcx, rsp
call fcn.1402b9610
lea r11, [rsp + 0x540]
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