Function at 0x40f9c0
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0xfc
test ecx, ecx
mov dword [ebp - 0xc0], eax
mov dword [ebp - 0xc4], edx
mov dword [ebp - 0xc8], ecx
je 0x410047
mov dword [esp], ecx
call sub.cygwin1.dll_flockfile
mov eax, dword [0x415104]
test eax, eax
je 0x4105b9
mov eax, dword [0x415100]
mov edx, dword [ebp - 0xc8]
mov dword [esp + 0xc], 0
mov dword [esp + 4], 0
mov dword [esp + 8], eax
mov dword [esp], edx
call fcn.004119c0
test eax, eax
mov dword [ebp - 0xe8], eax
je 0x410e07
test byte [ebp + 8], 0xb
mov dword [ebp - 0xbc], 0
jne 0x41025f
xor ebx, ebx
test byte [ebp + 8], 3
jne 0x4100a1
test byte [ebp + 8], 0x10
jne 0x41041d
test byte [ebp + 8], 4
nop
jne 0x4103e8
test byte [ebp + 8], 8
je 0x410006
mov eax, dword [ebp - 0xbc]
mov edi, dword [eax + 4]
test edi, edi
je 0x410006
test ebx, ebx
je 0x40faa6
mov edx, dword [ebp - 0xe8]
mov eax, dword [edx + 0x1c]
cmp eax, dword [edx + 0x20]
jae 0x410e7c
mov byte [eax], 0xa
mov ebx, dword [ebp - 0xe8]
add eax, 1
mov dword [ebx + 0x1c], eax
mov eax, dword [ebp - 0xbc]
mov edi, dword [ebp - 0xbc]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov eax, dword [eax + 4]
mov dword [ebp - 0x1c], 0
mov edi, dword [edi]
test eax, eax
mov dword [ebp - 0xa0], edi
mov dword [ebp - 0x9c], eax
je 0x410d20
mov ecx, dword [ebp - 0xa0]
mov edi, dword [ebp - 0xe8]
mov edx, dword [ebp - 0xa0]
mov ecx, dword [ecx + 8]
mov ebx, dword [edi + 0x18]
mov edx, dword [edx]
mov dword [ebp - 0x88], ecx
mov ecx, dword [edi + 0x1c]
mov dword [ebp - 0x84], edx
mov eax, ecx
sub eax, ebx
cmp eax, dword [edi + 0x10]
ja 0x410b92
mov eax, dword [ebp - 0xe8]
mov edx, dword [ebp - 0xe8]
mov eax, dword [eax + 4]
mov edi, dword [edx + 0xc]
mov dword [edx + 4], 0
mov dword [ebp - 0x24], 1
mov dword [ebp - 0x98], eax
mov eax, dword [ebp - 0xa0]
mov dword [ebp - 0x90], edi
mov edi, dword [ebp - 0xc4]
mov dword [ebp - 0x2c], edx
lea edx, [ebp - 0x1c]
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x84]
mov dword [ebp - 0x20], edi
test byte [eax + 0xc], 8
jne 0x40fb90
mov edi, dword [ebp - 0xa0]
mov edx, dword [edi + 4]
test edx, edx
jne 0x40fb7b
jmp 0x40fb90
add eax, 0x18
mov esi, dword [eax]
test esi, esi
je 0x40fb8b
test byte [eax + 0xc], 2
je 0x410ba5
sub edx, 1
jne 0x40fb78
mov dword [ebp - 0x8c], 0
mov eax, dword [ebp - 0xe8]
sub ecx, ebx
mov esi, dword [0x4150e8]
cmp ecx, dword [eax + 0x10]
ja 0x410b85
mov edx, dword [ebp - 0xe8]
mov ecx, dword [ebp - 0xa0]
mov dword [edx + 0xc], esi
mov esi, dword [ecx + 4]
test esi, esi
je 0x40fc08
mov ebx, dword [ebp - 0x84]
jmp 0x40fbd8
sub esi, 1
je 0x40fc08
add ebx, 0x18
mov dword [esp], ebx
call fcn.0040df80
test eax, eax
je 0x40fbd0
mov edi, dword [ebp - 0x88]
movsx eax, byte [edi]
cmp dword [ebx + 4], eax
jne 0x40fbd0
test byte [ebx + 0xc], 2
je 0x410a50
add dword [ebp - 0x88], 1
sub esi, 1
jne 0x40fbd5
mov ebx, dword [ebp - 0x84]
test byte [ebx + 0xc], 8
je 0x410980
mov edi, dword [ebp - 0xe8]
mov ebx, dword [0x4150f0]
mov eax, dword [edi + 0x1c]
sub eax, dword [edi + 0x18]
cmp eax, dword [edi + 0x10]
ja 0x410c14
mov eax, dword [ebp - 0xe8]
mov edx, dword [ebp - 0xa0]
mov dword [eax + 0xc], ebx
mov esi, dword [edx + 4]
test esi, esi
je 0x40fcf1
mov ebx, dword [ebp - 0x84]
jmp 0x40fc61
sub esi, 1
je 0x40fcf1
add ebx, 0x18
mov eax, dword [ebx]
test eax, eax
je 0x40fc55
cmp byte [eax], 0
je 0x40fc55
test byte [ebx + 0xc], 2
jne 0x40fc55
mov eax, dword [0x4150f0]
lea edx, [ebp - 0x30]
call fcn.0040f400
mov ecx, dword [ebx]
mov dword [ebp - 0x7c], ecx
mov dword [esp], ecx
call sub.cygwin1.dll_strlen
test eax, eax
mov dword [ebp - 0xd8], eax
je 0x40fc55
mov edi, dword [ebp - 0xe8]
mov edx, dword [edi + 0x1c]
lea eax, [edx + eax]
cmp dword [edi + 0x20], eax
jae 0x40fcc0
mov eax, dword [ebp - 0xd8]
mov dword [esp], edi
mov dword [esp + 4], eax
call fcn.004117f0
test eax, eax
je 0x40fc55
mov edx, dword [edi + 0x1c]
mov ecx, dword [ebp - 0xd8]
mov edi, dword [ebp - 0x7c]
mov dword [esp], edx
mov dword [esp + 8], ecx
mov dword [esp + 4], edi
call sub.cygwin1.dll_memcpy
mov eax, dword [ebp - 0xe8]
mov edx, dword [ebp - 0xd8]
add dword [eax + 0x1c], edx
sub esi, 1
jne 0x40fc5e
mov edx, dword [ebp - 0xe8]
mov eax, dword [edx + 0x1c]
sub eax, dword [edx + 0x18]
cmp eax, dword [edx + 0x10]
ja 0x410b60
mov ecx, dword [ebp - 0xe8]
mov dword [ecx + 4], 0
mov ebx, dword [ebp - 0x24]
test ebx, ebx
jne 0x410b20
mov edx, dword [ebp - 0xa0]
mov eax, dword [ebp - 0x84]
mov ebx, dword [ebp - 0x84]
mov edi, dword [ebp - 0xc4]
mov ecx, dword [edx + 0x14]
mov eax, dword [eax + 0x10]
mov edx, dword [ebx + 4]
mov dword [esp], edi
mov dword [ebp - 0x64], eax
call fcn.0040f030
test eax, eax
mov dword [ebp - 0x94], eax
je 0x40fe67
cmp byte [eax], 0
je 0x40fe54
mov eax, dword [ebp - 0xe8]
mov edx, dword [ebp - 0xe8]
mov ecx, dword [eax + 0x1c]
mov ebx, dword [eax + 0x18]
mov eax, ecx
sub eax, ebx
cmp eax, dword [edx + 0x10]
ja 0x410cd6
mov edi, dword [ebp - 0xe8]
xor esi, esi
mov eax, dword [edi + 0x14]
test eax, eax
mov eax, dword [0x4150f4]
cmovns esi, dword [edi + 0x14]
mov dword [ebp - 0x80], eax
mov eax, dword [ebp - 0xe8]
sub ecx, ebx
mov edx, dword [ebp - 0x80]
cmp ecx, dword [eax + 0x10]
mov dword [eax + 4], edx
mov edi, dword [0x4150f4]
mov dword [ebp - 0x60], edi
ja 0x410cc9
mov edx, dword [ebp - 0x60]
mov eax, dword [ebp - 0xe8]
mov dword [eax + 0xc], edx
mov edx, dword [0x4150f4]
lea eax, [edx + 3]
cmp esi, eax
jbe 0x410c71
mov ebx, dword [ebp - 0xe8]
mov ecx, dword [ebx + 0x1c]
cmp ecx, dword [ebx + 0x20]
jae 0x410d81
mov byte [ecx], 0xa
mov edi, dword [ebp - 0xe8]
lea eax, [ecx + 1]
mov dword [edi + 0x1c], eax
mov eax, dword [ebp - 0x94]
mov dword [esp], eax
call sub.cygwin1.dll_strlen
test eax, eax
mov ebx, eax
je 0x40fe54
mov ecx, dword [ebp - 0xe8]
mov edx, dword [ecx + 0x1c]
lea eax, [edx + eax]
cmp dword [ecx + 0x20], eax
jae 0x40fe35
mov dword [esp + 4], ebx
mov dword [esp], ecx
call fcn.004117f0
test eax, eax
je 0x40fe54
mov edi, dword [ebp - 0xe8]
mov edx, dword [edi + 0x1c]
mov eax, dword [ebp - 0x94]
mov dword [esp], edx
mov dword [esp + 8], ebx
mov dword [esp + 4], eax
call sub.cygwin1.dll_memcpy
mov edx, dword [ebp - 0xe8]
add dword [edx + 0x1c], ebx
mov ecx, dword [ebp - 0x94]
cmp dword [ebp - 0x64], ecx
je 0x40fe67
mov dword [esp], ecx
call sub.cygwin1.dll_free
mov ebx, dword [ebp - 0xe8]
mov ecx, dword [ebx + 0x1c]
mov eax, ecx
sub eax, dword [ebx + 0x18]
cmp eax, dword [ebx + 0x10]
ja 0x410bd4
mov edi, dword [ebp - 0xe8]
mov eax, ecx
cmp ecx, dword [edi + 0x20]
mov dword [edi + 4], 0
jae 0x410bb4
mov byte [eax], 0xa
mov edx, dword [ebp - 0xe8]
add eax, 1
mov dword [edx + 0x1c], eax
mov ecx, dword [ebp - 0xa0]
mov dword [ebp - 0x1c], ecx
mov edi, dword [ebp - 0xe8]
mov ecx, dword [edi + 0x1c]
mov ebx, dword [edi + 0x18]
mov eax, ecx
sub eax, ebx
cmp eax, dword [edi + 0x10]
ja 0x410b70
mov eax, dword [ebp - 0xe8]
sub ecx, ebx
mov edx, dword [ebp - 0x98]
cmp ecx, dword [eax + 0x10]
mov dword [eax + 4], edx
jbe 0x40fee5
mov dword [esp], eax
call fcn.004112f0
mov ebx, dword [ebp - 0x90]
mov ecx, dword [ebp - 0xe8]
sub dword [ebp - 0x9c], 1
mov dword [ecx + 0xc], ebx
je 0x40ff09
add dword [ebp - 0xa0], 0x1c
jmp 0x40fae0
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x410d20
mov eax, dword [0x4150e4]
test eax, eax
je 0x410d20
mov eax, dword [ebp - 0xc4]
xor ecx, ecx
test eax, eax
je 0x40ff35
mov edi, dword [ebp - 0xc4]
mov ecx, dword [edi]
mov eax, dword [ebp - 0xc4]
mov edx, 0x2000005
mov dword [esp], eax
mov eax, str.Mandatory_or_optional_arguments_to_long_options_are_also_mandatory_or_optional_for_any_corresponding_short_options.
call fcn.0040f030
test eax, eax
mov esi, eax
je 0x410d20
cmp byte [eax], 0
je 0x40ffed
mov edx, dword [ebp - 0xe8]
mov eax, dword [edx + 0x1c]
cmp eax, dword [edx + 0x20]
jae 0x410ec8
mov byte [eax], 0xa
mov ebx, dword [ebp - 0xe8]
add eax, 1
mov dword [ebx + 0x1c], eax
mov dword [esp], esi
call sub.cygwin1.dll_strlen
test eax, eax
mov ebx, eax
je 0x40ffcc
mov edi, dword [ebp - 0xe8]
mov edx, dword [edi + 0x1c]
lea eax, [edx + eax]
cmp dword [edi + 0x20], eax
jae 0x40ffb3
mov dword [esp + 4], ebx
mov dword [esp], edi
call fcn.004117f0
test eax, eax
je 0x40ffcc
mov edx, dword [edi + 0x1c]
mov dword [esp + 8], ebx
mov dword [esp + 4], esi
mov dword [esp], edx
call sub.cygwin1.dll_memcpy
mov eax, dword [ebp - 0xe8]
add dword [eax + 0x1c], ebx
mov edx, dword [ebp - 0xe8]
mov eax, dword [edx + 0x1c]
cmp eax, dword [edx + 0x20]
jae 0x410ea2
mov byte [eax], 0xa
mov ebx, dword [ebp - 0xe8]
add eax, 1
mov dword [ebx + 0x1c], eax
cmp esi, str.Mandatory_or_optional_arguments_to_long_options_are_also_mandatory_or_optional_for_any_corresponding_short_options.
je 0x410d20
mov dword [esp], esi
mov ebx, 1
call sub.cygwin1.dll_free
test byte [ebp + 8], 0x20
jne 0x410457
test byte [ebp + 8], 0x40
jne 0x41004f
mov eax, dword [ebp - 0xc8]
mov dword [esp], eax
call sub.cygwin1.dll_funlockfile
mov eax, dword [ebp - 0xbc]
test eax, eax
je 0x410039
mov eax, dword [ebp - 0xbc]
call fcn.0040e4b0
mov edx, dword [ebp - 0xe8]
mov dword [esp], edx
call fcn.00411970
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [0x419290]
test eax, eax
je 0x410016
test ebx, ebx
je 0x41007d
mov edx, dword [ebp - 0xe8]
mov eax, dword [edx + 0x1c]
cmp eax, dword [edx + 0x20]
jae 0x410e1a
mov byte [eax], 0xa
mov ebx, dword [ebp - 0xe8]
add eax, 1
mov dword [ebx + 0x1c], eax
mov edi, dword [ebp - 0xe8]
mov eax, dword [0x419290]
mov dword [esp + 4], str.Report_bugs_to__s._n
mov dword [esp], edi
mov dword [esp + 8], eax
call fcn.004118f0
jmp 0x410016
mov eax, dword [ebp - 0xc0]
call fcn.0040ee20
lea edx, [eax + 0x1e]
mov ecx, eax
and edx, 0xfffffff0
mov eax, edx
call fcn.00412940
mov esi, 1
lea edx, [esp + 0x27]
and edx, 0xfffffff0
mov dword [ebp - 0xd4], edx
mov dword [esp + 8], ecx
mov dword [esp + 4], 0
mov dword [esp], edx
call sub.cygwin1.dll_memset
mov ecx, dword [ebp - 0xe8]
mov ebx, dword [0x4150fc]
mov eax, dword [ecx + 0x1c]
sub eax, dword [ecx + 0x18]
cmp eax, dword [ecx + 0x10]
ja 0x410580
mov edi, dword [ebp - 0xe8]
test esi, esi
mov eax, dword [ebp - 0xe8]
mov edx, dword [ebp - 0xd4]
mov edi, dword [edi + 0xc]
mov dword [eax + 0xc], ebx
mov dword [ebp - 0x10], edx
mov dword [ebp - 0xac], edi
je 0x410493
mov ecx, dword [ebp + 0xc]
mov dword [esp + 8], str.Usage:
mov dword [esp + 4], str._s__s
mov dword [esp], eax
mov dword [esp + 0xc], ecx
call fcn.004118f0
mov edx, dword [ebp - 0xe8]
mov ebx, dword [0x4150fc]
mov eax, dword [edx + 0x1c]
sub eax, dword [edx + 0x18]
cmp eax, dword [edx + 0x10]
ja 0x410570
mov ecx, dword [ebp - 0xe8]
test byte [ebp + 8], 2
mov esi, dword [ecx + 4]
mov dword [ecx + 4], ebx
je 0x410553
mov ebx, dword [ebp - 0xbc]
mov eax, dword [ebx + 4]
test eax, eax
je 0x4101b0
mov edx, dword [ecx + 0x1c]
lea eax, [edx + 0xc]
cmp dword [ecx + 0x20], eax
jae 0x410596
mov dword [esp + 4], 0xc
mov dword [esp], ecx
call fcn.004117f0
test eax, eax
jne 0x41058d
lea esi, [esi]
mov edx, dword [ebp - 0xe8]
lea ecx, [ebp - 0x10]
mov eax, dword [ebp - 0xc0]
mov dword [esp], 1
mov dword [esp + 4], edx
mov edx, dword [ebp - 0xc4]
call fcn.0040f080
mov ecx, dword [ebp - 0xe8]
mov ebx, dword [ecx + 0x18]
mov edi, ecx
mov ecx, dword [ecx + 0x1c]
mov dword [ebp - 0xb8], eax
mov eax, ecx
sub eax, ebx
cmp eax, dword [edi + 0x10]
ja 0x410540
mov eax, dword [ebp - 0xe8]
mov edx, dword [ebp - 0xac]
mov dword [eax + 0xc], edx
mov eax, ecx
sub eax, ebx
mov ebx, dword [ebp - 0xe8]
cmp eax, dword [ebx + 0x10]
ja 0x410500
mov edi, dword [ebp - 0xe8]
mov eax, ecx
cmp ecx, dword [edi + 0x20]
mov dword [edi + 4], esi
jae 0x41051f
mov byte [eax], 0xa
mov edx, dword [ebp - 0xe8]
add eax, 1
mov dword [edx + 0x1c], eax
mov eax, dword [ebp - 0xb8]
xor esi, esi
test eax, eax
jne 0x4100e1
test byte [ebp + 8], 0x10
mov ebx, 1
je 0x40fa5a
jmp 0x41041d
mov eax, dword [ebp - 0xc0]
xor edx, edx
call fcn.0040e500
mov ebx, dword [eax]
mov dword [ebp - 0xbc], eax
mov eax, dword [eax + 4]
mov dword [ebp - 0xdc], ebx
test eax, eax
mov dword [ebp - 0x78], ebx
je 0x40fa44
sub eax, 1
mov dword [ebp - 0x74], eax
mov dword [ebp - 0xb0], ebx
mov dword [ebp - 0xb4], eax
mov eax, dword [ebp - 0xb0]
mov edx, dword [ebp - 0xb0]
mov eax, dword [eax]
mov dword [ebp - 0xe4], eax
mov eax, dword [edx + 4]
test eax, eax
je 0x4104c0
lea ebx, [eax - 1]
jmp 0x4102d2
test ebx, ebx
je 0x4104c0
add dword [ebp - 0xe4], 0x18
sub ebx, 1
mov ecx, dword [ebp - 0xe4]
mov esi, dword [ecx]
test esi, esi
je 0x4102c0
test byte [ecx + 0xc], 2
jne 0x4102c0
mov edi, str.help
mov ecx, 5
repe cmpsb byte [esi], byte es:[edi]
jne 0x4102c0
mov eax, dword [ebp - 0xb0]
test eax, eax
je 0x410329
mov eax, dword [ebp - 0xb0]
mov ecx, dword [ebp - 0xbc]
mov edx, dword [ebp - 0xdc]
mov dword [eax + 0xc], 0xffffffff
mov eax, dword [ecx + 4]
mov dword [ebp - 0x78], edx
test eax, eax
je 0x40fa44
sub eax, 1
mov dword [ebp - 0x74], eax
mov edi, dword [ebp - 0x78]
mov ebx, dword [ebp - 0x78]
mov eax, dword [edi + 4]
mov ebx, dword [ebx]
test eax, eax
mov dword [ebp - 0xe4], ebx
je 0x4104e1
lea ebx, [eax - 1]
jmp 0x410359
test ebx, ebx
je 0x4104e1
add dword [ebp - 0xe4], 0x18
sub ebx, 1
mov eax, dword [ebp - 0xe4]
mov esi, dword [eax]
test esi, esi
je 0x410347
test byte [eax + 0xc], 2
jne 0x410347
mov edi, str.version
mov ecx, 8
repe cmpsb byte [esi], byte es:[edi]
jne 0x410347
mov eax, dword [ebp - 0x78]
test eax, eax
je 0x41039b
mov eax, dword [ebp - 0x78]
mov edx, dword [ebp - 0xbc]
mov dword [eax + 0xc], 0xffffffff
mov eax, dword [edx + 4]
test eax, eax
je 0x40fa44
mov edx, dword [ebp - 0xdc]
xor eax, eax
mov ebx, dword [ebp - 0xbc]
mov dword [edx + 0x18], eax
add eax, 1
add edx, 0x1c
mov ecx, dword [ebx + 4]
cmp eax, ecx
jb 0x4103a3
mov dword [esp + 0xc], 0x40ea70
mov dword [esp + 8], 0x1c
mov dword [esp + 4], ecx
mov eax, dword [ebx]
xor ebx, ebx
mov dword [esp], eax
call sub.cygwin1.dll_qsort
test byte [ebp + 8], 3
je 0x40fa50
jmp 0x4100a1
mov ebx, dword [ebp + 0xc]
mov edi, dword [ebp - 0xe8]
mov dword [esp + 4], str.Try___s___help_or___s___usage_for_more_information._n
mov dword [esp + 0xc], ebx
mov dword [esp + 8], ebx
mov ebx, 1
mov dword [esp], edi
call fcn.004118f0
test byte [ebp + 8], 8
je 0x410006
jmp 0x40fa70
mov ecx, dword [ebp - 0xe8]
mov edx, dword [ebp - 0xc4]
mov eax, dword [ebp - 0xc0]
mov dword [esp + 4], 1
mov dword [esp + 8], ecx
xor ecx, ecx
mov dword [esp], 0
call fcn.0040f560
or ebx, eax
test byte [ebp + 8], 4
je 0x40fa66
jmp 0x4103e8
mov edi, dword [ebp - 0xe8]
mov ecx, 1
mov edx, dword [ebp - 0xc4]
mov eax, dword [ebp - 0xc0]
mov dword [esp], ebx
mov dword [esp + 8], edi
mov dword [esp + 4], 0
call fcn.0040f560
or ebx, eax
test byte [ebp + 8], 0x40
je 0x410016
jmp 0x41004f
mov ebx, dword [ebp + 0xc]
mov edi, dword [ebp - 0xe8]
mov dword [esp + 8], str.__or:
mov dword [esp + 4], str._s__s
mov dword [esp + 0xc], ebx
mov dword [esp], edi
call fcn.004118f0
jmp 0x410144
mov edx, dword [ebp - 0xb4]
test edx, edx
je 0x410329
add dword [ebp - 0xb0], 0x1c
sub dword [ebp - 0xb4], 1
jmp 0x41029a
mov eax, dword [ebp - 0x74]
test eax, eax
je 0x41039b
add dword [ebp - 0x78], 0x1c
sub dword [ebp - 0x74], 1
jmp 0x410329
mov dword [esp], ebx
call fcn.004112f0
mov edi, dword [ebp - 0xe8]
mov ecx, dword [ebx + 0x1c]
cmp ecx, dword [edi + 0x20]
mov dword [edi + 4], esi
mov eax, ecx
jb 0x41022c
mov dword [esp + 4], 1
mov dword [esp], edi
call fcn.004117f0
test eax, eax
je 0x41023b
mov eax, dword [edi + 0x1c]
jmp 0x41022c
mov dword [esp], edi
call fcn.004112f0
mov ebx, dword [edi + 0x18]
mov ecx, dword [edi + 0x1c]
jmp 0x4101f6
mov edx, dword [ebp - 0xe8]
mov eax, dword [ebp - 0xbc]
call fcn.0040e320
or dword [ebp + 8], 2
jmp 0x4101b0
mov dword [esp], edx
call fcn.004112f0
jmp 0x41015f
mov dword [esp], ecx
call fcn.004112f0
jmp 0x4100fc
mov edi, dword [ebp - 0xe8]
mov edx, dword [edi + 0x1c]
mov dword [edx], 0x504f5b20
mov dword [edx + 4], 0x4e4f4954
mov dword [edx + 8], 0x5d2e2e2e
mov eax, dword [ebp - 0xe8]
add dword [eax + 0x1c], 0xc
jmp 0x4101b0
mov dword [esp], str.ARGP_HELP_FMT
call sub.cygwin1.dll_getenv
mov edx, eax
mov eax, dword [0x4150e0]
test edx, edx
mov dword [ebp - 0x58], eax
mov eax, dword [0x4150e4]
mov dword [ebp - 0x54], eax
mov eax, dword [0x4150e8]
mov dword [ebp - 0x50], eax
mov eax, dword [0x4150ec]
mov dword [ebp - 0x4c], eax
mov eax, dword [0x4150f0]
mov dword [ebp - 0x48], eax
mov eax, dword [0x4150f4]
mov dword [ebp - 0x44], eax
mov eax, dword [0x4150f8]
mov dword [ebp - 0x40], eax
mov eax, dword [0x4150fc]
mov dword [ebp - 0x3c], eax
mov eax, dword [0x415100]
mov dword [ebp - 0x38], eax
mov eax, dword [0x415104]
mov dword [ebp - 0x34], eax
je 0x40f9fb
movzx eax, byte [edx]
mov esi, edx
mov byte [ebp - 0xdd], al
cmp byte [ebp - 0xdd], 0
je 0x41069a
mov edi, dword [sym.imp.cygwin1.dll___ctype_ptr__]
movzx eax, byte [ebp - 0xdd]
mov ebx, dword [edi]
movsx eax, byte [ebx + eax + 1]
test al, 8
je 0x410668
nop
lea esi, [esi]
add esi, 1
movzx edx, byte [esi]
movzx eax, dl
mov byte [ebp - 0xdd], dl
movsx eax, byte [ebx + eax + 1]
test al, 8
jne 0x410650
test al, 3
mov edx, esi
mov dword [ebp - 0x6c], esi
jne 0x41072b
cmp byte [ebp - 0xdd], 0
jne 0x410da1
mov edx, dword [ebp - 0x6c]
movzx edx, byte [edx]
mov byte [ebp - 0xdd], dl
cmp byte [ebp - 0xdd], 0
mov esi, dword [ebp - 0x6c]
jne 0x410633
mov ecx, dword [str.dup_args]
test ecx, ecx
je 0x4106d1
mov ebx, dword [ebp - 0x38]
mov eax, 0x417440
lea esi, [ebp - 0x58]
nop
mov edi, dword [eax + 4]
test edi, edi
jne 0x4106c8
mov edx, dword [eax + 8]
cmp edx, 0x20
je 0x4106c8
cmp dword [esi + edx], ebx
jge 0x410dd0
add eax, 0xc
mov ecx, dword [eax]
test ecx, ecx
jne 0x4106b0
mov eax, dword [ebp - 0x58]
mov dword [0x415104], 1
mov dword [0x4150e0], eax
mov eax, dword [ebp - 0x54]
mov dword [0x4150e4], eax
mov eax, dword [ebp - 0x50]
mov dword [0x4150e8], eax
mov eax, dword [ebp - 0x4c]
mov dword [0x4150ec], eax
mov eax, dword [ebp - 0x48]
mov dword [0x4150f0], eax
mov eax, dword [ebp - 0x44]
mov dword [0x4150f4], eax
mov eax, dword [ebp - 0x40]
mov dword [0x4150f8], eax
mov eax, dword [ebp - 0x3c]
mov dword [0x4150fc], eax
mov eax, dword [ebp - 0x38]
mov dword [0x415100], eax
jmp 0x40f9fb
add edx, 1
movzx ecx, byte [edx]
movzx eax, cl
movsx eax, byte [ebx + eax + 1]
test al, 7
jne 0x410728
cmp cl, 0x2d
je 0x410728
cmp cl, 0x5f
je 0x410728
mov edi, edx
sub edi, esi
test al, 8
mov dword [ebp - 0xa4], edi
je 0x410762
add edx, 1
movzx ecx, byte [edx]
movzx eax, cl
test byte [ebx + eax + 1], 8
jne 0x410752
test cl, cl
mov dword [ebp - 0x70], edx
je 0x410850
cmp cl, 0x2c
je 0x410850
cmp cl, 0x3d
je 0x4108cf
mov ecx, dword [ebp - 0x70]
movzx eax, byte [ecx]
movsx eax, byte [ebx + eax + 1]
xor edi, edi
test al, 4
mov dword [ebp - 0xa8], 0
jne 0x410871
mov ebx, dword [str.dup_args]
test ebx, ebx
je 0x410d35
mov esi, 0x417440
jmp 0x4107c0
add esi, 0xc
mov ebx, dword [esi]
test ebx, ebx
je 0x410d35
mov dword [esp], ebx
call sub.cygwin1.dll_strlen
cmp eax, dword [ebp - 0xa4]
jne 0x4107b3
mov eax, dword [ebp - 0xa4]
mov edx, dword [ebp - 0x6c]
mov dword [esp + 4], ebx
mov dword [esp + 8], eax
mov dword [esp], edx
call sub.cygwin1.dll_strncmp
test eax, eax
jne 0x4107b3
test edi, edi
jne 0x410937
mov eax, dword [ebp - 0xa8]
test eax, eax
js 0x410e40
mov eax, dword [esi + 8]
mov ebx, dword [ebp - 0xa8]
mov dword [ebp + eax - 0x58], ebx
mov eax, dword [esi]
test eax, eax
je 0x410d35
mov ecx, dword [ebp - 0x70]
mov ebx, dword [ebp - 0x70]
movzx ecx, byte [ecx]
mov dword [ebp - 0x6c], ebx
cmp cl, 0x2c
mov byte [ebp - 0xdd], cl
jne 0x41068e
add ebx, 1
mov dword [ebp - 0x6c], ebx
movzx eax, byte [ebx]
mov byte [ebp - 0xdd], al
jmp 0x41068e
cmp byte [ebp - 0xdd], 0x6e
je 0x4108fd
mov dword [ebp - 0xa8], 1
mov edi, 1
jmp 0x41079e
mov ecx, dword [ebp - 0x70]
mov dword [esp], ecx
call sub.cygwin1.dll_atoi
mov ebx, dword [sym.imp.cygwin1.dll___ctype_ptr__]
mov edi, dword [ebp - 0x70]
mov edx, dword [ebx]
mov dword [ebp - 0xa8], eax
movzx eax, byte [edi]
movsx eax, byte [edx + eax + 1]
test al, 4
je 0x4108b3
lea esi, [esi]
add dword [ebp - 0x70], 1
mov ecx, dword [ebp - 0x70]
movzx eax, byte [ecx]
movsx eax, byte [edx + eax + 1]
test al, 4
jne 0x4108a0
test al, 8
je 0x4108c8
add dword [ebp - 0x70], 1
mov ebx, dword [ebp - 0x70]
movzx eax, byte [ebx]
test byte [edx + eax + 1], 8
jne 0x4108b7
xor edi, edi
jmp 0x41079e
add edx, 1
mov dword [ebp - 0x70], edx
movzx eax, byte [edx]
movsx eax, byte [ebx + eax + 1]
test al, 8
je 0x41078a
add dword [ebp - 0x70], 1
mov edx, dword [ebp - 0x70]
movzx eax, byte [edx]
movsx eax, byte [ebx + eax + 1]
test al, 8
jne 0x4108e5
jmp 0x41078a
cmp byte [esi + 1], 0x6f
jne 0x41085d
cmp byte [esi + 2], 0x2d
nop
lea esi, [esi]
jne 0x41085d
add esi, 3
mov edi, 1
mov dword [ebp - 0x6c], esi
sub dword [ebp - 0xa4], 3
mov dword [ebp - 0xa8], 0
jmp 0x41079e
mov eax, dword [esi + 4]
test eax, eax
jne 0x4107f5
mov ecx, dword [ebp - 0x6c]
mov ebx, dword [ebp - 0xa4]
mov edi, dword [ebp - 0xc4]
mov dword [esp + 0xc], str._.s:_ARGP_HELP_FMT_parameter_requires_a_value
mov dword [esp + 0x14], ecx
mov dword [esp + 0x10], ebx
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp], edi
call fcn.0040e060
jmp 0x41081a
mov ecx, dword [ebp - 0xe8]
mov ebx, dword [0x4150ec]
mov eax, dword [ecx + 0x1c]
sub eax, dword [ecx + 0x18]
cmp eax, dword [ecx + 0x10]
ja 0x410be5
mov edi, dword [ebp - 0xe8]
mov eax, dword [ebp - 0xa0]
mov dword [edi + 0xc], ebx
mov esi, dword [eax + 4]
test esi, esi
je 0x40fcf1
mov ebx, dword [ebp - 0x84]
jmp 0x4109cc
sub esi, 1
je 0x40fcf1
add ebx, 0x18
mov edi, dword [ebx]
test edi, edi
je 0x4109c0
test byte [ebx + 0xc], 2
jne 0x4109c0
mov eax, dword [0x4150ec]
lea edx, [ebp - 0x30]
call fcn.0040f400
mov eax, dword [ebx]
mov edx, dword [ebp - 0xe8]
mov dword [esp + 4], str.___s
mov dword [esp + 8], eax
mov dword [esp], edx
call fcn.004118f0
mov ecx, dword [ebp - 0x84]
mov eax, dword [ecx + 8]
test eax, eax
je 0x4109c0
test byte [ecx + 0xc], 1
je 0x410a30
mov edi, dword [ebp - 0xe8]
mov dword [esp + 8], eax
mov dword [esp + 4], str.__s_
mov dword [esp], edi
call fcn.004118f0
jmp 0x4109c0
mov dword [esp + 8], eax
mov eax, dword [ebp - 0xe8]
mov dword [esp + 4], 0x417343
mov dword [esp], eax
call fcn.004118f0
jmp 0x4109c0
mov eax, dword [0x4150e8]
lea edx, [ebp - 0x30]
call fcn.0040f400
mov edx, dword [ebp - 0xe8]
mov eax, dword [edx + 0x1c]
cmp eax, dword [edx + 0x20]
jae 0x410c25
mov byte [eax], 0x2d
mov edi, dword [ebp - 0xe8]
add eax, 1
mov dword [edi + 0x1c], eax
mov eax, dword [ebp - 0x88]
mov edx, dword [ebp - 0xe8]
movzx eax, byte [eax]
mov byte [ebp - 0x65], al
mov eax, dword [edx + 0x1c]
cmp eax, dword [edx + 0x20]
jae 0x410c4b
movzx edx, byte [ebp - 0x65]
mov byte [eax], dl
mov ecx, dword [ebp - 0xe8]
add eax, 1
mov dword [ecx + 0x1c], eax
mov eax, dword [ebp - 0x8c]
test eax, eax
je 0x410ae0
mov eax, dword [0x4150e0]
test eax, eax
jne 0x410ae0
mov ecx, dword [ebp - 0x84]
mov eax, dword [ecx + 8]
test eax, eax
mov eax, 1
cmove eax, dword [ebp - 0x14]
mov dword [ebp - 0x14], eax
jmp 0x40fbfc
mov edi, dword [ebp - 0x84]
mov eax, dword [edi + 8]
test eax, eax
je 0x40fbfc
test byte [edi + 0xc], 1
je 0x410bf5
mov dword [esp + 8], eax
mov eax, dword [ebp - 0xe8]
mov dword [esp + 4], 0x41732f
mov dword [esp], eax
call fcn.004118f0
jmp 0x40fbfc
mov ebx, dword [ebp - 0x84]
mov dword [esp], ebx
call fcn.0040df80
test eax, eax
jne 0x40feae
mov ecx, dword [ebx]
test ecx, ecx
jne 0x40feae
mov edi, dword [ebp - 0xa0]
lea ecx, [ebp - 0x30]
mov eax, dword [ebx + 0x10]
mov edx, dword [edi + 0x14]
call fcn.0040f240
jmp 0x40fea5
mov dword [esp], edx
call fcn.004112f0
jmp 0x40fd06
mov dword [esp], edi
call fcn.004112f0
mov ebx, dword [edi + 0x18]
mov ecx, dword [edi + 0x1c]
nop
jmp 0x40fec7
mov dword [esp], eax
call fcn.004112f0
jmp 0x40fbb1
mov dword [esp], edi
call fcn.004112f0
mov ebx, dword [edi + 0x18]
mov ecx, dword [edi + 0x1c]
jmp 0x40fb16
mov dword [ebp - 0x8c], 1
jmp 0x40fb9a
mov dword [esp + 4], 1
mov dword [esp], edi
call fcn.004117f0
test eax, eax
je 0x40fea5
mov eax, dword [edi + 0x1c]
jmp 0x40fe96
mov dword [esp], ebx
call fcn.004112f0
mov ecx, dword [ebx + 0x1c]
nop
jmp 0x40fe7e
mov dword [esp], ecx
call fcn.004112f0
lea esi, [esi]
jmp 0x41099b
mov edx, dword [ebp - 0xe8]
mov dword [esp + 8], eax
mov dword [esp + 4], 0x417334
mov dword [esp], edx
call fcn.004118f0
jmp 0x40fbfc
mov dword [esp], edi
call fcn.004112f0
lea esi, [esi]
jmp 0x40fc33
mov dword [esp + 4], 1
mov dword [esp], edx
call fcn.004117f0
test eax, eax
je 0x410a7e
mov ecx, dword [ebp - 0xe8]
mov eax, dword [ecx + 0x1c]
jmp 0x410a6f
mov dword [esp + 4], 1
mov dword [esp], edx
call fcn.004117f0
test eax, eax
je 0x410aae
mov ecx, dword [ebp - 0xe8]
mov eax, dword [ecx + 0x1c]
jmp 0x410a9c
cmp esi, edx
jb 0x410d71
mov eax, dword [ebp - 0xe8]
mov edx, dword [ebp - 0xe8]
mov ecx, dword [eax + 0x1c]
lea eax, [ecx + 3]
cmp dword [edx + 0x20], eax
jae 0x410cb1
mov dword [esp + 4], 3
mov dword [esp], edx
call fcn.004117f0
test eax, eax
je 0x40fdf7
mov ebx, dword [ebp - 0xe8]
mov ecx, dword [ebx + 0x1c]
mov word [ecx], 0x2020
mov byte [ecx + 2], 0x20
mov edi, dword [ebp - 0xe8]
add dword [edi + 0x1c], 3
jmp 0x40fdf7
mov dword [esp], eax
call fcn.004112f0
jmp 0x40fdb9
mov dword [esp], edx
xor esi, esi
call fcn.004112f0
mov ecx, dword [ebp - 0xe8]
mov ebx, dword [0x4150f4]
mov edx, dword [ecx + 0x14]
mov edi, ecx
mov dword [ebp - 0x80], ebx
mov ebx, dword [ecx + 0x18]
test edx, edx
cmovns esi, dword [ecx + 0x14]
mov ecx, dword [ecx + 0x1c]
mov eax, ecx
sub eax, ebx
cmp eax, dword [edi + 0x10]
jbe 0x40fd99
mov dword [esp], edi
call fcn.004112f0
mov ebx, dword [edi + 0x18]
mov ecx, dword [edi + 0x1c]
jmp 0x40fd99
test byte [ebp + 8], 0x20
mov ebx, 1
je 0x410010
nop
jmp 0x410457
mov edi, dword [ebp - 0x6c]
mov eax, dword [ebp - 0xa4]
mov edx, dword [ebp - 0xc4]
mov dword [esp + 0xc], str._.s:_Unknown_ARGP_HELP_FMT_parameter
mov dword [esp + 0x14], edi
mov dword [esp + 0x10], eax
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp], edx
call fcn.0040e060
jmp 0x41081a
mov eax, dword [ebp - 0xe8]
call fcn.0040efc0
jmp 0x40fdf7
mov dword [esp + 4], 1
mov dword [esp], ebx
call fcn.004117f0
test eax, eax
je 0x40fdf7
mov ecx, dword [ebx + 0x1c]
jmp 0x40fde8
mov ecx, dword [ebp - 0xc4]
mov dword [esp + 0x10], esi
mov dword [esp + 0xc], str.Garbage_in_ARGP_HELP_FMT:__s
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp], ecx
call fcn.0040e060
jmp 0x41069a
mov eax, dword [ebp - 0xc4]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x10], str.rmargin
mov dword [esp + 0xc], str.ARGP_HELP_FMT:__s_value_is_less_than_or_equal_to__s
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp], eax
call fcn.0040e060
jmp 0x40f9fb
mov ecx, dword [ebp - 0xc8]
mov dword [esp], ecx
call sub.cygwin1.dll_funlockfile
jmp 0x410047
mov dword [esp + 4], 1
mov dword [esp], edx
call fcn.004117f0
test eax, eax
je 0x41007d
mov ecx, dword [ebp - 0xe8]
mov eax, dword [ecx + 0x1c]
jmp 0x41006e
mov eax, dword [ebp - 0x6c]
mov edx, dword [ebp - 0xa4]
mov ecx, dword [ebp - 0xc4]
mov dword [esp + 0xc], str._.s:_ARGP_HELP_FMT_parameter_must_be_positive
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], edx
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp], ecx
call fcn.0040e060
jmp 0x41081a
mov dword [esp + 4], 1
mov dword [esp], edx
call fcn.004117f0
test eax, eax
je 0x40faa6
mov ecx, dword [ebp - 0xe8]
mov eax, dword [ecx + 0x1c]
jmp 0x40fa97
mov dword [esp + 4], 1
mov dword [esp], edx
call fcn.004117f0
test eax, eax
je 0x40ffed
mov ecx, dword [ebp - 0xe8]
mov eax, dword [ecx + 0x1c]
jmp 0x40ffde
mov dword [esp + 4], 1
mov dword [esp], edx
call fcn.004117f0
test eax, eax
je 0x40ff81
mov ecx, dword [ebp - 0xe8]
mov eax, dword [ecx + 0x1c]
jmp 0x40ff72