Function at 0x71051ca0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0xec
mov edi, dword [ebp + 0x10]
mov dword [ebp - 0xb8], 0
test byte [0x71060078], 1
jne 0x71051f78
mov eax, dword [ebp + 0x14]
mov dword [eax], 0
lea eax, [ebp - 0xbc]
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 0x71051d10
lea esp, [ebp - 0xc]
mov eax, ebx
pop ebx
pop esi
pop edi
pop ebp
ret
lea eax, [ebp - 0xb0]
mov esi, dword [sym.imp.oleaut32.dll_VariantInit]
lea ebx, [ebp - 0xb4]
mov dword [esp], eax
call esi
lea eax, [ebp - 0xa0]
sub esp, 4
mov dword [esp], eax
call esi
lea eax, [ebp - 0x90]
sub esp, 4
mov dword [esp], eax
call esi
mov eax, dword [edi]
lea ecx, [ebp - 0xb0]
sub esp, 4
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], ebx
mov dword [esp + 0xc], ecx
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 0x71051d89
cmp word [ebp - 0xb0], 8
je 0x71052068
test byte [0x71060078], 4
jne 0x710521e8
mov eax, dword [edi]
lea ecx, [ebp - 0xa0]
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], 0
mov dword [esp + 0xc], ecx
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 0x71051dd9
cmp word [ebp - 0xa0], 8
je 0x71052020
test byte [0x71060078], 4
jne 0x71052220
mov eax, dword [edi]
lea ecx, [ebp - 0x90]
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], 0
mov dword [esp + 0xc], ecx
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 0x71051e29
cmp word [ebp - 0x90], 0xd
je 0x71051fc0
mov eax, dword [ebp - 0xbc]
lea ecx, [ebp - 0xb8]
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 0x71051edc
lea edx, [ebp - 0x58]
mov ecx, 0x10
cmp word [ebp - 0xb0], 8
mov dword [ebp - 0x5c], 0x44
mov edi, edx
rep stosd dword es:[edi], eax
je 0x710520b0
lea edi, [ebp - 0x80]
mov dword [esp], edi
call esi
mov esi, 0x13
mov eax, 0x15
mov word [ebp - 0x80], si
sub esp, 4
mov dword [ebp - 0x78], eax
mov eax, dword [ebp - 0xb8]
mov edx, dword [eax]
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], edi
mov dword [esp + 8], 0
mov dword [esp + 4], 0x7106572a
mov dword [esp], eax
call dword [edx + 0x14]
sub esp, 0x14
mov ebx, eax
test eax, eax
jne 0x71051edc
mov eax, dword [ebp - 0xb8]
mov esi, dword [ebp + 0x14]
mov dword [esi], eax
mov edx, dword [eax]
mov dword [esp], eax
call dword [edx + 4]
sub esp, 4
mov eax, dword [ebp - 0xbc]
mov edx, dword [eax]
mov dword [esp], eax
call dword [edx + 8]
mov eax, dword [ebp - 0xb8]
sub esp, 4
test eax, eax
je 0x71051f02
mov edx, dword [eax]
mov dword [esp], eax
call dword [edx + 8]
sub esp, 4
lea eax, [ebp - 0xb0]
mov esi, dword [sym.imp.oleaut32.dll_VariantClear]
mov dword [esp], eax
call esi
lea eax, [ebp - 0xa0]
sub esp, 4
mov dword [esp], eax
call esi
lea eax, [ebp - 0x90]
sub esp, 4
mov dword [esp], eax
call esi
sub esp, 4
test byte [0x71060078], 8
je 0x71051d03
mov dword [esp + 0x10], ebx
mov dword [esp + 0xc], str.ret__lx_n
mov dword [esp + 8], str.process_create
mov dword [esp + 4], 0x71060078
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_3
lea esp, [ebp - 0xc]
mov eax, ebx
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [ebp + 0x14]
mov dword [esp + 0x18], edi
mov dword [esp + 0xc], str._p___p___p___p_stub_n
mov dword [esp + 0x1c], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 8], str.process_create
mov dword [esp + 0x14], eax
mov eax, dword [ebp + 8]
mov dword [esp + 4], 0x71060078
mov dword [esp + 0x10], eax
mov dword [esp], 0
call sym._wine_dbg_log.constprop.0_3
jmp 0x71051cc6
mov eax, dword [ebp - 0x88]
test eax, eax
je 0x71051e29
test byte [0x71060078], 1
je 0x71051e29
mov dword [esp + 0x18], eax
mov eax, dword [ebp - 0xb4]
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], 0x71060078
mov dword [esp], 0
call sym._wine_dbg_log.constprop.0_3
jmp 0x71051e29
test byte [0x71060078], 8
je 0x71051de6
mov eax, dword [ebp - 0x98]
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], 0x71060078
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_3
jmp 0x71051de6
test byte [0x71060078], 8
je 0x71051d96
mov eax, dword [ebp - 0xa8]
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], 0x71060078
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_3
jmp 0x71051d96
mov eax, dword [ebp - 0xa8]
test eax, eax
je 0x71051e77
xor edx, edx
cmp word [ebp - 0xa0], 8
je 0x71052260
lea ecx, [ebp - 0x6c]
mov dword [esp + 0x1c], 0
mov dword [esp + 0x24], ecx
lea ecx, [ebp - 0x5c]
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 [0x71060078], 8
jne 0x71052270
test ebx, ebx
jne 0x71052170
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x34]
cmp eax, 3
ja 0x710522b0
cmp eax, 1
ja 0x710522e0
lea edi, [ebp - 0x80]
mov dword [esp], edi
call esi
mov edx, 0x13
mov eax, 8
mov word [ebp - 0x80], dx
sub esp, 4
jmp 0x71051e90
mov eax, dword [ebp - 0x68]
mov ebx, dword [sym.imp.kernel32.dll_CloseHandle]
lea edi, [ebp - 0x80]
mov dword [esp], eax
call ebx
mov eax, dword [ebp - 0x6c]
sub esp, 4
mov dword [esp], eax
call ebx
sub esp, 4
mov dword [esp], edi
call esi
mov eax, 0x13
mov word [ebp - 0x80], ax
mov eax, dword [ebp - 0x64]
sub esp, 4
mov dword [ebp - 0x78], eax
mov eax, dword [ebp - 0xb8]
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 0x71051e90
jmp 0x71051edc
movzx edx, word [ebp - 0xb0]
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], 0x71060078
mov dword [esp], 2
call sym._wine_dbg_log.constprop.0_3
jmp 0x71051d96
movzx edx, word [ebp - 0xa0]
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], 0x71060078
mov dword [esp], 2
call sym._wine_dbg_log.constprop.0_3
jmp 0x71051de6
mov edx, dword [ebp - 0x98]
jmp 0x710520ce
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], 0x71060078
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_3
jmp 0x7105212b
cmp eax, 5
jne 0x7105214a
lea edi, [ebp - 0x80]
mov dword [esp], edi
call esi
mov ecx, 0x13
mov eax, 2
mov word [ebp - 0x80], cx
sub esp, 4
jmp 0x71051e90
lea edi, [ebp - 0x80]
mov ebx, 0x13
mov dword [esp], edi
call esi
mov word [ebp - 0x80], bx
mov eax, 9
sub esp, 4
jmp 0x71051e90