Function at 0x140108dc0
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 [0x140415a10]
xor rax, rsp
mov qword [rbp + 0x430], rax
lea rsi, [0x140346ce0]
mov qword [rbp - 0x70], rsi
xor r13d, r13d
mov qword [rbp - 0x68], r13
lea rdx, [rbp - 0x70]
lea rcx, str.HitmanPro37
call fcn.1401071d0
test al, al
jne 0x140108e2d
xor r14b, r14b
jmp 0x140109490
call fcn.140116b50
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 0x140108f9c
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 + 0x220]
mov rbx, rdi
inc rbx
cmp word [rax + rbx*2], 0
jne 0x140108ec2
mov qword [rsp + 0x38], r13
test ebx, ebx
jne 0x140108edc
mov qword [rsp + 0x30], rsi
jmp 0x140108f05
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 + 0x220]
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 + 0x70]
call fcn.1400d2ba0
nop
cmp dword [rsp + 0x38], 0
jle 0x140108f39
mov rcx, qword [rsp + 0x30]
call fcn.1402b7350
nop
cmp dword [rsp + 0x58], 0
jle 0x140108f4a
mov rcx, qword [rsp + 0x50]
call fcn.1402b7350
lea rdx, [rbp - 0x30]
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp rax, 0xffffffffffffffff
je 0x140108f8b
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 + 0x70]
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x60]
call fcn.1400e8550
nop
cmp dword [rsp + 0x78], 0
jle 0x140108f9c
mov rcx, qword [rsp + 0x70]
call fcn.1402b7350
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 0x14010920a
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 + 0x220]
nop dword [rax + rax]
inc rdi
cmp word [rax + rdi*2], 0
jne 0x140109010
mov qword [rsp + 0x38], r13
test edi, edi
jne 0x14010902a
mov qword [rsp + 0x30], rsi
jmp 0x140109053
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 + 0x220]
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 + 0x70]
call fcn.1400d2ba0
nop
cmp dword [rsp + 0x38], 0
jle 0x140109087
mov rcx, qword [rsp + 0x30]
call fcn.1402b7350
nop
cmp dword [rsp + 0x58], 0
jle 0x140109098
mov rcx, qword [rsp + 0x50]
call fcn.1402b7350
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x70]
call fcn.1401ff680
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x1401090d1
cmp dword [rsp + 0x48], 0
jle 0x1401091f9
mov rcx, qword [rsp + 0x40]
call fcn.1402b7350
jmp 0x1401091f9
test al, 0x10
je 0x1401090b7
cmp dword [rsp + 0x48], 0
jle 0x1401090e6
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 + 0x70]
call fcn.1400ebad0
movzx ebx, al
cmp dword [rsp + 0x48], 0
jle 0x140109167
mov rcx, qword [rsp + 0x40]
call fcn.1402b7350
mov rsi, qword [rbp - 0x50]
test bl, bl
je 0x1401091cc
mov eax, dword [rbp - 0x58]
test eax, eax
jle 0x1401091cc
mov rbx, rsi
mov edi, eax
nop dword [rax + rax]
mov r8, rbx
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x40]
call fcn.1400d2ba0
nop
movzx eax, byte [0x14042918a]
mov byte [rsp + 0x20], al
lea r9, [rsp + 0x40]
lea rdx, [rbp - 0x40]
lea rcx, [rsp + 0x60]
call fcn.1400e8550
nop
cmp dword [rsp + 0x48], 0
jle 0x1401091c3
mov rcx, qword [rsp + 0x40]
call fcn.1402b7350
add rbx, 0x10
dec rdi
jne 0x140109180
test rsi, rsi
je 0x1401091f2
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
lea rsi, [0x140346ce0]
cmp dword [rsp + 0x78], 0
jle 0x14010920a
mov rcx, qword [rsp + 0x70]
call fcn.1402b7350
mov rax, qword [rsp + 0x60]
mov rbx, qword [rax]
cmp rbx, rax
je 0x140109285
nop word [rax + rax]
mov rcx, qword [rbx + 0x20]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp byte [rbx + 0x19], 0
jne 0x14010927e
mov rax, qword [rbx + 0x10]
cmp byte [rax + 0x19], 0
jne 0x14010925e
mov rbx, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], 0
jne 0x14010927e
nop word [rax + rax]
mov rbx, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], 0
je 0x140109250
jmp 0x14010927e
mov rax, qword [rbx + 8]
cmp byte [rax + 0x19], 0
jne 0x14010927b
cmp rbx, qword [rax + 0x10]
jne 0x14010927b
mov rbx, rax
mov rax, qword [rax + 8]
cmp byte [rax + 0x19], 0
je 0x140109268
mov rbx, rax
cmp rbx, qword [rsp + 0x60]
jne 0x140109220
mov eax, dword [0x140429a18]
lea rdi, vtable.Core::Win32::RegistryKey.0
test al, 1
jne 0x1401092bd
or eax, 1
mov dword [0x140429a18], eax
mov qword [0x1404299f0], rdi
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 0x14010932b
lea ecx, [rax + 0x10]
call fcn.1402b6dbc
mov rbx, rax
test rax, rax
je 0x14010932b
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.140106660
test al, al
je 0x14010938a
mov cl, 1
call fcn.1401165d0
call fcn.140116e40
test al, al
je 0x140109385
lea rcx, [rsp + 0x70]
call fcn.140117100
nop
mov cl, 1
call fcn.140116fe0
call fcn.140116ef0
nop
cmp dword [rsp + 0x78], 0
jle 0x140109385
mov rcx, qword [rsp + 0x70]
call fcn.1402b7350
mov r14b, 1
jmp 0x14010938d
xor r14b, r14b
cmp dword [rbp - 0x78], 0
jle 0x14010939d
mov rcx, qword [rbp - 0x80]
call fcn.1402b7350
nop
mov rdi, qword [rsp + 0x60]
mov rbx, qword [rdi]
cmp rbx, rbx
jne 0x140109412
mov rsi, qword [rdi + 8]
mov rbx, rsi
cmp byte [rsi + 0x19], 0
jne 0x1401093f6
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 0x1401093e0
mov rcx, qword [rsi + 0x20]
call fcn.1402b7350
mov rcx, rsi
call fcn.1402150f0
mov rsi, rbx
cmp byte [rbx + 0x19], 0
je 0x1401093c0
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 0x140109482
cmp rbx, rdi
je 0x140109487
mov r8, rbx
cmp byte [rbx + 0x19], 0
jne 0x14010946e
mov rax, qword [rbx + 0x10]
cmp byte [rax + 0x19], 0
jne 0x14010944e
mov rbx, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], 0
jne 0x14010946e
nop word [rax + rax]
mov rbx, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], 0
je 0x140109440
jmp 0x14010946e
mov rax, qword [rbx + 8]
cmp byte [rax + 0x19], 0
jne 0x14010946b
cmp rbx, qword [rax + 0x10]
jne 0x14010946b
mov rbx, rax
mov rax, qword [rax + 8]
cmp byte [rax + 0x19], 0
je 0x140109458
mov rbx, rax
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x60]
call fcn.140008e20
cmp rbx, rdi
jne 0x140109417
mov rdi, qword [rsp + 0x60]
mov rcx, rdi
call fcn.1402150f0
nop
cmp dword [rbp - 0x68], 0
jle 0x14010949f
mov rcx, qword [rbp - 0x70]
call fcn.1402b7350
movzx eax, r14b
mov rcx, qword [rbp + 0x430]
xor rcx, rsp
call fcn.1402b6d40
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