Function at 0x100cbb20
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x6c
push ebx
push esi
push edi
push dword [ebp + 0x20]
mov edi, dword [ebp + 8]
mov eax, edx
push edi
push eax
xorps xmm0, xmm0
mov dword [esp + 0x20], eax
push 0x103753c0
push str._winapi.CreateProcess
mov dword [esp + 0x24], 0
xor ebx, ebx
mov dword [esp + 0x20], 0
movlpd qword [esp + 0x2c], xmm0
call sym.python310.dll_PySys_Audit
add esp, 0x14
test eax, eax
js 0x100cbbcc
mov eax, dword [0x103fb118]
test eax, eax
je 0x100cbe00
mov eax, dword [eax + 8]
test eax, eax
je 0x100cbe0a
cmp dword [eax + 0x2fc], ebx
je 0x100cbbd5
mov esi, dword [sym.python310.dll_PyExc_RuntimeError]
lea edx, [ebx + 0x35]
mov edi, dword [0x103fb118]
mov ecx, str.subprocess_not_supported_for_isolated_subinterpreters
push ebx
push ebx
push ebx
call fcn.101599e0
add esp, 0xc
mov ebx, eax
push ebx
push esi
push edi
call sym.python310.dll__PyErr_SetObject
add esp, 0xc
test ebx, ebx
je 0x100cbbcc
add dword [ebx], 0xffffffff
jne 0x100cbbcc
mov eax, dword [ebx + 4]
push ebx
mov eax, dword [eax + 0x18]
call eax
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov esi, dword [ebp + 0x24]
xorps xmm0, xmm0
xor eax, eax
movlpd qword [esp + 0x34], xmm0
mov edx, str.dwFlags
movlpd qword [esp + 0x3c], xmm0
mov ecx, esi
movlpd qword [esp + 0x44], xmm0
movlpd qword [esp + 0x4c], xmm0
movlpd qword [esp + 0x54], xmm0
mov dword [esp + 0x62], ebx
mov word [esp + 0x66], ax
mov dword [esp + 0x74], eax
mov dword [esp + 0x30], 0x48
call fcn.100cb080
mov edx, str.wShowWindow
mov dword [esp + 0x5c], eax
mov ecx, esi
call fcn.100cb080
mov edx, str.hStdInput
mov word [esp + 0x60], ax
mov ecx, esi
call fcn.100cb0d0
mov edx, str.hStdOutput
mov dword [esp + 0x68], eax
mov ecx, esi
call fcn.100cb0d0
mov edx, str.hStdError
mov dword [esp + 0x6c], eax
mov ecx, esi
call fcn.100cb0d0
mov dword [esp + 0x70], eax
mov eax, dword [0x103fb118]
cmp dword [eax + 0x34], ebx
jne 0x100cbda2
mov ecx, dword [ebp + 0x1c]
cmp ecx, sym.python310.dll__Py_NoneStruct
je 0x100cbc90
call fcn.100cb130
mov esi, eax
mov dword [esp + 0xc], esi
test esi, esi
je 0x100cbda2
mov esi, dword [ebp + 0x24]
lea eax, [esp + 0x18]
mov ecx, esi
push eax
call fcn.100cb7f0
add esp, 4
test eax, eax
js 0x100cbda2
mov eax, dword [edi + 4]
mov esi, dword [esp + 0x18]
mov dword [esp + 0x74], esi
test dword [eax + 0x54], 0x10000000
je 0x100cbd12
push 0
push edi
call sym.python310.dll_PyUnicode_AsWideCharString
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x100cbda6
call sym.python310.dll_PyEval_SaveThread
mov edi, dword [esp + 0xc]
mov esi, eax
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x34]
push eax
push dword [ebp + 0x20]
mov eax, dword [ebp + 0x18]
push edi
or eax, 0x80400
push eax
push dword [ebp + 0x14]
push 0
push 0
push ebx
push dword [esp + 0x38]
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov dword [esp + 0x14], eax
test esi, esi
je 0x100cbe19
jmp 0x100cbd32
cmp edi, sym.python310.dll__Py_NoneStruct
je 0x100cbcd0
push dword [eax + 0xc]
push str.CreateProcess___argument_2_must_be_str_or_None__not__s
push dword [sym.python310.dll_PyExc_TypeError]
call sym.python310.dll_PyErr_Format
add esp, 0xc
jmp 0x100cbda6
mov ecx, esi
call fcn.101c8d20
mov eax, dword [esi + 8]
mov ecx, dword [eax + 8]
mov eax, dword [ecx + 0x118]
add ecx, 0x118
xchg dword [ecx], esi
cmp dword [esp + 0x14], 0
jne 0x100cbd69
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call sym.python310.dll_PyErr_SetFromWindowsErr
mov esi, dword [esp + 0x1c]
add esp, 4
jmp 0x100cbdaa
push dword [esp + 0x2c]
push dword [esp + 0x2c]
push dword [esp + 0x2c]
call sym.python310.dll_PyLong_FromUnsignedLong
add esp, 4
push eax
push dword [esp + 0x2c]
call sym.python310.dll_PyLong_FromUnsignedLong
add esp, 4
push eax
push str.NNkk
call sym.python310.dll_Py_BuildValue
mov esi, dword [esp + 0x2c]
add esp, 0x14
mov dword [esp + 0x10], eax
jmp 0x100cbdaa
mov esi, dword [esp + 0x18]
mov edi, dword [esp + 0xc]
push ebx
push dword [0x103cc55c]
call dword [0x103cc56c]
push edi
push dword [0x103cc55c]
call dword [0x103cc56c]
add esp, 0x10
test esi, esi
je 0x100cbde2
push esi
call dword [sym.imp.KERNEL32.dll_DeleteProcThreadAttributeList]
push esi
push dword [0x103cc55c]
call dword [0x103cc56c]
add esp, 8
push dword [esp + 0x1c]
push dword [0x103cc55c]
call dword [0x103cc56c]
mov eax, dword [esp + 0x18]
add esp, 8
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x10390014
call sym.python310.dll__Py_FatalError_TstateNULL
push str.no_current_interpreter
push 0x10390014
call sym.python310.dll__Py_FatalErrorFunc
push 0x10389b34
call sym.python310.dll__Py_FatalError_TstateNULL
int3