Function at 0x140108ac0
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 [0x140418a10]
xor rax, rsp
mov qword [rbp + 0xa90], rax
xor r13b, r13b
xor r12b, r12b
mov eax, dword [0x14042c9e0]
lea rbx, vtable.Core::Win32::RegistryKey.0
test al, 1
jne 0x140108b3d
or eax, 1
mov dword [0x14042c9e0], eax
mov qword [0x14042c9e8], rbx
mov qword [0x14042c9f0], 0xffffffff80000002
lea rcx, [0x1403017d0]
call fcn.1402bb344
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 [0x14042c9f0]
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
lea r15, [0x140348ca0]
or rsi, 0xffffffffffffffff
test eax, eax
jne 0x140108f54
lea ecx, [rsi + 0x11]
call fcn.1402b968c
mov r15, rax
test rax, rax
je 0x140108f4d
mov rax, qword [rbp - 0x40]
mov qword [r15], rbx
mov qword [r15 + 8], rax
lea rax, [0x140348ca0]
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x78], r14
lea r8, [rsp + 0x70]
lea rdx, [0x1403513e8]
mov rcx, r15
call fcn.1400d8b50
test al, al
je 0x140108f2e
mov r12b, 1
xor dil, dil
xor ecx, ecx
call fcn.1400f2f90
mov rbx, rax
test rax, rax
je 0x140108c65
lea rax, [0x140348ca0]
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x58], r14
lea r8, [rsp + 0x50]
lea rdx, [0x1403513e8]
mov rcx, rbx
call fcn.1400d8b50
test al, al
je 0x140108c3a
mov eax, dword [rsp + 0x5c]
cmp dword [rsp + 0x7c], eax
jne 0x140108c3a
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 0x140108c36
add rax, 2
test ecx, ecx
jne 0x140108c22
test edx, edx
je 0x140108c3d
mov dil, 1
mov rax, qword [rbx]
mov edx, 1
mov rcx, rbx
call qword [rax]
nop
cmp dword [rsp + 0x58], 0
jle 0x140108c5c
mov rcx, qword [rsp + 0x50]
call fcn.1402b9c20
test dil, dil
je 0x140108f2e
mov eax, dword [0x14042c9e0]
test al, 1
jne 0x140108c9d
or eax, 1
mov dword [0x14042c9e0], eax
lea rax, vtable.Core::Win32::RegistryKey.0
mov qword [0x14042c9e8], rax
mov qword [0x14042c9f0], 0xffffffff80000002
lea rcx, [0x1403017d0]
call fcn.1402bb344
lea rdx, [0x14034ee50]
lea rcx, [0x14042c9e8]
call fcn.1400eb8d0
mov rbx, rax
test rax, rax
je 0x140108d08
xor r8d, r8d
mov rdx, rax
mov rcx, r15
call fcn.1400ec070
test al, al
je 0x140108cfb
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, [0x1403513e8]
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.1400f2bd0
nop
mov edx, 0x23
lea rcx, [rsp + 0x60]
call fcn.14020a8a0
nop
mov rcx, qword [rsp + 0x60]
test rcx, rcx
je 0x140108f07
mov rax, rsi
inc rax
cmp word [rcx + rax*2], 0
jne 0x140108d35
test rax, rax
je 0x140108f07
mov qword [rsp + 0x58], r14
mov edx, 0xa
lea rcx, [rsp + 0x50]
call fcn.1401ff260
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.1402bd21c
mov edx, 0xa
lea rcx, [rsp + 0x50]
call fcn.140200570
nop
lea r8, [rsp + 0x50]
lea rdx, [rsp + 0x60]
lea rcx, [rbp - 0x50]
call fcn.1400d2bd0
mov rbx, rax
mov edx, dword [rax + 0xc]
lea rcx, [rsp + 0x60]
call fcn.1401ff260
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.1402bd21c
mov edx, dword [rbx + 0xc]
lea rcx, [rsp + 0x60]
call fcn.140200570
nop
cmp dword [rbp - 0x48], 0
jle 0x140108de7
mov rcx, qword [rbp - 0x50]
call fcn.1402b9c20
nop
cmp dword [rsp + 0x58], 0
jle 0x140108df8
mov rcx, qword [rsp + 0x50]
call fcn.1402b9c20
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.1401ff260
mov eax, dword [rsp + 0x58]
inc eax
movsxd rdx, eax
mov r9d, ebx
lea r8, [0x14034e8b4]
mov rcx, qword [rsp + 0x50]
call fcn.1402bd21c
mov edx, ebx
lea rcx, [rsp + 0x50]
call fcn.140200570
nop
lea r8, [rbp - 0x18]
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x60]
call fcn.1400ecd70
nop
cmp dword [rsp + 0x58], 0
jle 0x140108e70
mov rcx, qword [rsp + 0x50]
call fcn.1402b9c20
mov r14, qword [rbp - 8]
mov eax, dword [rbp - 0x10]
test eax, eax
jle 0x140108ede
mov rbx, r14
mov edi, eax
mov r8, rbx
lea rdx, [rsp + 0x60]
lea rcx, [rbp - 0x70]
call fcn.1400d2bd0
nop
mov r8, rbx
lea rdx, [rbp - 0x80]
lea rcx, [rbp - 0x50]
call fcn.1400d2bd0
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 0x140108ec6
mov rcx, qword [rbp - 0x50]
call fcn.1402b9c20
nop
cmp dword [rbp - 0x68], 0
jle 0x140108ed5
mov rcx, qword [rbp - 0x70]
call fcn.1402b9c20
add rbx, 0x10
dec rdi
jne 0x140108e80
test r14, r14
je 0x140108f04
lea r9, [fcn.140005eb0]
mov r8d, dword [r14 - 8]
mov edx, 0x10
mov rcx, r14
call fcn.1402ba5c4
lea rcx, [r14 - 8]
call fcn.1402b99fc
xor r14d, r14d
call fcn.1400d4180
nop
cmp dword [rsp + 0x68], 0
jle 0x140108f1f
mov rcx, qword [rsp + 0x60]
call fcn.1402b9c20
nop
cmp dword [rbp - 0x78], 0
jle 0x140108f2e
mov rcx, qword [rbp - 0x80]
call fcn.1402b9c20
mov rax, qword [r15]
mov edx, 1
mov rcx, r15
call qword [rax]
nop
cmp dword [rsp + 0x78], 0
jle 0x140108f4d
mov rcx, qword [rsp + 0x70]
call fcn.1402b9c20
lea r15, [0x140348ca0]
call fcn.140106590
test al, al
jne 0x140109061
mov word [rbp + 0x290], r14w
xor edx, edx
mov r8d, 0x7fe
lea rcx, [rbp + 0x292]
call fcn.1402c22a0
mov qword [rbp - 0x38], r15
mov qword [rbp - 0x30], 0
lea rdi, [0x14042c5a0]
cmp word [0x14042c5a0], 0
jne 0x140108fab
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 0x140108fb0
mov qword [rbp - 0x58], 0
test ebx, ebx
jne 0x140108fcc
mov qword [rbp - 0x60], r15
jmp 0x140108fee
mov edx, ebx
lea rcx, [rbp - 0x60]
call fcn.1401ff260
movsxd r9, ebx
mov eax, dword [rbp - 0x58]
inc eax
movsxd rdx, eax
mov r8, rdi
mov rcx, qword [rbp - 0x60]
call fcn.1402bd21c
mov edx, ebx
lea rcx, [rbp - 0x60]
call fcn.140200570
nop
mov qword [rbp - 0x28], r15
mov qword [rbp - 0x20], 0
lea rdx, [rbp - 0x28]
lea rcx, [0x140350f60]
call fcn.140108450
test al, al
je 0x140109068
mov eax, dword [rbp - 0x1c]
cmp dword [rbp - 0x54], eax
jne 0x140109068
mov rdx, qword [rbp - 0x28]
mov rcx, qword [rbp - 0x60]
call fcn.1402b9aac
test eax, eax
jne 0x140109068
cmp dword [rbp - 0x20], eax
jle 0x140109042
mov rcx, qword [rbp - 0x28]
call fcn.1402b9c20
nop
cmp dword [rbp - 0x58], 0
jle 0x140109052
mov rcx, qword [rbp - 0x60]
call fcn.1402b9c20
nop
cmp dword [rbp - 0x30], 0
jle 0x140109061
mov rcx, qword [rbp - 0x38]
call fcn.1402b9c20
xor al, al
jmp 0x140109692
test r12b, r12b
je 0x1401095bd
xor r15b, r15b
lea rax, [0x140348ca0]
mov qword [rbp - 0x50], rax
mov qword [rbp - 0x48], 0
lea rdx, [rbp - 0x50]
lea rcx, str.HitmanPro35
call fcn.140108450
test al, al
je 0x1401095ae
lea rdx, [rbp - 0x50]
lea rcx, [rbp - 0x70]
call fcn.1400d2ff0
movsxd rax, dword [rbp - 0x64]
cmp dword [rbp - 0x54], eax
jl 0x1401090d4
mov r8, rax
mov rdx, qword [rbp - 0x70]
mov rcx, qword [rbp - 0x60]
call fcn.1402bba28
test eax, eax
movzx r15d, r15b
mov eax, 1
cmove r15d, eax
cmp dword [rbp - 0x68], 0
jle 0x1401090e3
mov rcx, qword [rbp - 0x70]
call fcn.1402b9c20
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 0x140109249
xor eax, eax
mov qword [rsp + 0x58], rax
lea edx, [rax + 0xe]
lea rcx, [rsp + 0x50]
call fcn.1401ff260
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.1402bd21c
mov edx, 0xe
lea rcx, [rsp + 0x50]
call fcn.140200570
nop
lea rax, [rbp + 0x80]
mov rbx, rsi
inc rbx
cmp word [rax + rbx*2], 0
jne 0x140109160
xor eax, eax
mov qword [rsp + 0x78], rax
test ebx, ebx
jne 0x140109183
lea rax, [0x140348ca0]
mov qword [rsp + 0x70], rax
jmp 0x1401091ac
mov edx, ebx
lea rcx, [rsp + 0x70]
call fcn.1401ff260
movsxd r9, ebx
mov eax, dword [rsp + 0x78]
inc eax
movsxd rdx, eax
lea r8, [rbp + 0x80]
mov rcx, qword [rsp + 0x70]
call fcn.1402bd21c
mov edx, ebx
lea rcx, [rsp + 0x70]
call fcn.140200570
nop
lea r8, [rsp + 0x50]
lea rdx, [rsp + 0x70]
lea rcx, [rbp - 0x80]
call fcn.1400d2bd0
nop
cmp dword [rsp + 0x78], 0
jle 0x1401091df
mov rcx, qword [rsp + 0x70]
call fcn.1402b9c20
nop
cmp dword [rsp + 0x58], 0
jle 0x1401091f0
mov rcx, qword [rsp + 0x50]
call fcn.1402b9c20
lea rdx, [rsp + 0x60]
lea rcx, [rbp - 0x80]
call fcn.140201da0
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x140109228
test al, 0x10
je 0x140109228
cmp dword [rsp + 0x68], 0
jle 0x140109223
mov rcx, qword [rsp + 0x60]
call fcn.1402b9c20
mov r12b, 1
jmp 0x14010923a
cmp dword [rsp + 0x68], 0
jle 0x14010923a
mov rcx, qword [rsp + 0x60]
call fcn.1402b9c20
nop
cmp dword [rbp - 0x78], 0
jle 0x140109249
mov rcx, qword [rbp - 0x80]
call fcn.1402b9c20
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 0x140109377
xor eax, eax
mov qword [rsp + 0x58], rax
lea edx, [rax + 0x12]
lea rcx, [rsp + 0x50]
call fcn.1401ff260
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.1402bd21c
mov edx, 0x12
lea rcx, [rsp + 0x50]
call fcn.140200570
nop
lea rax, [rbp + 0x80]
mov rbx, rsi
nop dword [rax]
inc rbx
cmp word [rax + rbx*2], 0
jne 0x1401092c0
xor eax, eax
mov qword [rsp + 0x78], rax
test ebx, ebx
jne 0x1401092e3
lea rax, [0x140348ca0]
mov qword [rsp + 0x70], rax
jmp 0x14010930c
mov edx, ebx
lea rcx, [rsp + 0x70]
call fcn.1401ff260
movsxd r9, ebx
mov eax, dword [rsp + 0x78]
inc eax
movsxd rdx, eax
lea r8, [rbp + 0x80]
mov rcx, qword [rsp + 0x70]
call fcn.1402bd21c
mov edx, ebx
lea rcx, [rsp + 0x70]
call fcn.140200570
nop
lea r8, [rsp + 0x50]
lea rdx, [rsp + 0x70]
lea rcx, [rbp - 0x80]
call fcn.1400d2bd0
nop
cmp dword [rsp + 0x78], 0
jle 0x14010933f
mov rcx, qword [rsp + 0x70]
call fcn.1402b9c20
nop
cmp dword [rsp + 0x58], 0
jle 0x140109350
mov rcx, qword [rsp + 0x50]
call fcn.1402b9c20
lea rcx, [rbp - 0x80]
call fcn.140208650
movzx r14d, r14b
test al, al
mov eax, 1
cmovne r14d, eax
cmp dword [rbp - 0x78], 0
jle 0x140109377
mov rcx, qword [rbp - 0x80]
call fcn.1402b9c20
call qword [sym.imp.KERNEL32.dll_GetVersion]
cmp al, 6
jb 0x140109389
call fcn.1400f22f0
movzx edi, al
call fcn.1400ec320
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 0x1401093f7
lea ecx, [rbx + 0x10]
call fcn.1402b968c
mov rcx, rax
test rax, rax
je 0x1401093f7
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.1400ebdd0
movzx edi, dil
test eax, eax
mov eax, 1
cmovne edi, eax
lea rax, [0x140348ca0]
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.1401078e0
test al, al
je 0x14010959c
mov edx, 0x23
lea rcx, [rsp + 0x60]
call fcn.14020a8a0
nop
mov rcx, qword [rsp + 0x60]
test rcx, rcx
je 0x14010958f
inc rsi
cmp word [rcx + rsi*2], 0
jne 0x140109441
test rsi, rsi
je 0x14010958f
mov qword [rsp + 0x58], rbx
mov edx, 0xa
lea rcx, [rsp + 0x50]
call fcn.1401ff260
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.1402bd21c
mov edx, 0xa
lea rcx, [rsp + 0x50]
call fcn.140200570
nop
lea r8, [rsp + 0x50]
lea rdx, [rsp + 0x60]
lea rcx, [rbp - 0x80]
call fcn.1400d2bd0
mov rbx, rax
mov edx, dword [rax + 0xc]
lea rcx, [rsp + 0x60]
call fcn.1401ff260
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.1402bd21c
mov edx, dword [rbx + 0xc]
lea rcx, [rsp + 0x60]
call fcn.140200570
nop
cmp dword [rbp - 0x78], 0
jle 0x1401094f3
mov rcx, qword [rbp - 0x80]
call fcn.1402b9c20
nop
cmp dword [rsp + 0x58], 0
jle 0x140109504
mov rcx, qword [rsp + 0x50]
call fcn.1402b9c20
mov dl, 1
lea rcx, [rsp + 0x60]
call fcn.1400ec740
test r15b, r15b
je 0x14010958a
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.1402bd1f8
lea rdx, [rbp - 0x70]
lea rcx, [rbp - 0x80]
call fcn.1400d2ff0
mov rbx, rax
mov edx, dword [rax + 0xc]
lea rcx, [rbp - 0x38]
call fcn.1401ff260
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.1402bd21c
mov edx, dword [rbx + 0xc]
lea rcx, [rbp - 0x38]
call fcn.140200570
nop
cmp dword [rbp - 0x78], 0
jle 0x14010958a
mov rcx, qword [rbp - 0x80]
call fcn.1402b9c20
mov rcx, qword [rsp + 0x60]
cmp dword [rsp + 0x68], 0
jle 0x14010959c
call fcn.1402b9c20
nop
cmp dword [rbp - 0x68], 0
jle 0x1401095ab
mov rcx, qword [rbp - 0x70]
call fcn.1402b9c20
xor r14d, r14d
cmp dword [rbp - 0x48], 0
jle 0x1401095bd
mov rcx, qword [rbp - 0x50]
call fcn.1402b9c20
cmp word [rbp + 0x290], 0
je 0x14010965f
lea rcx, [rbp + 0x290]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
xor edx, edx
lea r8d, [rdx + 0x60]
lea rcx, [rbp + 0x18]
call fcn.1402c22a0
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 0x14010965f
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.1402bd974
nop
cmp dword [rbp - 0x20], 0
jle 0x14010966f
mov rcx, qword [rbp - 0x28]
call fcn.1402b9c20
nop
cmp dword [rbp - 0x58], 0
jle 0x14010967f
mov rcx, qword [rbp - 0x60]
call fcn.1402b9c20
nop
cmp dword [rbp - 0x30], 0
jle 0x14010968e
mov rcx, qword [rbp - 0x38]
call fcn.1402b9c20
movzx eax, r13b
mov rcx, qword [rbp + 0xa90]
xor rcx, rsp
call fcn.1402b9610
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