Function at 0x140002180
Capabilities:
Create process on windows
Query or enumerate registry value

Disassembly:
mov rax, rsp
push rbp
push r14
push r15
lea rbp, [rax - 0xa88]
sub rsp, 0xb70
mov qword [rbp - 0x50], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x140021170]
xor rax, rsp
mov qword [rbp + 0xa60], rax
mov r14, rcx
lea rcx, [rbp - 0x68]
call fcn.140001850
mov rcx, qword [rax + 8]
mov qword [0x140022718], rcx
mov eax, dword [rax + 0x10]
mov dword [0x140022720], eax
lea r8, str.HitmanPro_3.8_Application
xor edx, edx
lea ecx, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_OpenEventW]
mov rbx, rax
test rax, rax
je 0x140002209
lea rcx, str.HitmanPro_already_running_r_n
call fcn.1400011a0
mov rcx, rbx
jmp 0x140002568
call fcn.140002050
mov rsi, rax
test rax, rax
je 0x14000253c
mov dil, 1
lea rax, [rbp - 0x80]
mov qword [rsp + 0x20], rax
mov r9d, 1
xor r8d, r8d
lea rdx, str.SOFTWAREHitmanPro
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
xor r15d, r15d
test eax, eax
jne 0x14000233d
mov dword [rsp + 0x60], 0x200
lea rax, [rsp + 0x60]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x60]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea rdx, str.SchedulerScanType
mov rcx, qword [rbp - 0x80]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x14000229e
lea rdx, [rbp + 0x60]
lea rcx, str.quick
call fcn.140004bd4
movzx edi, dil
test eax, eax
cmovne edi, r15d
mov dword [rsp + 0x60], 0x200
lea rax, [rsp + 0x60]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x60]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea rdx, str.LastDefaultScan
mov rcx, qword [rbp - 0x80]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x14000233d
lea rax, vtable.DateTime.0
mov qword [rbp - 0x68], rax
mov qword [rbp - 0x60], r15
mov dword [rbp - 0x58], 1
lea rdx, [rbp - 0x68]
lea rcx, [rbp + 0x60]
call fcn.140001950
test al, al
je 0x14000233d
movsd xmm1, qword [0x14001de00]
lea rcx, [rbp - 0x78]
call fcn.140001650
mov rbx, rax
lea rcx, [rbp + 0x48]
call fcn.140001850
mov r8, rbx
lea rdx, [rbp + 0x30]
mov rcx, rax
call fcn.1400018c0
mov rdx, rax
lea rcx, [rbp - 0x68]
call fcn.1400016f0
movzx edi, dil
test al, al
cmovne edi, r15d
mov r9, rsi
lea r8, str.__s___scan:boot__quiet
mov esi, 0x400
mov edx, esi
lea rcx, [rbp + 0x260]
call fcn.140005250
test dil, dil
je 0x140002374
lea r8, str.__quick
mov edx, esi
lea rcx, [rbp + 0x260]
call fcn.140005274
xor edx, edx
lea r8d, [rdx + 0x68]
lea rcx, [rbp - 0x40]
call fcn.1400062d0
xor eax, eax
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x78], rax
test r14, r14
je 0x1400024ba
xor dil, dil
mov dword [rbp - 0x40], 0x68
lea rax, str.winsta0Default
mov qword [rbp - 0x30], rax
mov qword [rsp + 0x60], r15
xor r8d, r8d
mov rdx, r14
lea rcx, [rsp + 0x60]
call qword [sym.imp.USERENV.dll_CreateEnvironmentBlock]
mov ebx, r15d
test eax, eax
cmovne ebx, esi
lea rdx, [rbp + 0x260]
lea rcx, str.CreateProcessAsUser:__ws_r_n
call fcn.1400011a0
lea rax, [rsp + 0x68]
mov qword [rsp + 0x50], rax
lea rax, [rbp - 0x40]
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x40], r15
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x30], ebx
mov dword [rsp + 0x28], 1
mov qword [rsp + 0x20], r15
xor r9d, r9d
lea r8, [rbp + 0x260]
xor edx, edx
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_CreateProcessAsUserW]
test eax, eax
jne 0x140002470
xor ecx, ecx
call fcn.140004a60
mov qword [rbp - 0x78], rax
lea rcx, [rbp - 0x78]
call fcn.140004ac0
mov rdx, rax
lea rcx, str._s_r_n
call fcn.1400011a0
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, eax
lea rdx, str.CreateProcessAsUser
lea rcx, str._s___failed_with_error__d_r_n
call fcn.1400011a0
jmp 0x1400024a1
mov r8d, dword [rsp + 0x78]
lea rdx, [rbp + 0x260]
lea rcx, str._ws_started_with_PID__u_r_n
call fcn.1400011a0
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov dil, 1
mov rcx, qword [rsp + 0x60]
test rcx, rcx
je 0x1400024b1
call qword [sym.imp.USERENV.dll_DestroyEnvironmentBlock]
movzx eax, dil
jmp 0x140002570
lea rax, [rsp + 0x68]
mov qword [rsp + 0x48], rax
lea rax, [rbp - 0x40]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], r15
mov qword [rsp + 0x30], r15
mov dword [rsp + 0x28], r15d
mov dword [rsp + 0x20], 1
xor r9d, r9d
xor r8d, r8d
lea rdx, [rbp + 0x260]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x140002540
xor ecx, ecx
call fcn.140004a60
mov qword [rbp - 0x78], rax
lea rcx, [rbp - 0x78]
call fcn.140004ac0
mov rdx, rax
lea rcx, str._s_r_n
call fcn.1400011a0
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, eax
lea rdx, str.CreateProcess
lea rcx, str._s___failed_with_error__d_r_n
call fcn.1400011a0
xor al, al
jmp 0x140002570
mov r8d, dword [rsp + 0x78]
lea rdx, [rbp + 0x260]
lea rcx, str._ws_started_with_PID__u_r_n
call fcn.1400011a0
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
mov rcx, qword [rbp + 0xa60]
xor rcx, rsp
call fcn.140004730
lea r11, [rsp + 0xb70]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret