Function at 0x403be0
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 0x403e20
test byte [0x40a160], 8
jne 0x403cf0
mov eax, dword [ebp - 0x194]
test eax, eax
jne 0x403de0
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 0x4040b0
mov eax, esi
shr eax, 0x10
je 0x403f20
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 0x403f33
movzx eax, word [esi]
test ax, ax
je 0x4040c0
lea esi, [esi]
nop
mov edx, ecx
lea ecx, [ecx + 1]
cmp word [esi + edx*2 + 2], 0
jne 0x403d40
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 0x403da8
cmp ax, 9
je 0x403ff8
cmp ax, 0xa
jne 0x403f71
mov eax, 0x6e5c
add ecx, 2
mov word [ecx - 2], ax
lea ebx, [edx - 1]
cmp ecx, edi
ja 0x404010
test edx, edx
jle 0x404010
movzx eax, word [esi]
mov edx, ebx
add esi, 2
cmp ax, 0xd
je 0x403fe0
jbe 0x403d70
cmp ax, 0x22
je 0x403fc8
cmp ax, 0x5c
jne 0x403f64
mov ebx, 0x5c5c
add ecx, 2
mov word [ecx - 2], bx
jmp 0x403d90
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 0x403cb8
mov eax, 0xffffffff
test byte [0x40a160], 4
je 0x403ce0
mov eax, dword fs:[0x18]
mov ebx, dword [eax + 0x34]
test esi, esi
je 0x4041d0
mov eax, esi
shr eax, 0x10
je 0x404060
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 0x404073
movzx eax, word [esi]
test ax, ax
je 0x4041da
lea esi, [esi]
mov edx, ecx
lea ecx, [ecx + 1]
cmp word [esi + edx*2 + 2], 0
jne 0x403e80
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 0x403eec
cmp ax, 9
je 0x404178
cmp ax, 0xa
jne 0x404106
mov eax, 0x6e5c
add ecx, 2
mov word [ecx - 2], ax
lea edi, [edx - 1]
cmp ecx, dword [ebp - 0x194]
ja 0x404190
test edx, edx
jle 0x404190
movzx eax, word [esi]
mov edx, edi
add esi, 2
cmp ax, 0xd
je 0x4040e8
jbe 0x403eb0
cmp ax, 0x22
je 0x404160
cmp ax, 0x5c
jne 0x4040f9
mov ebx, 0x5c5c
add ecx, 2
mov word [ecx - 2], bx
jmp 0x403ed0
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 0x403caa
lea ebx, [eax - 0x20]
cmp bx, 0x5e
jbe 0x404050
mov ebx, eax
mov byte [ecx], 0x5c
add ecx, 5
shr bx, 0xc
movzx ebx, bx
movzx ebx, byte [ebx + 0x4156e8]
mov byte [ecx - 4], bl
mov ebx, eax
shr bx, 8
and ebx, 0xf
movzx ebx, byte [ebx + 0x4156e8]
mov byte [ecx - 3], bl
mov ebx, eax
and eax, 0xf
shr bx, 4
movzx eax, byte [eax + 0x4156e8]
and ebx, 0xf
movzx ebx, byte [ebx + 0x4156e8]
mov byte [ecx - 1], al
mov byte [ecx - 2], bl
jmp 0x403d90
mov eax, 0x225c
add ecx, 2
mov word [ecx - 2], ax
jmp 0x403d90
mov eax, 0x725c
add ecx, 2
mov word [ecx - 2], ax
jmp 0x403d90
mov eax, 0x745c
add ecx, 2
mov word [ecx - 2], ax
jmp 0x403d90
mov byte [ecx], 0x22
mov edi, dword [ebp - 0x198]
test ebx, ebx
jle 0x4040d9
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 0x403f33
mov byte [ecx], al
inc ecx
jmp 0x403d90
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 0x403ce0
mov eax, str._null_
jmp 0x403f33
mov ebx, 0x224c
mov byte [ebp - 0x136], 0x22
lea ecx, [ebp - 0x136]
mov word [ebp - 0x138], bx
lea eax, [ecx + 1]
jmp 0x404031
mov eax, 0x725c
add ecx, 2
mov word [ecx - 2], ax
jmp 0x403ed0
lea edi, [eax - 0x20]
cmp di, 0x5e
jbe 0x4041c8
mov edi, eax
mov byte [ecx], 0x5c
add ecx, 5
shr di, 0xc
movzx edi, di
movzx ebx, byte [edi + 0x4156e8]
mov edi, eax
shr di, 8
and edi, 0xf
mov byte [ecx - 4], bl
movzx ebx, byte [edi + 0x4156e8]
mov edi, eax
and eax, 0xf
shr di, 4
movzx eax, byte [eax + 0x4156e8]
and edi, 0xf
mov byte [ecx - 3], bl
movzx ebx, byte [edi + 0x4156e8]
mov byte [ecx - 1], al
mov byte [ecx - 2], bl
jmp 0x403ed0
mov edi, 0x225c
add ecx, 2
mov word [ecx - 2], di
jmp 0x403ed0
mov eax, 0x745c
add ecx, 2
mov word [ecx - 2], ax
jmp 0x403ed0
mov byte [ecx], 0x22
mov ebx, dword [ebp - 0x198]
test edi, edi
jle 0x4041f3
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 0x404073
mov byte [ecx], al
inc ecx
jmp 0x403ed0
mov eax, str._null_
jmp 0x404073
mov eax, 0x224c
mov byte [ebp - 0x136], 0x22
lea ecx, [ebp - 0x136]
mov word [ebp - 0x138], ax
lea eax, [ecx + 1]
jmp 0x4041ad