Function at 0x1400045d8
Capabilities:
Create process on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x37]
sub rsp, 0xf0
mov rdi, r8
mov rsi, rdx
xor r15d, r15d
mov dword [rbp + 0x67], r15d
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp - 0x51], xmm0
mov qword [rbp - 0x41], rax
lea ebx, [rax + 0x68]
mov r8d, ebx
xor edx, edx
lea rcx, [rbp - 0x39]
call sub.VCRUNTIME140.dll_memset
mov dword [rbp - 0x39], ebx
lea rax, str.winsta0default
mov qword [rbp - 0x29], rax
mov rcx, rsi
call qword [sym.imp.Qt5Core.dll_public:_unsigned_short_int_const____ptr64___cdecl_QString::utf16_void_const___ptr64]
mov r14, rax
mov ebx, r15d
mov rcx, qword [rdi]
cmp dword [rcx + 4], r15d
je 0x140004701
mov rdx, rsi
lea rcx, [rbp + 0x7f]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::constructor_class_QString_const____ptr64____ptr64]
mov dword [rbp + 0x67], 1
or rsi, 0xffffffffffffffff
mov r8d, esi
lea rdx, [0x140011c54]
lea rcx, [rbp - 0x59]
call qword [sym.imp.Qt5Core.dll_public:_static_class_QString___cdecl_QString::fromUtf8_char_const____ptr64__int_]
nop
mov rdx, rax
lea rcx, [rbp + 0x7f]
call qword [sym.imp.Qt5Core.dll_public:_class_QString____ptr64___cdecl_QString::operator_class_QString_const____ptr64____ptr64]
nop
lea rcx, [rbp - 0x59]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::destructor_void____ptr64]
nop
lea rdx, [rbp + 0x7f]
lea rcx, [rbp + 0x77]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::constructor_class_QString_const____ptr64____ptr64]
mov dword [rbp + 0x67], 3
mov rdx, rdi
lea rcx, [rbp + 0x77]
call qword [sym.imp.Qt5Core.dll_public:_class_QString____ptr64___cdecl_QString::operator_class_QString_const____ptr64____ptr64]
lea ebx, [rsi + 3]
mov dword [rbp + 0x67], ebx
lea rcx, [rbp + 0x7f]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::destructor_void____ptr64]
mov rcx, qword [rbp + 0x77]
mov edx, dword [rcx + 4]
inc edx
movsxd rcx, edx
mov eax, ebx
mul rcx
cmovo rax, rsi
mov rcx, rax
call fcn.14000a954
mov rbx, rax
mov rdx, rax
lea rcx, [rbp + 0x77]
call qword [sym.imp.Qt5Core.dll_public:_int___cdecl_QString::toWCharArray_wchar_t____ptr64_const___ptr64]
movsxd rcx, eax
mov word [rbx + rcx*2], r15w
lea rcx, [rbp + 0x77]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::destructor_void____ptr64]
mov qword [rbp - 0x69], r15
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
lea r8, [rbp - 0x61]
mov edx, 0xf01ff
call qword [sym.imp.ADVAPI32.dll_OpenProcessToken]
cmp eax, 1
jne 0x140004733
xor r8d, r8d
mov rdx, qword [rbp - 0x61]
lea rcx, [rbp - 0x69]
call qword [sym.imp.USERENV.dll_CreateEnvironmentBlock]
lea rax, [rbp - 0x51]
mov qword [rsp + 0x48], rax
lea rax, [rbp - 0x39]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], r15
mov rax, qword [rbp - 0x69]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], 0x628
mov dword [rsp + 0x20], r15d
xor r9d, r9d
xor r8d, r8d
mov rdx, rbx
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x140004796
xor edx, edx
mov rcx, qword [rbp - 0x51]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [rbp - 0x51]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbp - 0x49]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbp - 0x69]
call qword [sym.imp.USERENV.dll_DestroyEnvironmentBlock]
mov rcx, qword [rbp - 0x61]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rbx, qword [rsp + 0x128]
add rsp, 0xf0
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret