Function at 0x401f10
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 [section..bss], 0x3c
mov dword [0x40800c], 0x40610c
mov dword [0x40801c], 1
mov dword [0x408004], 0x500
mov dword [0x408040], 0x10
mov dword [0x408048], 0
mov dword [ebp - 0x90], 1
cmp esi, 1
jle 0x402000
mov eax, 1
jmp 0x401fa4
add edi, 4
mov eax, dword [ebp - 0x90]
mov dword [0x408018], edi
add eax, 1
mov dword [ebp - 0x90], eax
cmp esi, eax
jle 0x402000
mov edi, dword [ebx + eax*4]
cmp dword [0x40803c], 0
lea ecx, [eax*4]
movzx edx, word [edi]
je 0x402178
cmp dx, 0x2f
jne 0x402000
movzx edx, word [edi + 2]
and edx, 0xffffffdf
cmp dx, 0x44
jne 0x402128
cmp word [edi + 4], 0
jne 0x401f88
add eax, 1
cmp esi, eax
je 0x402b2d
mov edx, dword [ebx + ecx + 4]
add eax, 1
mov dword [ebp - 0x90], eax
mov dword [0x408018], edx
cmp esi, eax
jg 0x401fa4
nop
mov eax, dword [ebp - 0x90]
mov edx, eax
cmp esi, eax
je 0x402791
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 esi, [ebx + edx*4]
mov eax, dword [esi]
test eax, eax
je 0x402a20
mov edi, esi
mov ebx, 1
lea esi, [esi]
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 0x402050
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 ebx, eax
test eax, eax
je 0x4022f9
mov edx, dword [esi]
test edx, edx
je 0x402a2a
mov edi, dword [sym.imp.ucrtbase.dll_wcschr]
lea esi, [esi]
cmp word [edx], 0
jne 0x4024b0
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 0x402548
mov dword [ebp - 0x9c], 1
mov dword [ebp - 0x98], esi
xor ebx, ebx
jmp 0x402116
cmp cx, 0x22
je 0x402480
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 0x402298
cmp cx, 0x5c
jne 0x4020f0
add ebx, 1
mov ecx, eax
jmp 0x4020fe
mov dword [esp + 0x14], 0xffffffff
mov dword [esp + 0x10], 0x40614e
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 0x4021e0
and dword [0x408040], 0xffffffef
mov eax, dword [ebp - 0x90]
jmp 0x401f97
cmp dx, 0x22
jne 0x401fbe
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 0x4021c1
lea esi, [esi]
cmp ax, 0x22
je 0x4021b5
mov word [ecx + edx*2], ax
add edx, 1
movzx eax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x4021a8
xor edi, edi
mov dword [0x40803c], ecx
mov eax, dword [ebp - 0x90]
mov word [ecx + edx*2], di
jmp 0x401f97
mov eax, dword [ebp - 0x90]
mov edx, dword [ebx + eax*4]
cmp word [edx], 0x2f
jne 0x402240
movzx ecx, word [edx + 2]
and ecx, 0xffffffdf
cmp cx, 0x49
jne 0x402240
test byte [section..data], 8
je 0x401f97
mov dword [esp + 0xc], str._i_is_ignored_n
mov dword [esp + 8], str.parse_command_line
mov dword [esp + 4], 0x404000
mov dword [esp], 3
call fcn.00401500
mov eax, dword [ebp - 0x90]
jmp 0x401f97
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 0x402518
mov dword [0x40801c], 2
mov eax, dword [ebp - 0x90]
jmp 0x401f97
mov edx, dword [ebp - 0x9c]
mov esi, dword [ebp - 0x98]
test edx, edx
je 0x4022d3
test ebx, ebx
je 0x402548
lea edx, [eax + ebx*2]
lea esi, [esi]
nop
add eax, 2
mov ebx, 0x5c
mov word [eax - 2], bx
cmp eax, edx
jne 0x4022b8
mov ecx, 0x22
lea eax, [edx + 2]
mov word [edx], cx
mov edx, 0x20
add esi, 4
lea ebx, [eax + 2]
mov word [eax], dx
mov edx, dword [esi]
test edx, edx
jne 0x4020a0
cmp dword [ebp - 0xa4], ebx
cmovae eax, ebx
xor edi, edi
mov word [eax], di
mov eax, dword [ebp - 0xa4]
mov edi, dword [ebp - 0xb0]
mov dword [0x408014], eax
or edi, dword [ebp - 0xac]
jne 0x40254f
mov eax, dword [ebp - 0xa0]
lea edx, [ebp - 0x80]
call fcn.00401760
test eax, eax
je 0x402331
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 0x4027b4
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 0x402389
add eax, 2
cmp word [eax], 0
jne 0x402380
sub eax, edx
mov ecx, dword [0x408014]
sar eax, 1
add eax, 4
cmp word [ecx], 0
mov edx, ecx
je 0x4023a9
nop
add edx, 2
cmp word [edx], 0
jne 0x4023a0
sub edx, ecx
lea esi, [ebp - 0x90]
sar edx, 1
cmp word [0x408044], 0
lea ebx, [edx + eax]
jne 0x402988
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 [0x408014]
mov dword [esp + 4], ebx
mov dword [esp], edi
mov dword [esp + 0x10], eax
mov eax, dword [0x408010]
mov dword [esp + 0xc], eax
call fcn.00401450
mov eax, dword [0x40801c]
or dword [ebp - 0x54], 1
mov dword [esp + 0x24], esi
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 0x402663
mov eax, dword fs:[0x18]
mov edx, dword [0x408010]
mov eax, dword [eax + 0x34]
call fcn.00401600
nop
mov esi, dword [ebp - 0x98]
lea ecx, [eax + ebx*2 + 2]
lea esi, [esi]
add eax, 2
mov ebx, 0x5c
mov word [eax - 2], bx
cmp eax, ecx
jne 0x402490
mov dword [ebp - 0x98], esi
xor ebx, ebx
jmp 0x4020fe
mov dword [esp + 4], 0x20
mov dword [esp], edx
call edi
test eax, eax
jne 0x4020aa
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 0x4020b7
call edi
test eax, eax
jne 0x402ba7
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 0x4022d3
mov eax, dword [ebp - 0x90]
mov edx, str._max
mov eax, dword [ebx + eax*4]
call fcn.00401000
test eax, eax
je 0x40294e
mov dword [0x40801c], 3
mov eax, dword [ebp - 0x90]
jmp 0x401f97
mov edx, eax
jmp 0x4022c8
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 0x402b77
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 0x402b77
cmp dword [0x408018], 0
mov dword [0x408010], esi
je 0x402a76
and dword [0x408004], 0xfffffbff
jmp 0x40233c
mov eax, dword [ebp - 0x90]
mov dword [0x408038], eax
test byte [0x408004], 0x40
je 0x40297b
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 [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 eax, dword [ebx + eax*4]
mov edx, str._exec
call fcn.00401000
mov dword [ebp - 0xac], eax
test eax, eax
je 0x402de2
mov eax, dword [ebp - 0x90]
mov dword [0x408040], 0
mov dword [0x408004], 0x8440
mov dword [0x408048], 1
add eax, 1
mov dword [ebp - 0x90], eax
mov dword [ebp - 0xac], 0
cmp esi, eax
jne 0x402024
mov edx, esi
mov dword [ebp - 0xac], 0
mov dword [ebp - 0xb0], 0
mov dword [ebp - 0xa0], str.cmd.exe
jmp 0x402036
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 0x40266e
mov eax, dword [0x408010]
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 0x402a62
add eax, eax
mov dword [esp], eax
mov eax, dword [ebp - 0xa8]
call eax
test eax, eax
je 0x402b67
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 0x402848
add edx, 2
cmp word [edx], 0
jne 0x402845
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 0x402b67
mov edi, dword [sym.imp.ucrtbase.dll_wcschr]
mov dword [0x408010], 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 0x402a62
xor eax, eax
cmp ecx, esi
je 0x402a18
lea esi, [esi]
movzx edx, word [edi + eax]
mov word [ebx + eax], dx
add eax, 2
test dx, dx
jne 0x4028e8
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 sub.ucrtbase.dll_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], section..bss
call eax
push edx
test eax, eax
jne 0x40266e
lea ecx, [esi + 2]
jmp 0x4028ae
mov eax, dword [ebp - 0x90]
mov edx, str._low
mov eax, dword [ebx + eax*4]
call fcn.00401000
test eax, eax
je 0x402a35
or dword [0x408040], 0x40
mov eax, dword [ebp - 0x90]
jmp 0x401f97
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], 0x408044
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
or dword [0x408040], 0x80000
sub esp, 0x1c
mov dword [ebp - 0x3c], edi
jmp 0x4023c4
add ecx, 2
jmp 0x4028ae
mov ecx, 1
jmp 0x402068
mov eax, dword [ebp - 0xa4]
jmp 0x4022f4
mov eax, dword [ebp - 0x90]
mov edx, 0x406182
mov eax, dword [ebx + eax*4]
call fcn.00401000
test eax, eax
je 0x402ad5
or dword [0x408040], 0x20
mov eax, dword [ebp - 0x90]
jmp 0x401f97
mov eax, dword fs:[0x18]
mov edx, dword [ebp - 0xac]
mov eax, dword [eax + 0x34]
call fcn.00401600
mov dword [esp + 4], 0x5c
mov dword [esp], esi
call dword [sym.imp.ucrtbase.dll_wcsrchr]
test eax, eax
je 0x402a94
sub eax, esi
mov edi, eax
sar edi, 1
add edi, 1
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 sub.ucrtbase.dll_memcpy
mov word [ebx + edi*2 - 2], 0
mov dword [0x408018], ebx
jmp 0x402654
mov eax, dword [ebp - 0x90]
mov edx, 0x406192
mov eax, dword [ebx + eax*4]
call fcn.00401000
test eax, eax
je 0x402b01
or dword [0x408040], 0x80
mov eax, dword [ebp - 0x90]
jmp 0x401f97
mov eax, dword [ebp - 0x90]
mov edx, 0x40619e
mov eax, dword [ebx + eax*4]
call fcn.00401000
test eax, eax
je 0x402b3b
or dword [0x408040], 0x100
mov eax, dword [ebp - 0x90]
jmp 0x401f97
test byte [section..data], 2
jne 0x402b81
call fcn.004015f0
mov eax, dword [ebp - 0x90]
mov edx, 0x4061b2
mov eax, dword [ebx + eax*4]
call fcn.00401000
test eax, eax
je 0x402bc6
or dword [0x408040], 0x8000
mov eax, dword [ebp - 0x90]
jmp 0x401f97
mov edx, dword [0x408010]
mov eax, 0xe
call fcn.00401600
mov eax, 0x68
call fcn.00401550
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], 0x404000
mov dword [esp], 1
call fcn.00401500
jmp 0x402b36
mov dword [ebp - 0x9c], 0
mov edx, dword [esi]
mov eax, ebx
movzx ecx, word [edx]
test cx, cx
jne 0x4020dc
jmp 0x4022d3
mov eax, dword [ebp - 0x90]
mov edx, 0x4061cc
mov eax, dword [ebx + eax*4]
call fcn.00401000
test eax, eax
je 0x402bf2
or dword [0x408040], 0x4000
mov eax, dword [ebp - 0x90]
jmp 0x401f97
mov eax, dword [ebp - 0x90]
mov edx, str._separate
mov eax, dword [ebx + eax*4]
call fcn.00401000
test eax, eax
je 0x402c1e
or dword [0x408040], 0x800
mov eax, dword [ebp - 0x90]
jmp 0x401f97
mov eax, dword [ebp - 0x90]
mov edx, str._shared
mov eax, dword [ebx + eax*4]
call fcn.00401000
test eax, eax
je 0x402c4a
or dword [0x408040], 0x1000
mov eax, dword [ebp - 0x90]
jmp 0x401f97
mov eax, dword [ebp - 0x90]
mov edx, 0x40620a
mov eax, dword [ebx + eax*4]
call fcn.00401000
test eax, eax
je 0x402c73
or dword [0x408004], 0x40
mov eax, dword [ebp - 0x90]
jmp 0x401f97
mov eax, dword [ebp - 0x90]
mov edx, 0x406210
mov eax, dword [ebx + eax*4]
call fcn.00401000
test eax, eax
jne 0x402c61
mov eax, dword [ebp - 0x90]
mov edx, 0x40621c
mov eax, dword [ebx + eax*4]
call fcn.00401000
test eax, eax
jne 0x402b36
mov ecx, str._node
lea edx, [ebp - 0x90]
mov eax, ebx
call fcn.00401e20
test eax, eax
je 0x402ccf
test byte [section..data], 8
jne 0x402cfb
mov eax, dword [ebp - 0x90]
jmp 0x401f97
mov ecx, str._affinity
lea edx, [ebp - 0x90]
mov eax, ebx
call fcn.00401e20
test eax, eax
je 0x402d08
test byte [section..data], 8
je 0x402cc4
mov dword [esp + 0xc], str._affinity_is_ignored_n
jmp 0x402211
mov dword [esp + 0xc], str._node_is_ignored_n
jmp 0x402211
mov ecx, str._machine
lea edx, [ebp - 0x90]
mov eax, ebx
call fcn.00401e20
test eax, eax
je 0x402d49
mov eax, dword [ebp - 0x90]
mov edx, 0x40627c
mov eax, dword [ebx + eax*4]
call fcn.00401000
test eax, eax
je 0x402d92
mov word [0x408044], 0x14c
mov eax, dword [ebp - 0x90]
jmp 0x401f97
mov dword [ebp - 0xb0], eax
mov ecx, str._unix
lea edx, [ebp - 0x90]
mov eax, ebx
call fcn.00401e20
test eax, eax
mov eax, dword [ebp - 0x90]
je 0x402735
mov dword [ebp - 0xac], 1
mov edx, eax
cmp esi, eax
jne 0x402024
mov dword [ebp - 0xa0], str.cmd.exe
jmp 0x402036
mov eax, dword [ebp - 0x90]
mov edx, 0x406284
mov eax, dword [ebx + eax*4]
call fcn.00401000
test eax, eax
je 0x402dbd
mov word [0x408044], 0x8664
mov eax, dword [ebp - 0x90]
jmp 0x401f97
mov eax, dword [ebp - 0x90]
mov edx, 0x406290
mov eax, dword [ebx + eax*4]
call fcn.00401000
test eax, eax
je 0x402e2e
mov word [0x408044], 0x1c4
jmp 0x402cc4
mov ecx, str._progIDOpen
lea edx, [ebp - 0x90]
mov eax, ebx
call fcn.00401e20
test eax, eax
je 0x402e5d
mov edx, dword [ebp - 0x90]
lea eax, [edx + 1]
mov edx, dword [ebx + edx*4]
or dword [0x408004], 1
mov dword [ebp - 0x90], eax
mov dword [0x408028], edx
cmp esi, eax
je 0x402b36
mov dword [ebp - 0xb0], 1
jmp 0x402024
mov eax, dword [ebp - 0x90]
mov edx, str.arm64
mov eax, dword [ebx + eax*4]
call fcn.00401000
test eax, eax
je 0x402b36
mov word [0x408044], 0xaa64
mov eax, dword [ebp - 0x90]
jmp 0x401f97
test byte [section..data], 2
je 0x402b36
mov eax, dword [ebp - 0x90]
mov eax, dword [ebx + eax*4]
call fcn.004013e0
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], 0x404000
mov dword [esp], 1
call fcn.00401500
jmp 0x402b36