Function at 0x180151154
Capabilities:
Create process on windows

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x2f]
sub rsp, 0xf0
mov r13, qword [rbp + 0x77]
lea rcx, str._winapi.CreateProcess
mov rbx, r8
mov qword [rsp + 0x20], r13
mov r9, r8
mov r12, rdx
mov r8, rdx
xor esi, esi
xorps xmm0, xmm0
lea rdx, [0x180242f90]
mov r15d, esi
mov r14d, esi
movups xmmword [rsp + 0x50], xmm0
call sym.python310.dll_PySys_Audit
test eax, eax
js 0x1801d5d11
call sym.python310.dll_PyInterpreterState_Get
cmp dword [rax + 0x538], esi
jne 0x1801d5cfe
lea edi, [rsi + 0x70]
xor edx, edx
mov r8d, edi
lea rcx, [rbp - 0x69]
call sub.VCRUNTIME140.dll_memset
mov dword [rbp - 0x69], edi
lea rdx, str.dwFlags
mov rdi, qword [rbp + 0x7f]
mov rcx, rdi
call fcn.1801513e8
lea rdx, str.wShowWindow
mov dword [rbp - 0x2d], eax
mov rcx, rdi
call fcn.1801513e8
lea rdx, str.hStdInput
mov word [rbp - 0x29], ax
mov rcx, rdi
call fcn.18015139c
lea rdx, str.hStdOutput
mov qword [rbp - 0x19], rax
mov rcx, rdi
call fcn.18015139c
lea rdx, str.hStdError
mov qword [rbp - 0x11], rax
mov rcx, rdi
call fcn.18015139c
mov qword [rbp - 9], rax
mov rax, qword [0x18044f1f0]
cmp qword [rax + 0x58], rsi
jne 0x18015134c
mov rcx, qword [rbp + 0x6f]
lea rax, sym.python310.dll__Py_NoneStruct
cmp rcx, rax
je 0x180151270
call fcn.180077b00
mov r15, rax
test rax, rax
je 0x18015134c
lea r8, [rsp + 0x50]
mov rcx, rdi
call fcn.18015196c
test eax, eax
js 0x18015134c
mov r8, qword [rbx + 8]
mov rax, qword [rsp + 0x50]
mov qword [rbp - 1], rax
test dword [r8 + 0xa8], 0x10000000
je 0x1801d5d18
xor edx, edx
mov rcx, rbx
call sym.python310.dll_PyUnicode_AsWideCharString
mov r14, rax
test rax, rax
je 0x18015134c
call sym.python310.dll_PyEval_SaveThread
mov rdi, rax
lea rcx, [rsp + 0x60]
mov eax, dword [rbp + 0x67]
xor r9d, r9d
mov qword [rsp + 0x48], rcx
or eax, 0x80400
lea rcx, [rbp - 0x69]
xor r8d, r8d
mov qword [rsp + 0x40], rcx
mov rdx, r14
mov qword [rsp + 0x38], r13
mov rcx, r12
mov qword [rsp + 0x30], r15
mov dword [rsp + 0x28], eax
mov eax, dword [rbp + 0x5f]
mov dword [rsp + 0x20], eax
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
mov rcx, rdi
mov ebx, eax
call sym.python310.dll_PyEval_RestoreThread
test ebx, ebx
je 0x1801d5d45
mov rcx, qword [rsp + 0x68]
call sym.python310.dll_PyLong_FromUnsignedLongLong
mov rcx, qword [rsp + 0x60]
mov rbx, rax
call sym.python310.dll_PyLong_FromUnsignedLongLong
mov r9d, dword [rbp - 0x79]
lea rcx, str.NNkk
mov rdx, rax
mov r8, rbx
mov eax, dword [rbp - 0x75]
mov dword [rsp + 0x20], eax
call sym.python310.dll_Py_BuildValue
mov rsi, rax
mov rcx, qword [0x1803fc5f8]
mov rdx, r14
call qword [case.0x180096615.3]
mov rcx, qword [0x1803fc5f8]
mov rdx, r15
call qword [case.0x180096615.3]
lea rcx, [rsp + 0x50]
call fcn.180151ba8
mov rax, rsi
lea r11, [rsp + 0xf0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
mov rcx, qword [sym.python310.dll_PyExc_RuntimeError]
lea rdx, str.subprocess_not_supported_for_isolated_subinterpreters
call sym.python310.dll_PyErr_SetString
xor eax, eax
jmp 0x180151379
lea rax, sym.python310.dll__Py_NoneStruct
cmp rbx, rax
je 0x1801512b9
mov r8, qword [r8 + 0x18]
lea rdx, str.CreateProcess___argument_2_must_be_str_or_None__not__s
mov rcx, qword [sym.python310.dll_PyExc_TypeError]
call sym.python310.dll_PyErr_Format
nop
jmp 0x18015134c
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [sym.python310.dll_PyExc_OSError]
xor r8d, r8d
mov edx, eax
call sym.python310.dll_PyErr_SetExcFromWindowsErrWithFilename
nop
jmp 0x18015134c