Function at 0x401e00
Capabilities:
Access peb ldr_data
Create process on windows
Get process heap flags
Query environment variable
Terminate process

Disassembly:
lea ecx, [esp + 4]
and esp, 0xfffffff0
xor eax, eax
push dword [ecx - 4]
push ebp
mov ebp, esp
push edi
push esi
lea edx, [ebp - 0xbc]
push ebx
mov edi, edx
push ecx
sub esp, 0x138
mov ebx, dword [ecx]
mov esi, dword [ecx + 4]
mov ecx, 0xd
rep stosd dword es:[edi], eax
mov dword [ebp - 0xdc], 0
cmp ebx, 1
mov dword [ebp - 0xec], ebx
mov ebx, 1
mov dword [ebp - 0xc4], 0x3c
mov dword [ebp - 0xb8], str.open
mov dword [ebp - 0xa8], 1
mov dword [ebp - 0xc0], 0x500
mov dword [ebp - 0xf0], 0
mov dword [ebp - 0xf8], 0x10
jle 0x401f18
mov eax, dword fs:[0x18]
mov ecx, esi
mov dword [ebp - 0xfc], eax
jmp 0x401eb4
add eax, 4
mov dword [ebp - 0xac], eax
add ebx, 1
cmp dword [ebp - 0xec], ebx
jle 0x401f16
lea esi, [ebx*4]
cmp dword [ebp - 0xf0], 0
lea edi, [ecx + esi]
mov eax, dword [edi]
movzx edx, word [eax]
je 0x402080
cmp dx, 0x2f
jne 0x402793
movzx edx, word [eax + 2]
and edx, 0xffffffdf
cmp dx, 0x44
jne 0x402028
cmp word [eax + 4], 0
jne 0x401ea0
add ebx, 1
cmp dword [ebp - 0xec], ebx
je 0x402a73
mov eax, dword [ecx + esi + 4]
add ebx, 1
mov dword [ebp - 0xac], eax
cmp dword [ebp - 0xec], ebx
jg 0x401eb4
mov esi, ecx
cmp dword [ebp - 0xec], ebx
je 0x40285d
mov dword [ebp - 0x108], 0
mov dword [ebp - 0x104], 0
mov eax, dword [esi + ebx*4]
add ebx, 1
mov dword [ebp - 0x100], eax
lea esi, [esi + ebx*4]
mov eax, dword [esi]
test eax, eax
je 0x402aca
mov edi, esi
mov ebx, 1
lea esi, [esi]
nop
mov dword [esp], eax
add edi, 4
call dword [sym.imp.ucrtbase.dll_wcslen]
lea ecx, [ebx + eax*2 + 3]
mov eax, dword [edi]
mov ebx, ecx
test eax, eax
jne 0x401f60
add ecx, ecx
mov dword [esp], ecx
call dword [sym.imp.ucrtbase.dll_malloc]
mov dword [ebp - 0xfc], eax
mov ebx, eax
test eax, eax
je 0x402292
mov edx, dword [esi]
test edx, edx
je 0x402ad4
mov edi, dword [sym.imp.ucrtbase.dll_wcschr]
lea esi, [esi]
nop
cmp word [edx], 0
jne 0x402730
mov dword [esp + 4], 0x22
mov eax, dword [esi]
mov dword [esp], eax
call edi
mov edx, 0x22
lea eax, [ebx + 2]
mov word [ebx], dx
mov edx, dword [esi]
movzx ecx, word [edx]
test cx, cx
je 0x40279a
mov dword [ebp - 0xf4], 1
mov dword [ebp - 0xec], esi
xor ebx, ebx
jmp 0x402016
cmp cx, 0x22
je 0x402700
mov ecx, eax
xor ebx, ebx
movzx esi, word [edx]
add edx, 2
lea eax, [ecx + 2]
mov word [ecx], si
movzx ecx, word [edx]
test cx, cx
je 0x402230
cmp cx, 0x5c
jne 0x401ff0
add ebx, 1
mov ecx, eax
jmp 0x401ffe
mov dword [ebp - 0xf4], ecx
mov dword [esp + 0x14], 0xffffffff
mov dword [esp + 0x10], 0x405142
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]
mov ecx, dword [ebp - 0xf4]
sub esp, 0x18
cmp eax, 2
jne 0x402148
and dword [ebp - 0xf8], 0xffffffef
jmp 0x401ea9
cmp dx, 0x22
jne 0x401ed0
mov edx, dword [ecx + 4]
cmp word [edx], 0
je 0x402a85
mov eax, edx
lea esi, [esi]
add eax, 2
cmp word [eax], 0
jne 0x4020a0
sub eax, edx
mov dword [esp + 4], 0
mov dword [esp + 8], eax
mov esi, eax
mov edx, dword fs:[0x18]
mov eax, dword [edx + 0x30]
mov dword [ebp - 0xf4], ecx
sar esi, 1
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapAlloc]
mov dword [ebp - 0xf0], eax
sub esp, 0xc
test eax, eax
je 0x402adf
sub esi, 1
xor edx, edx
mov edi, dword [edi]
mov ecx, dword [ebp - 0xf4]
test esi, esi
jle 0x402132
mov dword [ebp - 0xf4], ebx
mov ebx, dword [ebp - 0xf0]
jmp 0x402124
cmp ax, 0x22
je 0x40211d
mov word [ebx + edx*2], ax
add edx, 1
add edi, 2
cmp edx, esi
jge 0x40212c
movzx eax, word [edi]
test ax, ax
jne 0x402110
mov ebx, dword [ebp - 0xf4]
mov eax, dword [ebp - 0xf0]
xor esi, esi
mov word [eax + edx*2], si
jmp 0x401ea9
mov eax, dword [edi]
cmp word [eax], 0x2f
jne 0x4021a0
movzx edx, word [eax + 2]
and edx, 0xffffffdf
cmp dx, 0x49
jne 0x4021a0
test byte [0x404000], 8
je 0x401ea9
mov dword [ebp - 0xf4], ecx
mov dword [esp + 0xc], str._i_is_ignored_n
mov dword [esp + 8], 0x405370
mov dword [esp + 4], global___dbch
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0
mov ecx, dword [ebp - 0xf4]
jmp 0x401ea9
mov dword [ebp - 0xf4], ecx
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]
mov ecx, dword [ebp - 0xf4]
sub esp, 0x18
cmp eax, 2
jne 0x4021f8
mov dword [ebp - 0xa8], 2
jmp 0x401ea9
mov eax, dword [edi]
mov edx, str._max
mov dword [ebp - 0xf4], ecx
call sym._is_option
mov ecx, dword [ebp - 0xf4]
test eax, eax
je 0x4027db
mov dword [ebp - 0xa8], 3
jmp 0x401ea9
mov edx, dword [ebp - 0xf4]
mov esi, dword [ebp - 0xec]
test edx, edx
je 0x40226b
test ebx, ebx
je 0x40279a
lea edx, [eax + ebx*2]
lea esi, [esi]
nop
add eax, 2
mov ecx, 0x5c
mov word [eax - 2], cx
cmp eax, edx
jne 0x402250
mov ebx, 0x22
lea eax, [edx + 2]
mov word [edx], bx
mov edx, dword [esi + 4]
mov ecx, 0x20
add esi, 4
lea ebx, [eax + 2]
mov word [eax], cx
test edx, edx
jne 0x401fa8
cmp dword [ebp - 0xfc], ebx
cmovae eax, ebx
xor edx, edx
mov word [eax], dx
mov eax, dword [ebp - 0xfc]
mov dword [ebp - 0xb0], eax
mov eax, dword [ebp - 0x104]
or eax, dword [ebp - 0x108]
mov dword [ebp - 0xfc], eax
je 0x4027a1
mov dword [esp], str.KERNEL32
call dword [sym.imp.kernel32.dll_GetModuleHandleA]
push esi
mov dword [esp + 4], str.wine_get_dos_file_name
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_GetProcAddress]
mov ebx, eax
push edi
push edi
test eax, eax
je 0x402a69
mov ecx, dword [sym.imp.kernel32.dll_WideCharToMultiByte]
mov eax, dword [ebp - 0x100]
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
mov dword [ebp - 0xec], 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 esi, dword [sym.imp.kernel32.dll_HeapAlloc]
sub esp, 0x20
mov edi, eax
mov edx, dword fs:[0x18]
mov dword [esp + 8], eax
mov dword [esp + 4], 0
mov eax, dword [edx + 0x30]
mov dword [ebp - 0xf4], edx
mov eax, dword [eax + 0x18]
mov dword [ebp - 0x104], esi
mov dword [esp], eax
call esi
mov ecx, dword [ebp - 0xec]
sub esp, 0xc
mov esi, eax
mov dword [esp + 0x10], eax
mov eax, dword [ebp - 0x100]
mov dword [esp + 0x14], edi
mov dword [esp + 0x1c], 0
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], esi
call ebx
mov edx, dword [ebp - 0xf4]
mov dword [esp + 8], esi
mov dword [esp + 4], 0
mov edi, eax
mov dword [ebp - 0xec], eax
mov eax, dword [edx + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapFree]
sub esp, 0xc
test edi, edi
je 0x402a69
cmp dword [ebp - 0xac], 0
mov dword [ebp - 0xb4], edi
mov dword [ebp - 0xf4], 0
je 0x402af9
and dword [ebp - 0xc0], 0xfffffbff
lea eax, [ebp - 0xd8]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0xb4]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_GetBinaryTypeW]
push ebx
push ebx
test eax, eax
je 0x402880
mov eax, dword [ebp - 0xb4]
cmp word [eax], 0
mov ecx, eax
je 0x402449
nop
add ecx, 2
cmp word [ecx], 0
jne 0x402440
sub ecx, eax
mov ebx, dword [ebp - 0xb0]
sar ecx, 1
add ecx, 4
cmp word [ebx], 0
mov eax, ebx
je 0x402469
nop
add eax, 2
cmp word [eax], 0
jne 0x402460
sub eax, ebx
mov dword [esp + 4], 0
sar eax, 1
add eax, ecx
add eax, eax
mov edx, dword fs:[0x18]
mov dword [esp + 8], eax
mov eax, dword [edx + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapAlloc]
mov ebx, dword [ebp - 0xb4]
mov ecx, dword [ebp - 0xb0]
sub esp, 0xc
mov esi, eax
cmp word [ebx], 0
mov edx, ebx
je 0x4024b9
lea esi, [esi]
add edx, 2
cmp word [edx], 0
jne 0x4024b0
sub edx, ebx
mov eax, ecx
sar edx, 1
add edx, 4
cmp word [ecx], 0
je 0x4024d9
lea esi, [esi]
nop
add eax, 2
cmp word [eax], 0
jne 0x4024d0
sub eax, ecx
mov dword [esp + 0x10], ecx
sar eax, 1
mov dword [esp + 0xc], ebx
lea ebx, [ebp - 0x88]
add eax, edx
mov dword [esp + 8], str.__s___s
mov dword [esp + 4], eax
mov dword [esp], esi
call sym._swprintf.constprop.0
lea edx, [ebp - 0x84]
xor eax, eax
mov ecx, 0x10
mov edi, edx
rep stosd dword es:[edi], eax
mov eax, dword [ebp - 0xa8]
mov dword [esp + 0x20], ebx
mov dword [ebp - 0x88], 0x44
mov word [ebp - 0x58], ax
mov eax, dword [ebp - 0xf0]
mov dword [ebp - 0x5c], 1
mov dword [ebp - 0x7c], eax
lea eax, [ebp - 0xd4]
mov dword [esp + 0x24], eax
mov eax, dword [ebp - 0xac]
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], eax
mov eax, dword [ebp - 0xf8]
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], eax
mov eax, dword [ebp - 0xb4]
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], esi
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_CreateProcessW]
sub esp, 0x28
test eax, eax
je 0x40281d
mov eax, dword [ebp - 0xd4]
mov ebx, dword [sym.imp.kernel32.dll_HeapFree]
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 0xec]
mov dword [esp + 4], 0
mov esi, dword fs:[0x18]
mov dword [esp + 8], eax
mov eax, dword [esi + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call ebx
mov eax, dword [ebp - 0xdc]
sub esp, 0xc
mov dword [esp + 8], eax
mov dword [esp + 4], 0
mov eax, dword [esi + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call ebx
mov eax, dword [ebp - 0xf4]
sub esp, 0xc
mov dword [esp + 8], eax
mov dword [esp + 4], 0
mov eax, dword [esi + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call ebx
mov eax, dword [ebp - 0xf0]
sub esp, 0xc
mov dword [esp + 8], eax
mov dword [esp + 4], 0
mov eax, dword [esi + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call ebx
sub esp, 0xc
test byte [ebp - 0xc0], 0x40
je 0x402a5c
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 - 0x88]
mov edi, edx
rep stosd dword es:[edi], eax
mov dword [ebp - 0x78], 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 [ebp - 0x8c]
sub esp, 0x10
mov dword [esp], ebx
mov dword [esp + 4], eax
call dword [sym.imp.kernel32.dll_AssignProcessToJobObject]
mov eax, dword [ebp - 0x8c]
push ecx
push ecx
mov dword [esp + 4], 0xffffffff
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_WaitForSingleObject]
lea eax, [ebp - 0xd4]
push ebx
push ebx
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x8c]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_GetExitCodeProcess]
mov eax, dword [ebp - 0xd4]
push esi
push esi
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_ExitProcess]
mov esi, dword [ebp - 0xec]
lea ecx, [eax + ebx*2 + 2]
lea esi, [esi]
add eax, 2
mov ebx, 0x5c
mov word [eax - 2], bx
cmp eax, ecx
jne 0x402710
mov dword [ebp - 0xec], esi
xor ebx, ebx
jmp 0x401ffe
mov dword [esp + 4], 0x20
mov dword [esp], edx
call edi
test eax, eax
jne 0x401fb2
mov dword [esp + 4], 9
mov eax, dword [esi]
mov dword [esp], eax
call edi
mov dword [esp + 4], 0x22
test eax, eax
mov eax, dword [esi]
mov dword [esp], eax
jne 0x401fbf
call edi
test eax, eax
jne 0x402cbb
mov eax, dword [esi]
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 0x40226b
mov esi, ecx
jmp 0x401f24
mov edx, eax
jmp 0x402260
mov eax, dword [ebp - 0x100]
lea edx, [ebp - 0xdc]
call sym._search_path.constprop.0
test eax, eax
jne 0x402803
mov eax, dword [ebp - 0x100]
mov dword [ebp - 0xb4], eax
mov dword [ebp - 0xf4], 0
mov dword [ebp - 0xec], 0
jmp 0x40240e
mov eax, dword [edi]
mov edx, str._low
mov dword [ebp - 0xf4], ecx
call sym._is_option
mov ecx, dword [ebp - 0xf4]
test eax, eax
je 0x402831
or dword [ebp - 0xf8], 0x40
jmp 0x401ea9
mov eax, dword [ebp - 0xdc]
test eax, eax
jne 0x4027bc
mov edx, dword [ebp - 0x100]
mov eax, 0xe
call sym._fatal_string_error.constprop.0
mov eax, dword fs:[0x18]
mov edx, dword [ebp - 0xb4]
mov eax, dword [eax + 0x34]
call sym._fatal_string_error.constprop.0
mov eax, dword [edi]
mov edx, 0x405176
mov dword [ebp - 0xf4], ecx
call sym._is_option
mov ecx, dword [ebp - 0xf4]
test eax, eax
je 0x402bde
or dword [ebp - 0xf8], 0x20
jmp 0x401ea9
mov dword [ebp - 0x108], 0
mov dword [ebp - 0x104], 0
mov dword [ebp - 0x100], str.cmd.exe
jmp 0x401f44
lea eax, [ebp - 0xc4]
mov dword [esp], eax
mov eax, dword [sym.imp.shell32.dll_ShellExecuteExW]
mov dword [ebp - 0xfc], eax
call eax
mov ebx, dword [sym.imp.kernel32.dll_HeapFree]
push ecx
test eax, eax
jne 0x4025a8
mov eax, dword [ebp - 0xb4]
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov esi, dword [sym.imp.kernel32.dll_GetEnvironmentVariableW]
mov dword [ebp - 0x10c], eax
mov dword [esp], str.PATHEXT
call esi
sub esp, 0xc
mov ebx, eax
test eax, eax
je 0x402a48
lea edx, [ebx + ebx]
mov dword [esp + 4], 0
mov dword [esp + 8], edx
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
mov eax, dword [sym.imp.kernel32.dll_HeapAlloc]
mov dword [ebp - 0x104], eax
call eax
mov dword [ebp - 0x110], eax
sub esp, 0xc
test eax, eax
je 0x402cab
mov eax, dword [ebp - 0x110]
mov dword [esp + 8], ebx
mov dword [esp], str.PATHEXT
mov dword [esp + 4], eax
call esi
mov eax, dword [ebp - 0x10c]
sub esp, 0xc
jmp 0x40293e
add eax, 2
cmp word [eax], 0
jne 0x40293b
sub eax, dword [ebp - 0x10c]
mov dword [esp + 4], 0
mov esi, eax
sar eax, 1
mov edi, eax
mov dword [ebp - 0x108], eax
add ebx, edi
add ebx, ebx
mov dword [esp + 8], ebx
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
mov eax, dword [ebp - 0x104]
call eax
sub esp, 0xc
mov ebx, eax
test eax, eax
je 0x402cab
mov edi, dword [sym.imp.ucrtbase.dll_wcschr]
mov dword [ebp - 0xb4], eax
lea eax, [eax + esi]
mov dword [ebp - 0x104], eax
mov ecx, dword [ebp - 0x110]
mov dword [ebp - 0x100], edi
mov edi, dword [ebp - 0x10c]
mov dword [esp], ecx
mov eax, dword [ebp - 0x100]
mov dword [ebp - 0xf8], ecx
mov dword [esp + 4], 0x3b
call eax
mov ecx, dword [ebp - 0xf8]
test eax, eax
mov esi, eax
je 0x402a48
xor eax, eax
cmp ecx, esi
je 0x402bad
movzx edx, word [edi + eax]
mov word [ebx + eax], dx
add eax, 2
test dx, dx
jne 0x4029e0
mov eax, dword [ebp - 0x104]
mov edx, esi
mov dword [esp + 4], ecx
sub edx, ecx
mov dword [esp + 8], edx
mov dword [esp], eax
mov dword [ebp - 0xf8], edx
call sym._memcpy
mov edx, dword [ebp - 0xf8]
mov eax, dword [ebp - 0x108]
sar edx, 1
add eax, edx
mov word [ebx + eax*2], 0
lea eax, [ebp - 0xc4]
mov dword [esp], eax
mov eax, dword [ebp - 0xfc]
call eax
push edx
test eax, eax
jne 0x402c09
lea ecx, [esi + 2]
jmp 0x4029b1
mov eax, dword fs:[0x18]
mov edx, dword [ebp - 0x10c]
mov eax, dword [eax + 0x34]
call sym._fatal_string_error.constprop.0
mov dword [esp], 0
call dword [sym.imp.kernel32.dll_ExitProcess]
mov eax, 0x68
call dbg.fatal_string
test byte [0x404000], 2
jne 0x402bb5
call dbg.usage
mov eax, dword [ebp - 0xfc]
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov eax, dword [eax + 0x30]
mov dword [ebp - 0xf4], ecx
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapAlloc]
mov dword [ebp - 0xf0], eax
sub esp, 0xc
test eax, eax
je 0x402adf
mov ecx, dword [ebp - 0xf4]
xor edx, edx
jmp 0x402132
mov ecx, 1
jmp 0x401f78
mov eax, dword [ebp - 0xfc]
jmp 0x40228d
test byte [0x404000], 2
jne 0x402b84
mov dword [esp], 1
call dword [sym.imp.kernel32.dll_ExitProcess]
mov edi, dword [ebp - 0xec]
mov dword [esp + 4], 0x5c
mov dword [esp], edi
call dword [sym.imp.ucrtbase.dll_wcsrchr]
test eax, eax
je 0x402b21
sub eax, edi
sar eax, 1
add eax, 1
mov dword [ebp - 0xfc], eax
mov edi, dword [ebp - 0xfc]
mov dword [esp + 4], 0
mov eax, dword fs:[0x18]
mov ebx, edi
add ebx, edi
mov dword [esp + 8], ebx
mov eax, dword [eax + 0x30]
sub ebx, 2
mov eax, dword [eax + 0x18]
mov dword [esp], eax
mov eax, dword [ebp - 0x104]
call eax
mov esi, dword [ebp - 0xec]
sub esp, 0xc
mov dword [ebp - 0xf4], eax
mov dword [esp + 4], esi
mov esi, eax
mov dword [esp + 8], ebx
mov dword [esp], eax
call sym._memcpy
mov word [esi + edi*2 - 2], 0
mov dword [ebp - 0xac], esi
jmp 0x402404
mov dword [esp + 0xc], str.out_of_memory_n
mov dword [esp + 8], 0x405370
mov dword [esp + 4], global___dbch
mov dword [esp], 1
call sym._wine_dbg_log.constprop.0
jmp 0x402aec
add ecx, 2
jmp 0x4029b1
mov dword [esp + 0xc], str.you_must_specify_a_directory_path_for_the__d_option_n
mov dword [esp + 8], 0x405370
mov dword [esp + 4], global___dbch
mov dword [esp], 1
call sym._wine_dbg_log.constprop.0
jmp 0x402a80
mov eax, dword [edi]
mov edx, 0x405186
mov dword [ebp - 0xf4], ecx
call sym._is_option
mov ecx, dword [ebp - 0xf4]
test eax, eax
je 0x402c55
or dword [ebp - 0xf8], 0x80
jmp 0x401ea9
mov dword [esp + 8], ebx
mov ebx, dword [sym.imp.kernel32.dll_HeapFree]
mov dword [esp + 4], 0
mov esi, dword fs:[0x18]
mov eax, dword [esi + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call ebx
mov eax, dword [ebp - 0x110]
sub esp, 0xc
mov dword [esp + 8], eax
mov dword [esp + 4], 0
mov eax, dword [esi + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call ebx
sub esp, 0xc
jmp 0x4025a8
mov eax, dword [edi]
mov edx, 0x405192
mov dword [ebp - 0xf4], ecx
call sym._is_option
mov ecx, dword [ebp - 0xf4]
test eax, eax
je 0x402c80
or dword [ebp - 0xf8], 0x100
jmp 0x401ea9
mov eax, dword [edi]
mov edx, 0x4051a6
mov dword [ebp - 0xf4], ecx
call sym._is_option
mov ecx, dword [ebp - 0xf4]
test eax, eax
je 0x402cda
or dword [ebp - 0xf8], 0x8000
jmp 0x401ea9
mov edx, dword [ebp - 0xb4]
mov eax, 0xe
call sym._fatal_string_error.constprop.0
mov dword [ebp - 0xf4], 0
mov edx, dword [esi]
mov eax, ebx
movzx ecx, word [edx]
test cx, cx
jne 0x401fe4
jmp 0x40226b
mov eax, dword [edi]
mov edx, 0x4051c0
mov dword [ebp - 0xf4], ecx
call sym._is_option
mov ecx, dword [ebp - 0xf4]
test eax, eax
je 0x402d05
or dword [ebp - 0xf8], 0x4000
jmp 0x401ea9
mov eax, dword [edi]
mov edx, str._separate
mov dword [ebp - 0xf4], ecx
call sym._is_option
mov ecx, dword [ebp - 0xf4]
test eax, eax
je 0x402d3b
test byte [0x404000], 8
je 0x401ea9
mov dword [esp + 0xc], str._separate_is_ignored_n
jmp 0x402178
mov eax, dword [edi]
mov edx, str._shared
mov dword [ebp - 0xf4], ecx
call sym._is_option
mov ecx, dword [ebp - 0xf4]
test eax, eax
je 0x402d71
test byte [0x404000], 8
je 0x401ea9
mov dword [esp + 0xc], str._shared_is_ignored_n
jmp 0x402178
mov eax, dword [edi]
mov edx, str._node
mov dword [ebp - 0xf4], ecx
call sym._is_option
mov ecx, dword [ebp - 0xf4]
test eax, eax
je 0x402dba
movzx eax, byte [global___dbch]
add ebx, 1
cmp ebx, dword [ebp - 0xec]
je 0x402e03
test al, 8
je 0x401ea9
mov dword [ebp - 0xf4], ecx
mov dword [esp + 0xc], str._node_is_ignored_n
jmp 0x402178
mov eax, dword [edi]
mov edx, str._affinity
mov dword [ebp - 0xf4], ecx
call sym._is_option
mov ecx, dword [ebp - 0xf4]
test eax, eax
je 0x402e34
movzx eax, byte [global___dbch]
add ebx, 1
cmp ebx, dword [ebp - 0xec]
je 0x402e03
test al, 8
je 0x401ea9
mov dword [ebp - 0xf4], ecx
mov dword [esp + 0xc], str._affinity_is_ignored_n
jmp 0x402178
test al, 2
je 0x402a80
mov dword [esp + 0xc], str.you_must_specify_a_numa_node_for_the__node_option_n
mov dword [esp + 8], 0x405370
mov dword [esp + 4], global___dbch
mov dword [esp], 1
call sym._wine_dbg_log.constprop.0
jmp 0x402a80
mov eax, dword [edi]
mov edx, 0x4052a4
mov dword [ebp - 0xf4], ecx
call sym._is_option
mov ecx, dword [ebp - 0xf4]
test eax, eax
je 0x402e5c
or dword [ebp - 0xc0], 0x40
jmp 0x401ea9
mov eax, dword [edi]
mov edx, str._wait
mov dword [ebp - 0xf4], ecx
call sym._is_option
mov ecx, dword [ebp - 0xf4]
test eax, eax
jne 0x402e50
mov eax, ecx
mov ecx, edi
mov edi, esi
mov edx, 0x4052b6
mov esi, eax
mov eax, dword [ecx]
mov dword [ebp - 0xf4], ecx
call sym._is_option
mov dword [ebp - 0x108], eax
test eax, eax
jne 0x402a80
mov ecx, dword [ebp - 0xf4]
mov edx, 0x4052bc
mov eax, dword [ecx]
call sym._is_option
mov ecx, dword [ebp - 0xf4]
test eax, eax
je 0x402eda
mov dword [ebp - 0x104], 1
add ebx, 1
cmp dword [ebp - 0xec], ebx
je 0x402a80
jmp 0x401f38
mov eax, dword [ecx]
mov edx, 0x4052c8
mov dword [ebp - 0xf4], ecx
call sym._is_option
mov ecx, dword [ebp - 0xf4]
test eax, eax
mov dword [ebp - 0x104], eax
je 0x402f18
mov dword [ebp - 0xc0], 0x8440
add ebx, 1
mov dword [ebp - 0xf8], 0
jmp 0x401f18
mov eax, dword [ecx]
mov edx, str._progIDOpen
mov dword [ebp - 0xf4], ecx
call sym._is_option
mov ecx, dword [ebp - 0xf4]
test eax, eax
je 0x402f66
lea eax, [ebx + 1]
cmp dword [ebp - 0xec], eax
je 0x402a80
mov eax, dword [esi + edi + 4]
or dword [ebp - 0xc0], 1
add ebx, 2
mov dword [ebp - 0x108], 1
mov dword [ebp - 0x9c], eax
jmp 0x402ec9
test byte [0x404000], 2
je 0x402a80
mov eax, dword [ecx]
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], 0x405370
mov dword [esp + 4], global___dbch
mov dword [esp], 1
call sym._wine_dbg_log.constprop.0
jmp 0x402a80