Function at 0x14010a0a0
Capabilities:
Check if file exists
Check os version
Copy file
Create process on windows
Get common file path
Get file attributes
Persist via lnk shortcut
Persist via run registry key
Print debug messages
Set registry value

Disassembly:
mov rax, rsp
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0xac8]
sub rsp, 0xba0
mov qword [rbp], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov rax, qword [0x14041da10]
xor rax, rsp
mov qword [rbp + 0xa90], rax
xor r13b, r13b
xor r12b, r12b
mov eax, dword [0x140431ac0]
lea rbx, vtable.Core::Win32::RegistryKey.0
test al, 1
jne 0x14010a11d
or eax, 1
mov dword [0x140431ac0], eax
mov qword [0x140431ac8], rbx
mov qword [0x140431ad0], 0xffffffff80000002
lea rcx, [0x1403050b0]
call fcn.1402be804
xor r14d, r14d
mov qword [rbp - 0x40], r14
lea rax, [rbp - 0x40]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
lea rdx, str.SOFTWAREHitman_Pro
mov rcx, qword [0x140431ad0]
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
lea r15, [0x14034d1a0]
or rsi, 0xffffffffffffffff
test eax, eax
jne 0x14010a534
lea ecx, [rsi + 0x11]
call fcn.1402bcb4c
mov r15, rax
test rax, rax
je 0x14010a52d
mov rax, qword [rbp - 0x40]
mov qword [r15], rbx
mov qword [r15 + 8], rax
lea rax, [0x14034d1a0]
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x78], r14
lea r8, [rsp + 0x70]
lea rdx, [0x140355298]
mov rcx, r15
call fcn.1400d9fd0
test al, al
je 0x14010a50e
mov r12b, 1
xor dil, dil
xor ecx, ecx
call fcn.1400f4570
mov rbx, rax
test rax, rax
je 0x14010a245
lea rax, [0x14034d1a0]
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x58], r14
lea r8, [rsp + 0x50]
lea rdx, [0x140355298]
mov rcx, rbx
call fcn.1400d9fd0
test al, al
je 0x14010a21a
mov eax, dword [rsp + 0x5c]
cmp dword [rsp + 0x7c], eax
jne 0x14010a21a
mov rax, qword [rsp + 0x70]
mov r8, qword [rsp + 0x50]
sub r8, rax
movzx edx, word [rax]
movzx ecx, word [rax + r8]
sub edx, ecx
jne 0x14010a216
add rax, 2
test ecx, ecx
jne 0x14010a202
test edx, edx
je 0x14010a21d
mov dil, 1
mov rax, qword [rbx]
mov edx, 1
mov rcx, rbx
call qword [rax]
nop
cmp dword [rsp + 0x58], 0
jle 0x14010a23c
mov rcx, qword [rsp + 0x50]
call fcn.1402bd0e0
test dil, dil
je 0x14010a50e
mov eax, dword [0x140431ac0]
test al, 1
jne 0x14010a27d
or eax, 1
mov dword [0x140431ac0], eax
lea rax, vtable.Core::Win32::RegistryKey.0
mov qword [0x140431ac8], rax
mov qword [0x140431ad0], 0xffffffff80000002
lea rcx, [0x1403050b0]
call fcn.1402be804
lea rdx, [0x140352cb8]
lea rcx, [0x140431ac8]
call fcn.1400ece40
mov rbx, rax
test rax, rax
je 0x14010a2e8
xor r8d, r8d
mov rdx, rax
mov rcx, r15
call fcn.1400ed5e0
test al, al
je 0x14010a2db
mov eax, dword [rsp + 0x7c]
add eax, eax
mov dword [rsp + 0x28], eax
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x20], rax
mov r9d, 1
xor r8d, r8d
lea rdx, [0x140355298]
mov rcx, qword [rbx + 8]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov r13b, 1
mov rax, qword [rbx]
mov edx, 1
mov rcx, rbx
call qword [rax]
xor edx, edx
lea rcx, [rbp - 0x80]
call fcn.1400f41b0
nop
mov edx, 0x23
lea rcx, [rsp + 0x60]
call fcn.14020e790
nop
mov rcx, qword [rsp + 0x60]
test rcx, rcx
je 0x14010a4e7
mov rax, rsi
inc rax
cmp word [rcx + rax*2], 0
jne 0x14010a315
test rax, rax
je 0x14010a4e7
mov qword [rsp + 0x58], r14
mov edx, 0xa
lea rcx, [rsp + 0x50]
call fcn.1402028a0
mov eax, dword [rsp + 0x58]
inc eax
movsxd rdx, eax
mov r9d, 0xa
lea r8, str.Hitman_Pro
mov rcx, qword [rsp + 0x50]
call fcn.1402c06dc
mov edx, 0xa
lea rcx, [rsp + 0x50]
call fcn.140203bb0
nop
lea r8, [rsp + 0x50]
lea rdx, [rsp + 0x60]
lea rcx, [rbp - 0x50]
call fcn.1400d4050
mov rbx, rax
mov edx, dword [rax + 0xc]
lea rcx, [rsp + 0x60]
call fcn.1402028a0
movsxd r9, dword [rbx + 0xc]
mov eax, dword [rsp + 0x68]
inc eax
movsxd rdx, eax
mov r8, qword [rbx]
mov rcx, qword [rsp + 0x60]
call fcn.1402c06dc
mov edx, dword [rbx + 0xc]
lea rcx, [rsp + 0x60]
call fcn.140203bb0
nop
cmp dword [rbp - 0x48], 0
jle 0x14010a3c7
mov rcx, qword [rbp - 0x50]
call fcn.1402bd0e0
nop
cmp dword [rsp + 0x58], 0
jle 0x14010a3d8
mov rcx, qword [rsp + 0x50]
call fcn.1402bd0e0
lea rax, vtable.Core::Array_class_Core::String_.0
mov qword [rbp - 0x18], rax
mov dword [rbp - 0x10], r14d
mov qword [rbp - 8], r14
mov qword [rsp + 0x58], r14
mov ebx, 1
mov edx, ebx
lea rcx, [rsp + 0x50]
call fcn.1402028a0
mov eax, dword [rsp + 0x58]
inc eax
movsxd rdx, eax
mov r9d, ebx
lea r8, [0x1403526ec]
mov rcx, qword [rsp + 0x50]
call fcn.1402c06dc
mov edx, ebx
lea rcx, [rsp + 0x50]
call fcn.140203bb0
nop
lea r8, [rbp - 0x18]
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x60]
call fcn.1400ee2e0
nop
cmp dword [rsp + 0x58], 0
jle 0x14010a450
mov rcx, qword [rsp + 0x50]
call fcn.1402bd0e0
mov r14, qword [rbp - 8]
mov eax, dword [rbp - 0x10]
test eax, eax
jle 0x14010a4be
mov rbx, r14
mov edi, eax
mov r8, rbx
lea rdx, [rsp + 0x60]
lea rcx, [rbp - 0x70]
call fcn.1400d4050
nop
mov r8, rbx
lea rdx, [rbp - 0x80]
lea rcx, [rbp - 0x50]
call fcn.1400d4050
mov r8d, 1
mov rdx, qword [rbp - 0x50]
mov rcx, qword [rbp - 0x70]
call qword [sym.imp.KERNEL32.dll_CopyFileW]
cmp dword [rbp - 0x48], 0
jle 0x14010a4a6
mov rcx, qword [rbp - 0x50]
call fcn.1402bd0e0
nop
cmp dword [rbp - 0x68], 0
jle 0x14010a4b5
mov rcx, qword [rbp - 0x70]
call fcn.1402bd0e0
add rbx, 0x10
dec rdi
jne 0x14010a460
test r14, r14
je 0x14010a4e4
lea r9, [fcn.140005eb0]
mov r8d, dword [r14 - 8]
mov edx, 0x10
mov rcx, r14
call fcn.1402bda84
lea rcx, [r14 - 8]
call fcn.1402bcebc
xor r14d, r14d
call fcn.1400d5600
nop
cmp dword [rsp + 0x68], 0
jle 0x14010a4ff
mov rcx, qword [rsp + 0x60]
call fcn.1402bd0e0
nop
cmp dword [rbp - 0x78], 0
jle 0x14010a50e
mov rcx, qword [rbp - 0x80]
call fcn.1402bd0e0
mov rax, qword [r15]
mov edx, 1
mov rcx, r15
call qword [rax]
nop
cmp dword [rsp + 0x78], 0
jle 0x14010a52d
mov rcx, qword [rsp + 0x70]
call fcn.1402bd0e0
lea r15, [0x14034d1a0]
call fcn.140107b70
test al, al
jne 0x14010a641
mov word [rbp + 0x290], r14w
xor edx, edx
mov r8d, 0x7fe
lea rcx, [rbp + 0x292]
call fcn.1402c5760
mov qword [rbp - 0x38], r15
mov qword [rbp - 0x30], 0
lea rdi, [0x140431680]
cmp word [0x140431680], 0
jne 0x14010a58b
mov r8d, 0x104
mov rdx, rdi
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov rbx, rsi
nop
inc rbx
cmp word [rdi + rbx*2], 0
jne 0x14010a590
mov qword [rbp - 0x58], 0
test ebx, ebx
jne 0x14010a5ac
mov qword [rbp - 0x60], r15
jmp 0x14010a5ce
mov edx, ebx
lea rcx, [rbp - 0x60]
call fcn.1402028a0
movsxd r9, ebx
mov eax, dword [rbp - 0x58]
inc eax
movsxd rdx, eax
mov r8, rdi
mov rcx, qword [rbp - 0x60]
call fcn.1402c06dc
mov edx, ebx
lea rcx, [rbp - 0x60]
call fcn.140203bb0
nop
mov qword [rbp - 0x28], r15
mov qword [rbp - 0x20], 0
lea rdx, [rbp - 0x28]
lea rcx, [0x140354df0]
call fcn.140109a30
test al, al
je 0x14010a648
mov eax, dword [rbp - 0x1c]
cmp dword [rbp - 0x54], eax
jne 0x14010a648
mov rdx, qword [rbp - 0x28]
mov rcx, qword [rbp - 0x60]
call fcn.1402bcf6c
test eax, eax
jne 0x14010a648
cmp dword [rbp - 0x20], eax
jle 0x14010a622
mov rcx, qword [rbp - 0x28]
call fcn.1402bd0e0
nop
cmp dword [rbp - 0x58], 0
jle 0x14010a632
mov rcx, qword [rbp - 0x60]
call fcn.1402bd0e0
nop
cmp dword [rbp - 0x30], 0
jle 0x14010a641
mov rcx, qword [rbp - 0x38]
call fcn.1402bd0e0
xor al, al
jmp 0x14010ac72
test r12b, r12b
je 0x14010ab9d
xor r15b, r15b
lea rax, [0x14034d1a0]
mov qword [rbp - 0x50], rax
mov qword [rbp - 0x48], 0
lea rdx, [rbp - 0x50]
lea rcx, str.HitmanPro35
call fcn.140109a30
test al, al
je 0x14010ab8e
lea rdx, [rbp - 0x50]
lea rcx, [rbp - 0x70]
call fcn.1400d4470
movsxd rax, dword [rbp - 0x64]
cmp dword [rbp - 0x54], eax
jl 0x14010a6b4
mov r8, rax
mov rdx, qword [rbp - 0x70]
mov rcx, qword [rbp - 0x60]
call fcn.1402beee8
test eax, eax
movzx r15d, r15b
mov eax, 1
cmove r15d, eax
cmp dword [rbp - 0x68], 0
jle 0x14010a6c3
mov rcx, qword [rbp - 0x70]
call fcn.1402bd0e0
xor r12b, r12b
xor r14b, r14b
xor dil, dil
lea rax, [rbp + 0x80]
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 0x14010a829
xor eax, eax
mov qword [rsp + 0x58], rax
lea edx, [rax + 0xe]
lea rcx, [rsp + 0x50]
call fcn.1402028a0
mov eax, dword [rsp + 0x58]
inc eax
movsxd rdx, eax
mov r9d, 0xe
lea r8, str.Hitman_Pro_3.5
mov rcx, qword [rsp + 0x50]
call fcn.1402c06dc
mov edx, 0xe
lea rcx, [rsp + 0x50]
call fcn.140203bb0
nop
lea rax, [rbp + 0x80]
mov rbx, rsi
inc rbx
cmp word [rax + rbx*2], 0
jne 0x14010a740
xor eax, eax
mov qword [rsp + 0x78], rax
test ebx, ebx
jne 0x14010a763
lea rax, [0x14034d1a0]
mov qword [rsp + 0x70], rax
jmp 0x14010a78c
mov edx, ebx
lea rcx, [rsp + 0x70]
call fcn.1402028a0
movsxd r9, ebx
mov eax, dword [rsp + 0x78]
inc eax
movsxd rdx, eax
lea r8, [rbp + 0x80]
mov rcx, qword [rsp + 0x70]
call fcn.1402c06dc
mov edx, ebx
lea rcx, [rsp + 0x70]
call fcn.140203bb0
nop
lea r8, [rsp + 0x50]
lea rdx, [rsp + 0x70]
lea rcx, [rbp - 0x80]
call fcn.1400d4050
nop
cmp dword [rsp + 0x78], 0
jle 0x14010a7bf
mov rcx, qword [rsp + 0x70]
call fcn.1402bd0e0
nop
cmp dword [rsp + 0x58], 0
jle 0x14010a7d0
mov rcx, qword [rsp + 0x50]
call fcn.1402bd0e0
lea rdx, [rsp + 0x60]
lea rcx, [rbp - 0x80]
call fcn.1402053e0
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x14010a808
test al, 0x10
je 0x14010a808
cmp dword [rsp + 0x68], 0
jle 0x14010a803
mov rcx, qword [rsp + 0x60]
call fcn.1402bd0e0
mov r12b, 1
jmp 0x14010a81a
cmp dword [rsp + 0x68], 0
jle 0x14010a81a
mov rcx, qword [rsp + 0x60]
call fcn.1402bd0e0
nop
cmp dword [rbp - 0x78], 0
jle 0x14010a829
mov rcx, qword [rbp - 0x80]
call fcn.1402bd0e0
lea rax, [rbp + 0x80]
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]
test eax, eax
jne 0x14010a957
xor eax, eax
mov qword [rsp + 0x58], rax
lea edx, [rax + 0x12]
lea rcx, [rsp + 0x50]
call fcn.1402028a0
mov eax, dword [rsp + 0x58]
inc eax
movsxd rdx, eax
mov r9d, 0x12
lea r8, str.Hitman_Pro_3.5.lnk
mov rcx, qword [rsp + 0x50]
call fcn.1402c06dc
mov edx, 0x12
lea rcx, [rsp + 0x50]
call fcn.140203bb0
nop
lea rax, [rbp + 0x80]
mov rbx, rsi
nop dword [rax]
inc rbx
cmp word [rax + rbx*2], 0
jne 0x14010a8a0
xor eax, eax
mov qword [rsp + 0x78], rax
test ebx, ebx
jne 0x14010a8c3
lea rax, [0x14034d1a0]
mov qword [rsp + 0x70], rax
jmp 0x14010a8ec
mov edx, ebx
lea rcx, [rsp + 0x70]
call fcn.1402028a0
movsxd r9, ebx
mov eax, dword [rsp + 0x78]
inc eax
movsxd rdx, eax
lea r8, [rbp + 0x80]
mov rcx, qword [rsp + 0x70]
call fcn.1402c06dc
mov edx, ebx
lea rcx, [rsp + 0x70]
call fcn.140203bb0
nop
lea r8, [rsp + 0x50]
lea rdx, [rsp + 0x70]
lea rcx, [rbp - 0x80]
call fcn.1400d4050
nop
cmp dword [rsp + 0x78], 0
jle 0x14010a91f
mov rcx, qword [rsp + 0x70]
call fcn.1402bd0e0
nop
cmp dword [rsp + 0x58], 0
jle 0x14010a930
mov rcx, qword [rsp + 0x50]
call fcn.1402bd0e0
lea rcx, [rbp - 0x80]
call fcn.14020c540
movzx r14d, r14b
test al, al
mov eax, 1
cmovne r14d, eax
cmp dword [rbp - 0x78], 0
jle 0x14010a957
mov rcx, qword [rbp - 0x80]
call fcn.1402bd0e0
call qword [sym.imp.KERNEL32.dll_GetVersion]
cmp al, 6
jb 0x14010a969
call fcn.1400f38d0
movzx edi, al
call fcn.1400ed890
xor ebx, ebx
mov qword [rbp - 0x40], rbx
lea rdx, [rbp - 0x40]
mov qword [rsp + 0x20], rdx
mov r9d, 0x20019
xor r8d, r8d
lea rdx, str.SOFTWAREMicrosoftWindowsCurrentVersionRun
mov rcx, qword [rax + 8]
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14010a9d7
lea ecx, [rbx + 0x10]
call fcn.1402bcb4c
mov rcx, rax
test rax, rax
je 0x14010a9d7
mov rax, qword [rbp - 0x40]
lea rdx, vtable.Core::Win32::RegistryKey.0
mov qword [rcx], rdx
mov qword [rcx + 8], rax
lea rdx, str.HitmanPro35
call fcn.1400ed340
movzx edi, dil
test eax, eax
mov eax, 1
cmovne edi, eax
lea rax, [0x14034d1a0]
mov qword [rbp - 0x70], rax
mov qword [rbp - 0x68], rbx
lea r9, [rbp - 0x70]
movzx r8d, r14b
movzx edx, r12b
movzx ecx, dil
call fcn.140108ec0
test al, al
je 0x14010ab7c
mov edx, 0x23
lea rcx, [rsp + 0x60]
call fcn.14020e790
nop
mov rcx, qword [rsp + 0x60]
test rcx, rcx
je 0x14010ab6f
inc rsi
cmp word [rcx + rsi*2], 0
jne 0x14010aa21
test rsi, rsi
je 0x14010ab6f
mov qword [rsp + 0x58], rbx
mov edx, 0xa
lea rcx, [rsp + 0x50]
call fcn.1402028a0
mov eax, dword [rsp + 0x58]
inc eax
movsxd rdx, eax
mov r9d, 0xa
lea r8, str.Hitman_Pro
mov rcx, qword [rsp + 0x50]
call fcn.1402c06dc
mov edx, 0xa
lea rcx, [rsp + 0x50]
call fcn.140203bb0
nop
lea r8, [rsp + 0x50]
lea rdx, [rsp + 0x60]
lea rcx, [rbp - 0x80]
call fcn.1400d4050
mov rbx, rax
mov edx, dword [rax + 0xc]
lea rcx, [rsp + 0x60]
call fcn.1402028a0
movsxd r9, dword [rbx + 0xc]
mov eax, dword [rsp + 0x68]
inc eax
movsxd rdx, eax
mov r8, qword [rbx]
mov rcx, qword [rsp + 0x60]
call fcn.1402c06dc
mov edx, dword [rbx + 0xc]
lea rcx, [rsp + 0x60]
call fcn.140203bb0
nop
cmp dword [rbp - 0x78], 0
jle 0x14010aad3
mov rcx, qword [rbp - 0x80]
call fcn.1402bd0e0
nop
cmp dword [rsp + 0x58], 0
jle 0x14010aae4
mov rcx, qword [rsp + 0x50]
call fcn.1402bd0e0
mov dl, 1
lea rcx, [rsp + 0x60]
call fcn.1400edcb0
test r15b, r15b
je 0x14010ab6a
mov rax, qword [rbp - 0x60]
mov qword [rsp + 0x20], rax
mov r9, qword [rbp - 0x70]
lea r8, str.__s___upgraded:__s_
mov edx, 0x400
lea rcx, [rbp + 0x290]
call fcn.1402c06b8
lea rdx, [rbp - 0x70]
lea rcx, [rbp - 0x80]
call fcn.1400d4470
mov rbx, rax
mov edx, dword [rax + 0xc]
lea rcx, [rbp - 0x38]
call fcn.1402028a0
movsxd r9, dword [rbx + 0xc]
mov eax, dword [rbp - 0x30]
inc eax
movsxd rdx, eax
mov r8, qword [rbx]
mov rcx, qword [rbp - 0x38]
call fcn.1402c06dc
mov edx, dword [rbx + 0xc]
lea rcx, [rbp - 0x38]
call fcn.140203bb0
nop
cmp dword [rbp - 0x78], 0
jle 0x14010ab6a
mov rcx, qword [rbp - 0x80]
call fcn.1402bd0e0
mov rcx, qword [rsp + 0x60]
cmp dword [rsp + 0x68], 0
jle 0x14010ab7c
call fcn.1402bd0e0
nop
cmp dword [rbp - 0x68], 0
jle 0x14010ab8b
mov rcx, qword [rbp - 0x70]
call fcn.1402bd0e0
xor r14d, r14d
cmp dword [rbp - 0x48], 0
jle 0x14010ab9d
mov rcx, qword [rbp - 0x50]
call fcn.1402bd0e0
cmp word [rbp + 0x290], 0
je 0x14010ac3f
lea rcx, [rbp + 0x290]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
xor edx, edx
lea r8d, [rdx + 0x60]
lea rcx, [rbp + 0x18]
call fcn.1402c5760
mov qword [rbp - 0x18], r14
xor eax, eax
mov qword [rbp - 0x10], rax
mov qword [rbp - 8], rax
mov dword [rbp + 0x10], 0x68
lea rax, [rbp - 0x18]
mov qword [rsp + 0x48], rax
lea rax, [rbp + 0x10]
mov qword [rsp + 0x40], rax
mov rax, qword [rbp - 0x38]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], r14
mov dword [rsp + 0x28], r14d
mov eax, 1
mov dword [rsp + 0x20], eax
xor r9d, r9d
xor r8d, r8d
lea rdx, [rbp + 0x290]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x14010ac3f
mov rcx, qword [rbp - 0x10]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbp - 0x18]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor ecx, ecx
call fcn.1402c0e34
nop
cmp dword [rbp - 0x20], 0
jle 0x14010ac4f
mov rcx, qword [rbp - 0x28]
call fcn.1402bd0e0
nop
cmp dword [rbp - 0x58], 0
jle 0x14010ac5f
mov rcx, qword [rbp - 0x60]
call fcn.1402bd0e0
nop
cmp dword [rbp - 0x30], 0
jle 0x14010ac6e
mov rcx, qword [rbp - 0x38]
call fcn.1402bd0e0
movzx eax, r13b
mov rcx, qword [rbp + 0xa90]
xor rcx, rsp
call fcn.1402bcad0
lea r11, [rsp + 0xba0]
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