Function at 0x402d70
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 esi, dword [ecx]
mov ebx, dword [ecx + 4]
mov dword [0x404100], 0x3c
mov dword [0x40410c], 0x40510c
mov dword [0x40411c], 1
mov dword [0x404104], 0x500
mov dword [0x404140], 0x10
mov dword [0x404148], 0
mov dword [ebp - 0x90], 1
cmp esi, 1
jle 0x402e50
mov eax, 1
jmp 0x402dfa
add edi, 4
mov eax, dword [ebp - 0x90]
mov dword [0x404118], edi
inc eax
mov dword [ebp - 0x90], eax
cmp esi, eax
jle 0x402e50
mov edi, dword [ebx + eax*4]
cmp dword [0x40413c], 0
lea ecx, [eax*4]
movzx edx, word [edi]
je 0x402fc8
cmp dx, 0x2f
jne 0x402e50
movzx edx, word [edi + 2]
and edx, 0xffffffdf
cmp dx, 0x44
jne 0x402f78
cmp word [edi + 4], 0
jne 0x402de0
inc eax
cmp esi, eax
je 0x403973
mov edx, dword [ebx + ecx + 4]
inc eax
mov dword [ebp - 0x90], eax
mov dword [0x404118], edx
cmp esi, eax
jg 0x402dfa
mov eax, dword [ebp - 0x90]
mov edx, eax
cmp esi, eax
je 0x4035df
mov dword [ebp - 0xac], 0
mov dword [ebp - 0xb0], 0
lea edx, [eax + 1]
mov eax, dword [ebx + eax*4]
mov dword [ebp - 0x90], edx
mov dword [ebp - 0xa0], eax
lea ebx, [ebx + edx*4]
mov eax, dword [ebx]
test eax, eax
je 0x403868
mov edi, ebx
mov esi, 1
lea esi, [esi]
mov dword [esp], eax
add edi, 4
call dword [sym.imp.ucrtbase.dll_wcslen]
lea ecx, [esi + eax*2 + 3]
mov eax, dword [edi]
mov esi, ecx
test eax, eax
jne 0x402ea0
mov eax, dword [sym.imp.ucrtbase.dll_malloc]
add ecx, ecx
mov dword [esp], ecx
mov dword [ebp - 0xa8], eax
call eax
mov dword [ebp - 0xa4], eax
mov esi, eax
test eax, eax
je 0x403149
mov edx, dword [ebx]
test edx, edx
je 0x403872
mov edi, dword [sym.imp.ucrtbase.dll_wcschr]
lea esi, [esi]
cmp word [edx], 0
jne 0x403300
mov dword [esp + 4], 0x22
mov eax, dword [ebx]
mov dword [esp], eax
call edi
mov edx, 0x22
lea eax, [esi + 2]
mov word [esi], dx
mov edx, dword [ebx]
movzx ecx, word [edx]
test cx, cx
je 0x403398
mov dword [ebp - 0x9c], 1
mov dword [ebp - 0x98], ebx
xor esi, esi
jmp 0x402f66
cmp cx, 0x22
je 0x4032d0
mov ecx, eax
xor esi, esi
movzx ebx, word [edx]
add edx, 2
add eax, 2
mov word [ecx], bx
movzx ecx, word [edx]
test cx, cx
je 0x4030e8
cmp cx, 0x5c
jne 0x402f40
inc esi
mov ecx, eax
jmp 0x402f4e
mov dword [esp + 0x14], 0xffffffff
mov dword [esp + 0x10], 0x40514e
mov dword [esp + 0xc], 0xffffffff
mov dword [esp + 8], edi
mov dword [esp + 4], 1
mov dword [esp], 0x400
call dword [sym.imp.kernel32.dll_CompareStringW]
sub esp, 0x18
cmp eax, 2
jne 0x403030
and dword [0x404140], 0xffffffef
mov eax, dword [ebp - 0x90]
jmp 0x402def
cmp dx, 0x22
jne 0x402e14
mov dword [esp], edi
call dword [sym.imp.ucrtbase.dll_wcslen]
add eax, eax
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll_malloc]
xor edx, edx
mov ecx, eax
movzx eax, word [edi]
test ax, ax
je 0x40300f
lea esi, [esi]
cmp ax, 0x22
je 0x403003
mov word [ecx + edx*2], ax
inc edx
movzx eax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x402ff8
xor edi, edi
mov dword [0x40413c], ecx
mov eax, dword [ebp - 0x90]
mov word [ecx + edx*2], di
jmp 0x402def
mov eax, dword [ebp - 0x90]
mov edx, dword [ebx + eax*4]
cmp word [edx], 0x2f
jne 0x403090
movzx ecx, word [edx + 2]
and ecx, 0xffffffdf
cmp cx, 0x49
jne 0x403090
test byte [0x404020], 8
je 0x402def
mov dword [esp + 0xc], str._i_is_ignored_n
mov dword [esp + 8], str.parse_command_line
mov dword [esp + 4], 0x404020
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0
mov eax, dword [ebp - 0x90]
jmp 0x402def
mov dword [esp + 0x14], 0xffffffff
mov dword [esp + 0x10], str._min
mov dword [esp + 0xc], 0xffffffff
mov dword [esp + 8], edx
mov dword [esp + 4], 1
mov dword [esp], 0x400
call dword [sym.imp.kernel32.dll_CompareStringW]
sub esp, 0x18
cmp eax, 2
jne 0x403368
mov dword [0x40411c], 2
mov eax, dword [ebp - 0x90]
jmp 0x402def
mov edx, dword [ebp - 0x9c]
mov ebx, dword [ebp - 0x98]
test edx, edx
je 0x403123
test esi, esi
jle 0x403398
lea edx, [eax + esi*2]
lea esi, [esi]
nop
add eax, 2
mov esi, 0x5c
mov word [eax - 2], si
cmp eax, edx
jne 0x403108
mov ecx, 0x22
lea eax, [edx + 2]
mov word [edx], cx
mov edx, 0x20
add ebx, 4
lea esi, [eax + 2]
mov word [eax], dx
mov edx, dword [ebx]
test edx, edx
jne 0x402ef0
cmp dword [ebp - 0xa4], esi
cmovae eax, esi
xor edi, edi
mov word [eax], di
mov eax, dword [ebp - 0xa4]
mov edi, dword [ebp - 0xb0]
mov dword [0x404114], eax
or edi, dword [ebp - 0xac]
jne 0x40339f
mov eax, dword [ebp - 0xa0]
lea edx, [ebp - 0x80]
call sym._search_path
test eax, eax
je 0x403181
mov eax, dword [ebp - 0x80]
mov dword [ebp - 0xa0], eax
mov eax, dword [ebp - 0xa0]
mov dword [0x404110], eax
lea eax, [ebp - 0x94]
mov dword [esp + 4], eax
mov eax, dword [0x404110]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_GetBinaryTypeW]
sub esp, 8
test eax, eax
je 0x403602
xor eax, eax
lea edi, [ebp - 0x7c]
mov ecx, 0x11
mov edx, dword [0x404110]
rep stosd dword es:[edi], eax
mov dword [ebp - 0x80], 0x44
mov eax, edx
cmp word [edx], 0
je 0x4031d9
add eax, 2
cmp word [eax], 0
jne 0x4031d0
mov ecx, dword [0x404114]
sub eax, edx
sar eax, 1
cmp word [ecx], 0
mov edx, eax
mov eax, ecx
je 0x4031f9
lea esi, [esi]
add eax, 2
cmp word [eax], 0
jne 0x4031f0
sub eax, ecx
lea esi, [ebp - 0x90]
sar eax, 1
cmp word [0x404144], 0
lea edi, [edx + eax + 4]
jne 0x4037d0
lea eax, [edi + edi]
mov dword [esp], eax
mov eax, dword [ebp - 0xa8]
call eax
mov dword [esp + 8], str.__s___s
mov ebx, eax
mov eax, dword [0x404114]
mov dword [esp + 4], edi
mov dword [esp], ebx
mov dword [esp + 0x10], eax
mov eax, dword [0x404110]
mov dword [esp + 0xc], eax
call sym._swprintf.constprop.0
mov eax, dword [0x40411c]
or dword [ebp - 0x54], 1
mov dword [esp + 0x24], esi
mov word [ebp - 0x50], ax
mov eax, dword [0x40413c]
mov dword [esp + 0x18], 0
mov dword [ebp - 0x74], eax
lea eax, [ebp - 0x80]
mov dword [esp + 0x20], eax
mov eax, dword [0x404118]
mov dword [esp + 0xc], 0
mov dword [esp + 0x1c], eax
mov eax, dword [0x404140]
mov dword [esp + 8], 0
mov dword [esp + 0x14], eax
mov eax, dword [0x404148]
mov dword [esp + 4], ebx
mov dword [esp + 0x10], eax
mov eax, dword [0x404110]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_CreateProcessW]
sub esp, 0x28
test eax, eax
jne 0x4034b3
mov eax, dword fs:[0x18]
mov edx, dword [0x404110]
mov eax, dword [eax + 0x34]
call sym._fatal_string_error.constprop.0
nop
test esi, esi
js 0x402f4a
mov ebx, dword [ebp - 0x98]
xor ecx, ecx
inc ecx
add eax, 2
mov word [eax - 2], 0x5c
cmp esi, ecx
jge 0x4032e0
mov dword [ebp - 0x98], ebx
mov ecx, eax
xor esi, esi
jmp 0x402f4e
mov dword [esp + 4], 0x20
mov dword [esp], edx
call edi
test eax, eax
jne 0x402efa
mov dword [esp + 4], 9
mov eax, dword [ebx]
mov dword [esp], eax
call edi
mov dword [esp + 4], 0x22
test eax, eax
mov eax, dword [ebx]
mov dword [esp], eax
jne 0x402f07
call edi
test eax, eax
jne 0x4039ed
mov eax, dword [ebx]
mov dword [esp], esi
mov dword [esp + 4], eax
call dword [sym.imp.ucrtbase.dll_wcscpy]
mov dword [esp], esi
call dword [sym.imp.ucrtbase.dll_wcslen]
lea eax, [esi + eax*2]
jmp 0x403123
mov eax, dword [ebp - 0x90]
mov edx, str._max
mov eax, dword [ebx + eax*4]
call sym._is_option
test eax, eax
je 0x403796
mov dword [0x40411c], 3
mov eax, dword [ebp - 0x90]
jmp 0x402def
mov edx, eax
jmp 0x403118
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 0x4039bd
mov ecx, dword [sym.imp.kernel32.dll_WideCharToMultiByte]
mov eax, dword [ebp - 0xa0]
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
mov dword [ebp - 0x9c], ecx
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0xffffffff
mov dword [esp + 8], eax
mov dword [esp + 4], 0
mov dword [esp], 0xfdf2
call ecx
mov ebx, dword [ebp - 0xa8]
sub esp, 0x20
mov dword [ebp - 0x98], eax
mov dword [esp], eax
call ebx
mov edx, dword [ebp - 0x98]
mov ecx, dword [ebp - 0x9c]
mov dword [esp + 0x1c], 0
mov ebx, eax
mov dword [esp + 0x10], eax
mov eax, dword [ebp - 0xa0]
mov dword [esp + 0x14], edx
mov dword [esp + 0x18], 0
mov dword [esp + 0xc], 0xffffffff
mov dword [esp + 8], eax
mov dword [esp + 4], 0
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 0x4039bd
cmp dword [0x404118], 0
mov dword [0x404110], esi
je 0x4038be
and dword [0x404104], 0xfffffbff
jmp 0x40318c
mov eax, dword [ebp - 0x90]
mov dword [0x404138], eax
test byte [0x404104], 0x40
je 0x4037c3
mov dword [esp + 4], 1
mov dword [esp], 0
call dword [sym.imp.kernel32.dll_SetConsoleCtrlHandler]
push eax
push eax
mov dword [esp + 4], 0
mov dword [esp], 0
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 [0x404138]
sub esp, 0x10
mov dword [esp], ebx
mov dword [esp + 4], eax
call dword [sym.imp.kernel32.dll_AssignProcessToJobObject]
mov eax, dword [0x404138]
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 [0x404138]
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 eax, dword [ebx + eax*4]
mov edx, str._exec
call sym._is_option
mov dword [ebp - 0xac], eax
test eax, eax
je 0x403c28
mov eax, dword [ebp - 0x90]
mov dword [0x404140], 0
mov dword [0x404104], 0x8440
mov dword [0x404148], 1
inc eax
mov dword [ebp - 0x90], eax
mov dword [ebp - 0xac], 0
cmp esi, eax
jne 0x402e74
mov edx, esi
mov dword [ebp - 0xac], 0
mov dword [ebp - 0xb0], 0
mov dword [ebp - 0xa0], str.cmd.exe
jmp 0x402e86
mov eax, dword [sym.imp.shell32.dll_ShellExecuteExW]
mov dword [esp], 0x404100
mov dword [ebp - 0x9c], eax
call eax
push ecx
test eax, eax
jne 0x4034be
mov eax, dword [0x404110]
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov ebx, dword [sym.imp.kernel32.dll_GetEnvironmentVariableW]
mov dword [ebp - 0xac], eax
mov dword [esp], str.PATHEXT
call ebx
sub esp, 0xc
mov esi, eax
test eax, eax
je 0x4038aa
add eax, eax
mov dword [esp], eax
mov eax, dword [ebp - 0xa8]
call eax
test eax, eax
je 0x4039ad
mov dword [esp + 8], esi
mov dword [esp + 4], eax
mov dword [ebp - 0x98], eax
mov dword [esp], str.PATHEXT
call ebx
mov edx, dword [ebp - 0xac]
mov ecx, dword [ebp - 0x98]
sub esp, 0xc
jmp 0x403696
add edx, 2
cmp word [edx], 0
jne 0x403693
sub edx, dword [ebp - 0xac]
mov dword [ebp - 0xa0], ecx
mov eax, edx
mov dword [ebp - 0x98], edx
sar eax, 1
add esi, eax
mov dword [ebp - 0xa4], eax
mov eax, dword [ebp - 0xa8]
add esi, esi
mov dword [esp], esi
call eax
mov edx, dword [ebp - 0x98]
mov ecx, dword [ebp - 0xa0]
test eax, eax
mov ebx, eax
je 0x4039ad
mov edi, dword [sym.imp.ucrtbase.dll_wcschr]
mov dword [0x404110], eax
add eax, edx
mov dword [ebp - 0xa8], eax
mov dword [ebp - 0xa0], edi
mov edi, dword [ebp - 0xac]
mov dword [esp], ecx
mov eax, dword [ebp - 0xa0]
mov dword [ebp - 0x98], ecx
mov dword [esp + 4], 0x3b
call eax
mov ecx, dword [ebp - 0x98]
test eax, eax
mov esi, eax
je 0x4038aa
xor eax, eax
cmp ecx, esi
je 0x403860
nop
movzx edx, word [edi + eax]
mov word [ebx + eax], dx
add eax, 2
test dx, dx
jne 0x403730
mov eax, dword [ebp - 0xa8]
mov edx, esi
mov dword [esp + 4], ecx
sub edx, ecx
mov dword [esp + 8], edx
mov dword [esp], eax
mov dword [ebp - 0x98], edx
call sym._memcpy
mov edx, dword [ebp - 0x98]
mov eax, dword [ebp - 0xa4]
sar edx, 1
add eax, edx
mov word [ebx + eax*2], 0
mov eax, dword [ebp - 0x9c]
mov dword [esp], 0x404100
call eax
push edx
test eax, eax
jne 0x4034be
lea ecx, [esi + 2]
jmp 0x4036fc
mov eax, dword [ebp - 0x90]
mov edx, str._low
mov eax, dword [ebx + eax*4]
call sym._is_option
test eax, eax
je 0x40387d
or dword [0x404140], 0x40
mov eax, dword [ebp - 0x90]
jmp 0x402def
mov dword [esp], 0
call dword [sym.imp.kernel32.dll_ExitProcess]
mov dword [esp], 0x400
mov eax, dword [ebp - 0xa8]
mov dword [ebp - 0x90], 0x400
call eax
mov dword [esp + 0xc], esi
mov ebx, eax
mov dword [esp + 8], 0
mov dword [esp + 4], 1
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_InitializeProcThreadAttributeList]
sub esp, 0x10
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 2
mov dword [esp + 0xc], 0x404144
mov dword [esp + 8], 0x20019
mov dword [esp + 4], 0
mov dword [esp], ebx
call dword [sym.imp.kernel32.dll_UpdateProcThreadAttribute]
mov dword [ebp - 0x80], 0x48
or dword [0x404140], 0x80000
sub esp, 0x1c
mov dword [ebp - 0x3c], ebx
jmp 0x403215
add ecx, 2
jmp 0x4036fc
mov ecx, 1
jmp 0x402eb8
mov eax, dword [ebp - 0xa4]
jmp 0x403144
mov eax, dword [ebp - 0x90]
mov edx, 0x405182
mov eax, dword [ebx + eax*4]
call sym._is_option
test eax, eax
je 0x40391b
or dword [0x404140], 0x20
mov eax, dword [ebp - 0x90]
jmp 0x402def
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 0x4038da
sub eax, esi
mov edi, eax
sar edi, 1
inc edi
lea edx, [edi + edi]
mov eax, dword [ebp - 0xa8]
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 [0x404118], ebx
jmp 0x4034a4
mov eax, dword [ebp - 0x90]
mov edx, 0x405192
mov eax, dword [ebx + eax*4]
call sym._is_option
test eax, eax
je 0x403947
or dword [0x404140], 0x80
mov eax, dword [ebp - 0x90]
jmp 0x402def
mov eax, dword [ebp - 0x90]
mov edx, 0x40519e
mov eax, dword [ebx + eax*4]
call sym._is_option
test eax, eax
je 0x403981
or dword [0x404140], 0x100
mov eax, dword [ebp - 0x90]
jmp 0x402def
test byte [0x404020], 2
jne 0x4039c7
call sym._usage
mov eax, dword [ebp - 0x90]
mov edx, 0x4051b2
mov eax, dword [ebx + eax*4]
call sym._is_option
test eax, eax
je 0x403a0c
or dword [0x404140], 0x8000
mov eax, dword [ebp - 0x90]
jmp 0x402def
mov edx, dword [0x404110]
mov eax, 0xe
call sym._fatal_string_error.constprop.0
mov eax, 0x68
call sym._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], 0x404020
mov dword [esp], 1
call sym._wine_dbg_log.constprop.0
jmp 0x40397c
mov dword [ebp - 0x9c], 0
mov edx, dword [ebx]
mov eax, esi
movzx ecx, word [edx]
test cx, cx
jne 0x402f2c
jmp 0x403123
mov eax, dword [ebp - 0x90]
mov edx, 0x4051cc
mov eax, dword [ebx + eax*4]
call sym._is_option
test eax, eax
je 0x403a38
or dword [0x404140], 0x4000
mov eax, dword [ebp - 0x90]
jmp 0x402def
mov eax, dword [ebp - 0x90]
mov edx, str._separate
mov eax, dword [ebx + eax*4]
call sym._is_option
test eax, eax
je 0x403a64
or dword [0x404140], 0x800
mov eax, dword [ebp - 0x90]
jmp 0x402def
mov eax, dword [ebp - 0x90]
mov edx, str._shared
mov eax, dword [ebx + eax*4]
call sym._is_option
test eax, eax
je 0x403a90
or dword [0x404140], 0x1000
mov eax, dword [ebp - 0x90]
jmp 0x402def
mov eax, dword [ebp - 0x90]
mov edx, 0x40520a
mov eax, dword [ebx + eax*4]
call sym._is_option
test eax, eax
je 0x403ab9
or dword [0x404104], 0x40
mov eax, dword [ebp - 0x90]
jmp 0x402def
mov eax, dword [ebp - 0x90]
mov edx, 0x405210
mov eax, dword [ebx + eax*4]
call sym._is_option
test eax, eax
jne 0x403aa7
mov eax, dword [ebp - 0x90]
mov edx, 0x40521c
mov eax, dword [ebx + eax*4]
call sym._is_option
test eax, eax
jne 0x40397c
mov ecx, str._node
lea edx, [ebp - 0x90]
mov eax, ebx
call sym._is_option_with_arg
test eax, eax
je 0x403b15
test byte [0x404020], 8
jne 0x403b41
mov eax, dword [ebp - 0x90]
jmp 0x402def
mov ecx, str._affinity
lea edx, [ebp - 0x90]
mov eax, ebx
call sym._is_option_with_arg
test eax, eax
je 0x403b4e
test byte [0x404020], 8
je 0x403b0a
mov dword [esp + 0xc], str._affinity_is_ignored_n
jmp 0x403061
mov dword [esp + 0xc], str._node_is_ignored_n
jmp 0x403061
mov ecx, str._machine
lea edx, [ebp - 0x90]
mov eax, ebx
call sym._is_option_with_arg
mov dword [ebp - 0xb0], eax
test eax, eax
je 0x403b95
mov eax, dword [ebp - 0x90]
mov edx, 0x40527c
mov eax, dword [ebx + eax*4]
call sym._is_option
test eax, eax
je 0x403bd8
mov word [0x404144], 0x14c
mov eax, dword [ebp - 0x90]
jmp 0x402def
mov ecx, str._unix
lea edx, [ebp - 0x90]
mov eax, ebx
call sym._is_option_with_arg
test eax, eax
mov eax, dword [ebp - 0x90]
je 0x403585
mov dword [ebp - 0xac], 1
mov edx, eax
cmp esi, eax
jne 0x402e74
mov dword [ebp - 0xa0], str.cmd.exe
jmp 0x402e86
mov eax, dword [ebp - 0x90]
mov edx, 0x405284
mov eax, dword [ebx + eax*4]
call sym._is_option
test eax, eax
je 0x403c03
mov word [0x404144], 0x8664
mov eax, dword [ebp - 0x90]
jmp 0x402def
mov eax, dword [ebp - 0x90]
mov edx, 0x405290
mov eax, dword [ebx + eax*4]
call sym._is_option
test eax, eax
je 0x403c74
mov word [0x404144], 0x1c4
jmp 0x403b0a
mov ecx, str._progIDOpen
lea edx, [ebp - 0x90]
mov eax, ebx
call sym._is_option_with_arg
test eax, eax
je 0x403ca3
mov edx, dword [ebp - 0x90]
lea eax, [edx + 1]
mov edx, dword [ebx + edx*4]
or dword [0x404104], 1
mov dword [ebp - 0x90], eax
mov dword [0x404128], edx
cmp esi, eax
je 0x40397c
mov dword [ebp - 0xb0], 1
jmp 0x402e74
mov eax, dword [ebp - 0x90]
mov edx, str.arm64
mov eax, dword [ebx + eax*4]
call sym._is_option
test eax, eax
je 0x40397c
mov word [0x404144], 0xaa64
mov eax, dword [ebp - 0x90]
jmp 0x402def
test byte [0x404020], 2
je 0x40397c
mov eax, dword [ebp - 0x90]
mov eax, dword [ebx + 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], 0x404020
mov dword [esp], 1
call sym._wine_dbg_log.constprop.0
jmp 0x40397c