Function at 0x5537a8
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ebx
sub esp, 0xa4
mov dword [ebp - 0xc], 0
mov dword [esp + 8], pe_nt_image_headers32
mov dword [esp + 4], 0
lea eax, [ebp - 0x8c]
mov dword [esp], eax
call sub.cygwin1.dll_memset
jmp 0x553a36
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x18]
and eax, 0x10
test eax, eax
je 0x55380c
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x18]
and eax, 1
test eax, eax
je 0x55380c
mov dword [esp + 4], str.uses_incompatible_flags_LASTARG_DEFAULT_and_OPTARG
mov eax, dword [ebp + 8]
mov dword [esp], eax
call fcn.00552606
or dword [ebp - 0xc], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax + 4]
test eax, eax
je 0x55386d
mov eax, dword [ebp + 8]
mov eax, dword [eax + 4]
cmp eax, 0x7e
jle 0x553839
mov dword [esp + 4], str.invalid_short_name
mov eax, dword [ebp + 8]
mov dword [esp], eax
call fcn.00552606
or dword [ebp - 0xc], eax
jmp 0x55386d
mov eax, dword [ebp + 8]
mov eax, dword [eax + 4]
movzx edx, byte [ebp + eax - 0x8c]
mov ecx, edx
add ecx, 1
mov byte [ebp + eax - 0x8c], cl
test dl, dl
je 0x55386d
mov dword [esp + 4], str.short_name_already_used
mov eax, dword [ebp + 8]
mov dword [esp], eax
call fcn.00552606
or dword [ebp - 0xc], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x18]
and eax, 0x20
test eax, eax
je 0x5538c1
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x18]
and eax, 1
test eax, eax
jne 0x5538ab
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x18]
and eax, 2
test eax, eax
je 0x5538ab
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x18]
and eax, 4
test eax, eax
je 0x5538ab
mov eax, dword [ebp + 8]
mov eax, dword [eax + 8]
test eax, eax
je 0x5538c1
mov dword [esp + 4], str.uses_feature_not_supported_for_dashless_options
mov eax, dword [ebp + 8]
mov dword [esp], eax
call fcn.00552606
or dword [ebp - 0xc], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax]
cmp eax, 0xd
ja case.0x5538d6.0
mov eax, dword [eax*4 + 0x5cb750]
jmp eax
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x18]
and eax, 1
test eax, eax
jne 0x5538f6
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x18]
and eax, 2
test eax, eax
jne 0x5539e1
mov dword [esp + 4], str.should_not_accept_an_argument
mov eax, dword [ebp + 8]
mov dword [esp], eax
call fcn.00552606
or dword [ebp - 0xc], eax
jmp 0x5539e1
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x1c]
test eax, eax
jne 0x553941
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x24]
test eax, eax
jne 0x553941
mov dword [esp + 8], str.OPTION_CALLBACK_needs_one_callback
mov dword [esp + 4], 0x1de
mov dword [esp], str.parse_options.c
call fcn.004ae42f
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x1c]
test eax, eax
je 0x5539e4
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x24]
test eax, eax
je 0x5539e4
mov dword [esp + 8], str.OPTION_CALLBACK_cant_have_two_callbacks
mov dword [esp + 4], 0x1e0
mov dword [esp], str.parse_options.c
call fcn.004ae42f
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x24]
test eax, eax
jne 0x55399f
mov dword [esp + 8], str.OPTION_LOWLEVEL_CALLBACK_needs_a_callback
mov dword [esp + 4], 0x1e4
mov dword [esp], str.parse_options.c
call fcn.004ae42f
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x1c]
test eax, eax
je 0x5539e7
mov dword [esp + 8], str.OPTION_LOWLEVEL_CALLBACK_needs_no_high_level_callback
mov dword [esp + 4], 0x1e6
mov dword [esp], str.parse_options.c
call fcn.004ae42f
mov dword [esp + 8], str.OPT_ALIAS___should_not_remain_at_this_point._Are_you_using_parse_options_step___directly__nThat_case_is_not_supported_yet.
mov dword [esp + 4], 0x1e9
mov dword [esp], str.parse_options.c
call fcn.004ae42f
nop
jmp case.0x5538d6.0
nop
jmp case.0x5538d6.0
nop
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x10]
test eax, eax
je 0x553a32
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x10]
mov dword [esp + 4], 0x5cb716
mov dword [esp], eax
call sub.cygwin1.dll_strcspn
mov ebx, eax
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x10]
mov dword [esp], eax
call sub.cygwin1.dll_strlen
cmp ebx, eax
je 0x553a32
mov dword [esp + 4], str.multi_word_argh_should_use_dash_to_separate_words
mov eax, dword [ebp + 8]
mov dword [esp], eax
call fcn.00552606
or dword [ebp - 0xc], eax
add dword [ebp + 8], 0x2c
mov eax, dword [ebp + 8]
mov eax, dword [eax]
test eax, eax
jne 0x5537dc
cmp dword [ebp - 0xc], 0
je 0x553a6d
mov dword [esp + 8], pe_nt_image_headers32
mov dword [esp + 4], 0x1f4
mov dword [esp], str.parse_options.c
call fcn.00499d7f
mov dword [esp], eax
call sub.cygwin1.dll_exit
nop
mov ebx, dword [ebp - 4]
leave
ret