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

Disassembly:
push ebp
mov eax, 0x3c
mov edx, 0x500
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0xec
cmp dword [ebp + 8], 1
mov dword [section..bss], eax
mov esi, dword [ebp + 0xc]
mov dword [0x406004], edx
mov dword [0x40600c], 0x40510c
mov dword [0x40601c], 1
mov dword [0x406040], 0x10
mov dword [ebp - 0x98], 1
jle 0x401f50
mov eax, 1
jmp 0x401eed
add ebx, 4
mov dword [0x406018], ebx
mov ebx, dword [ebp - 0x98]
lea eax, [ebx + 1]
cmp dword [ebp + 8], eax
mov dword [ebp - 0x98], eax
jle 0x401f50
lea ecx, [eax*4]
cmp dword [0x40603c], 0
lea edi, [esi + ecx]
mov ebx, dword [edi]
movzx edx, word [ebx]
je 0x4022c0
cmp dx, 0x2f
jne 0x401f50
movzx edx, word [ebx + 2]
and edx, 0xffffffdf
cmp dx, 0x44
jne 0x402270
cmp word [ebx + 4], 0
jne 0x401ed0
lea ebx, [eax + 1]
cmp dword [ebp + 8], ebx
je 0x402a73
mov eax, dword [esi + ecx + 4]
mov dword [0x406018], eax
lea eax, [ebx + 1]
cmp dword [ebp + 8], eax
mov dword [ebp - 0x98], eax
jg 0x401eed
lea esi, [esi]
mov eax, dword [ebp - 0x98]
mov edx, eax
cmp dword [ebp + 8], eax
je 0x402711
xor edx, edx
mov dword [ebp - 0xbc], edx
mov dword [ebp - 0xc0], edx
lea edx, [eax + 1]
mov eax, dword [esi + eax*4]
mov dword [ebp - 0x98], edx
mov dword [ebp - 0xb4], eax
lea edi, [esi + edx*4]
mov eax, dword [edi]
test eax, eax
je 0x402988
mov esi, edi
mov ebx, 1
lea esi, [esi]
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 0x401f98
mov eax, dword [sym.imp.ucrtbase.dll_malloc]
add edx, edx
mov dword [esp], edx
mov dword [ebp - 0xb8], eax
call eax
mov ecx, eax
test eax, eax
je 0x4020dc
mov edx, dword [edi]
test edx, edx
je 0x4020d7
mov ebx, eax
mov eax, dword [sym.imp.ucrtbase.dll_wcschr]
mov dword [ebp - 0xc4], ecx
mov dword [ebp - 0xac], eax
lea esi, [esi]
cmp word [edx], 0
jne 0x402430
mov dword [esp + 4], 0x22
mov eax, dword [edi]
mov dword [esp], eax
mov eax, dword [ebp - 0xac]
call eax
lea eax, [ebx + 2]
mov edx, 0x22
mov word [ebx], dx
mov edx, dword [edi]
movzx ecx, word [edx]
test cx, cx
je 0x4025ee
mov dword [ebp - 0xb0], 1
xor esi, esi
lea esi, [esi]
cmp cx, 0x5c
je 0x402420
cmp cx, 0x22
je 0x4023d0
mov ebx, eax
xor esi, esi
movzx ecx, word [edx]
lea eax, [ebx + 2]
add edx, 2
mov word [ebx], cx
movzx ecx, word [edx]
test cx, cx
jne 0x402038
mov edx, dword [ebp - 0xb0]
test edx, edx
je 0x4020b4
test esi, esi
jle 0x4025ee
lea edx, [eax + esi*2]
and esi, 1
je 0x402090
lea eax, [ebx + 4]
mov ebx, 0x5c
mov word [eax - 2], bx
cmp eax, edx
je 0x4020a9
nop
mov ebx, 0x5c
add eax, 4
mov esi, 0x5c
mov word [eax - 4], bx
mov word [eax - 2], si
cmp eax, edx
jne 0x402090
lea eax, [edx + 2]
mov ecx, 0x22
mov word [edx], cx
lea ebx, [eax + 2]
mov edx, 0x20
add edi, 4
mov word [eax], dx
mov edx, dword [edi]
test edx, edx
jne 0x401ff0
mov ecx, dword [ebp - 0xc4]
cmp ecx, ebx
cmovae eax, ebx
xor edi, edi
mov word [eax], di
mov edi, dword [ebp - 0xc0]
mov dword [0x406014], ecx
mov eax, dword [ebp - 0xbc]
or edi, eax
jne 0x4024a9
mov eax, dword [ebp - 0xb4]
lea edx, [ebp - 0x88]
call fcn.00401720
test eax, eax
je 0x402117
mov eax, dword [ebp - 0x88]
mov dword [ebp - 0xb4], eax
mov eax, dword [ebp - 0xb4]
mov dword [0x406010], eax
lea eax, [ebp - 0x9c]
mov dword [esp + 4], eax
mov eax, dword [0x406010]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_GetBinaryTypeW]
sub esp, 8
test eax, eax
je 0x40272e
mov edx, dword [0x406010]
xor eax, eax
mov ecx, 0x11
lea edi, [ebp - 0x84]
rep stosd dword es:[edi], eax
mov dword [ebp - 0x88], 0x44
cmp word [edx], 0
mov eax, edx
je 0x402179
lea esi, [esi]
add eax, 2
cmp word [eax], 0
jne 0x402170
sub eax, edx
mov edx, dword [0x406014]
sar eax, 1
add eax, 4
cmp word [edx], 0
mov esi, edx
je 0x402199
nop
add esi, 2
cmp word [esi], 0
jne 0x402190
lea ebx, [ebp - 0x98]
sub esi, edx
sar esi, 1
add esi, eax
cmp word [0x406044], 0
jne 0x4028f7
lea eax, [esi + esi]
mov dword [esp], eax
mov eax, dword [ebp - 0xb8]
call eax
mov dword [esp + 8], str.__s___s
mov edi, eax
mov eax, dword [0x406014]
mov dword [esp + 4], esi
mov dword [esp], edi
mov dword [esp + 0x10], eax
mov eax, dword [0x406010]
mov dword [esp + 0xc], eax
call fcn.00401410
mov eax, dword [0x40601c]
mov dword [esp + 0x24], ebx
or dword [ebp - 0x5c], 1
mov dword [esp + 0x18], 0
mov dword [esp + 0x10], 0
mov word [ebp - 0x58], ax
mov eax, dword [0x40603c]
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], edi
mov dword [ebp - 0x7c], eax
lea eax, [ebp - 0x88]
mov dword [esp + 0x20], eax
mov eax, dword [0x406018]
mov dword [esp + 0x1c], eax
mov eax, dword [0x406040]
mov dword [esp + 0x14], eax
mov eax, dword [0x406010]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_CreateProcessW]
sub esp, 0x28
test eax, eax
jne 0x4025f5
mov eax, dword fs:[0x18]
mov edx, dword [0x406010]
mov eax, dword [eax + 0x34]
call fcn.004015c0
nop
mov dword [esp + 0x14], 0xffffffff
mov dword [esp + 0x10], 0x40514e
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 0x402320
and dword [0x406040], 0xffffffef
mov ebx, dword [ebp - 0x98]
jmp 0x401edf
cmp dx, 0x22
jne 0x401f09
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 0x402309
lea esi, [esi]
nop
cmp dx, 0x22
je 0x4022fd
mov word [eax + ecx*2], dx
add ecx, 1
movzx edx, word [ebx + 2]
add ebx, 2
test dx, dx
jne 0x4022f0
xor ebx, ebx
mov dword [0x40603c], eax
mov word [eax + ecx*2], bx
mov ebx, dword [ebp - 0x98]
jmp 0x401edf
mov eax, dword [edi]
cmp word [eax], 0x2f
jne 0x402378
movzx edx, word [eax + 2]
and edx, 0xffffffdf
cmp dx, 0x49
jne 0x402378
mov ebx, dword [ebp - 0x98]
test byte [section..data], 8
je 0x401edf
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.004014c0
jmp 0x401edf
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 0x402480
mov ebx, dword [ebp - 0x98]
mov dword [0x40601c], 2
jmp 0x401edf
test esi, esi
js 0x40204c
lea ebx, [eax + esi*2 + 2]
and esi, 1
jne 0x4023f8
add eax, 2
mov ecx, 0x5c
mov word [eax - 2], cx
cmp eax, ebx
je 0x40204e
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 0x4023f8
jmp 0x40204e
add esi, 1
mov ebx, eax
jmp 0x402050
mov eax, dword [ebp - 0xac]
mov dword [esp + 4], 0x20
mov dword [esp], edx
call eax
test eax, eax
jne 0x401ffa
mov dword [esp + 4], 9
mov eax, dword [edi]
mov esi, dword [ebp - 0xac]
mov dword [esp], eax
call esi
mov dword [esp + 4], 0x22
test eax, eax
mov eax, dword [edi]
mov dword [esp], eax
je 0x4025a5
call esi
jmp 0x40200f
mov eax, dword [edi]
mov edx, str._max
call fcn.00401000
test eax, eax
je 0x4028c6
mov ebx, dword [ebp - 0x98]
mov dword [0x40601c], 3
jmp 0x401edf
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 0x402adb
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 - 0xb4]
mov dword [ebp - 0xb0], ecx
mov dword [esp], 0xfdf2
mov dword [esp + 8], eax
xor eax, eax
mov dword [esp + 4], eax
call ecx
mov ecx, dword [ebp - 0xb8]
sub esp, 0x20
mov dword [ebp - 0xac], 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 - 0xac]
mov dword [esp + 0x10], eax
mov eax, dword [ebp - 0xb4]
mov dword [esp + 4], ecx
mov ecx, dword [ebp - 0xb0]
mov dword [esp], 0xfdf2
mov dword [esp + 0x14], edx
mov dword [esp + 8], eax
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 0x402adb
cmp dword [0x406018], 0
mov dword [0x406010], esi
je 0x4029cc
and dword [0x406004], 0xfffffbff
jmp 0x402122
mov eax, dword [ebp - 0xac]
call eax
test eax, eax
jne 0x4025d1
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 0x4020b4
mov edx, dword [edi]
mov eax, ebx
xor ebx, ebx
mov dword [ebp - 0xb0], ebx
movzx ecx, word [edx]
test cx, cx
jne 0x402032
jmp 0x4020b4
mov edx, eax
jmp 0x4020a9
mov eax, dword [ebp - 0x98]
mov dword [0x406038], eax
test byte [0x406004], 0x40
je 0x4028ec
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 - 0x88]
mov edi, edx
rep stosd dword es:[edi], eax
mov dword [esp + 8], edx
mov dword [esp], ebx
mov dword [ebp - 0x78], 0x3000
mov dword [esp + 0xc], 0x70
mov dword [esp + 4], 9
call dword [sym.imp.kernel32.dll_SetInformationJobObject]
mov eax, dword [0x406038]
sub esp, 0x10
mov dword [esp], ebx
mov dword [esp + 4], eax
call dword [sym.imp.kernel32.dll_AssignProcessToJobObject]
mov eax, dword [0x406038]
push ecx
push ecx
mov dword [esp + 4], 0xffffffff
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_WaitForSingleObject]
lea eax, [ebp - 0x98]
push ebx
push ebx
mov dword [esp + 4], eax
mov eax, dword [0x406038]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_GetExitCodeProcess]
mov eax, dword [ebp - 0x98]
push esi
push esi
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_ExitProcess]
mov edi, dword [ebp - 0x98]
mov edx, str._exec
mov eax, dword [esi + edi*4]
call fcn.00401000
mov dword [ebp - 0xbc], eax
test eax, eax
je 0x402ce4
mov dword [0x406004], 0x8440
xor eax, eax
xor edx, edx
mov dword [0x406040], eax
lea eax, [edi + 1]
mov dword [ebp - 0x98], eax
mov dword [ebp - 0xbc], edx
cmp dword [ebp + 8], eax
jne 0x401f6f
mov edx, dword [ebp + 8]
mov dword [ebp - 0xb4], str.cmd.exe
xor edi, edi
mov dword [ebp - 0xbc], edi
mov dword [ebp - 0xc0], edi
jmp 0x401f81
mov eax, dword [sym.imp.shell32.dll_ShellExecuteExW]
mov dword [esp], section..bss
mov dword [ebp - 0xb4], eax
call eax
push ebx
test eax, eax
jne 0x402600
mov eax, dword [0x406010]
xor ecx, ecx
mov dword [esp], str.PATHEXT
mov ebx, dword [sym.imp.kernel32.dll_GetEnvironmentVariableW]
mov dword [esp + 8], ecx
mov dword [esp + 4], ecx
mov dword [ebp - 0xc0], eax
call ebx
sub esp, 0xc
mov esi, eax
test eax, eax
je 0x4029b8
lea eax, [eax + eax]
mov dword [esp], eax
mov eax, dword [ebp - 0xb8]
call eax
test eax, eax
je 0x402aa6
mov dword [esp + 8], esi
mov dword [esp + 4], eax
mov dword [ebp - 0xac], eax
mov dword [esp], str.PATHEXT
call ebx
mov eax, dword [ebp - 0xc0]
mov ecx, dword [ebp - 0xac]
sub esp, 0xc
jmp 0x4027bd
add eax, 2
cmp word [eax], 0
jne 0x4027ba
mov edi, dword [ebp - 0xc0]
mov dword [ebp - 0xb0], ecx
sub eax, edi
mov dword [ebp - 0xac], eax
sar eax, 1
add esi, eax
mov dword [ebp - 0xbc], eax
mov eax, dword [ebp - 0xb8]
add esi, esi
mov dword [esp], esi
call eax
mov edx, dword [ebp - 0xac]
test eax, eax
mov ecx, dword [ebp - 0xb0]
mov ebx, eax
je 0x402aa6
mov dword [0x406010], eax
mov eax, dword [sym.imp.ucrtbase.dll_wcschr]
mov edi, dword [ebp - 0xc0]
mov dword [ebp - 0xac], eax
lea eax, [ebx + edx]
mov dword [ebp - 0xb8], eax
mov dword [esp], ecx
mov eax, dword [ebp - 0xac]
mov dword [ebp - 0xb0], ecx
mov dword [esp + 4], 0x3b
call eax
mov ecx, dword [ebp - 0xb0]
test eax, eax
mov esi, eax
je 0x4029b8
xor eax, eax
cmp ecx, esi
je 0x402980
lea esi, [esi]
lea esi, [esi]
movzx edx, word [edi + eax]
mov word [ebx + eax], dx
add eax, 2
test dx, dx
jne 0x402860
mov eax, dword [ebp - 0xb8]
mov edx, esi
mov dword [esp + 4], ecx
sub edx, ecx
mov dword [esp + 8], edx
mov dword [ebp - 0xb0], edx
mov dword [esp], eax
call sub.ucrtbase.dll_memcpy
mov edx, dword [ebp - 0xb0]
mov eax, dword [ebp - 0xbc]
sar edx, 1
add eax, edx
mov word [ebx + eax*2], 0
mov eax, dword [ebp - 0xb4]
mov dword [esp], section..bss
call eax
push edx
test eax, eax
jne 0x402600
lea ecx, [esi + 2]
jmp 0x402823
mov eax, dword [edi]
mov edx, str._low
call fcn.00401000
test eax, eax
je 0x402992
or dword [0x406040], 0x40
mov ebx, dword [ebp - 0x98]
jmp 0x401edf
xor esi, esi
mov dword [esp], esi
call dword [sym.imp.kernel32.dll_ExitProcess]
mov dword [esp], 0x400
mov eax, dword [ebp - 0xb8]
mov dword [ebp - 0x98], 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], 0x406044
mov dword [esp + 8], 0x20019
mov dword [esp + 4], eax
mov dword [esp], edi
call dword [sym.imp.kernel32.dll_UpdateProcThreadAttribute]
mov dword [ebp - 0x44], edi
or dword [0x406040], 0x80000
sub esp, 0x1c
mov dword [ebp - 0x88], 0x48
jmp 0x4021b3
add ecx, 2
jmp 0x402823
mov edx, 1
jmp 0x401fb0
mov eax, dword [edi]
mov edx, str._normal
call fcn.00401000
test eax, eax
je 0x402a29
or dword [0x406040], 0x20
mov ebx, dword [ebp - 0x98]
jmp 0x401edf
mov eax, dword fs:[0x18]
mov edx, dword [ebp - 0xc0]
mov eax, dword [eax + 0x34]
call fcn.004015c0
mov dword [esp + 4], 0x5c
mov dword [esp], esi
call dword [sym.imp.ucrtbase.dll_wcsrchr]
test eax, eax
je 0x4029e8
sub eax, esi
sar eax, 1
lea edi, [eax + 1]
lea edx, [edi + edi]
mov eax, dword [ebp - 0xb8]
mov dword [esp], edx
mov dword [ebp - 0xac], edx
call eax
mov edx, dword [ebp - 0xac]
mov dword [esp + 4], esi
mov ebx, eax
mov dword [esp], eax
sub edx, 2
mov dword [esp + 8], edx
call sub.ucrtbase.dll_memcpy
mov word [ebx + edi*2 - 2], 0
mov dword [0x406018], ebx
jmp 0x402596
mov eax, dword [edi]
mov edx, str._high
call fcn.00401000
test eax, eax
je 0x402a4e
or dword [0x406040], 0x80
mov ebx, dword [ebp - 0x98]
jmp 0x401edf
mov eax, dword [edi]
mov edx, str._realtime
call fcn.00401000
test eax, eax
je 0x402a81
or dword [0x406040], 0x100
mov ebx, dword [ebp - 0x98]
jmp 0x401edf
test byte [section..data], 2
jne 0x402ae5
call fcn.004015b0
mov eax, dword [edi]
mov edx, str._abovenormal
call fcn.00401000
test eax, eax
je 0x402ab6
or dword [0x406040], 0x8000
mov ebx, dword [ebp - 0x98]
jmp 0x401edf
mov edx, dword [0x406010]
mov eax, 0xe
call fcn.004015c0
mov eax, dword [edi]
mov edx, str._belownormal
call fcn.00401000
test eax, eax
je 0x402b0e
or dword [0x406040], 0x4000
mov ebx, dword [ebp - 0x98]
jmp 0x401edf
mov eax, 0x68
call fcn.00401510
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.004014c0
jmp 0x402a7c
mov eax, dword [edi]
mov edx, str._separate
call fcn.00401000
test eax, eax
je 0x402b33
or dword [0x406040], 0x800
mov ebx, dword [ebp - 0x98]
jmp 0x401edf
mov eax, dword [edi]
mov edx, str._shared
call fcn.00401000
test eax, eax
je 0x402b58
or dword [0x406040], 0x1000
mov ebx, dword [ebp - 0x98]
jmp 0x401edf
mov eax, dword [edi]
mov edx, 0x40520a
call fcn.00401000
test eax, eax
je 0x402b7a
or dword [0x406004], 0x40
mov ebx, dword [ebp - 0x98]
jmp 0x401edf
mov eax, dword [edi]
mov edx, 0x405210
call fcn.00401000
test eax, eax
jne 0x402b68
mov eax, dword [edi]
mov edx, 0x40521c
call fcn.00401000
test eax, eax
jne 0x402a7c
lea ebx, [ebp - 0x98]
mov ecx, str._node
mov eax, esi
mov edx, ebx
call fcn.00401d80
test eax, eax
je 0x402bca
test byte [section..data], 8
jne 0x402c0b
mov ebx, dword [ebp - 0x98]
jmp 0x401edf
mov ecx, str._affinity
mov edx, ebx
mov eax, esi
call fcn.00401d80
test eax, eax
je 0x402c15
test byte [section..data], 8
je 0x402bbf
mov dword [esp + 0xc], str._affinity_is_ignored_n
mov dword [esp + 8], str.parse_command_line
mov dword [esp + 4], 0x404000
mov dword [esp], 3
call fcn.004014c0
jmp 0x402bbf
mov dword [esp + 0xc], str._node_is_ignored_n
jmp 0x402bed
mov ecx, str._machine
mov edx, ebx
mov eax, esi
call fcn.00401d80
mov dword [ebp - 0xc0], eax
test eax, eax
je 0x402c58
mov ebx, dword [ebp - 0x98]
mov edx, 0x40527c
lea edi, [esi + ebx*4]
mov eax, dword [edi]
call fcn.00401000
mov edx, eax
mov eax, 0x14c
test edx, edx
je 0x402c98
mov word [0x406044], ax
jmp 0x401edf
mov ecx, str._unix
mov edx, ebx
mov eax, esi
call fcn.00401d80
test eax, eax
je 0x4026c2
mov dword [ebp - 0xbc], 1
mov eax, dword [ebp - 0x98]
cmp dword [ebp + 8], eax
mov edx, eax
jne 0x401f6f
mov dword [ebp - 0xb4], str.cmd.exe
jmp 0x401f81
mov eax, dword [edi]
mov edx, str.amd64
call fcn.00401000
mov edx, eax
mov eax, 0xffff8664
test edx, edx
jne 0x402c4d
mov eax, dword [edi]
mov edx, 0x405290
call fcn.00401000
mov edx, eax
mov eax, 0x1c4
test edx, edx
jne 0x402c4d
mov eax, dword [edi]
mov edx, str.arm64
call fcn.00401000
test eax, eax
je 0x402a7c
mov eax, 0xffffaa64
jmp 0x402c4d
mov ecx, str._progIDOpen
mov edx, ebx
mov eax, esi
call fcn.00401d80
test eax, eax
je 0x402d2d
mov edx, dword [ebp - 0x98]
lea eax, [edx + 1]
mov edx, dword [esi + edx*4]
or dword [0x406004], 1
mov dword [ebp - 0x98], eax
mov dword [0x406028], edx
cmp dword [ebp + 8], eax
je 0x402a7c
mov dword [ebp - 0xc0], 1
jmp 0x401f6f
test byte [section..data], 2
je 0x402a7c
mov eax, dword [ebp - 0x98]
mov eax, dword [esi + eax*4]
call fcn.004013a0
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.004014c0
jmp 0x402a7c