Function at 0x100124b0
Capabilities:
Create process on windows

Disassembly:
lea ecx, [esp + 4]
and esp, 0xfffffff8
push dword [ecx - 4]
push ebp
mov ebp, esp
push edi
push esi
push ebx
push ecx
sub esp, 0xd0
mov eax, dword [ecx]
mov edx, dword [ecx + 4]
mov dword [ebp - 0xb0], 0
mov edi, dword [ecx + 8]
mov esi, dword [ecx + 0xc]
test byte [0x10021078], 1
jne 0x100127b0
lea eax, [ebp - 0xb4]
mov dword [esi], 0
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], 0xffffffff
mov dword [esp + 8], str.Create
mov dword [esp + 4], str.Win32_Process
mov dword [esp], 0
call sym._create_signature
mov ebx, eax
test eax, eax
je 0x10012538
lea esp, [ebp - 0x10]
mov eax, ebx
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret
mov ebx, dword [sym.imp.oleaut32.dll_VariantInit]
lea eax, [ebp - 0xa8]
mov dword [esp], eax
mov dword [ebp - 0xb8], ebx
call ebx
lea eax, [ebp - 0x98]
sub esp, 4
mov dword [esp], eax
call ebx
lea eax, [ebp - 0x88]
sub esp, 4
mov dword [esp], eax
call ebx
mov eax, dword [edi]
lea edx, [ebp - 0xa8]
lea ebx, [ebp - 0xac]
sub esp, 4
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], ebx
mov dword [esp + 0xc], edx
mov dword [esp + 8], 0
mov dword [esp + 4], str.CommandLine
mov dword [esp], edi
call dword [eax + 0x10]
sub esp, 0x18
test eax, eax
js 0x100125b7
cmp word [ebp - 0xa8], 8
je 0x10012898
test byte [0x10021078], 4
jne 0x10012a20
mov eax, dword [edi]
lea edx, [ebp - 0x98]
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], 0
mov dword [esp + 0xc], edx
mov dword [esp + 8], 0
mov dword [esp + 4], str.CurrentDirectory
mov dword [esp], edi
call dword [eax + 0x10]
sub esp, 0x18
test eax, eax
js 0x10012607
cmp word [ebp - 0x98], 8
je 0x10012850
test byte [0x10021078], 4
jne 0x10012a60
mov eax, dword [edi]
lea edx, [ebp - 0x88]
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], 0
mov dword [esp + 0xc], edx
mov dword [esp + 8], 0
mov dword [esp + 4], str.ProcessStartupInformation
mov dword [esp], edi
call dword [eax + 0x10]
sub esp, 0x18
test eax, eax
js 0x10012657
cmp word [ebp - 0x88], 0xd
je 0x100127f0
mov eax, dword [ebp - 0xb4]
lea ecx, [ebp - 0xb0]
mov edx, dword [eax]
mov dword [esp + 8], ecx
mov dword [esp + 4], 0
mov dword [esp], eax
call dword [edx + 0x3c]
sub esp, 0xc
mov ebx, eax
test eax, eax
jne 0x1001270d
lea edx, [ebp - 0x50]
mov ecx, 0x10
cmp word [ebp - 0xa8], 8
mov dword [ebp - 0x54], 0x44
mov edi, edx
rep stosd dword es:[edi], eax
je 0x100128e0
lea edi, [ebp - 0x78]
mov eax, dword [ebp - 0xb8]
mov dword [esp], edi
call eax
mov eax, 0x13
mov word [ebp - 0x78], ax
sub esp, 4
mov eax, 0x15
mov dword [ebp - 0x70], eax
mov eax, dword [ebp - 0xb0]
mov edx, dword [eax]
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], edi
mov dword [esp + 8], 0
mov dword [esp + 4], 0x100267ee
mov dword [esp], eax
call dword [edx + 0x14]
sub esp, 0x14
mov ebx, eax
test eax, eax
jne 0x1001270d
mov eax, dword [ebp - 0xb0]
mov dword [esi], eax
mov edx, dword [eax]
mov dword [esp], eax
call dword [edx + 4]
sub esp, 4
mov eax, dword [ebp - 0xb4]
mov edx, dword [eax]
mov dword [esp], eax
call dword [edx + 8]
mov eax, dword [ebp - 0xb0]
sub esp, 4
test eax, eax
je 0x10012733
mov edx, dword [eax]
mov dword [esp], eax
call dword [edx + 8]
sub esp, 4
lea eax, [ebp - 0xa8]
mov esi, dword [sym.imp.oleaut32.dll_VariantClear]
mov dword [esp], eax
call esi
lea eax, [ebp - 0x98]
sub esp, 4
mov dword [esp], eax
call esi
lea eax, [ebp - 0x88]
sub esp, 4
mov dword [esp], eax
call esi
sub esp, 4
test byte [0x10021078], 8
je 0x10012523
mov dword [esp + 0x10], ebx
mov dword [esp + 0xc], str.ret__lx_n
mov dword [esp + 8], str.process_create
mov dword [esp + 4], 0x10021078
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_3
lea esp, [ebp - 0x10]
mov eax, ebx
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret
mov dword [esp + 0x1c], esi
mov dword [esp + 0x18], edi
mov dword [esp + 0x14], edx
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], str._p___p___p___p_stub_n
mov dword [esp + 8], str.process_create
mov dword [esp + 4], 0x10021078
mov dword [esp], 0
call sym._wine_dbg_log.constprop.0_3
jmp 0x100124e9
mov eax, dword [ebp - 0x80]
test eax, eax
je 0x10012657
test byte [0x10021078], 1
je 0x10012657
mov dword [esp + 0x18], eax
mov eax, dword [ebp - 0xac]
mov dword [esp + 0x10], 0xd
mov dword [esp + 0x14], eax
mov dword [esp + 0xc], str.ProcessStartupInformation_is_not_implemented__vt_type__u__type__lu__val__p_n
mov dword [esp + 8], str.process_create
mov dword [esp + 4], 0x10021078
mov dword [esp], 0
call sym._wine_dbg_log.constprop.0_3
jmp 0x10012657
test byte [0x10021078], 8
je 0x10012614
mov eax, dword [ebp - 0x90]
call sym._wine_dbgstr_wn.constprop.0
mov dword [esp + 0xc], str.CurrentDirectory__s._n
mov dword [esp + 0x10], eax
mov dword [esp + 8], str.process_create
mov dword [esp + 4], 0x10021078
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_3
jmp 0x10012614
test byte [0x10021078], 8
je 0x100125c4
mov eax, dword [ebp - 0xa0]
call sym._wine_dbgstr_wn.constprop.0
mov dword [esp + 0xc], str.CommandLine__s._n
mov dword [esp + 0x10], eax
mov dword [esp + 8], str.process_create
mov dword [esp + 4], 0x10021078
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_3
jmp 0x100125c4
mov eax, dword [ebp - 0xa0]
test eax, eax
je 0x100126a5
xor edx, edx
cmp word [ebp - 0x98], 8
je 0x10012aa0
lea ecx, [ebp - 0x64]
mov dword [esp + 0x1c], 0
mov dword [esp + 0x24], ecx
lea ecx, [ebp - 0x54]
mov dword [esp + 0x20], ecx
mov dword [esp + 0x18], edx
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], eax
mov dword [esp], 0
call dword [sym.imp.kernel32.dll_CreateProcessW]
sub esp, 0x28
mov ebx, eax
test byte [0x10021078], 8
jne 0x10012ab0
test ebx, ebx
jne 0x100129a0
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x34]
cmp eax, 3
ja 0x10012af0
cmp eax, 1
ja 0x10012b20
lea edi, [ebp - 0x78]
mov eax, dword [ebp - 0xb8]
mov dword [esp], edi
call eax
mov edx, 0x13
mov eax, 8
mov word [ebp - 0x78], dx
sub esp, 4
jmp 0x100126c4
mov eax, dword [ebp - 0x60]
mov ebx, dword [sym.imp.kernel32.dll_CloseHandle]
lea edi, [ebp - 0x78]
mov dword [esp], eax
call ebx
mov eax, dword [ebp - 0x64]
sub esp, 4
mov dword [esp], eax
call ebx
mov eax, dword [ebp - 0xb8]
sub esp, 4
mov dword [esp], edi
call eax
mov eax, 0x13
mov word [ebp - 0x78], ax
mov eax, dword [ebp - 0x5c]
sub esp, 4
mov dword [ebp - 0x70], eax
mov eax, dword [ebp - 0xb0]
mov edx, dword [eax]
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], edi
mov dword [esp + 8], 0
mov dword [esp + 4], str.ProcessId
mov dword [esp], eax
call dword [edx + 0x14]
mov ebx, eax
sub esp, 0x14
xor eax, eax
test ebx, ebx
je 0x100126c4
jmp 0x1001270d
movzx edx, word [ebp - 0xa8]
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], str.invalid_CommandLine__hr__lx__type__u_n
mov dword [esp + 0x14], edx
mov dword [esp + 8], str.process_create
mov dword [esp + 4], 0x10021078
mov dword [esp], 2
call sym._wine_dbg_log.constprop.0_3
jmp 0x100125c4
movzx edx, word [ebp - 0x98]
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], str.invalid_CurrentDirectory__hr__lx__type__u_n
mov dword [esp + 0x14], edx
mov dword [esp + 8], str.process_create
mov dword [esp + 4], 0x10021078
mov dword [esp], 2
call sym._wine_dbg_log.constprop.0_3
jmp 0x10012614
mov edx, dword [ebp - 0x90]
jmp 0x100128fe
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x34]
mov dword [esp + 0x10], ebx
mov dword [esp + 0xc], str.CreateProcessW_ret__d__GetLastError____lu_n
mov dword [esp + 0x14], eax
mov dword [esp + 8], str.process_create
mov dword [esp + 4], 0x10021078
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_3
jmp 0x1001295b
cmp eax, 5
jne 0x1001297a
lea edi, [ebp - 0x78]
mov eax, dword [ebp - 0xb8]
mov dword [esp], edi
call eax
mov ecx, 0x13
mov eax, 2
mov word [ebp - 0x78], cx
sub esp, 4
jmp 0x100126c4
lea edi, [ebp - 0x78]
mov eax, dword [ebp - 0xb8]
mov ebx, 0x13
mov dword [esp], edi
call eax
mov word [ebp - 0x78], bx
mov eax, 9
sub esp, 4
jmp 0x100126c4