Function at 0x403d50
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ecx, 0x10
mov ebp, esp
push edi
push esi
mov esi, eax
xor eax, eax
push ebx
lea ebx, [ebp - 0x17c]
sub esp, 0x1b4
mov dword [ebp - 0x194], edx
lea edx, [ebp - 0x178]
mov dword [ebp - 0x190], 0
mov edi, edx
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x18c]
mov dword [ebp - 0x17c], 0x44
mov dword [ebp - 0x18c], 0
mov dword [ebp - 0x188], 0
mov dword [ebp - 0x184], 0
mov dword [ebp - 0x180], 0
mov dword [esp + 0x24], eax
mov dword [esp + 0x20], ebx
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.kernelbase.dll_CreateProcessW]
sub esp, 0x28
test eax, eax
je 0x403f90
test byte [0x40a160], 8
jne 0x403e60
mov eax, dword [ebp - 0x194]
test eax, eax
jne 0x403f50
mov eax, dword [ebp - 0x188]
mov ebx, dword [sym.imp.kernelbase.dll_CloseHandle]
mov dword [esp], eax
call ebx
mov eax, dword [ebp - 0x18c]
sub esp, 4
mov dword [esp], eax
call ebx
mov eax, dword [ebp - 0x190]
sub esp, 4
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
mov edi, dword [ebp - 0x18c]
test esi, esi
je 0x404220
mov eax, esi
shr eax, 0x10
je 0x404090
mov dword [esp + 4], 0xffffffff
mov dword [esp], esi
call dword [sym.imp.kernel32.dll_IsBadStringPtrW]
mov ecx, eax
sub esp, 8
mov eax, str._invalid_
test ecx, ecx
jne 0x4040a3
movzx eax, word [esi]
test ax, ax
je 0x404230
lea esi, cs:[esi]
mov edx, ecx
lea ecx, [ecx + 1]
cmp word [esi + edx*2 + 2], 0
jne 0x403eb0
mov ecx, 0x224c
lea ebx, [ebp - 0x16]
mov dword [ebp - 0x198], edi
mov word [ebp - 0x138], cx
mov edi, ebx
lea ecx, [ebp - 0x136]
jmp 0x403f18
cmp ax, 9
je 0x404168
cmp ax, 0xa
jne 0x4040e1
mov eax, 0x6e5c
add ecx, 2
mov word [ecx - 2], ax
lea ebx, [edx - 1]
cmp ecx, edi
ja 0x404180
test edx, edx
jle 0x404180
movzx eax, word [esi]
mov edx, ebx
add esi, 2
cmp ax, 0xd
je 0x404150
jbe 0x403ee0
cmp ax, 0x22
je 0x404138
cmp ax, 0x5c
jne 0x4040d4
mov ebx, 0x5c5c
add ecx, 2
mov word [ecx - 2], bx
jmp 0x403f00
mov eax, dword [ebp - 0x18c]
mov dword [esp + 4], 0xffffffff
mov dword [esp], eax
call dword [sym.imp.kernelbase.dll_WaitForSingleObject]
lea eax, [ebp - 0x190]
sub esp, 8
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x18c]
mov dword [esp], eax
call dword [sym.imp.kernelbase.dll_GetExitCodeProcess]
sub esp, 8
jmp 0x403e28
mov eax, 0xffffffff
test byte [0x40a160], 4
je 0x403e50
mov eax, dword fs:[0x18]
mov ebx, dword [eax + 0x34]
test esi, esi
je 0x404340
mov eax, esi
shr eax, 0x10
je 0x4041d0
mov dword [esp + 4], 0xffffffff
mov dword [esp], esi
call dword [sym.imp.kernel32.dll_IsBadStringPtrW]
mov ecx, eax
sub esp, 8
mov eax, str._invalid_
test ecx, ecx
jne 0x4041e3
movzx eax, word [esi]
test ax, ax
je 0x40434a
lea esi, [esi]
mov edx, ecx
lea ecx, [ecx + 1]
cmp word [esi + edx*2 + 2], 0
jne 0x403ff0
mov edi, 0x224c
mov dword [ebp - 0x198], ebx
lea ecx, [ebp - 0x136]
mov word [ebp - 0x138], di
lea edi, [ebp - 0x16]
mov dword [ebp - 0x194], edi
jmp 0x40405c
cmp ax, 9
je 0x4042e8
cmp ax, 0xa
jne 0x404276
mov eax, 0x6e5c
add ecx, 2
mov word [ecx - 2], ax
lea edi, [edx - 1]
cmp ecx, dword [ebp - 0x194]
ja 0x404300
test edx, edx
jle 0x404300
movzx eax, word [esi]
mov edx, edi
add esi, 2
cmp ax, 0xd
je 0x404258
jbe 0x404020
cmp ax, 0x22
je 0x4042d0
cmp ax, 0x5c
jne 0x404269
mov ebx, 0x5c5c
add ecx, 2
mov word [ecx - 2], bx
jmp 0x404040
movzx esi, si
mov dword [esp], 0x40b17c
mov dword [esp + 4], esi
call sym._wine_dbg_sprintf.constprop.0_1
mov dword [esp + 0x14], edi
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], str.Successfully_ran_command__s___Created_process_handle__p_n
mov dword [esp + 8], str.runCmd
mov dword [esp + 4], 0x40a160
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_1
jmp 0x403e1a
lea ebx, [eax - 0x20]
cmp bx, 0x5e
jbe 0x4041c0
mov ebx, eax
mov byte [ecx], 0x5c
add ecx, 5
shr bx, 0xc
movzx ebx, bx
movzx ebx, byte [ebx + 0x415720]
mov byte [ecx - 4], bl
mov ebx, eax
shr bx, 8
and ebx, 0xf
movzx ebx, byte [ebx + 0x415720]
mov byte [ecx - 3], bl
mov ebx, eax
and eax, 0xf
shr bx, 4
movzx eax, byte [eax + 0x415720]
and ebx, 0xf
movzx ebx, byte [ebx + 0x415720]
mov byte [ecx - 1], al
mov byte [ecx - 2], bl
jmp 0x403f00
mov eax, 0x225c
add ecx, 2
mov word [ecx - 2], ax
jmp 0x403f00
mov eax, 0x725c
add ecx, 2
mov word [ecx - 2], ax
jmp 0x403f00
mov eax, 0x745c
add ecx, 2
mov word [ecx - 2], ax
jmp 0x403f00
mov byte [ecx], 0x22
mov edi, dword [ebp - 0x198]
test ebx, ebx
jle 0x404249
mov edx, 0x2e2e
mov byte [ecx + 3], 0x2e
lea eax, [ecx + 4]
mov word [ecx + 1], dx
mov byte [eax], 0
lea eax, [ebp - 0x138]
mov dword [esp], eax
call sym.___wine_dbg_strdup
jmp 0x4040a3
mov byte [ecx], al
inc ecx
jmp 0x403f00
movzx esi, si
mov dword [esp], 0x40b17c
mov dword [esp + 4], esi
call sym._wine_dbg_sprintf.constprop.0_1
mov dword [esp + 0x14], ebx
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], str.Failed_to_run_command__s___ld__n
mov dword [esp + 8], str.runCmd
mov dword [esp + 4], 0x40a160
mov dword [esp], 2
call sym._wine_dbg_log.constprop.0_1
mov eax, 0xffffffff
jmp 0x403e50
mov eax, str._null_
jmp 0x4040a3
mov ebx, 0x224c
mov byte [ebp - 0x136], 0x22
lea ecx, [ebp - 0x136]
mov word [ebp - 0x138], bx
lea eax, [ecx + 1]
jmp 0x4041a1
mov eax, 0x725c
add ecx, 2
mov word [ecx - 2], ax
jmp 0x404040
lea edi, [eax - 0x20]
cmp di, 0x5e
jbe 0x404338
mov edi, eax
mov byte [ecx], 0x5c
add ecx, 5
shr di, 0xc
movzx edi, di
movzx ebx, byte [edi + 0x415720]
mov edi, eax
shr di, 8
and edi, 0xf
mov byte [ecx - 4], bl
movzx ebx, byte [edi + 0x415720]
mov edi, eax
and eax, 0xf
shr di, 4
movzx eax, byte [eax + 0x415720]
and edi, 0xf
mov byte [ecx - 3], bl
movzx ebx, byte [edi + 0x415720]
mov byte [ecx - 1], al
mov byte [ecx - 2], bl
jmp 0x404040
mov edi, 0x225c
add ecx, 2
mov word [ecx - 2], di
jmp 0x404040
mov eax, 0x745c
add ecx, 2
mov word [ecx - 2], ax
jmp 0x404040
mov byte [ecx], 0x22
mov ebx, dword [ebp - 0x198]
test edi, edi
jle 0x404363
mov edx, 0x2e2e
mov byte [ecx + 3], 0x2e
lea eax, [ecx + 4]
mov word [ecx + 1], dx
mov byte [eax], 0
lea eax, [ebp - 0x138]
mov dword [esp], eax
call sym.___wine_dbg_strdup
jmp 0x4041e3
mov byte [ecx], al
inc ecx
jmp 0x404040
mov eax, str._null_
jmp 0x4041e3
mov eax, 0x224c
mov byte [ebp - 0x136], 0x22
lea ecx, [ebp - 0x136]
mov word [ebp - 0x138], ax
lea eax, [ecx + 1]
jmp 0x40431d