Function at 0x140109bb0
Capabilities:
Copy file
Create process on windows
Delete directory
Delete file
Delete registry key
Get common file path
Get installed programs
Persist via lnk shortcut

Disassembly:
mov rax, rsp
push rbp
push r14
push r15
lea rbp, [rax - 0x6d8]
sub rsp, 0x7c0
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 + 0x6b0], rax
call fcn.1401053c0
or rsi, 0xffffffffffffffff
xor edi, edi
lea r15, [0x140346ce0]
test al, al
je 0x140109e22
lea r14, [0x1404295c0]
cmp word [0x1404295c0], di
jne 0x140109c26
mov r8d, 0x104
mov rdx, r14
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov rbx, rsi
nop dword [rax]
inc rbx
cmp word [r14 + rbx*2], di
jne 0x140109c30
mov qword [rsp + 0x58], rdi
test ebx, ebx
jne 0x140109c4a
mov qword [rsp + 0x50], r15
jmp 0x140109c6f
mov edx, ebx
lea rcx, [rsp + 0x50]
call fcn.1401fcb40
movsxd r9, ebx
mov eax, dword [rsp + 0x58]
inc eax
movsxd rdx, eax
mov r8, r14
mov rcx, qword [rsp + 0x50]
call fcn.1402ba94c
mov edx, ebx
lea rcx, [rsp + 0x50]
call fcn.1401fde50
nop
lea rdx, [rsp + 0x50]
lea rcx, [rbp - 0x80]
call fcn.1400d44c0
mov rbx, rax
lea rcx, [rbp - 0x48]
call fcn.1400eb3b0
nop
mov r8, rbx
mov rdx, rax
lea rcx, [rsp + 0x70]
call fcn.1400d2ba0
nop
cmp dword [rbp - 0x40], 0
jle 0x140109cb8
mov rcx, qword [rbp - 0x48]
call fcn.1402b7350
nop
cmp dword [rbp - 0x78], 0
jle 0x140109cc8
mov rcx, qword [rbp - 0x80]
call fcn.1402b7350
nop
cmp dword [rsp + 0x58], 0
jle 0x140109cd9
mov rcx, qword [rsp + 0x50]
call fcn.1402b7350
mov rbx, rsi
nop dword [rax]
inc rbx
cmp word [r14 + rbx*2], 0
jne 0x140109ce0
mov qword [rsp + 0x68], rdi
test ebx, ebx
jne 0x140109cfb
mov qword [rsp + 0x60], r15
jmp 0x140109d20
mov edx, ebx
lea rcx, [rsp + 0x60]
call fcn.1401fcb40
movsxd r9, ebx
mov eax, dword [rsp + 0x68]
inc eax
movsxd rdx, eax
mov r8, r14
mov rcx, qword [rsp + 0x60]
call fcn.1402ba94c
mov edx, ebx
lea rcx, [rsp + 0x60]
call fcn.1401fde50
xor r8d, r8d
mov rdx, qword [rsp + 0x70]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
sete bl
cmp dword [rsp + 0x68], 0
jle 0x140109d55
mov rcx, qword [rsp + 0x60]
call fcn.1402b7350
test bl, bl
je 0x140109d73
cmp dword [rsp + 0x78], 0
jle 0x140109e2e
mov rcx, qword [rsp + 0x70]
call fcn.1402b7350
jmp 0x140109e2e
mov r9, qword [rsp + 0x70]
lea r8, str.__s___uninstall
mov edx, 0x104
lea rcx, [rbp + 0x40]
call fcn.1402ba928
xor edx, edx
lea r8d, [rdx + 0x60]
lea rcx, [rbp - 0x28]
call fcn.1402bfa30
mov qword [rbp - 0x80], rdi
xor eax, eax
mov qword [rbp - 0x78], rax
mov qword [rbp - 0x70], rax
mov dword [rbp - 0x30], 0x68
lea rax, [rbp - 0x80]
mov qword [rsp + 0x48], rax
lea rax, [rbp - 0x30]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x30], rdi
mov dword [rsp + 0x28], edi
mov dword [rsp + 0x20], 1
xor r9d, r9d
xor r8d, r8d
lea rdx, [rbp + 0x40]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x140109e07
mov rcx, qword [rbp - 0x78]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbp - 0x80]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov bl, 1
jmp 0x140109e09
xor bl, bl
cmp dword [rsp + 0x78], 0
jle 0x140109e1a
mov rcx, qword [rsp + 0x70]
call fcn.1402b7350
movzx eax, bl
jmp 0x14010a452
xor edx, edx
mov ecx, 0xd05
call fcn.14010b0b0
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0x4a0]
call fcn.1402bfa30
call fcn.140114610
mov cl, 1
call fcn.140116fe0
lea rcx, [rbp - 0x58]
call fcn.1401169e0
nop
mov rcx, qword [rbp - 0x58]
test rcx, rcx
je 0x140109eb5
mov rax, rsi
inc rax
cmp word [rcx + rax*2], 0
jne 0x140109e64
test rax, rax
je 0x140109eb5
lea rdx, [rbp + 0x40]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp rax, 0xffffffffffffffff
je 0x140109eb5
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_FindClose]
xor ecx, ecx
call fcn.140116bc0
mov ebx, edi
mov rcx, qword [rbp - 0x58]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x140109eb5
mov ecx, 0x29a
call qword [sym.imp.KERNEL32.dll_Sleep]
inc ebx
cmp ebx, 0xa
jl 0x140109e95
lea rax, [rbp + 0x4a0]
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 0x140109ff2
mov qword [rsp + 0x58], rdi
lea edx, [rax + 0xd]
lea rcx, [rsp + 0x50]
call fcn.1401fcb40
mov eax, dword [rsp + 0x58]
inc eax
movsxd rdx, eax
mov r9d, 0xd
lea r8, str.HitmanPro.lnk
mov rcx, qword [rsp + 0x50]
call fcn.1402ba94c
mov edx, 0xd
lea rcx, [rsp + 0x50]
call fcn.1401fde50
nop
lea rax, [rbp + 0x4a0]
mov rbx, rsi
nop word [rax + rax]
inc rbx
cmp word [rax + rbx*2], 0
jne 0x140109f30
mov qword [rsp + 0x68], rdi
test ebx, ebx
jne 0x140109f4a
mov qword [rsp + 0x60], r15
jmp 0x140109f73
mov edx, ebx
lea rcx, [rsp + 0x60]
call fcn.1401fcb40
movsxd r9, ebx
mov eax, dword [rsp + 0x68]
inc eax
movsxd rdx, eax
lea r8, [rbp + 0x4a0]
mov rcx, qword [rsp + 0x60]
call fcn.1402ba94c
mov edx, ebx
lea rcx, [rsp + 0x60]
call fcn.1401fde50
nop
lea r8, [rsp + 0x50]
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x70]
call fcn.1400d2ba0
nop
cmp dword [rsp + 0x68], 0
jle 0x140109fa7
mov rcx, qword [rsp + 0x60]
call fcn.1402b7350
nop
cmp dword [rsp + 0x58], 0
jle 0x140109fb8
mov rcx, qword [rsp + 0x50]
call fcn.1402b7350
lea rdx, [rbp + 0x40]
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp rax, 0xffffffffffffffff
je 0x140109fe1
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_FindClose]
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp dword [rsp + 0x78], 0
jle 0x140109ff2
mov rcx, qword [rsp + 0x70]
call fcn.1402b7350
lea rax, [rbp + 0x4a0]
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 0x14010a103
mov qword [rsp + 0x58], rdi
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 + 0x4a0]
inc rsi
cmp word [rax + rsi*2], 0
jne 0x14010a061
mov qword [rsp + 0x68], rdi
test esi, esi
jne 0x14010a07b
mov qword [rsp + 0x60], r15
jmp 0x14010a0a4
mov edx, esi
lea rcx, [rsp + 0x60]
call fcn.1401fcb40
movsxd r9, esi
mov eax, dword [rsp + 0x68]
inc eax
movsxd rdx, eax
lea r8, [rbp + 0x4a0]
mov rcx, qword [rsp + 0x60]
call fcn.1402ba94c
mov edx, esi
lea rcx, [rsp + 0x60]
call fcn.1401fde50
nop
lea r8, [rsp + 0x50]
lea rdx, [rsp + 0x60]
lea rcx, [rbp - 0x80]
call fcn.1400d2ba0
nop
mov dl, 1
mov rcx, rax
call fcn.1400eb4a0
nop
cmp dword [rbp - 0x78], 0
jle 0x14010a0e0
mov rcx, qword [rbp - 0x80]
call fcn.1402b7350
nop
cmp dword [rsp + 0x68], 0
jle 0x14010a0f2
mov rcx, qword [rsp + 0x60]
call fcn.1402b7350
nop
cmp dword [rsp + 0x58], 0
jle 0x14010a103
mov rcx, qword [rsp + 0x50]
call fcn.1402b7350
mov qword [rbp - 0x68], r15
mov qword [rbp - 0x60], rdi
lea rdx, [rbp - 0x68]
lea rcx, [0x14034ef90]
call fcn.1401071d0
test al, al
je 0x14010a153
mov rcx, qword [rbp - 0x68]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
lea rdx, [rbp - 0x68]
lea rcx, [rsp + 0x70]
call fcn.1400d2fc0
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
cmp dword [rsp + 0x78], 0
jle 0x14010a153
mov rcx, qword [rsp + 0x70]
call fcn.1402b7350
mov eax, dword [0x140429a18]
lea rsi, vtable.Core::Win32::RegistryKey.0
test al, 1
jne 0x14010a18b
or eax, 1
mov dword [0x140429a18], eax
mov qword [0x1404299f0], rsi
mov qword [0x1404299f8], 0xffffffff80000002
lea rcx, [0x1402fedc0]
call fcn.1402b8a74
mov qword [rsp + 0x50], rdi
lea rax, [rsp + 0x50]
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 0x14010a1f4
lea ecx, [rax + 0x10]
call fcn.1402b6dbc
mov rbx, rax
test rax, rax
je 0x14010a1f4
mov rcx, qword [rsp + 0x50]
mov qword [rax], rsi
mov qword [rax + 8], rcx
lea rdx, [0x14034ef90]
mov rcx, rax
call fcn.1400ea6d0
mov r8, qword [rbx]
mov edx, 1
mov rcx, rbx
call qword [r8]
lea rax, str.Network
mov qword [rbp - 0x80], rax
lea rax, str.Minimal
mov qword [rbp - 0x78], rax
lea rbx, [rbp - 0x80]
nop
lea r8, str.SYSTEMCurrentControlSetControlSafeBoot_
mov edx, 0x104
lea rcx, [rbp + 0x40]
call fcn.1402b6e28
mov r8, qword [rbx]
mov edx, 0x104
lea rcx, [rbp + 0x40]
call fcn.1402b9308
lea r8, [0x140345f98]
mov edx, 0x104
lea rcx, [rbp + 0x40]
call fcn.1402b9308
lea r8, [rbp + 0x40]
mov edx, 0x104
lea rcx, [rbp + 0x290]
call fcn.1402b6e28
lea r8, str.hitmanpro37
mov edx, 0x104
lea rcx, [rbp + 0x290]
call fcn.1402b9308
mov eax, dword [0x140429a18]
test al, 1
jne 0x14010a2a9
or eax, 1
mov dword [0x140429a18], eax
mov qword [0x1404299f0], rsi
mov qword [0x1404299f8], 0xffffffff80000002
lea rcx, [0x1402fedc0]
call fcn.1402b8a74
lea rdx, [rbp + 0x290]
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 + 0x290]
call fcn.1402b9308
mov eax, dword [0x140429a18]
test al, 1
jne 0x14010a30e
or eax, 1
mov dword [0x140429a18], eax
mov qword [0x1404299f0], rsi
mov qword [0x1404299f8], 0xffffffff80000002
lea rcx, [0x1402fedc0]
call fcn.1402b8a74
lea rdx, [rbp + 0x290]
mov rcx, qword [0x1404299f8]
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_SetLastError]
lea r8, [rbp + 0x40]
mov edx, 0x104
lea rcx, [rbp + 0x290]
call fcn.1402b6e28
lea r8, str.HitmanPro38Crusader
mov edx, 0x104
lea rcx, [rbp + 0x290]
call fcn.1402b9308
mov eax, dword [0x140429a18]
test al, 1
jne 0x14010a388
or eax, 1
mov dword [0x140429a18], eax
mov qword [0x1404299f0], rsi
mov qword [0x1404299f8], 0xffffffff80000002
lea rcx, [0x1402fedc0]
call fcn.1402b8a74
lea rdx, [rbp + 0x290]
mov rcx, qword [0x1404299f8]
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_SetLastError]
lea r8, [rbp + 0x40]
mov edx, 0x104
lea rcx, [rbp + 0x290]
call fcn.1402b6e28
lea r8, str.HitmanPro38CrusaderBoot
mov edx, 0x104
lea rcx, [rbp + 0x290]
call fcn.1402b9308
mov eax, dword [0x140429a18]
test al, 1
jne 0x14010a402
or eax, 1
mov dword [0x140429a18], eax
mov qword [0x1404299f0], rsi
mov qword [0x1404299f8], 0xffffffff80000002
lea rcx, [0x1402fedc0]
call fcn.1402b8a74
lea rdx, [rbp + 0x290]
mov rcx, qword [0x1404299f8]
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_SetLastError]
inc edi
add rbx, 8
movsxd rax, edi
cmp rax, 2
jb 0x14010a210
cmp dword [rbp - 0x60], 0
jle 0x14010a441
mov rcx, qword [rbp - 0x68]
call fcn.1402b7350
nop
cmp dword [rbp - 0x50], 0
jle 0x14010a450
mov rcx, qword [rbp - 0x58]
call fcn.1402b7350
mov al, 1
mov rcx, qword [rbp + 0x6b0]
xor rcx, rsp
call fcn.1402b6d40
lea r11, [rsp + 0x7c0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop r14
pop rbp
ret