Function at 0x1400013f0
Capabilities:
Create process on windows
Terminate process

Disassembly:
mov rax, rsp
push rbp
lea rbp, [rax - 0x1f8]
sub rsp, 0x2f0
mov qword [rsp + 0x68], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rdi
xor edx, edx
mov r8d, 0x104
lea rcx, [rbp - 0x20]
call fcn.14000a450
mov r8d, 0x104
lea rdx, [rbp - 0x20]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
dec eax
cmp eax, 0x102
ja 0x140001663
movabs rax, 0x30303031732d20
mov qword [rbp + 0x200], rax
lea rcx, [rbp - 0x20]
or rax, 0xffffffffffffffff
nop dword [rax]
inc rax
cmp byte [rcx + rax], 0
jne 0x140001460
cmp rax, 0xfc
ja 0x140001663
mov r8d, 8
lea rdx, [rbp + 0x200]
lea rcx, [rbp - 0x20]
call fcn.14000b0d0
xor edx, edx
lea r8d, [rdx + 0x68]
lea rcx, [rsp + 0x70]
call fcn.14000a450
xor eax, eax
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], rax
mov dword [rsp + 0x70], 0x68
xor edi, edi
cmp byte [0x140028d90], al
je 0x140001516
mov qword [rsp + 0x30], rdi
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 4
xor r9d, r9d
xor r8d, r8d
lea edx, [rax + 4]
lea rcx, str.C:DSEDSEManager.log
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov rbx, rax
mov qword [rbp + 0x208], rax
lea rdx, str.DSE_Manager:_Starting_new_process._n
lea rcx, [rbp + 0x208]
call fcn.140001110
nop
cmp rbx, 0xffffffffffffffff
je 0x140001516
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rax, [rsp + 0x50]
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x70]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x30], rdi
mov dword [rsp + 0x28], edi
mov dword [rsp + 0x20], edi
xor r9d, r9d
xor r8d, r8d
lea rdx, [rbp - 0x20]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
jne 0x1400015e2
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
xor edx, edx
mov r8d, pe_nt_image_headers64
lea rcx, [rbp + 0xf0]
call fcn.14000a450
mov r8d, ebx
lea rdx, str.ERROR:_CreateProcess_failed___error_code:__d._n
lea rcx, [rbp + 0xf0]
call qword [sym.imp.USER32.dll_wsprintfA]
mov qword [rsp + 0x30], rdi
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 4
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 4]
lea rcx, str.C:DSEDSEManager.log
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov rbx, rax
mov qword [rbp + 0x208], rax
lea rdx, [rbp + 0xf0]
lea rcx, [rbp + 0x208]
call fcn.140001110
nop
cmp rbx, 0xffffffffffffffff
je 0x1400015e2
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp byte [0x140028d90], 0
je 0x14000165a
mov qword [rsp + 0x30], rdi
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 4
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 4]
lea rcx, str.C:DSEDSEManager.log
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov rbx, rax
mov qword [rbp + 0x208], rax
lea rdx, str.DSE_Manager:_Terminating_current_process._n
lea rcx, [rbp + 0x208]
call fcn.140001110
nop
cmp rbx, 0xffffffffffffffff
je 0x14000165a
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_ExitProcess]
lea r11, [rsp + 0x2f0]
mov rbx, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret