Function at 0x401eb0
Capabilities:
Create process on windows
Query environment variable
Terminate process

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, 0xc8
mov eax, dword [ecx]
mov esi, dword [ecx + 4]
mov dword [section..bss], 0x3c
mov dword [0x40800c], 0x40610c
mov dword [ebp - 0x98], eax
mov dword [0x40801c], 1
mov dword [0x408004], 0x500
mov dword [0x408040], 0x10
mov dword [0x408048], 0
mov dword [ebp - 0x90], 1
cmp eax, 1
jle 0x402110
mov eax, 1
jmp 0x401f54
add ebx, 4
mov dword [0x408018], ebx
mov ebx, dword [ebp - 0x90]
lea eax, [ebx + 1]
mov dword [ebp - 0x90], eax
cmp dword [ebp - 0x98], eax
jle 0x402110
lea ecx, [eax*4]
cmp dword [0x40803c], 0
lea edi, [esi + ecx]
mov ebx, dword [edi]
movzx edx, word [ebx]
je 0x402000
cmp dx, 0x2f
jne 0x402110
movzx edx, word [ebx + 2]
and edx, 0xffffffdf
cmp dx, 0x44
jne 0x401fb0
cmp word [ebx + 4], 0
jne 0x401f30
lea ebx, [eax + 1]
cmp dword [ebp - 0x98], ebx
je 0x402ad8
mov eax, dword [esi + ecx + 4]
mov dword [0x408018], eax
jmp 0x401f3f
mov dword [esp + 0x14], 0xffffffff
mov dword [esp + 0x10], 0x40614e
mov dword [esp + 0xc], 0xffffffff
mov dword [esp + 8], ebx
mov dword [esp + 4], 1
mov dword [esp], 0x400
call dword [sym.imp.kernel32.dll_CompareStringW]
sub esp, 0x18
cmp eax, 2
jne 0x402060
and dword [0x408040], 0xffffffef
mov ebx, dword [ebp - 0x90]
jmp 0x401f3f
cmp dx, 0x22
jne 0x401f70
mov dword [esp], ebx
call dword [sym.imp.ucrtbase.dll_wcslen]
add eax, eax
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll_malloc]
movzx edx, word [ebx]
xor ecx, ecx
test dx, dx
je 0x402049
lea esi, [esi]
nop
cmp dx, 0x22
je 0x40203d
mov word [eax + ecx*2], dx
add ecx, 1
movzx edx, word [ebx + 2]
add ebx, 2
test dx, dx
jne 0x402030
xor ebx, ebx
mov dword [0x40803c], eax
mov word [eax + ecx*2], bx
mov ebx, dword [ebp - 0x90]
jmp 0x401f3f
mov eax, dword [edi]
cmp word [eax], 0x2f
jne 0x4020b8
movzx edx, word [eax + 2]
and edx, 0xffffffdf
cmp dx, 0x49
jne 0x4020b8
mov ebx, dword [ebp - 0x90]
test byte [0x404000], 8
je 0x401f3f
mov dword [esp + 0xc], str._i_is_ignored_n
mov dword [esp + 8], str.parse_command_line
mov dword [esp + 4], global___dbch
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0
jmp 0x401f3f
mov dword [esp + 0x14], 0xffffffff
mov dword [esp + 0x10], str._min
mov dword [esp + 0xc], 0xffffffff
mov dword [esp + 8], eax
mov dword [esp + 4], 1
mov dword [esp], 0x400
call dword [sym.imp.kernel32.dll_CompareStringW]
sub esp, 0x18
cmp eax, 2
jne 0x4024e0
mov dword [0x40801c], 2
mov ebx, dword [ebp - 0x90]
jmp 0x401f3f
mov eax, dword [ebp - 0x90]
mov edx, eax
cmp dword [ebp - 0x98], eax
je 0x40277e
xor edx, edx
mov dword [ebp - 0xa8], edx
mov dword [ebp - 0xac], edx
lea edx, [eax + 1]
mov eax, dword [esi + eax*4]
mov dword [ebp - 0x90], edx
mov dword [ebp - 0xa0], eax
lea edi, [esi + edx*4]
mov eax, dword [edi]
test eax, eax
je 0x4029ed
mov esi, edi
mov ebx, 1
lea esi, [esi]
nop
mov dword [esp], eax
add esi, 4
call dword [sym.imp.ucrtbase.dll_wcslen]
lea edx, [ebx + eax*2 + 3]
mov eax, dword [esi]
mov ebx, edx
test eax, eax
jne 0x402160
mov eax, dword [sym.imp.ucrtbase.dll_malloc]
add edx, edx
mov dword [esp], edx
mov dword [ebp - 0xa4], eax
call eax
mov ecx, eax
test eax, eax
je 0x4022ac
mov edx, dword [edi]
test edx, edx
je 0x4022a7
mov ebx, eax
mov eax, dword [sym.imp.ucrtbase.dll_wcschr]
mov dword [ebp - 0xb0], ecx
mov dword [ebp - 0x98], eax
lea esi, [esi]
cmp word [edx], 0
jne 0x402490
mov dword [esp + 4], 0x22
mov eax, dword [edi]
mov dword [esp], eax
mov eax, dword [ebp - 0x98]
call eax
mov edx, 0x22
lea eax, [ebx + 2]
mov word [ebx], dx
mov edx, dword [edi]
movzx ecx, word [edx]
test cx, cx
je 0x40264e
mov dword [ebp - 0x9c], 1
xor esi, esi
lea esi, [esi]
cmp cx, 0x5c
je 0x402480
cmp cx, 0x22
je 0x402430
mov ebx, eax
xor esi, esi
movzx ecx, word [edx]
add edx, 2
lea eax, [ebx + 2]
mov word [ebx], cx
movzx ecx, word [edx]
test cx, cx
jne 0x402200
mov edx, dword [ebp - 0x9c]
test edx, edx
je 0x402284
test esi, esi
jle 0x40264e
lea edx, [eax + esi*2]
and esi, 1
je 0x402260
lea eax, [ebx + 4]
mov ebx, 0x5c
mov word [eax - 2], bx
cmp eax, edx
je 0x402279
lea esi, [esi]
lea esi, [esi]
mov ebx, 0x5c
add eax, 4
mov esi, 0x5c
mov word [eax - 4], bx
mov word [eax - 2], si
cmp eax, edx
jne 0x402260
mov ecx, 0x22
lea eax, [edx + 2]
mov word [edx], cx
mov edx, 0x20
add edi, 4
lea ebx, [eax + 2]
mov word [eax], dx
mov edx, dword [edi]
test edx, edx
jne 0x4021b8
mov ecx, dword [ebp - 0xb0]
cmp ecx, ebx
cmovae eax, ebx
xor edi, edi
mov word [eax], di
mov edi, dword [ebp - 0xac]
mov eax, dword [ebp - 0xa8]
mov dword [0x408014], ecx
or edi, eax
jne 0x402509
mov eax, dword [ebp - 0xa0]
lea edx, [ebp - 0x80]
call dbg.search_path
test eax, eax
je 0x4022e1
mov eax, dword [ebp - 0x80]
mov dword [ebp - 0xa0], eax
mov eax, dword [ebp - 0xa0]
mov dword [0x408010], eax
lea eax, [ebp - 0x94]
mov dword [esp + 4], eax
mov eax, dword [0x408010]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_GetBinaryTypeW]
sub esp, 8
test eax, eax
je 0x40279b
xor eax, eax
lea edi, [ebp - 0x7c]
mov ecx, 0x11
mov edx, dword [0x408010]
rep stosd dword es:[edi], eax
mov dword [ebp - 0x80], 0x44
mov eax, edx
cmp word [edx], 0
je 0x402339
add eax, 2
cmp word [eax], 0
jne 0x402330
sub eax, edx
mov ecx, dword [0x408014]
sar eax, 1
add eax, 4
cmp word [ecx], 0
mov edx, ecx
je 0x402359
nop
add edx, 2
cmp word [edx], 0
jne 0x402350
sub edx, ecx
lea ebx, [ebp - 0x90]
sar edx, 1
cmp word [0x408044], 0
lea esi, [edx + eax]
jne 0x40295f
lea eax, [esi + esi]
mov dword [esp], eax
mov eax, dword [ebp - 0xa4]
call eax
mov dword [esp + 8], str.__s___s
mov edi, eax
mov eax, dword [0x408014]
mov dword [esp + 4], esi
mov dword [esp], edi
mov dword [esp + 0x10], eax
mov eax, dword [0x408010]
mov dword [esp + 0xc], eax
call sym._swprintf.constprop.0
mov eax, dword [0x40801c]
or dword [ebp - 0x54], 1
mov dword [esp + 0x24], ebx
mov word [ebp - 0x50], ax
mov eax, dword [0x40803c]
mov dword [esp + 0x18], 0
mov dword [ebp - 0x74], eax
lea eax, [ebp - 0x80]
mov dword [esp + 0x20], eax
mov eax, dword [0x408018]
mov dword [esp + 0xc], 0
mov dword [esp + 0x1c], eax
mov eax, dword [0x408040]
mov dword [esp + 8], 0
mov dword [esp + 0x14], eax
mov eax, dword [0x408048]
mov dword [esp + 4], edi
mov dword [esp + 0x10], eax
mov eax, dword [0x408010]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_CreateProcessW]
sub esp, 0x28
test eax, eax
jne 0x402655
mov eax, dword fs:[0x18]
mov edx, dword [0x408010]
mov eax, dword [eax + 0x34]
call sym._fatal_string_error.constprop.0
nop
test esi, esi
js 0x402214
lea ebx, [eax + esi*2 + 2]
and esi, 1
jne 0x402458
add eax, 2
mov ecx, 0x5c
mov word [eax - 2], cx
cmp eax, ebx
je 0x402216
lea esi, [esi]
mov ecx, 0x5c
add eax, 4
mov esi, 0x5c
mov word [eax - 4], cx
mov word [eax - 2], si
cmp eax, ebx
jne 0x402458
jmp 0x402216
add esi, 1
mov ebx, eax
jmp 0x402218
mov dword [esp + 4], 0x20
mov eax, dword [ebp - 0x98]
mov dword [esp], edx
call eax
test eax, eax
jne 0x4021c2
mov dword [esp + 4], 9
mov eax, dword [edi]
mov esi, dword [ebp - 0x98]
mov dword [esp], eax
call esi
mov dword [esp + 4], 0x22
test eax, eax
mov eax, dword [edi]
mov dword [esp], eax
je 0x402605
call esi
jmp 0x4021d7
mov eax, dword [edi]
mov edx, str._max
call sym._is_option
test eax, eax
je 0x40292e
mov dword [0x40801c], 3
mov ebx, dword [ebp - 0x90]
jmp 0x401f3f
mov dword [esp], str.KERNEL32
call dword [sym.imp.kernel32.dll_GetModuleHandleA]
push ebx
mov dword [esp + 4], str.wine_get_dos_file_name
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_GetProcAddress]
push esi
push esi
mov esi, eax
test eax, eax
je 0x402b40
xor eax, eax
mov ecx, dword [sym.imp.kernel32.dll_WideCharToMultiByte]
mov dword [esp + 0xc], 0xffffffff
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], eax
mov eax, dword [ebp - 0xa0]
mov dword [ebp - 0x9c], ecx
mov dword [esp + 8], eax
xor eax, eax
mov dword [esp + 4], eax
mov dword [esp], 0xfdf2
call ecx
mov ecx, dword [ebp - 0xa4]
sub esp, 0x20
mov dword [ebp - 0x98], eax
mov dword [esp], eax
call ecx
xor edx, edx
xor ecx, ecx
mov dword [esp + 0xc], 0xffffffff
mov ebx, eax
mov dword [esp + 0x1c], edx
mov dword [esp + 0x18], edx
mov edx, dword [ebp - 0x98]
mov dword [esp + 0x10], eax
mov eax, dword [ebp - 0xa0]
mov dword [esp + 0x14], edx
mov dword [esp + 4], ecx
mov ecx, dword [ebp - 0x9c]
mov dword [esp + 8], eax
mov dword [esp], 0xfdf2
call ecx
sub esp, 0x20
mov dword [esp], ebx
call esi
mov dword [esp], ebx
mov esi, eax
call dword [sym.imp.ucrtbase.dll_free]
test esi, esi
je 0x402b40
cmp dword [0x408018], 0
mov dword [0x408010], esi
je 0x402a31
and dword [0x408004], 0xfffffbff
jmp 0x4022ec
mov eax, dword [ebp - 0x98]
call eax
test eax, eax
jne 0x402631
mov eax, dword [edi]
mov dword [esp], ebx
mov dword [esp + 4], eax
call dword [sym.imp.ucrtbase.dll_wcscpy]
mov dword [esp], ebx
call dword [sym.imp.ucrtbase.dll_wcslen]
lea eax, [ebx + eax*2]
jmp 0x402284
mov edx, dword [edi]
mov eax, ebx
xor ebx, ebx
mov dword [ebp - 0x9c], ebx
movzx ecx, word [edx]
test cx, cx
jne 0x4021fa
jmp 0x402284
mov edx, eax
jmp 0x402279
mov eax, dword [ebp - 0x90]
mov dword [0x408038], eax
test byte [0x408004], 0x40
je 0x402954
xor edi, edi
mov dword [esp + 4], 1
mov dword [esp], edi
call dword [sym.imp.kernel32.dll_SetConsoleCtrlHandler]
push eax
push eax
xor eax, eax
mov dword [esp + 4], eax
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_CreateJobObjectA]
mov ecx, 0x1c
push edx
mov ebx, eax
xor eax, eax
push edx
lea edx, [ebp - 0x80]
mov edi, edx
rep stosd dword es:[edi], eax
mov dword [ebp - 0x70], 0x3000
mov dword [esp + 8], edx
mov dword [esp], ebx
mov dword [esp + 0xc], 0x70
mov dword [esp + 4], 9
call dword [sym.imp.kernel32.dll_SetInformationJobObject]
mov eax, dword [0x408038]
sub esp, 0x10
mov dword [esp], ebx
mov dword [esp + 4], eax
call dword [sym.imp.kernel32.dll_AssignProcessToJobObject]
mov eax, dword [0x408038]
push ecx
push ecx
mov dword [esp + 4], 0xffffffff
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_WaitForSingleObject]
lea eax, [ebp - 0x90]
push ebx
push ebx
mov dword [esp + 4], eax
mov eax, dword [0x408038]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_GetExitCodeProcess]
mov eax, dword [ebp - 0x90]
push esi
push esi
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_ExitProcess]
mov edi, dword [ebp - 0x90]
mov edx, str._exec
mov eax, dword [esi + edi*4]
call sym._is_option
mov dword [ebp - 0xa8], eax
test eax, eax
je 0x402d50
mov dword [0x408004], 0x8440
xor eax, eax
xor edx, edx
mov dword [0x408040], eax
lea eax, [edi + 1]
mov dword [0x408048], 1
mov dword [ebp - 0x90], eax
mov dword [ebp - 0xa8], edx
cmp dword [ebp - 0x98], eax
jne 0x402132
mov edx, dword [ebp - 0x98]
mov dword [ebp - 0xa0], str.cmd.exe
xor edi, edi
mov dword [ebp - 0xa8], edi
mov dword [ebp - 0xac], edi
jmp 0x402144
mov eax, dword [sym.imp.shell32.dll_ShellExecuteExW]
mov dword [esp], section..bss
mov dword [ebp - 0xa0], eax
call eax
push ebx
test eax, eax
jne 0x402660
mov eax, dword [0x408010]
xor ecx, ecx
mov dword [esp], str.PATHEXT
mov dword [esp + 8], ecx
mov ebx, dword [sym.imp.kernel32.dll_GetEnvironmentVariableW]
mov dword [ebp - 0xac], eax
mov dword [esp + 4], ecx
call ebx
sub esp, 0xc
mov esi, eax
test eax, eax
je 0x402a1d
lea eax, [eax + eax]
mov dword [esp], eax
mov eax, dword [ebp - 0xa4]
call eax
test eax, eax
je 0x402b0b
mov dword [esp + 8], esi
mov dword [esp + 4], eax
mov dword [ebp - 0x98], eax
mov dword [esp], str.PATHEXT
call ebx
mov eax, dword [ebp - 0xac]
mov ecx, dword [ebp - 0x98]
sub esp, 0xc
jmp 0x40282a
add eax, 2
cmp word [eax], 0
jne 0x402827
mov edi, dword [ebp - 0xac]
mov dword [ebp - 0x9c], ecx
sub eax, edi
mov dword [ebp - 0x98], eax
sar eax, 1
add esi, eax
mov dword [ebp - 0xa8], eax
mov eax, dword [ebp - 0xa4]
add esi, esi
mov dword [esp], esi
call eax
mov edx, dword [ebp - 0x98]
mov ecx, dword [ebp - 0x9c]
test eax, eax
mov ebx, eax
je 0x402b0b
mov dword [0x408010], eax
mov eax, dword [sym.imp.ucrtbase.dll_wcschr]
mov edi, dword [ebp - 0xac]
mov dword [ebp - 0x98], eax
lea eax, [ebx + edx]
mov dword [ebp - 0xa4], eax
mov dword [esp], ecx
mov eax, dword [ebp - 0x98]
mov dword [ebp - 0x9c], ecx
mov dword [esp + 4], 0x3b
call eax
mov ecx, dword [ebp - 0x9c]
test eax, eax
mov esi, eax
je 0x402a1d
xor eax, eax
cmp ecx, esi
je 0x4029e5
lea esi, [esi]
nop
movzx edx, word [edi + eax]
mov word [ebx + eax], dx
add eax, 2
test dx, dx
jne 0x4028c8
mov eax, dword [ebp - 0xa4]
mov edx, esi
mov dword [esp + 4], ecx
sub edx, ecx
mov dword [esp + 8], edx
mov dword [esp], eax
mov dword [ebp - 0x9c], edx
call sym._memcpy
mov edx, dword [ebp - 0x9c]
mov eax, dword [ebp - 0xa8]
sar edx, 1
add eax, edx
mov word [ebx + eax*2], 0
mov eax, dword [ebp - 0xa0]
mov dword [esp], section..bss
call eax
push edx
test eax, eax
jne 0x402660
lea ecx, [esi + 2]
jmp 0x402890
mov eax, dword [edi]
mov edx, str._low
call sym._is_option
test eax, eax
je 0x4029f7
or dword [0x408040], 0x40
mov ebx, dword [ebp - 0x90]
jmp 0x401f3f
xor esi, esi
mov dword [esp], esi
call dword [sym.imp.kernel32.dll_ExitProcess]
mov dword [esp], 0x400
mov eax, dword [ebp - 0xa4]
mov dword [ebp - 0x90], 0x400
call eax
mov dword [esp + 0xc], ebx
mov edi, eax
xor eax, eax
mov dword [esp + 4], 1
mov dword [esp + 8], eax
mov dword [esp], edi
call dword [sym.imp.kernel32.dll_InitializeProcThreadAttributeList]
xor eax, eax
sub esp, 0x10
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], eax
xor eax, eax
mov dword [esp + 0x10], 2
mov dword [esp + 0xc], 0x408044
mov dword [esp + 8], 0x20019
mov dword [esp + 4], eax
mov dword [esp], edi
call dword [sym.imp.kernel32.dll_UpdateProcThreadAttribute]
mov dword [ebp - 0x80], 0x48
or dword [0x408040], 0x80000
sub esp, 0x1c
mov dword [ebp - 0x3c], edi
jmp 0x402374
add ecx, 2
jmp 0x402890
mov edx, 1
jmp 0x402178
mov eax, dword [edi]
mov edx, 0x406182
call sym._is_option
test eax, eax
je 0x402a8e
or dword [0x408040], 0x20
mov ebx, dword [ebp - 0x90]
jmp 0x401f3f
mov eax, dword fs:[0x18]
mov edx, dword [ebp - 0xac]
mov eax, dword [eax + 0x34]
call sym._fatal_string_error.constprop.0
mov dword [esp + 4], 0x5c
mov dword [esp], esi
call dword [sym.imp.ucrtbase.dll_wcsrchr]
test eax, eax
je 0x402a4d
sub eax, esi
sar eax, 1
lea edi, [eax + 1]
lea edx, [edi + edi]
mov eax, dword [ebp - 0xa4]
mov dword [esp], edx
mov dword [ebp - 0x98], edx
call eax
mov edx, dword [ebp - 0x98]
mov dword [esp + 4], esi
mov dword [esp], eax
mov ebx, eax
sub edx, 2
mov dword [esp + 8], edx
call sym._memcpy
mov word [ebx + edi*2 - 2], 0
mov dword [0x408018], ebx
jmp 0x4025f6
mov eax, dword [edi]
mov edx, 0x406192
call sym._is_option
test eax, eax
je 0x402ab3
or dword [0x408040], 0x80
mov ebx, dword [ebp - 0x90]
jmp 0x401f3f
mov eax, dword [edi]
mov edx, 0x40619e
call sym._is_option
test eax, eax
je 0x402ae6
or dword [0x408040], 0x100
mov ebx, dword [ebp - 0x90]
jmp 0x401f3f
test byte [0x404000], 2
jne 0x402b4a
call dbg.usage
mov eax, dword [edi]
mov edx, 0x4061b2
call sym._is_option
test eax, eax
je 0x402b1b
or dword [0x408040], 0x8000
mov ebx, dword [ebp - 0x90]
jmp 0x401f3f
mov edx, dword [0x408010]
mov eax, 0xe
call sym._fatal_string_error.constprop.0
mov eax, dword [edi]
mov edx, 0x4061cc
call sym._is_option
test eax, eax
je 0x402b73
or dword [0x408040], 0x4000
mov ebx, dword [ebp - 0x90]
jmp 0x401f3f
mov eax, 0x68
call dbg.fatal_string
mov dword [esp + 0xc], str.you_must_specify_a_directory_path_for_the__d_option_n
mov dword [esp + 8], str.parse_command_line
mov dword [esp + 4], global___dbch
mov dword [esp], 1
call sym._wine_dbg_log.constprop.0
jmp 0x402ae1
mov eax, dword [edi]
mov edx, str._separate
call sym._is_option
test eax, eax
je 0x402b98
or dword [0x408040], 0x800
mov ebx, dword [ebp - 0x90]
jmp 0x401f3f
mov eax, dword [edi]
mov edx, str._shared
call sym._is_option
test eax, eax
je 0x402bbd
or dword [0x408040], 0x1000
mov ebx, dword [ebp - 0x90]
jmp 0x401f3f
mov eax, dword [edi]
mov edx, 0x40620a
call sym._is_option
test eax, eax
je 0x402bdf
or dword [0x408004], 0x40
mov ebx, dword [ebp - 0x90]
jmp 0x401f3f
mov eax, dword [edi]
mov edx, 0x406210
call sym._is_option
test eax, eax
jne 0x402bcd
mov eax, dword [edi]
mov edx, 0x40621c
call sym._is_option
test eax, eax
jne 0x402ae1
lea ebx, [ebp - 0x90]
mov ecx, str._node
mov eax, esi
mov edx, ebx
call sym._is_option_with_arg
test eax, eax
je 0x402c2f
test byte [0x404000], 8
jne 0x402c70
mov ebx, dword [ebp - 0x90]
jmp 0x401f3f
mov ecx, str._affinity
mov edx, ebx
mov eax, esi
call sym._is_option_with_arg
test eax, eax
je 0x402c7a
test byte [0x404000], 8
je 0x402c24
mov dword [esp + 0xc], str._affinity_is_ignored_n
mov dword [esp + 8], str.parse_command_line
mov dword [esp + 4], global___dbch
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0
jmp 0x402c24
mov dword [esp + 0xc], str._node_is_ignored_n
jmp 0x402c52
mov ecx, str._machine
mov edx, ebx
mov eax, esi
call sym._is_option_with_arg
test eax, eax
je 0x402cb7
mov ebx, dword [ebp - 0x90]
mov edx, 0x40627c
lea edi, [esi + ebx*4]
mov eax, dword [edi]
call sym._is_option
mov edx, eax
mov eax, 0x14c
test edx, edx
je 0x402d00
mov word [0x408044], ax
jmp 0x401f3f
mov dword [ebp - 0xac], eax
mov ecx, str._unix
mov edx, ebx
mov eax, esi
call sym._is_option_with_arg
test eax, eax
je 0x40271f
mov dword [ebp - 0xa8], 1
mov eax, dword [ebp - 0x90]
cmp dword [ebp - 0x98], eax
mov edx, eax
jne 0x402132
mov dword [ebp - 0xa0], str.cmd.exe
jmp 0x402144
mov eax, dword [edi]
mov edx, 0x406284
call sym._is_option
mov edx, eax
mov eax, 0xffff8664
test edx, edx
jne 0x402cac
mov eax, dword [edi]
mov edx, 0x406290
call sym._is_option
mov edx, eax
mov eax, 0x1c4
test edx, edx
jne 0x402cac
mov eax, dword [edi]
mov edx, str.arm64
call sym._is_option
test eax, eax
je 0x402ae1
mov eax, 0xffffaa64
jmp 0x402cac
mov ecx, str._progIDOpen
mov edx, ebx
mov eax, esi
call sym._is_option_with_arg
test eax, eax
je 0x402d9c
mov edx, dword [ebp - 0x90]
lea eax, [edx + 1]
mov edx, dword [esi + edx*4]
or dword [0x408004], 1
mov dword [ebp - 0x90], eax
mov dword [0x408028], edx
cmp dword [ebp - 0x98], eax
je 0x402ae1
mov dword [ebp - 0xac], 1
jmp 0x402132
test byte [0x404000], 2
je 0x402ae1
mov eax, dword [ebp - 0x90]
mov eax, dword [esi + eax*4]
call sym._wine_dbgstr_wn.constprop.0
mov dword [esp + 0xc], str.Unknown_option__s_n
mov dword [esp + 0x10], eax
mov dword [esp + 8], str.parse_command_line
mov dword [esp + 4], global___dbch
mov dword [esp], 1
call sym._wine_dbg_log.constprop.0
jmp 0x402ae1