Function at 0x401ee0
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x5c
mov eax, dword [ebp + 0x10]
mov edx, dword [ebp + 0x24]
cmp byte [eax], 0x3a
mov edx, dword [edx + 4]
setne al
movzx eax, al
neg eax
and eax, edx
mov dword [ebp - 0x10], eax
mov edx, dword [ebp + 8]
mov eax, 0xffffffff
test edx, edx
jle 0x402067
mov ecx, dword [ebp + 0x24]
mov ebx, dword [ecx]
mov dword [ecx + 0xc], 0
test ebx, ebx
jne 0x402070
mov eax, dword [ebp + 0x24]
mov ebx, 1
mov edx, dword [ebp + 0x24]
mov esi, dword [ebp + 0x10]
mov dword [eax], 1
mov eax, dword [ebp + 0x20]
mov dword [edx + 0x24], ebx
mov dword [edx + 0x20], ebx
xor ebx, ebx
test eax, eax
mov dword [edx + 0x14], 0
je 0x4020a0
mov ecx, dword [ebp + 0x24]
mov ebx, 1
mov edx, dword [ebp + 0x10]
mov dword [ecx + 0x1c], ebx
movzx eax, byte [edx]
cmp al, 0x2d
je 0x4020d0
cmp al, 0x2b
je 0x4023d3
mov edx, dword [ebp + 0x24]
xor eax, eax
test ebx, ebx
sete al
mov dword [edx + 0x18], eax
mov dword [ebp + 0x10], esi
mov ecx, dword [ebp + 0x24]
mov dword [ecx + 0x10], 1
mov eax, dword [ebp + 0x24]
mov edi, dword [eax + 0x14]
test edi, edi
je 0x401fa2
cmp byte [edi], 0
jne 0x402110
mov edx, dword [ebp + 0x24]
mov ecx, dword [ebp + 0x24]
mov edx, dword [edx + 0x24]
mov ebx, dword [ecx]
mov dword [ebp - 0x48], edx
cmp edx, ebx
jle 0x401fba
mov dword [ebp - 0x48], ebx
mov dword [ecx + 0x24], ebx
mov edx, dword [ebp + 0x24]
mov eax, dword [edx + 0x20]
cmp eax, ebx
jle 0x401fc9
mov dword [edx + 0x20], ebx
mov eax, ebx
mov ecx, dword [ebp + 0x24]
cmp dword [ecx + 0x18], 1
je 0x4022a0
cmp ebx, dword [ebp + 8]
je 0x402286
cld
mov edx, dword [ebp + 0xc]
mov eax, 3
mov edi, 0x40ca60
mov ecx, eax
mov esi, dword [edx + ebx*4]
repe cmpsb byte [esi], byte es:[edi]
jne 0x402033
mov edx, dword [ebp + 0x24]
lea eax, [ebx + 1]
mov ecx, dword [ebp - 0x48]
cmp dword [edx + 0x20], ecx
je 0x40230f
cmp ecx, eax
je 0x402020
mov dword [edx], eax
mov eax, dword [ebp + 0xc]
call fcn.00401dd0
lea esi, [esi]
lea edi, [edi]
mov ecx, dword [ebp + 8]
mov eax, dword [ebp + 0x24]
mov edx, dword [ebp + 8]
mov dword [ebp - 0x48], ecx
mov dword [eax + 0x24], ecx
mov ebx, edx
mov dword [eax], edx
cmp ebx, dword [ebp + 8]
je 0x402286
mov eax, dword [ebp + 0xc]
mov edx, dword [eax + ebx*4]
cmp byte [edx], 0x2d
je 0x4020df
mov ecx, dword [ebp + 0x24]
mov eax, 0xffffffff
mov edi, dword [ecx + 0x18]
test edi, edi
je 0x402067
mov dword [ecx + 0xc], edx
lea eax, [ebx + 1]
mov dword [ecx], eax
mov eax, 1
add esp, 0x5c
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [ecx + 0x10]
test eax, eax
jne 0x401f8f
mov edx, dword [ebp + 0x24]
mov eax, dword [ebp + 0x20]
mov esi, dword [ebp + 0x10]
mov dword [edx + 0x24], ebx
mov dword [edx + 0x20], ebx
xor ebx, ebx
test eax, eax
mov dword [edx + 0x14], 0
jne 0x401f54
nop
lea esi, [esi]
mov dword [esp], str.POSIXLY_CORRECT
call sub.cygwin1.dll_getenv
test eax, eax
jne 0x401f54
mov ecx, dword [ebp + 0x24]
mov edx, dword [ebp + 0x10]
mov dword [ecx + 0x1c], ebx
movzx eax, byte [edx]
cmp al, 0x2d
jne 0x401f6d
nop
lea esi, [esi]
mov dword [ecx + 0x18], 2
mov esi, edx
inc esi
jmp 0x401f82
movzx eax, byte [edx + 1]
test al, al
je 0x40204b
mov esi, dword [ebp + 0x14]
xor ecx, ecx
test esi, esi
je 0x4020fd
cmp al, 0x2d
jne 0x4020fd
mov ecx, 1
lea eax, [edx + ecx + 1]
mov edx, dword [ebp + 0x24]
mov edi, eax
mov dword [edx + 0x14], eax
lea esi, [esi]
mov ebx, dword [ebp + 0x14]
test ebx, ebx
je 0x402350
mov ecx, dword [ebp + 0x24]
mov eax, dword [ebp + 0xc]
mov ebx, dword [ecx]
mov edx, dword [eax + ebx*4]
movzx eax, byte [edx + 1]
cmp al, 0x2d
je 0x402143
mov ecx, dword [ebp + 0x1c]
test ecx, ecx
je 0x402350
cmp byte [edx + 2], 0
je 0x402329
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x24], 0xffffffff
mov dword [ebp - 0x14], edi
movzx eax, byte [edi]
jmp 0x402170
inc dword [ebp - 0x14]
mov ecx, dword [ebp - 0x14]
movzx eax, byte [ecx]
test al, al
setne dl
cmp al, 0x3d
setne al
movzx eax, al
test edx, eax
jne 0x402167
mov dword [ebp - 0x28], 0
mov esi, dword [ebp + 0x14]
mov eax, dword [esi]
test eax, eax
je 0x402200
mov eax, dword [ebp - 0x14]
sub eax, edi
mov dword [ebp - 0x2c], eax
lea esi, [esi]
mov edx, dword [ebp - 0x2c]
mov dword [esp + 4], edi
mov dword [esp + 8], edx
mov eax, dword [esi]
mov dword [esp], eax
call sub.cygwin1.dll_strncmp
test eax, eax
jne 0x4021f4
mov eax, dword [esi]
mov dword [esp], eax
call sub.cygwin1.dll_strlen
cmp dword [ebp - 0x2c], eax
je 0x402681
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x4023e6
mov eax, dword [ebp + 0x1c]
test eax, eax
jne 0x4021ed
mov edx, dword [ebp - 0x18]
mov eax, dword [esi + 4]
cmp dword [edx + 4], eax
je 0x402584
mov dword [ebp - 0x20], 1
inc dword [ebp - 0x28]
add esi, 0x10
mov eax, dword [esi]
test eax, eax
jne 0x4021a0
mov eax, dword [ebp - 0x20]
test eax, eax
setne al
xor edx, edx
cmp dword [ebp - 0x1c], 0
sete dl
test eax, edx
jne 0x402788
mov esi, dword [ebp - 0x18]
test esi, esi
je 0x4025b0
mov ecx, dword [ebp + 0x24]
lea edx, [ebx + 1]
mov eax, dword [ebp - 0x14]
mov dword [ecx], edx
cmp byte [eax], 0
je 0x40255b
mov ecx, dword [ebp - 0x18]
mov ecx, dword [ecx + 4]
test ecx, ecx
je 0x4027ea
inc eax
mov edx, dword [ebp + 0x24]
mov dword [edx + 0xc], eax
mov dword [esp], edi
call sub.cygwin1.dll_strlen
mov ebx, dword [ebp + 0x18]
lea eax, [edi + eax]
mov edx, dword [ebp + 0x24]
test ebx, ebx
mov dword [edx + 0x14], eax
je 0x40226d
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp + 0x18]
mov dword [ecx], eax
mov edx, dword [ebp - 0x18]
mov ecx, dword [edx + 8]
test ecx, ecx
jne 0x40252a
mov ecx, dword [ebp - 0x18]
mov eax, dword [ecx + 0xc]
jmp 0x402067
mov ecx, dword [ebp + 0x24]
mov eax, dword [ecx + 0x20]
cmp eax, dword [ebp - 0x48]
je 0x402293
mov dword [ecx], eax
add esp, 0x5c
mov eax, 0xffffffff
pop ebx
pop esi
pop edi
pop ebp
ret
cmp eax, dword [ebp - 0x48]
je 0x40231c
cmp dword [ebp - 0x48], ebx
je 0x4022b9
mov eax, dword [ebp + 0xc]
mov edx, ecx
call fcn.00401dd0
mov eax, dword [ebp + 0x24]
mov ebx, dword [eax]
cmp ebx, dword [ebp + 8]
jge 0x402301
mov ecx, dword [ebp + 0xc]
mov eax, dword [ecx + ebx*4]
cmp byte [eax], 0x2d
je 0x4025a1
lea esi, [esi]
lea eax, [ebx + 1]
mov edx, dword [ebp + 0x24]
cmp eax, dword [ebp + 8]
mov dword [edx], eax
jge 0x4022ff
mov ecx, dword [ebp + 0xc]
mov ebx, eax
mov edx, dword [ecx + eax*4]
cmp byte [edx], 0x2d
jne 0x4022d0
cmp byte [edx + 1], 0
jne 0x402301
mov ebx, eax
mov edx, dword [ebp + 0x24]
lea eax, [ebx + 1]
cmp eax, dword [ebp + 8]
mov dword [edx], eax
jl 0x4022dd
mov ebx, eax
mov dword [ebp - 0x48], ebx
mov eax, dword [ebp + 0x24]
mov dword [eax + 0x24], ebx
jmp 0x401fd6
mov edx, dword [ebp + 0x24]
mov dword [edx], eax
mov dword [edx + 0x20], eax
jmp 0x402020
cmp dword [ebp - 0x48], ebx
je 0x4022b9
mov edx, dword [ebp + 0x24]
mov dword [edx + 0x20], ebx
jmp 0x4022b9
movsx eax, al
mov dword [esp + 4], eax
mov edx, dword [ebp + 0x10]
mov dword [esp], edx
call sub.cygwin1.dll_strchr
test eax, eax
je 0x402143
lea esi, [esi]
lea edi, [edi]
mov ecx, dword [ebp + 0x24]
lea eax, [edi + 1]
mov dword [ecx + 0x14], eax
movzx ebx, byte [edi]
movsx esi, bl
mov dword [esp + 4], esi
mov eax, dword [ebp + 0x10]
mov dword [esp], eax
call sub.cygwin1.dll_strchr
cmp byte [edi + 1], 0
mov ecx, eax
jne 0x40237b
mov edx, dword [ebp + 0x24]
inc dword [edx]
test ecx, ecx
sete al
cmp bl, 0x3a
sete dl
or eax, edx
test al, 1
jne 0x402696
cmp byte [ecx], 0x57
je 0x4023f4
movzx eax, byte [ecx + 1]
cmp al, 0x3a
je 0x4023a7
mov eax, esi
add esp, 0x5c
pop ebx
pop esi
pop edi
pop ebp
ret
cmp byte [ecx + 2], 0x3a
je 0x402536
mov edx, dword [ebp + 0x24]
mov eax, dword [edx + 0x14]
cmp byte [eax], 0
je 0x40265a
inc dword [edx]
mov dword [edx + 0xc], eax
mov ecx, dword [ebp + 0x24]
mov eax, esi
mov dword [ecx + 0x14], 0
jmp 0x40239f
mov esi, dword [ebp + 0x10]
mov ecx, dword [ebp + 0x24]
inc esi
mov dword [ecx + 0x18], 0
jmp 0x401f82
mov dword [ebp - 0x18], esi
mov ecx, dword [ebp - 0x28]
mov dword [ebp - 0x24], ecx
jmp 0x4021f4
movzx eax, byte [ecx + 1]
cmp al, 0x3b
jne 0x402399
mov dword [ebp - 0x30], 0
mov edx, dword [ebp + 0x24]
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x38], 0
mov eax, dword [edx + 0x14]
mov dword [ebp - 0x3c], 0
cmp byte [eax], 0
je 0x4026ea
inc dword [edx]
mov dword [edx + 0xc], eax
mov ecx, dword [ebp + 0x24]
mov esi, dword [ecx + 0xc]
mov dword [ecx + 0x14], esi
jmp 0x402438
inc esi
movzx eax, byte [esi]
test al, al
setne dl
cmp al, 0x3d
setne al
movzx eax, al
test edx, eax
jne 0x402437
mov dword [ebp - 0x40], 0
mov ebx, dword [ebp + 0x14]
mov eax, dword [ebx]
test eax, eax
je 0x4024b3
mov eax, dword [ebp + 0x24]
mov edx, esi
mov edi, dword [eax + 0x14]
sub edx, edi
mov dword [ebp - 0x44], edx
mov ecx, dword [ebp - 0x44]
mov dword [esp + 4], edi
mov dword [esp + 8], ecx
mov eax, dword [ebx]
mov dword [esp], eax
call sub.cygwin1.dll_strncmp
test eax, eax
jne 0x4024a7
mov eax, dword [ebx]
mov dword [esp], eax
call sub.cygwin1.dll_strlen
cmp dword [ebp - 0x44], eax
je 0x402956
mov eax, dword [ebp - 0x30]
test eax, eax
je 0x4027a9
mov dword [ebp - 0x38], 1
inc dword [ebp - 0x40]
add ebx, 0x10
mov eax, dword [ebx]
test eax, eax
jne 0x402469
mov ecx, dword [ebp - 0x38]
test ecx, ecx
setne al
xor edx, edx
cmp dword [ebp - 0x34], 0
sete dl
test eax, edx
jne 0x402a05
mov eax, dword [ebp - 0x30]
test eax, eax
je 0x402ac5
cmp byte [esi], 0
je 0x40275a
mov ecx, dword [ebp - 0x30]
mov eax, dword [ecx + 4]
test eax, eax
je 0x402a9e
lea eax, [esi + 1]
mov edx, dword [ebp + 0x24]
mov dword [edx + 0xc], eax
mov eax, dword [ebp + 0x24]
mov ebx, dword [eax + 0x14]
mov dword [esp], ebx
call sub.cygwin1.dll_strlen
add ebx, eax
mov eax, dword [ebp + 0x18]
mov edx, dword [ebp + 0x24]
test eax, eax
mov dword [edx + 0x14], ebx
je 0x40251c
mov eax, dword [ebp - 0x3c]
mov ecx, dword [ebp + 0x18]
mov dword [ecx], eax
mov edx, dword [ebp - 0x30]
mov ecx, dword [edx + 8]
test ecx, ecx
je 0x4027b7
mov eax, dword [edx + 0xc]
mov dword [ecx], eax
xor eax, eax
jmp 0x402067
mov edx, dword [ebp + 0x24]
mov eax, dword [edx + 0x14]
cmp byte [eax], 0
je 0x402711
inc dword [edx]
mov dword [edx + 0xc], eax
mov eax, dword [ebp + 0x24]
mov dword [eax + 0x14], 0
mov eax, esi
jmp 0x40239f
mov eax, dword [ebp - 0x18]
cmp dword [eax + 4], 1
jne 0x40224d
cmp edx, dword [ebp + 8]
jge 0x402720
mov ecx, dword [ebp + 0x24]
lea eax, [ebx + 2]
mov dword [ecx], eax
mov ecx, dword [ebp + 0xc]
mov eax, dword [ecx + edx*4]
jmp 0x402247
mov eax, dword [esi + 8]
cmp dword [edx + 8], eax
jne 0x4021ed
mov eax, dword [esi + 0xc]
cmp dword [edx + 0xc], eax
jne 0x4021ed
jmp 0x4021f4
cmp byte [eax + 1], 0
je 0x4022d0
jmp 0x402301
mov ecx, dword [ebp + 0x1c]
test ecx, ecx
je 0x4025dd
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + ebx*4]
cmp byte [eax + 1], 0x2d
je 0x4025dd
movsx eax, byte [edi]
mov dword [esp + 4], eax
mov ecx, dword [ebp + 0x10]
mov dword [esp], ecx
call sub.cygwin1.dll_strchr
test eax, eax
jne 0x402350
mov edx, dword [ebp - 0x10]
test edx, edx
je 0x40263a
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + ebx*4]
cmp byte [eax + 1], 0x2d
je 0x40296b
mov dword [esp], str._s:_unrecognized_option___c_s_n
call sub.cygintl_3.dll_libintl_gettext
mov ebx, eax
call sub.cygwin1.dll___getreent
mov ecx, dword [ebp + 0x24]
mov edx, dword [ecx + 0x14]
mov dword [esp + 0x10], edx
mov edx, dword [ecx]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + edx*4]
movsx edx, byte [edx]
mov dword [esp + 0xc], edx
mov edx, dword [ecx]
mov dword [esp + 4], ebx
mov dword [esp + 8], edx
mov eax, dword [eax + 0xc]
mov dword [esp], eax
call sub.cygwin1.dll_fprintf
mov eax, dword [ebp + 0x24]
mov ebx, dword [eax]
mov edx, dword [ebp + 0x24]
mov dword [edx + 0x14], 0x40ca94
mov dword [edx + 8], 0
lea eax, [ebx + 1]
mov dword [edx], eax
mov eax, 0x3f
jmp 0x402067
mov ecx, dword [ebp + 0x24]
mov edx, dword [ecx]
cmp edx, dword [ebp + 8]
je 0x4027c2
mov ecx, dword [ebp + 0x24]
lea eax, [edx + 1]
mov dword [ecx], eax
mov ecx, dword [ebp + 0xc]
mov eax, dword [ecx + edx*4]
mov edx, dword [ebp + 0x24]
mov dword [edx + 0xc], eax
jmp 0x4023c5
mov dword [ebp - 0x18], esi
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x1c], 1
mov dword [ebp - 0x24], eax
jmp 0x402200
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x4026da
mov ecx, dword [ebp + 0x24]
mov eax, dword [ecx + 0x1c]
test eax, eax
je 0x402870
mov dword [esp], str._s:_illegal_option_____c_n
call sub.cygintl_3.dll_libintl_gettext
mov ebx, eax
call sub.cygwin1.dll___getreent
mov dword [esp + 0xc], esi
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx]
mov dword [esp + 4], ebx
mov dword [esp + 8], edx
mov eax, dword [eax + 0xc]
mov dword [esp], eax
call sub.cygwin1.dll_fprintf
mov eax, dword [ebp + 0x24]
mov dword [eax + 8], esi
mov eax, 0x3f
jmp 0x402067
mov ecx, dword [ebp + 0x24]
mov edx, dword [ecx]
cmp edx, dword [ebp + 8]
je 0x40287c
mov ecx, dword [ebp + 0x24]
lea eax, [edx + 1]
mov dword [ecx], eax
mov ecx, dword [ebp + 0xc]
mov eax, dword [ecx + edx*4]
mov edx, dword [ebp + 0x24]
mov dword [edx + 0xc], eax
jmp 0x40242c
mov ecx, dword [ebp + 0x24]
mov dword [ecx + 0xc], 0
jmp 0x40254a
mov esi, dword [ebp - 0x10]
test esi, esi
jne 0x4028cf
mov dword [esp], edi
call sub.cygwin1.dll_strlen
mov edx, dword [ebp + 0x24]
lea eax, [edi + eax]
mov ecx, dword [ebp - 0x18]
mov dword [edx + 0x14], eax
mov eax, dword [ecx + 0xc]
mov dword [edx + 8], eax
mov eax, dword [ebp + 0x10]
cmp byte [eax], 0x3a
setne al
movzx eax, al
lea eax, [eax + eax*4 + 0x3a]
jmp 0x402067
mov ecx, dword [ebp - 0x30]
cmp dword [ecx + 4], 1
jne 0x4024f7
mov eax, dword [ebp + 0x24]
mov edx, dword [eax]
cmp edx, dword [ebp + 8]
jge 0x4029d9
mov ecx, dword [ebp + 0x24]
lea eax, [edx + 1]
mov dword [ecx], eax
mov ecx, dword [ebp + 0xc]
mov eax, dword [ecx + edx*4]
jmp 0x4024f1
mov eax, dword [ebp - 0x10]
test eax, eax
jne 0x402912
mov dword [esp], edi
call sub.cygwin1.dll_strlen
mov edx, dword [ebp + 0x24]
lea eax, [edi + eax]
mov dword [edx + 0x14], eax
jmp 0x402644
mov dword [ebp - 0x30], ebx
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x3c], eax
jmp 0x4024a7
mov ecx, dword [ebp - 0x30]
mov eax, dword [ecx + 0xc]
jmp 0x402067
mov eax, dword [ebp - 0x10]
test eax, eax
jne 0x4029a5
mov eax, dword [ebp + 0x24]
mov edx, dword [ebp + 0x10]
mov dword [eax + 8], esi
movzx eax, byte [edx]
cmp al, 0x3a
setne al
movzx esi, al
lea esi, [esi + esi*4 + 0x3a]
jmp 0x4023c5
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x40284c
mov ecx, dword [ebp + 0xc]
mov eax, dword [ecx + edx*4 - 4]
cmp byte [eax + 1], 0x2d
je 0x402a65
mov dword [esp], str._s:_option___c_s_doesnt_allow_an_argument_n
call sub.cygintl_3.dll_libintl_gettext
mov ebx, eax
call sub.cygwin1.dll___getreent
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx]
mov dword [esp + 0x10], edx
mov ecx, dword [ebp + 0x24]
mov edx, dword [ecx]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + edx*4 - 4]
movsx edx, byte [edx]
mov dword [esp + 0xc], edx
mov edx, dword [ecx]
mov dword [esp + 4], ebx
mov dword [esp + 8], edx
mov eax, dword [eax + 0xc]
mov dword [esp], eax
call sub.cygwin1.dll_fprintf
mov eax, dword [ebp + 0x24]
mov edi, dword [eax + 0x14]
mov dword [esp], edi
call sub.cygwin1.dll_strlen
mov edx, dword [ebp + 0x24]
lea eax, [edi + eax]
mov ecx, dword [ebp - 0x18]
mov dword [edx + 0x14], eax
mov eax, dword [ecx + 0xc]
mov dword [edx + 8], eax
mov eax, 0x3f
jmp 0x402067
mov dword [esp], str._s:_invalid_option_____c_n
jmp 0x4026b2
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x4028b2
mov dword [esp], str._s:_option_requires_an_argument_____c_n
call sub.cygintl_3.dll_libintl_gettext
mov ebx, eax
call sub.cygwin1.dll___getreent
mov dword [esp + 0xc], esi
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx]
mov dword [esp + 4], ebx
mov dword [esp + 8], edx
mov eax, dword [eax + 0xc]
mov dword [esp], eax
call sub.cygwin1.dll_fprintf
mov eax, dword [ebp + 0x24]
mov edx, dword [ebp + 0x10]
mov dword [eax + 8], esi
cmp byte [edx], 0x3a
setne al
dec al
and al, 0xfb
add al, 0x3f
movsx eax, al
jmp 0x402067
mov dword [esp], str._s:_option___s_requires_an_argument_n
call sub.cygintl_3.dll_libintl_gettext
mov ebx, eax
call sub.cygwin1.dll___getreent
mov ecx, dword [ebp + 0x24]
mov edx, dword [ecx]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + edx*4 - 4]
mov dword [esp + 0xc], edx
mov edx, dword [ecx]
mov dword [esp + 4], ebx
mov dword [esp + 8], edx
mov eax, dword [eax + 0xc]
mov dword [esp], eax
call sub.cygwin1.dll_fprintf
mov eax, dword [ebp + 0x24]
mov edi, dword [eax + 0x14]
jmp 0x40272b
mov dword [esp], str._s:_option___s_is_ambiguous_n
call sub.cygintl_3.dll_libintl_gettext
mov ebx, eax
call sub.cygwin1.dll___getreent
mov ecx, dword [ebp + 0x24]
mov edx, dword [ecx]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + edx*4]
mov dword [esp + 0xc], edx
mov edx, dword [ecx]
mov dword [esp + 4], ebx
mov dword [esp + 8], edx
mov eax, dword [eax + 0xc]
mov dword [esp], eax
call sub.cygwin1.dll_fprintf
mov eax, dword [ebp + 0x24]
mov ebx, dword [eax]
mov edi, dword [eax + 0x14]
jmp 0x402793
mov dword [ebp - 0x30], ebx
mov ecx, dword [ebp - 0x40]
mov dword [ebp - 0x34], 1
mov dword [ebp - 0x3c], ecx
jmp 0x4024b3
mov dword [esp], str._s:_unrecognized_option_____s_n
call sub.cygintl_3.dll_libintl_gettext
mov ebx, eax
call sub.cygwin1.dll___getreent
mov ecx, dword [ebp + 0x24]
mov edx, dword [ecx + 0x14]
mov dword [esp + 0xc], edx
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx]
mov dword [esp + 4], ebx
mov dword [esp + 8], edx
mov eax, dword [eax + 0xc]
mov dword [esp], eax
call sub.cygwin1.dll_fprintf
jmp 0x402635
mov dword [esp], str._s:_option_requires_an_argument_____c_n
call sub.cygintl_3.dll_libintl_gettext
mov ebx, eax
call sub.cygwin1.dll___getreent
mov dword [esp + 0xc], esi
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx]
mov dword [esp + 4], ebx
mov dword [esp + 8], edx
mov eax, dword [eax + 0xc]
mov dword [esp], eax
call sub.cygwin1.dll_fprintf
jmp 0x4027cd
mov eax, dword [ebp - 0x10]
test eax, eax
jne 0x402ad9
mov eax, dword [ebp + 0x24]
mov ebx, dword [eax + 0x14]
mov dword [esp], ebx
call sub.cygwin1.dll_strlen
mov edx, dword [ebp + 0x24]
add ebx, eax
mov ecx, dword [ebp + 0x10]
mov dword [edx + 0x14], ebx
cmp byte [ecx], 0x3a
jmp 0x40274b
mov edx, dword [ebp - 0x10]
test edx, edx
je 0x402a43
mov dword [esp], str._s:_option___W__s_is_ambiguous_n
call sub.cygintl_3.dll_libintl_gettext
mov ebx, eax
call sub.cygwin1.dll___getreent
mov ecx, dword [ebp + 0x24]
mov edx, dword [ecx]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + edx*4]
mov dword [esp + 0xc], edx
mov edx, dword [ecx]
mov dword [esp + 4], ebx
mov dword [esp + 8], edx
mov eax, dword [eax + 0xc]
mov dword [esp], eax
call sub.cygwin1.dll_fprintf
mov eax, dword [ebp + 0x24]
mov ebx, dword [eax + 0x14]
mov dword [esp], ebx
call sub.cygwin1.dll_strlen
mov edx, dword [ebp + 0x24]
add ebx, eax
mov eax, 0x3f
inc dword [edx]
mov dword [edx + 0x14], ebx
jmp 0x402067
mov dword [esp], str._s:_option_____s_doesnt_allow_an_argument_n
call sub.cygintl_3.dll_libintl_gettext
mov ebx, eax
call sub.cygwin1.dll___getreent
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx]
mov dword [esp + 0xc], edx
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx]
mov dword [esp + 4], ebx
mov dword [esp + 8], edx
mov eax, dword [eax + 0xc]
mov dword [esp], eax
call sub.cygwin1.dll_fprintf
jmp 0x402846
mov eax, dword [ebp - 0x10]
test eax, eax
jne 0x402b16
mov eax, dword [ebp + 0x24]
mov ebx, dword [eax + 0x14]
mov dword [esp], ebx
call sub.cygwin1.dll_strlen
mov edx, dword [ebp + 0x24]
add ebx, eax
mov eax, 0x3f
mov dword [edx + 0x14], ebx
jmp 0x402067
mov eax, dword [ebp + 0x24]
mov dword [eax + 0x14], 0
mov eax, 0x57
jmp 0x402067
mov dword [esp], str._s:_option___s_requires_an_argument_n
call sub.cygintl_3.dll_libintl_gettext
mov ebx, eax
call sub.cygwin1.dll___getreent
mov ecx, dword [ebp + 0x24]
mov edx, dword [ecx]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + edx*4 - 4]
mov dword [esp + 0xc], edx
mov edx, dword [ecx]
mov dword [esp + 4], ebx
mov dword [esp + 8], edx
mov eax, dword [eax + 0xc]
mov dword [esp], eax
call sub.cygwin1.dll_fprintf
jmp 0x4029e4
mov dword [esp], str._s:_option___W__s_doesnt_allow_an_argument_n
call sub.cygintl_3.dll_libintl_gettext
mov ebx, eax
call sub.cygwin1.dll___getreent
mov ecx, dword [ebp - 0x30]
mov edx, dword [ecx]
mov dword [esp + 0xc], edx
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx]
mov dword [esp + 4], ebx
mov dword [esp + 8], edx
mov eax, dword [eax + 0xc]
mov dword [esp], eax
call sub.cygwin1.dll_fprintf
jmp 0x402aa5