Function at 0x140093610
Capabilities:
Create process on windows

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r13
push r14
push r15
lea rbp, [rsp - 0x27]
sub rsp, 0x100
mov rdi, rcx
cmp dword [rcx + 0x9c], 0
jne 0x14009363a
xor eax, eax
jmp 0x140093893
and dword [rcx + 0x9c], 0
lea rdx, str.Restarting_the_application...
lea rcx, [rsp + 0x50]
call fcn.14006c728
lea r14, [rdi + 0x5d8]
xor r9d, r9d
xor r8d, r8d
mov rdx, rax
mov rcx, r14
call fcn.140070150
mov ebx, 0x68
mov r8d, ebx
xor edx, edx
lea rcx, [rbp - 0x49]
call sub.VCRUNTIME140.dll_memset
mov dword [rbp - 0x49], ebx
xor edx, edx
lea r8d, [rbx - 0x50]
lea rcx, [rbp - 0x69]
call sub.VCRUNTIME140.dll_memset
mov rax, qword [0x1400ef018]
mov qword [rbp + 0x67], rax
lea r15, [rdi + 0xa0]
lea rsi, [rdi + 8]
mov edx, dword [rdi + 0x5c4]
mov rax, qword [r15]
or r13d, 0xffffffff
mov rcx, rsi
cmp dword [rax - 8], 0
jne 0x140093706
call fcn.1400765a0
mov rcx, rax
lea rdx, [rbp + 0x6f]
call fcn.1400760dc
nop
mov r8, qword [rax]
lea rdx, [0x1400ba9a8]
lea rcx, [rbp + 0x67]
call fcn.14006d4dc
nop
mov rcx, qword [rbp + 0x6f]
add rcx, 0xfffffffffffffff4
cmp rcx, qword [0x1400ef010]
je 0x140093767
mov eax, r13d
lock xadd dword [rcx], eax
add eax, r13d
test eax, eax
jg 0x140093767
mov rcx, qword [rbp + 0x6f]
jmp 0x14009375e
call fcn.1400765a0
mov rcx, rax
lea rdx, [rbp + 0x77]
call fcn.1400760dc
mov rbx, rax
xor edx, edx
mov rcx, r15
call fcn.14006dda4
mov r9, rax
mov r8, qword [rbx]
lea rdx, str.__s___s
lea rcx, [rbp + 0x67]
call fcn.14006d4dc
nop
mov rdx, qword [rbp + 0x77]
add rdx, 0xfffffffffffffff4
cmp rdx, qword [0x1400ef010]
je 0x140093767
mov eax, r13d
lock xadd dword [rdx], eax
add eax, r13d
test eax, eax
jg 0x140093767
mov rcx, qword [rbp + 0x77]
add rcx, 0xfffffffffffffff4
call fcn.1400b0a54
mov edx, dword [rdi + 0x5c4]
mov rcx, rsi
call fcn.1400765a0
mov rcx, rax
lea rdx, [rbp + 0x7f]
call fcn.1400760dc
mov rbx, rax
xor edx, edx
lea rcx, [rbp + 0x67]
call fcn.14006dda4
mov rdx, rax
lea rax, [rbp - 0x69]
mov qword [rsp + 0x48], rax
lea rax, [rbp - 0x49]
mov qword [rsp + 0x40], rax
and qword [rsp + 0x38], 0
and qword [rsp + 0x30], 0
and dword [rsp + 0x28], 0
and dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
mov rcx, qword [rbx]
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
mov ebx, eax
mov rdx, qword [rbp + 0x7f]
add rdx, 0xfffffffffffffff4
cmp rdx, qword [0x1400ef010]
je 0x1400937f7
mov ecx, r13d
lock xadd dword [rdx], ecx
add ecx, r13d
test ecx, ecx
jg 0x1400937f7
mov rcx, qword [rbp + 0x7f]
add rcx, 0xfffffffffffffff4
call fcn.1400b0a54
mov rcx, qword [rbp - 0x69]
test rcx, rcx
je 0x14009380b
call qword [sym.imp.KERNEL32.dll_CloseHandle]
and qword [rbp - 0x69], 0
mov rcx, qword [rbp - 0x61]
test rcx, rcx
je 0x14009381f
call qword [sym.imp.KERNEL32.dll_CloseHandle]
and qword [rbp - 0x61], 0
test ebx, ebx
jne 0x140093847
lea rdx, str.Error_restarting_the_application_
lea rcx, [rsp + 0x58]
call fcn.14006c728
xor r9d, r9d
xor r8d, r8d
mov rdx, rax
mov rcx, r14
call fcn.140070150
jmp 0x14009386d
lea rdx, str.Application_restarted_OK.
lea rcx, [rbp - 0x79]
call fcn.14006c728
xor r9d, r9d
xor r8d, r8d
mov rdx, rax
mov rcx, r14
call fcn.140070150
mov ebx, 1
mov rcx, qword [rbp + 0x67]
add rcx, 0xfffffffffffffff4
cmp rcx, qword [0x1400ef010]
je 0x140093891
mov edx, r13d
lock xadd dword [rcx], edx
add edx, r13d
test edx, edx
jg 0x140093891
call fcn.1400b0a54
mov eax, ebx
add rsp, 0x100
pop r15
pop r14
pop r13
pop rdi
pop rsi
pop rbx
pop rbp
ret