Function at 0x140108640
Capabilities:
Create process on windows

Disassembly:
push rbp
push rdi
push r14
lea rbp, [rsp - 0x1020]
mov eax, 0x1120
call fcn.1402cb740
sub rsp, rax
mov qword [rbp - 0x70], 0xfffffffffffffffe
mov qword [rsp + 0x1150], rbx
mov qword [rsp + 0x1158], rsi
mov rax, qword [0x140418a10]
xor rax, rsp
mov qword [rbp + 0x1010], rax
mov rdi, rdx
mov rbx, rcx
call fcn.140107030
test al, al
jne 0x1401086a5
lea rcx, str.Failed_to_update_the_original_executable_r_n
call fcn.1402ba358
xor al, al
jmp 0x1401088dd
lea rax, [0x140348ca0]
mov qword [rsp + 0x50], rax
xor esi, esi
mov qword [rsp + 0x58], rsi
lea rdx, [rsp + 0x50]
lea rcx, [0x140350f60]
call fcn.140108450
test al, al
jne 0x1401086e2
lea rdx, [rsp + 0x50]
lea rcx, str.HitmanPro37
call fcn.140108450
test al, al
je 0x1401086f8
mov rcx, rbx
call fcn.14010a920
xor ecx, ecx
call fcn.140117850
xor ecx, ecx
call fcn.1401183b0
lea r14, [0x14042c5a0]
cmp word [0x14042c5a0], 0
jne 0x14010871a
mov r8d, 0x104
mov rdx, r14
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov qword [rsp + 0x20], r14
mov r9, qword [rbx]
lea r8, str.__s___updated:__s_
mov edx, 0x800
lea rcx, [rbp + 0x10]
call fcn.1402bd1f8
lea rcx, [rdi + 8]
mov rax, qword [rcx]
call qword [rax + 0x18]
test eax, eax
jle 0x140108847
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax]
mov rbx, rax
lea rax, vtable.Core::SharedPtr_class_Core::Collections::Generic::IEnumerator_class_Core::String__.0
mov qword [rsp + 0x78], rax
mov qword [rbp - 0x80], rbx
mov rdi, rsi
mov qword [rbp - 0x78], rsi
test rbx, rbx
je 0x140108797
mov ecx, 4
call fcn.1402b968c
mov rdi, rax
test rax, rax
je 0x14010878a
mov dword [rax], esi
mov qword [rbp - 0x78], rax
jmp 0x140108791
mov rdi, rsi
mov qword [rbp - 0x78], rsi
mov dword [rdi], 1
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
test al, al
je 0x140108823
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x10]
mov r8d, 1
lea rdx, [0x14034f004]
mov rcx, rax
call fcn.1402019e0
test al, al
je 0x140108817
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x10]
mov rcx, rax
xor r8d, r8d
lea rdx, str._update
call fcn.1402019e0
test al, al
jne 0x140108817
lea r8, [0x14034f008]
mov edx, 0x800
lea rcx, [rbp + 0x10]
call fcn.1402bbbd8
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x10]
mov r8, qword [rax]
mov edx, 0x800
lea rcx, [rbp + 0x10]
call fcn.1402bbbd8
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
test al, al
jne 0x1401087a7
test rdi, rdi
je 0x140108847
mov eax, dword [rdi]
test eax, eax
jle 0x140108832
dec eax
mov dword [rdi], eax
cmp dword [rdi], 0
jne 0x140108847
mov rcx, rbx
call fcn.1402177e0
mov rcx, rdi
call fcn.1402177e0
xor edx, edx
lea r8d, [rdx + 0x60]
lea rcx, [rbp - 0x58]
call fcn.1402c22a0
mov qword [rsp + 0x60], rsi
xor eax, eax
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x70], rax
mov dword [rbp - 0x60], 0x68
lea rax, [rsp + 0x60]
mov qword [rsp + 0x48], rax
lea rax, [rbp - 0x60]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x30], rsi
mov dword [rsp + 0x28], esi
mov dword [rsp + 0x20], 1
xor r9d, r9d
xor r8d, r8d
lea rdx, [rbp + 0x10]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x1401088c7
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov bl, 1
jmp 0x1401088c9
xor bl, bl
cmp dword [rsp + 0x58], 0
jle 0x1401088da
mov rcx, qword [rsp + 0x50]
call fcn.1402b9c20
movzx eax, bl
mov rcx, qword [rbp + 0x1010]
xor rcx, rsp
call fcn.1402b9610
lea r11, [rsp + 0x1120]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret