Function at 0x10001130
Capabilities:
Create process on windows
Get process heap flags

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, 0x1c8
mov eax, dword [ecx]
mov edi, dword [ecx + 4]
mov dword [ebp - 0x1a0], 1
mov esi, dword [ecx + 8]
mov dword [ebp - 0x1a8], eax
mov eax, dword [ecx + 0xc]
test byte [0x10003110], 8
jne 0x1000121d
xor ebx, ebx
mov ecx, 0x10
lea edi, [ebp - 0x180]
mov dword [ebp - 0x184], 0x44
mov eax, ebx
lea edx, [ebp - 0x184]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x194]
mov dword [esp + 0x20], edx
mov dword [esp + 0x24], eax
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], esi
mov dword [esp], 0
call dword [sym.imp.kernel32.dll_CreateProcessA]
sub esp, 0x28
test eax, eax
jne 0x100012fd
mov dword [esp + 8], esi
mov dword [esp + 4], 0
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapFree]
mov eax, dword [ebp - 0x1a0]
sub esp, 0xc
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_ExitThread]
movzx eax, ax
mov dword [ebp - 0x1ac], eax
test esi, esi
je 0x10001555
mov eax, esi
shr eax, 0x10
je 0x10001401
mov dword [esp + 4], 0xffffffff
mov dword [esp], esi
call dword [sym.imp.kernel32.dll_IsBadStringPtrA]
push ebx
push ebx
test eax, eax
jne 0x1000154b
cmp byte [esi], 0
je 0x1000155f
lea esi, [esi]
mov edx, eax
lea eax, [eax + 1]
cmp byte [esi + edx + 1], 0
jne 0x10001260
mov byte [ebp - 0x140], 0x22
lea ecx, [ebp - 0x13f]
mov dword [ebp - 0x1a4], esi
mov dword [ebp - 0x1b0], edi
jmp 0x100012c8
cmp al, 9
je 0x10001504
cmp al, 0xa
jne 0x100014cb
mov word [ecx], 0x6e5c
add ecx, 2
lea esi, [esi]
nop
lea eax, [edx - 1]
test edx, edx
jle 0x10001511
lea ebx, [ebp - 0x1d]
cmp ecx, ebx
ja 0x10001511
mov edx, eax
add dword [ebp - 0x1a4], 1
mov eax, dword [ebp - 0x1a4]
movzx eax, byte [eax - 1]
cmp al, 0xd
je 0x100014b4
jle 0x10001290
cmp al, 0x22
je 0x100014f7
cmp al, 0x5c
jne 0x100014c1
mov word [ecx], 0x5c5c
add ecx, 2
jmp 0x100012b0
mov eax, ebx
mov ecx, 0xf
lea edi, [ebp - 0x13c]
mov edx, dword [ebp - 0x194]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x140]
mov dword [ebp - 0x140], 0x73
mov dword [ebp - 0x19c], edx
mov dword [ebp - 0x100], 0
mov dword [ebp - 0x134], edx
mov dword [esp], eax
call dword [sym.imp.ntdll.dll_wine_server_call]
test eax, eax
jne 0x1000145d
mov eax, dword [ebp - 0x138]
mov dword [ebp - 0x198], eax
test eax, eax
je 0x1000138c
lea eax, [ebp - 0x19c]
mov dword [esp + 0xc], 0x2710
mov dword [esp + 8], 0
mov dword [esp + 4], eax
mov dword [esp], 2
call dword [sym.imp.kernel32.dll_WaitForMultipleObjects]
sub esp, 0x10
add eax, 1
je 0x10001471
lea eax, [ebp - 0x140]
mov dword [esp], eax
call sym._ReleaseThunkLock_4
push eax
mov eax, dword [ebp - 0x194]
mov dword [esp + 4], 0xffffffff
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_WaitForSingleObject]
mov eax, dword [ebp - 0x140]
push edx
push edx
mov dword [esp], eax
call sym._RestoreThunkLock_4
lea eax, [ebp - 0x1a0]
push ecx
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x194]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_GetExitCodeProcess]
mov eax, dword [ebp - 0x190]
push ebx
push ebx
mov ebx, dword [sym.imp.kernel32.dll_CloseHandle]
mov dword [esp], eax
call ebx
mov eax, dword [ebp - 0x194]
push edi
mov dword [esp], eax
call ebx
push eax
jmp 0x100011ea
movzx eax, si
mov dword [esp], str._04x
mov dword [esp + 4], eax
call sym._wine_dbg_sprintf.constprop.0
mov dword [esp + 0x18], eax
movzx eax, di
mov ebx, dword [ebp - 0x1ac]
mov dword [esp + 0x14], eax
movzx eax, word [ebp - 0x1a8]
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], str._x__x__s__u_n
mov dword [esp + 8], global___func__
mov dword [esp + 4], 0x10003110
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0
jmp 0x1000116f
mov dword [esp], eax
call dword [sym.imp.ntdll.dll_RtlNtStatusToDosError]
push edx
mov dword [esp], eax
call dword [sym.imp.ntdll.dll_RtlSetLastWin32Error]
push ecx
test byte [0x10003110], 4
je 0x1000138c
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x34]
mov dword [esp + 0xc], str.WaitForInputIdle_failed:_Error__ld_n
mov dword [esp + 8], global___func__
mov dword [esp + 0x10], eax
mov dword [esp + 4], 0x10003110
mov dword [esp], 2
call sym._wine_dbg_log.constprop.0
jmp 0x1000138c
mov word [ecx], 0x725c
add ecx, 2
jmp 0x100012b0
lea edi, [eax - 0x20]
mov ebx, edi
cmp bl, 0x5e
jbe 0x10001541
mov ebx, eax
and eax, 0xf
mov word [ecx], 0x785c
add ecx, 4
shr bl, 4
movzx eax, byte [eax + str.0123456789abcdefWinMain16]
movzx edi, bl
movzx ebx, byte [edi + str.0123456789abcdefWinMain16]
mov byte [ecx - 1], al
mov byte [ecx - 2], bl
jmp 0x100012b0
mov word [ecx], 0x225c
add ecx, 2
jmp 0x100012b0
mov word [ecx], 0x745c
add ecx, 2
jmp 0x100012b0
mov byte [ecx], 0x22
mov edi, dword [ebp - 0x1b0]
test eax, eax
jle 0x1000156e
mov word [ecx + 1], 0x2e2e
lea eax, [ecx + 4]
mov byte [ecx + 3], 0x2e
mov byte [eax], 0
lea eax, [ebp - 0x140]
mov dword [esp], eax
call dbg.__wine_dbg_strdup
jmp 0x10001414
mov byte [ecx], al
add ecx, 1
jmp 0x100012b0
mov eax, str._invalid_
jmp 0x10001414
mov eax, str._null_
jmp 0x10001414
mov word [ebp - 0x140], 0x2222
lea ecx, [ebp - 0x13f]
lea eax, [ecx + 1]
jmp 0x1000152b