Function at 0x14001eca0
Capabilities:
Create process on windows
Print debug messages
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rdi
push rbp
lea rbp, [rsp - 0x900]
sub rsp, 0xa00
mov rax, qword [0x140304f48]
xor rax, rsp
mov qword [rbp + 0x8f0], rax
mov rdi, rdx
xor edx, edx
mov r8d, 0x20a
lea rcx, [rbp + 0x40]
call sub.VCRUNTIME140.dll_memset
mov r8d, 0x104
lea rdx, [rbp + 0x40]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
jne 0x14001ed09
lea rcx, str._lv_detect_:_call_GetModuleFileName_failed_
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
xor eax, eax
jmp 0x14001ef7c
xor ebx, ebx
mov qword [rbp - 8], rbx
mov qword [rbp + 8], rbx
mov qword [rbp + 0x10], SafeArrayGetLBound
mov byte [rbp - 8], bl
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rdi + r8], bl
jne 0x14001ed25
mov rdx, rdi
lea rcx, [rbp - 8]
call fcn.140008fb0
nop
lea rdx, [rbp - 8]
lea rcx, [rbp - 0x20]
call qword [sym.imp.Qt6Core.dll_public:_static_class_QString___cdecl_QString::fromStdString_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const____ptr64_]
nop
lea rdx, [rbp + 0x18]
mov rcx, rax
call qword [sym.imp.Qt6Core.dll_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t_____cdecl_QString::toStdWString_void____ptr64]
nop
lea rcx, [rbp - 0x20]
call qword [sym.imp.Qt6Core.dll_public:_void___cdecl_QString::destructor_void____ptr64]
nop
mov rdx, qword [rbp + 0x10]
cmp rdx, 0x10
jb 0x14001eda1
inc rdx
mov rcx, qword [rbp - 8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001ed9c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14001ed9c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14017fa70
xor edx, edx
mov r8d, 0x402
lea rcx, [rbp + 0x4e0]
call sub.VCRUNTIME140.dll_memset
lea rax, [rbp + 0x18]
cmp qword [rbp + 0x30], 8
cmovae rax, qword [rbp + 0x18]
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0x40]
lea r8, str.__s___s
mov edx, 0x200
lea rcx, [rbp + 0x4e0]
call fcn.140028db0
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rsp + 0x58], xmm0
mov qword [rsp + 0x68], rax
xorps xmm1, xmm1
movups xmmword [rsp + 0x70], xmm1
movups xmmword [rbp - 0x80], xmm1
movups xmmword [rbp - 0x70], xmm1
movups xmmword [rbp - 0x60], xmm1
movups xmmword [rbp - 0x50], xmm1
movups xmmword [rbp - 0x40], xmm1
mov qword [rbp - 0x30], rax
mov dword [rsp + 0x70], 0x68
mov word [rbp - 0x50], bx
mov dword [rbp - 0x54], 1
lea rax, [rsp + 0x58]
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x70]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], ebx
mov dword [rsp + 0x20], ebx
xor r9d, r9d
xor r8d, r8d
lea rdx, [rbp + 0x4e0]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x14001eeb4
xor edx, edx
mov r8d, 0x28a
lea rcx, [rbp + 0x250]
call sub.VCRUNTIME140.dll_memset
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x20], eax
lea r9, [rbp + 0x4e0]
lea r8, str._lv_detect_:_create_process_fail__cmd__s__error__d_
mov edx, 0x144
lea rcx, [rbp + 0x250]
call fcn.140028db0
lea rcx, [rbp + 0x250]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
jmp 0x14001ef37
mov edx, 0x2710
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x14001ef09
lea rcx, str._lv_detect_:_wait_process_timeout_
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov edx, 0xffffffff
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x14001ef37
mov dword [rsp + 0x50], ebx
lea rdx, [rsp + 0x50]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov ebx, dword [rsp + 0x50]
mov rdx, qword [rbp + 0x30]
cmp rdx, 8
jb 0x14001ef7a
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x18]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001ef75
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14001ef75
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14017fa70
mov eax, ebx
mov rcx, qword [rbp + 0x8f0]
xor rcx, rsp
call fcn.140180070
lea r11, [rsp + 0xa00]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret