Function at 0x401e00
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 edi, dword [ecx + 4]
mov dword [section..bss], 0x3c
mov dword [0x40700c], 0x40610c
mov dword [ebp - 0x98], eax
mov dword [0x40701c], 1
mov dword [0x407004], 0x500
mov dword [0x407040], 0x10
mov dword [0x407048], 0
mov dword [ebp - 0x90], 1
cmp eax, 1
jle 0x4020e0
mov eax, 1
jmp 0x401ea4
add ebx, 4
mov eax, dword [ebp - 0x90]
mov dword [0x407018], ebx
add eax, 1
mov dword [ebp - 0x90], eax
cmp dword [ebp - 0x98], eax
jle 0x4020e0
mov ebx, dword [edi + eax*4]
mov esi, dword [0x40703c]
lea edx, [eax*4]
movzx ecx, word [ebx]
test esi, esi
je 0x401fa0
cmp cx, 0x2f
jne 0x4020e0
movzx ecx, word [ebx + 2]
and ecx, 0xffffffdf
cmp cx, 0x44
jne 0x401f00
cmp word [ebx + 4], 0
jne 0x401e80
add eax, 1
cmp dword [ebp - 0x98], eax
je 0x402cb5
mov edx, dword [edi + edx + 4]
mov dword [0x407018], edx
jmp 0x401e8f
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
je 0x402070
mov eax, dword [ebp - 0x90]
mov edx, dword [edi + eax*4]
cmp word [edx], 0x2f
jne 0x402022
movzx ecx, word [edx + 2]
and ecx, 0xffffffdf
cmp cx, 0x49
jne 0x402022
test byte [0x404000], 8
je 0x401e8f
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.4
mov eax, dword [ebp - 0x90]
jmp 0x401e8f
cmp cx, 0x22
jne 0x401ebf
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]
mov esi, eax
mov dword [ebp - 0x9c], eax
test dx, dx
je 0x402ac9
mov dword [ebp - 0xa0], edi
xor eax, eax
mov edi, esi
lea esi, [esi]
lea ecx, [eax + eax]
lea esi, [edi + ecx]
cmp dx, 0x22
je 0x401ff6
mov word [esi], dx
add eax, 1
lea esi, [edi + ecx + 2]
add ebx, 2
movzx edx, word [ebx]
test dx, dx
jne 0x401fe0
mov edi, dword [ebp - 0xa0]
xor eax, eax
mov word [esi], ax
mov eax, dword [ebp - 0x9c]
mov dword [0x40703c], eax
mov eax, dword [ebp - 0x90]
jmp 0x401e8f
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 0x402082
mov dword [0x40701c], 2
mov eax, dword [ebp - 0x90]
jmp 0x401e8f
and dword [0x407040], 0xffffffef
mov eax, dword [ebp - 0x90]
jmp 0x401e8f
mov eax, dword [ebp - 0x90]
mov dword [esp + 0x14], 0xffffffff
mov dword [esp + 0x10], str._max
mov dword [esp + 0xc], 0xffffffff
mov eax, dword [edi + eax*4]
mov dword [esp + 4], 1
mov dword [esp + 8], eax
mov dword [esp], 0x400
call dword [sym.imp.kernel32.dll_CompareStringW]
sub esp, 0x18
cmp eax, 2
jne 0x402450
mov dword [0x40701c], 3
mov eax, dword [ebp - 0x90]
jmp 0x401e8f
mov edx, dword [ebp - 0x90]
mov eax, edx
cmp dword [ebp - 0x98], edx
je 0x4027a7
mov dword [ebp - 0xac], 0
mov dword [ebp - 0xb0], 0
mov esi, dword [edi + edx*4]
lea eax, [edx + 1]
mov dword [ebp - 0x90], eax
mov dword [ebp - 0xa0], esi
lea edi, [edi + eax*4]
mov eax, dword [edi]
test eax, eax
je 0x402ab4
mov esi, edi
mov ebx, 1
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 0x402130
mov eax, dword [sym.imp.ucrtbase.dll_malloc]
add edx, edx
mov dword [esp], edx
mov dword [ebp - 0xa8], eax
call eax
mov ebx, eax
mov dword [ebp - 0xa4], eax
test eax, eax
je 0x402276
mov eax, dword [edi]
test eax, eax
je 0x402abe
mov esi, dword [sym.imp.ucrtbase.dll_wcschr]
mov dword [ebp - 0x98], esi
cmp word [eax], 0
jne 0x402400
mov dword [esp + 4], 0x22
mov eax, dword [edi]
mov dword [esp], eax
mov eax, dword [ebp - 0x98]
call eax
mov esi, 0x22
lea eax, [ebx + 2]
mov word [ebx], si
mov esi, dword [edi]
movzx ecx, word [esi]
test cx, cx
je 0x402245
mov dword [ebp - 0x9c], 1
xor ebx, ebx
cmp cx, 0x5c
je 0x4021f4
lea esi, [esi]
cmp cx, 0x22
je 0x402200
xor ebx, ebx
movzx ecx, word [esi]
add esi, 2
lea edx, [eax + 2]
mov word [eax], cx
movzx ecx, word [esi]
test cx, cx
je 0x402220
mov eax, edx
cmp cx, 0x5c
jne 0x4021d0
add ebx, 1
jmp 0x4021d8
lea edx, [eax + ebx*2 + 2]
add eax, 2
mov ecx, 0x5c
mov word [eax - 2], cx
cmp eax, edx
jne 0x402204
jmp 0x4021d6
mov esi, dword [ebp - 0x9c]
test esi, esi
je 0x402250
test ebx, ebx
je 0x402e5e
lea eax, [edx + ebx*2]
add edx, 2
mov ebx, 0x5c
mov word [edx - 2], bx
cmp edx, eax
jne 0x402235
mov ecx, 0x22
lea edx, [eax + 2]
mov word [eax], cx
mov eax, 0x20
add edi, 4
lea ebx, [edx + 2]
mov word [edx], ax
mov eax, dword [edi]
test eax, eax
jne 0x402180
cmp dword [ebp - 0xa4], ebx
cmovae edx, ebx
xor edi, edi
mov word [edx], di
mov eax, dword [ebp - 0xa4]
mov edi, dword [ebp - 0xb0]
mov dword [0x407014], eax
or edi, dword [ebp - 0xac]
jne 0x4024a8
mov eax, dword [ebp - 0xa0]
lea edx, [ebp - 0x80]
call dbg.search_path
test eax, eax
je 0x4022ae
mov eax, dword [ebp - 0x80]
mov dword [ebp - 0xa0], eax
mov eax, dword [ebp - 0xa0]
mov dword [0x407010], eax
lea eax, [ebp - 0x94]
mov dword [esp + 4], eax
mov eax, dword [0x407010]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_GetBinaryTypeW]
sub esp, 8
test eax, eax
je 0x4027ca
xor eax, eax
lea edi, [ebp - 0x7c]
mov ecx, 0x11
mov edx, dword [0x407010]
rep stosd dword es:[edi], eax
mov dword [ebp - 0x80], 0x44
mov eax, edx
cmp word [edx], 0
je 0x402309
lea esi, [esi]
add eax, 2
cmp word [eax], 0
jne 0x402300
sub eax, edx
mov ecx, dword [0x407014]
sar eax, 1
add eax, 4
cmp word [ecx], 0
mov edx, ecx
je 0x402329
nop
add edx, 2
cmp word [edx], 0
jne 0x402320
sub edx, ecx
lea esi, [ebp - 0x90]
sar edx, 1
cmp word [0x407044], 0
lea ebx, [edx + eax]
jne 0x402972
lea eax, [ebx + ebx]
mov dword [esp], eax
mov eax, dword [ebp - 0xa8]
call eax
mov dword [esp + 8], str.__s___s
mov edi, eax
mov eax, dword [0x407014]
mov dword [esp + 4], ebx
mov dword [esp], edi
mov dword [esp + 0x10], eax
mov eax, dword [0x407010]
mov dword [esp + 0xc], eax
call sym._swprintf.constprop.8
mov eax, dword [0x40701c]
or dword [ebp - 0x54], 1
mov dword [esp + 0x24], esi
mov word [ebp - 0x50], ax
mov eax, dword [0x40703c]
mov dword [esp + 0x18], 0
mov dword [ebp - 0x74], eax
lea eax, [ebp - 0x80]
mov dword [esp + 0x20], eax
mov eax, dword [0x407018]
mov dword [esp + 0xc], 0
mov dword [esp + 0x1c], eax
mov eax, dword [0x407040]
mov dword [esp + 8], 0
mov dword [esp + 0x14], eax
mov eax, dword [0x407048]
mov dword [esp + 4], edi
mov dword [esp + 0x10], eax
mov eax, dword [0x407010]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_CreateProcessW]
sub esp, 0x28
test eax, eax
jne 0x402644
mov eax, dword fs:[0x18]
mov edx, dword [0x407010]
mov eax, dword [eax + 0x34]
call sym._fatal_string_error.constprop.2
nop
mov dword [esp], eax
mov eax, dword [ebp - 0x98]
mov dword [esp + 4], 0x20
call eax
test eax, eax
jne 0x40218a
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 0x402614
call esi
jmp 0x40219f
mov eax, dword [ebp - 0x90]
mov dword [esp + 0x14], 0xffffffff
mov dword [esp + 0x10], str._low
mov dword [esp + 0xc], 0xffffffff
mov eax, dword [edi + eax*4]
mov dword [esp + 4], 1
mov dword [esp + 8], eax
mov dword [esp], 0x400
call dword [sym.imp.kernel32.dll_CompareStringW]
sub esp, 0x18
cmp eax, 2
jne 0x4025bc
or dword [0x407040], 0x40
mov eax, dword [ebp - 0x90]
jmp 0x401e8f
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 0x402dfa
mov edx, 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], edx
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 edx
mov ecx, dword [ebp - 0xa8]
sub esp, 0x20
mov dword [ebp - 0x98], eax
mov dword [esp], eax
call ecx
mov ecx, dword [ebp - 0x98]
mov edx, 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], ecx
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 edx
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 0x402dfa
cmp dword [0x407018], 0
mov dword [0x407010], esi
je 0x402ad4
and dword [0x407004], 0xfffffbff
jmp 0x4022b9
mov eax, dword [ebp - 0x90]
mov dword [esp + 0x14], 0xffffffff
mov dword [esp + 0x10], 0x406182
mov dword [esp + 0xc], 0xffffffff
mov eax, dword [edi + eax*4]
mov dword [esp + 4], 1
mov dword [esp + 8], eax
mov dword [esp], 0x400
call dword [sym.imp.kernel32.dll_CompareStringW]
sub esp, 0x18
cmp eax, 2
jne 0x402a02
or dword [0x407040], 0x20
mov eax, dword [ebp - 0x90]
jmp 0x401e8f
mov eax, dword [ebp - 0x98]
call eax
test eax, eax
jne 0x402e3d
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 edx, [ebx + eax*2]
jmp 0x402250
mov eax, dword [ebp - 0x90]
mov dword [0x407038], eax
test byte [0x407004], 0x40
je 0x402965
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 [0x407038]
sub esp, 0x10
mov dword [esp], ebx
mov dword [esp + 4], eax
call dword [sym.imp.kernel32.dll_AssignProcessToJobObject]
mov eax, dword [0x407038]
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 [0x407038]
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 [ebp - 0x90]
mov dword [esp + 0x14], 0xffffffff
mov dword [esp + 0x10], str._exec
mov dword [esp + 0xc], 0xffffffff
mov eax, dword [edi + eax*4]
mov dword [esp + 4], 1
mov dword [esp + 8], eax
mov dword [esp], 0x400
call dword [sym.imp.kernel32.dll_CompareStringW]
sub esp, 0x18
cmp eax, 2
jne 0x402fca
mov eax, dword [ebp - 0x90]
mov dword [0x407040], 0
mov dword [0x407004], 0x8440
mov dword [0x407048], 1
lea edx, [eax + 1]
mov eax, dword [ebp - 0xac]
mov dword [ebp - 0x90], edx
mov dword [ebp - 0xb0], eax
cmp dword [ebp - 0x98], edx
jne 0x402108
mov eax, dword [ebp - 0x98]
mov dword [ebp - 0xac], 0
mov dword [ebp - 0xb0], 0
mov dword [ebp - 0xa0], str.cmd.exe
jmp 0x40211a
mov eax, dword [sym.imp.shell32.dll_ShellExecuteExW]
mov dword [esp], section..bss
mov dword [ebp - 0x9c], eax
call eax
push ecx
test eax, eax
jne 0x40264f
mov ecx, dword [0x407010]
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov ebx, dword [sym.imp.kernel32.dll_GetEnvironmentVariableW]
mov dword [ebp - 0x98], ecx
mov dword [esp], str.PATHEXT
call ebx
mov ecx, dword [ebp - 0x98]
sub esp, 0xc
test eax, eax
mov edi, eax
je 0x402b31
lea eax, [eax + eax]
mov dword [ebp - 0x98], ecx
mov dword [esp], eax
mov eax, dword [ebp - 0xa8]
call eax
mov ecx, dword [ebp - 0x98]
test eax, eax
mov esi, eax
je 0x402bef
mov dword [ebp - 0x98], ecx
mov dword [esp + 8], edi
mov dword [esp + 4], eax
mov dword [esp], str.PATHEXT
call ebx
mov ecx, dword [ebp - 0x98]
sub esp, 0xc
mov edx, ecx
jmp 0x402870
add edx, 2
cmp word [edx], 0
jne 0x40286d
sub edx, ecx
mov dword [ebp - 0xa0], ecx
mov eax, edx
mov dword [ebp - 0x98], edx
sar eax, 1
add edi, eax
mov dword [ebp - 0xac], eax
mov eax, dword [ebp - 0xa8]
add edi, edi
mov dword [esp], edi
call eax
mov edx, dword [ebp - 0x98]
mov ecx, dword [ebp - 0xa0]
test eax, eax
mov ebx, eax
je 0x402bef
mov dword [0x407010], eax
mov eax, dword [sym.imp.ucrtbase.dll_wcschr]
mov edi, ecx
mov dword [ebp - 0x98], eax
lea eax, [ebx + edx]
mov dword [ebp - 0xa8], eax
mov dword [esp + 4], 0x3b
mov eax, dword [ebp - 0x98]
mov dword [esp], esi
call eax
mov edx, eax
test eax, eax
je 0x402b2f
xor eax, eax
cmp esi, edx
je 0x402bff
movzx ecx, word [edi + eax]
mov word [ebx + eax], cx
add eax, 2
test cx, cx
jne 0x4028f5
mov ecx, edx
mov eax, dword [ebp - 0xa8]
mov dword [esp + 4], esi
sub ecx, esi
mov dword [ebp - 0xa4], edx
mov dword [esp + 8], ecx
mov dword [esp], eax
mov dword [ebp - 0xa0], ecx
call sym._memcpy
mov ecx, dword [ebp - 0xa0]
mov eax, dword [ebp - 0x9c]
sar ecx, 1
add ecx, dword [ebp - 0xac]
mov word [ebx + ecx*2], 0
mov dword [esp], section..bss
call eax
push edx
test eax, eax
jne 0x40264f
mov edx, dword [ebp - 0xa4]
lea esi, [edx + 2]
jmp 0x4028ce
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 edi, 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], 0x407044
mov dword [esp + 8], 0x20019
mov dword [esp + 4], 0
mov dword [esp], edi
call dword [sym.imp.kernel32.dll_UpdateProcThreadAttribute]
mov dword [ebp - 0x80], 0x48
sub esp, 0x1c
mov dword [ebp - 0x3c], edi
or dword [0x407040], 0x80000
jmp 0x402344
mov eax, dword [ebp - 0x90]
mov dword [esp + 0x14], 0xffffffff
mov dword [esp + 0x10], 0x406192
mov dword [esp + 0xc], 0xffffffff
mov eax, dword [edi + eax*4]
mov dword [esp + 4], 1
mov dword [esp + 8], eax
mov dword [esp], 0x400
call dword [sym.imp.kernel32.dll_CompareStringW]
sub esp, 0x18
cmp eax, 2
jne 0x402a59
or dword [0x407040], 0x80
mov eax, dword [ebp - 0x90]
jmp 0x401e8f
mov eax, dword [ebp - 0x90]
mov dword [esp + 0x14], 0xffffffff
mov dword [esp + 0x10], 0x40619e
mov dword [esp + 0xc], 0xffffffff
mov eax, dword [edi + eax*4]
mov dword [esp + 4], 1
mov dword [esp + 8], eax
mov dword [esp], 0x400
call dword [sym.imp.kernel32.dll_CompareStringW]
sub esp, 0x18
cmp eax, 2
jne 0x402b41
or dword [0x407040], 0x100
mov eax, dword [ebp - 0x90]
jmp 0x401e8f
mov edx, 1
jmp 0x402148
mov edx, dword [ebp - 0xa4]
jmp 0x402271
mov esi, dword [ebp - 0x9c]
jmp 0x402007
mov dword [esp + 4], 0x5c
mov dword [esp], esi
call dword [sym.imp.ucrtbase.dll_wcsrchr]
test eax, eax
je 0x402af0
sub eax, esi
sar eax, 1
lea edi, [eax + 1]
lea ebx, [edi + edi]
mov eax, dword [ebp - 0xa8]
mov dword [esp], ebx
sub ebx, 2
call eax
mov dword [esp + 8], ebx
mov dword [esp + 4], esi
mov dword [esp], eax
mov dword [ebp - 0x98], eax
call sym._memcpy
mov edx, dword [ebp - 0x98]
mov word [edx + edi*2 - 2], 0
mov dword [0x407018], edx
jmp 0x4025ad
mov ecx, edi
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x34]
mov edx, ecx
call sym._fatal_string_error.constprop.2
mov eax, dword [ebp - 0x90]
mov dword [esp + 0x14], 0xffffffff
mov dword [esp + 0x10], 0x4061b2
mov dword [esp + 0xc], 0xffffffff
mov eax, dword [edi + eax*4]
mov dword [esp + 4], 1
mov dword [esp + 8], eax
mov dword [esp], 0x400
call dword [sym.imp.kernel32.dll_CompareStringW]
sub esp, 0x18
cmp eax, 2
jne 0x402b98
or dword [0x407040], 0x8000
mov eax, dword [ebp - 0x90]
jmp 0x401e8f
mov eax, dword [ebp - 0x90]
mov dword [esp + 0x14], 0xffffffff
mov dword [esp + 0x10], 0x4061cc
mov dword [esp + 0xc], 0xffffffff
mov eax, dword [edi + eax*4]
mov dword [esp + 4], 1
mov dword [esp + 8], eax
mov dword [esp], 0x400
call dword [sym.imp.kernel32.dll_CompareStringW]
sub esp, 0x18
cmp eax, 2
jne 0x402c07
or dword [0x407040], 0x4000
mov eax, dword [ebp - 0x90]
jmp 0x401e8f
mov edx, dword [0x407010]
mov eax, 0xe
call sym._fatal_string_error.constprop.2
add esi, 2
jmp 0x4028ce
mov eax, dword [ebp - 0x90]
mov dword [esp + 0x14], 0xffffffff
mov dword [esp + 0x10], str._separate
mov dword [esp + 0xc], 0xffffffff
mov eax, dword [edi + eax*4]
mov dword [esp + 4], 1
mov dword [esp + 8], eax
mov dword [esp], 0x400
call dword [sym.imp.kernel32.dll_CompareStringW]
sub esp, 0x18
cmp eax, 2
jne 0x402c5e
or dword [0x407040], 0x800
mov eax, dword [ebp - 0x90]
jmp 0x401e8f
mov eax, dword [ebp - 0x90]
mov dword [esp + 0x14], 0xffffffff
mov dword [esp + 0x10], str._shared
mov dword [esp + 0xc], 0xffffffff
mov eax, dword [edi + eax*4]
mov dword [esp + 4], 1
mov dword [esp + 8], eax
mov dword [esp], 0x400
call dword [sym.imp.kernel32.dll_CompareStringW]
sub esp, 0x18
cmp eax, 2
jne 0x402cc7
or dword [0x407040], 0x1000
mov eax, dword [ebp - 0x90]
jmp 0x401e8f
test byte [0x404000], 2
jne 0x402dd1
call dbg.usage
mov eax, dword [ebp - 0x90]
mov dword [esp + 0x14], 0xffffffff
mov dword [esp + 0x10], 0x40620a
mov dword [esp + 0xc], 0xffffffff
mov eax, dword [edi + eax*4]
mov dword [esp + 4], 1
mov dword [esp + 8], eax
mov dword [esp], 0x400
call dword [sym.imp.kernel32.dll_CompareStringW]
sub esp, 0x18
cmp eax, 2
je 0x402dbf
mov eax, dword [ebp - 0x90]
mov dword [esp + 0x14], 0xffffffff
mov dword [esp + 0x10], 0x406210
mov dword [esp + 0xc], 0xffffffff
mov eax, dword [edi + eax*4]
mov dword [esp + 4], 1
mov dword [esp + 8], eax
mov dword [esp], 0x400
call dword [sym.imp.kernel32.dll_CompareStringW]
sub esp, 0x18
cmp eax, 2
je 0x402dbf
mov eax, dword [ebp - 0x90]
mov dword [esp + 0x14], 0xffffffff
mov dword [esp + 0x10], 0x40621c
mov dword [esp + 0xc], 0xffffffff
mov eax, dword [edi + eax*4]
mov dword [esp + 4], 1
mov dword [esp + 8], eax
mov dword [esp], 0x400
call dword [sym.imp.kernel32.dll_CompareStringW]
sub esp, 0x18
cmp eax, 2
je 0x402cc2
mov ecx, str._node
lea edx, [ebp - 0x90]
mov eax, edi
call sym._is_option_with_arg
test eax, eax
je 0x402e11
test byte [0x404000], 8
jne 0x402e04
mov eax, dword [ebp - 0x90]
jmp 0x401e8f
or dword [0x407004], 0x40
mov eax, dword [ebp - 0x90]
jmp 0x401e8f
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.4
jmp 0x402cc2
mov eax, 0x68
call dbg.fatal_string
mov dword [esp + 0xc], str._node_is_ignored_n
jmp 0x401f76
mov ecx, str._affinity
lea edx, [ebp - 0x90]
mov eax, edi
call sym._is_option_with_arg
test eax, eax
je 0x402e65
test byte [0x404000], 8
je 0x402db4
mov dword [esp + 0xc], str._affinity_is_ignored_n
jmp 0x401f76
mov dword [ebp - 0x9c], 0
mov esi, dword [edi]
mov eax, ebx
mov edx, ebx
movzx ecx, word [esi]
test cx, cx
jne 0x4021c2
jmp 0x402250
mov eax, edx
jmp 0x402245
mov ecx, str._machine
lea edx, [ebp - 0x90]
mov eax, edi
call sym._is_option_with_arg
test eax, eax
je 0x402ed1
mov eax, dword [ebp - 0x90]
mov dword [esp + 0x14], 0xffffffff
mov dword [esp + 0x10], 0x40627c
mov dword [esp + 0xc], 0xffffffff
mov eax, dword [edi + eax*4]
mov dword [esp + 4], 1
mov dword [esp + 8], eax
mov dword [esp], 0x400
call dword [sym.imp.kernel32.dll_CompareStringW]
sub esp, 0x18
cmp eax, 2
jne 0x402f24
mov word [0x407044], 0x14c
mov eax, dword [ebp - 0x90]
jmp 0x401e8f
mov dword [ebp - 0xb0], eax
mov ecx, str._unix
lea edx, [ebp - 0x90]
mov eax, edi
call sym._is_option_with_arg
mov dword [ebp - 0xac], eax
test eax, eax
je 0x402716
mov dword [ebp - 0xac], 1
mov edx, dword [ebp - 0x90]
cmp dword [ebp - 0x98], edx
mov eax, edx
jne 0x402108
mov dword [ebp - 0xa0], str.cmd.exe
jmp 0x40211a
mov eax, dword [ebp - 0x90]
mov dword [esp + 0x14], 0xffffffff
mov dword [esp + 0x10], 0x406284
mov dword [esp + 0xc], 0xffffffff
mov eax, dword [edi + eax*4]
mov dword [esp + 4], 1
mov dword [esp + 8], eax
mov dword [esp], 0x400
call dword [sym.imp.kernel32.dll_CompareStringW]
sub esp, 0x18
cmp eax, 2
jne 0x402f7a
mov word [0x407044], 0x8664
mov eax, dword [ebp - 0x90]
jmp 0x401e8f
mov eax, dword [ebp - 0x90]
mov dword [esp + 0x14], 0xffffffff
mov dword [esp + 0x10], 0x406290
mov dword [esp + 0xc], 0xffffffff
mov eax, dword [edi + eax*4]
mov dword [esp + 4], 1
mov dword [esp + 8], eax
mov dword [esp], 0x400
call dword [sym.imp.kernel32.dll_CompareStringW]
sub esp, 0x18
cmp eax, 2
jne 0x40301d
mov word [0x407044], 0x1c4
jmp 0x402db4
mov ecx, str._progIDOpen
lea edx, [ebp - 0x90]
mov eax, edi
call sym._is_option_with_arg
test eax, eax
je 0x403077
mov eax, dword [ebp - 0x90]
lea edx, [eax + 1]
mov eax, dword [edi + eax*4]
or dword [0x407004], 1
mov dword [ebp - 0x90], edx
mov dword [0x407028], eax
cmp dword [ebp - 0x98], edx
je 0x402cc2
mov dword [ebp - 0xb0], 1
jmp 0x402108
mov eax, dword [ebp - 0x90]
mov dword [esp + 0x14], 0xffffffff
mov dword [esp + 0x10], str.arm64
mov dword [esp + 0xc], 0xffffffff
mov eax, dword [edi + eax*4]
mov dword [esp + 4], 1
mov dword [esp + 8], eax
mov dword [esp], 0x400
call dword [sym.imp.kernel32.dll_CompareStringW]
sub esp, 0x18
cmp eax, 2
jne 0x402cc2
mov word [0x407044], 0xaa64
mov eax, dword [ebp - 0x90]
jmp 0x401e8f
test byte [0x404000], 2
je 0x402cc2
mov eax, dword [ebp - 0x90]
mov eax, dword [edi + eax*4]
call sym._wine_dbgstr_wn.constprop.3
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.4
jmp 0x402cc2