Function at 0x48d720
Capabilities:
Query environment variable

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x5c
mov eax, dword [0x4aa430]
mov dword [0x4f7504], 0
test eax, eax
jne 0x48d990
mov dword [0x4aa430], 1
mov eax, 1
mov dword [esp], str.POSIXLY_CORRECT
mov dword [0x4f7508], eax
mov dword [0x4f750c], eax
mov dword [0x4f7518], 0
call sub.msvcrt.dll_getenv
mov edi, dword [esp + 0x78]
mov dword [0x4f7510], eax
movzx edx, byte [edi]
cmp dl, 0x2d
je 0x48dc00
cmp dl, 0x2b
je 0x48dbe2
test eax, eax
sete al
movzx eax, al
mov dword [0x4f7514], eax
mov dword [0x4f7500], 1
mov ebp, dword [0x4f7518]
test ebp, ebp
je 0x48d9a3
movzx eax, byte [ebp]
test al, al
mov byte [esp + 0x2c], al
je 0x48d9a3
mov eax, dword [esp + 0x7c]
test eax, eax
je 0x48da60
mov eax, dword [0x4aa430]
lea edi, [eax*4]
mov dword [esp + 0x38], eax
mov dword [esp + 0x44], edi
mov edi, dword [esp + 0x74]
mov eax, dword [edi + eax*4]
mov dword [esp + 0x3c], eax
movzx eax, byte [eax + 1]
cmp al, 0x2d
mov byte [esp + 0x43], al
je 0x48d842
mov eax, dword [esp + 0x84]
test eax, eax
je 0x48da60
mov eax, dword [esp + 0x3c]
cmp byte [eax + 2], 0
jne 0x48d842
mov eax, dword [esp + 0x78]
movzx eax, byte [eax]
test al, al
je 0x48d842
movzx ecx, byte [esp + 0x43]
cmp cl, al
je 0x48de44
mov edx, dword [esp + 0x78]
mov ebx, ecx
jmp 0x48d838
cmp bl, cl
je 0x48de44
add edx, 1
movzx ecx, byte [edx]
test cl, cl
jne 0x48d830
movzx eax, byte [esp + 0x2c]
mov esi, ebp
cmp al, 0x3d
je 0x48d861
test al, al
jne 0x48d857
jmp 0x48d861
cmp al, 0x3d
je 0x48d861
add esi, 1
movzx eax, byte [esi]
test al, al
jne 0x48d853
mov eax, dword [esp + 0x7c]
mov edi, dword [eax]
test edi, edi
je 0x48dd87
mov eax, esi
xor ecx, ecx
mov dword [esp + 0x28], ebp
sub eax, ebp
mov dword [esp + 0x4c], esi
mov ebp, edi
mov ebx, dword [esp + 0x7c]
mov dword [esp + 0x48], 0xffffffff
mov esi, ecx
mov dword [esp + 0x34], 0
mov dword [esp + 0x30], 0
mov edi, eax
jmp 0x48d8b5
mov dword [esp + 0x34], 1
add ebx, 0x10
mov ebp, dword [ebx]
add esi, 1
test ebp, ebp
je 0x48d900
mov eax, dword [esp + 0x28]
mov dword [esp + 8], edi
mov dword [esp], ebp
mov dword [esp + 4], eax
call sub.msvcrt.dll_strncmp
test eax, eax
jne 0x48d8a9
mov dword [esp], ebp
call sub.msvcrt.dll_strlen
cmp eax, edi
je 0x48dd00
mov eax, dword [esp + 0x30]
test eax, eax
jne 0x48d8a1
mov dword [esp + 0x30], ebx
add ebx, 0x10
mov ebp, dword [ebx]
mov dword [esp + 0x48], esi
add esi, 1
test ebp, ebp
jne 0x48d8b5
lea esi, [esi]
mov eax, dword [esp + 0x34]
mov ebp, dword [esp + 0x28]
mov esi, dword [esp + 0x4c]
test eax, eax
je 0x48e353
mov eax, dword [0x4aa42c]
test eax, eax
je 0x48d956
mov eax, dword [esp + 0x3c]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x74]
mov eax, dword [eax]
mov dword [esp + 4], str._s:_option___s_is_ambiguous_n
mov dword [esp + 8], eax
mov eax, dword [sym.imp.msvcrt.dll__iob]
add eax, 0x40
mov dword [esp], eax
call fcn.0048d6f0
mov eax, dword [0x4aa430]
mov ebp, dword [0x4f7518]
mov dword [esp + 0x38], eax
mov dword [esp], ebp
call sub.msvcrt.dll_strlen
add eax, ebp
mov dword [0x4f7518], eax
mov eax, dword [esp + 0x38]
mov ebx, 0x3f
mov dword [0x4aa428], 0
add eax, 1
mov dword [0x4aa430], eax
add esp, 0x5c
mov eax, ebx
pop ebx
pop esi
pop edi
pop ebp
ret
mov edx, dword [0x4f7500]
test edx, edx
je 0x48d74d
jmp 0x48d7a2
mov eax, dword [0x4aa430]
cmp dword [0x4f7508], eax
jle 0x48d9b5
mov dword [0x4f7508], eax
cmp eax, dword [0x4f750c]
jge 0x48d9c2
mov dword [0x4f750c], eax
mov ebx, dword [0x4f7514]
cmp ebx, 1
je 0x48db40
cmp dword [esp + 0x70], eax
je 0x48dbb4
mov edi, dword [esp + 0x74]
mov ecx, 3
mov ebp, dword [edi + eax*4]
mov edi, 0x4d06f0
mov esi, ebp
repe cmpsb byte [esi], byte es:[edi]
seta cl
mov esi, ecx
setb cl
mov edx, esi
cmp dl, cl
jne 0x48db10
mov edx, dword [0x4f750c]
mov ecx, dword [0x4f7508]
add eax, 1
mov dword [0x4aa430], eax
cmp edx, ecx
je 0x48dd65
cmp eax, ecx
je 0x48da31
mov eax, dword [esp + 0x74]
call fcn.0048d630
mov edx, dword [0x4f750c]
cmp dword [esp + 0x70], edx
mov eax, dword [esp + 0x70]
mov dword [0x4f7508], eax
mov dword [0x4aa430], eax
jne 0x48dbcd
add esp, 0x5c
mov ebx, 0xffffffff
mov eax, ebx
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [esp + 0x78]
lea esi, [ebp + 1]
movsx ebx, byte [esp + 0x2c]
mov dword [0x4f7518], esi
movzx eax, byte [eax]
test al, al
je 0x48daa2
movzx ecx, byte [esp + 0x2c]
cmp al, cl
mov eax, dword [esp + 0x78]
jne 0x48da98
jmp 0x48dc30
cmp dl, cl
je 0x48dc30
add eax, 1
movzx edx, byte [eax]
test dl, dl
jne 0x48da90
cmp byte [ebp + 1], 0
jne 0x48dabe
mov edx, 1
xor eax, eax
add dword [0x4aa430], 1
test dl, dl
je 0x48dca0
mov eax, dword [0x4aa42c]
test eax, eax
je 0x48dafa
mov eax, dword [0x4f7510]
mov dword [esp + 0xc], ebx
test eax, eax
mov eax, dword [esp + 0x74]
mov eax, dword [eax]
mov dword [esp + 8], eax
je 0x48df33
mov eax, dword [sym.imp.msvcrt.dll__iob]
mov dword [esp + 4], str._s:_illegal_option_____c_n
add eax, 0x40
mov dword [esp], eax
call fcn.0048d6f0
mov dword [0x4aa428], ebx
add esp, 0x5c
mov ebx, 0x3f
mov eax, ebx
pop ebx
pop esi
pop edi
pop ebp
ret
cmp byte [ebp], 0x2d
je 0x48dc60
test ebx, ebx
je 0x48da49
add eax, 1
mov dword [0x4f7504], ebp
mov ebx, 1
mov dword [0x4aa430], eax
add esp, 0x5c
mov eax, ebx
pop ebx
pop esi
pop edi
pop ebp
ret
mov edx, dword [0x4f7508]
cmp dword [0x4f750c], edx
je 0x48de30
cmp eax, edx
je 0x48db65
mov eax, dword [esp + 0x74]
call fcn.0048d630
mov edx, dword [0x4aa430]
cmp dword [esp + 0x70], edx
mov eax, edx
jle 0x48dba4
mov esi, dword [esp + 0x70]
mov ecx, dword [esp + 0x74]
jmp 0x48db91
add edx, 1
cmp esi, edx
mov dword [0x4aa430], edx
je 0x48dc50
mov eax, dword [ecx + edx*4]
cmp byte [eax], 0x2d
jne 0x48db80
cmp byte [eax + 1], 0
je 0x48db80
mov eax, dword [0x4aa430]
mov dword [0x4f7508], edx
cmp dword [esp + 0x70], eax
jne 0x48d9db
mov eax, dword [0x4f7508]
mov edx, dword [0x4f750c]
mov dword [esp + 0x70], eax
cmp dword [esp + 0x70], edx
je 0x48da49
mov ebx, 0xffffffff
mov dword [0x4aa430], edx
add esp, 0x5c
mov eax, ebx
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [0x4f7514], 0
add dword [esp + 0x78], 1
jmp 0x48d798
mov dword [0x4f7514], 2
add dword [esp + 0x78], 1
jmp 0x48d798
movsx ebx, byte [esp + 0x2c]
lea esi, [ebp + 1]
mov eax, dword [esp + 0x78]
mov dword [0x4f7518], esi
lea esi, [esi]
lea edi, [edi]
test eax, eax
sete dl
cmp byte [esp + 0x2c], 0x3a
sete cl
or edx, ecx
cmp byte [ebp + 1], 0
je 0x48daaf
jmp 0x48dab6
mov eax, dword [esp + 0x70]
mov dword [0x4f7508], edx
jmp 0x48dbaa
movzx ecx, byte [ebp + 1]
test cl, cl
je 0x48db1a
mov eax, dword [esp + 0x7c]
test eax, eax
setne bl
xor eax, eax
cmp cl, 0x2d
sete al
and eax, ebx
lea ebp, [ebp + eax + 1]
movzx eax, byte [ebp]
mov dword [0x4f7518], ebp
mov byte [esp + 0x2c], al
jmp 0x48d7c0
cmp byte [eax], 0x57
movzx edx, byte [eax + 1]
je 0x48de57
cmp dl, 0x3a
jne 0x48db35
cmp byte [eax + 2], 0x3a
je 0x48e008
cmp byte [ebp + 1], 0
jne 0x48dfca
mov eax, dword [0x4aa430]
cmp dword [esp + 0x70], eax
je 0x48e130
mov edi, dword [esp + 0x74]
lea edx, [eax + 1]
mov dword [0x4aa430], edx
mov eax, dword [edi + eax*4]
mov dword [0x4f7504], eax
mov dword [0x4f7518], 0
jmp 0x48db35
mov ebp, dword [esp + 0x28]
mov dword [esp + 0x28], esi
mov esi, dword [esp + 0x4c]
mov eax, dword [esp + 0x38]
add eax, 1
mov dword [0x4aa430], eax
cmp byte [esi], 0
jne 0x48dd71
cmp dword [ebx + 4], 1
je 0x48dfdc
mov dword [esp], ebp
call sub.msvcrt.dll_strlen
mov edx, dword [esp + 0x80]
add eax, ebp
mov dword [0x4f7518], eax
test edx, edx
je 0x48dd4e
mov eax, dword [esp + 0x80]
mov edi, dword [esp + 0x28]
mov dword [eax], edi
mov eax, dword [ebx + 8]
test eax, eax
je 0x48e01d
mov edx, dword [ebx + 0xc]
xor ebx, ebx
mov dword [eax], edx
jmp 0x48db35
mov dword [0x4f750c], eax
mov edx, eax
jmp 0x48da31
mov edi, dword [ebx + 4]
test edi, edi
je 0x48df50
add esi, 1
mov dword [0x4f7504], esi
jmp 0x48dd27
cmp byte [esp + 0x43], 0x2d
je 0x48ddc9
mov eax, dword [esp + 0x84]
test eax, eax
je 0x48ddc9
mov eax, dword [esp + 0x78]
movzx eax, byte [eax]
test al, al
je 0x48ddc9
movzx ebx, byte [esp + 0x2c]
cmp al, bl
je 0x48dc14
mov edx, dword [esp + 0x78]
jmp 0x48ddbf
cmp cl, bl
je 0x48de44
add edx, 1
movzx ecx, byte [edx]
test cl, cl
jne 0x48ddb7
mov eax, dword [0x4aa42c]
test eax, eax
je 0x48de17
cmp byte [esp + 0x43], 0x2d
je 0x48e1dc
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x10], ebp
movsx eax, byte [eax]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x74]
mov eax, dword [eax]
mov dword [esp + 4], str._s:_unrecognized_option___c_s_n
mov dword [esp + 8], eax
mov eax, dword [sym.imp.msvcrt.dll__iob]
add eax, 0x40
mov dword [esp], eax
call fcn.0048d6f0
mov eax, dword [0x4aa430]
mov dword [esp + 0x38], eax
mov dword [0x4f7518], 0x4d07dc
jmp 0x48d965
cmp eax, edx
je 0x48db65
mov dword [0x4f750c], eax
mov edx, eax
jmp 0x48db65
lea esi, [ebp + 1]
movsx ebx, byte [esp + 0x2c]
mov dword [0x4f7518], esi
jmp 0x48da79
cmp dl, 0x3b
jne 0x48dcad
cmp byte [ebp + 1], 0
je 0x48e0d9
add dword [0x4aa430], 1
mov dword [0x4f7504], esi
movzx ebx, byte [esi]
mov dword [0x4f7518], esi
mov edi, esi
cmp bl, 0x3d
je 0x48de9f
test bl, bl
jne 0x48de95
jmp 0x48de9f
cmp bl, 0x3d
je 0x48de9f
add edi, 1
movzx ebx, byte [edi]
test bl, bl
jne 0x48de90
mov eax, dword [esp + 0x7c]
mov ebp, dword [eax]
test ebp, ebp
je 0x48e2c1
mov eax, edi
xor ecx, ecx
mov dword [esp + 0x28], esi
sub eax, esi
mov byte [esp + 0x38], bl
mov dword [esp + 0x3c], edi
mov dword [esp + 0x34], 0
mov dword [esp + 0x30], 0
mov edi, ecx
mov dword [esp + 0x2c], 0
mov esi, eax
mov ebx, dword [esp + 0x7c]
jmp 0x48def9
mov dword [esp + 0x30], 1
add ebx, 0x10
mov ebp, dword [ebx]
add edi, 1
test ebp, ebp
je 0x48e025
mov eax, dword [esp + 0x28]
mov dword [esp + 8], esi
mov dword [esp], ebp
mov dword [esp + 4], eax
call sub.msvcrt.dll_strncmp
test eax, eax
jne 0x48dee9
mov dword [esp], ebp
call sub.msvcrt.dll_strlen
cmp eax, esi
je 0x48e158
mov eax, dword [esp + 0x2c]
test eax, eax
jne 0x48dee1
mov dword [esp + 0x34], edi
mov dword [esp + 0x2c], ebx
jmp 0x48dee9
mov eax, dword [sym.imp.msvcrt.dll__iob]
mov dword [esp + 4], str._s:_invalid_option_____c_n
add eax, 0x40
mov dword [esp], eax
call fcn.0048d6f0
jmp 0x48dafa
mov esi, dword [0x4aa42c]
test esi, esi
je 0x48dd27
mov eax, dword [esp + 0x74]
mov edi, dword [esp + 0x44]
mov eax, dword [eax + edi]
cmp byte [eax + 1], 0x2d
je 0x48e103
mov edx, dword [ebx]
mov dword [esp + 0x10], edx
movsx eax, byte [eax]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x74]
mov eax, dword [eax]
mov dword [esp + 4], str._s:_option___c_s_doesnt_allow_an_argument_n
mov dword [esp + 8], eax
mov eax, dword [sym.imp.msvcrt.dll__iob]
add eax, 0x40
mov dword [esp], eax
call fcn.0048d6f0
mov esi, dword [0x4f7518]
mov dword [esp], esi
call sub.msvcrt.dll_strlen
add esi, eax
mov eax, dword [ebx + 0xc]
mov ebx, 0x3f
mov dword [0x4f7518], esi
mov dword [0x4aa428], eax
jmp 0x48db35
mov dword [0x4f7504], esi
add dword [0x4aa430], 1
jmp 0x48dcee
cmp dword [esp + 0x70], eax
jle 0x48e09d
mov eax, dword [esp + 0x38]
mov edi, dword [esp + 0x44]
add eax, 2
mov dword [0x4aa430], eax
mov eax, dword [esp + 0x74]
mov eax, dword [eax + edi + 4]
mov dword [0x4f7504], eax
jmp 0x48dd27
cmp byte [ebp + 1], 0
jne 0x48dfca
mov dword [0x4f7504], 0
jmp 0x48dcee
mov ebx, dword [ebx + 0xc]
jmp 0x48db35
mov ebp, dword [esp + 0x30]
mov esi, dword [esp + 0x28]
movzx ebx, byte [esp + 0x38]
mov edi, dword [esp + 0x3c]
test ebp, ebp
je 0x48e36f
mov ecx, dword [0x4aa42c]
test ecx, ecx
je 0x48e07c
mov edi, dword [esp + 0x74]
mov eax, dword [0x4aa430]
mov eax, dword [edi + eax*4]
mov dword [esp + 0xc], eax
mov eax, dword [edi]
mov dword [esp + 4], str._s:_option___W__s_is_ambiguous_n
mov dword [esp + 8], eax
mov eax, dword [sym.imp.msvcrt.dll__iob]
add eax, 0x40
mov dword [esp], eax
call fcn.0048d6f0
mov esi, dword [0x4f7518]
mov dword [esp], esi
mov ebx, 0x3f
call sub.msvcrt.dll_strlen
add esi, eax
add dword [0x4aa430], 1
mov dword [0x4f7518], esi
jmp 0x48db35
mov ecx, dword [0x4aa42c]
test ecx, ecx
jne 0x48e210
mov dword [esp], ebp
call sub.msvcrt.dll_strlen
add eax, ebp
mov dword [0x4f7518], eax
mov eax, dword [ebx + 0xc]
mov dword [0x4aa428], eax
mov eax, dword [esp + 0x78]
cmp byte [eax], 0x3a
jne 0x48db00
mov ebx, 0x3a
jmp 0x48db35
mov eax, dword [0x4aa430]
cmp dword [esp + 0x70], eax
je 0x48e24c
mov edi, dword [esp + 0x74]
lea edx, [eax + 1]
mov dword [0x4aa430], edx
mov esi, dword [edi + eax*4]
mov dword [0x4f7504], esi
jmp 0x48de77
mov eax, dword [ebx]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x74]
mov eax, dword [eax]
mov dword [esp + 4], str._s:_option_____s_doesnt_allow_an_argument_n
mov dword [esp + 8], eax
mov eax, dword [sym.imp.msvcrt.dll__iob]
add eax, 0x40
mov dword [esp], eax
call fcn.0048d6f0
jmp 0x48dfa2
mov eax, dword [0x4aa42c]
test eax, eax
jne 0x48e296
mov eax, dword [esp + 0x78]
mov dword [0x4aa428], ebx
xor ebx, ebx
cmp byte [eax], 0x3a
setne bl
lea ebx, [ebx + ebx*4 + 0x3a]
jmp 0x48dcee
mov dword [esp + 0x7c], ebx
movzx ebx, byte [esp + 0x38]
mov ebp, edi
mov esi, dword [esp + 0x28]
mov edi, dword [esp + 0x3c]
test bl, bl
mov eax, dword [esp + 0x7c]
je 0x48e2d5
cmp dword [eax + 4], 0
jne 0x48e33c
cmp dword [0x4aa42c], 0
je 0x48e1b6
mov eax, dword [esp + 0x7c]
mov eax, dword [eax]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x74]
mov eax, dword [eax]
mov dword [esp + 4], str._s:_option___W__s_doesnt_allow_an_argument_n
mov dword [esp + 8], eax
mov eax, dword [sym.imp.msvcrt.dll__iob]
add eax, 0x40
mov dword [esp], eax
call fcn.0048d6f0
mov edx, dword [0x4f7518]
xor eax, eax
or ecx, 0xffffffff
mov ebx, 0x3f
mov edi, edx
repne scasb al, byte es:[edi]
mov eax, ecx
not eax
lea eax, [edx + eax - 1]
mov dword [0x4f7518], eax
jmp 0x48db35
mov eax, dword [esp + 0x74]
mov dword [esp + 0xc], ebp
mov eax, dword [eax]
mov dword [esp + 4], str._s:_unrecognized_option_____s_n
mov dword [esp + 8], eax
mov eax, dword [sym.imp.msvcrt.dll__iob]
add eax, 0x40
mov dword [esp], eax
call fcn.0048d6f0
mov eax, dword [0x4aa430]
mov dword [esp + 0x38], eax
jmp 0x48de17
mov eax, dword [esp + 0x74]
mov edi, dword [esp + 0x44]
mov eax, dword [eax + edi]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x74]
mov eax, dword [eax]
mov dword [esp + 4], str._s:_option___s_requires_an_argument_n
mov dword [esp + 8], eax
mov eax, dword [sym.imp.msvcrt.dll__iob]
add eax, 0x40
mov dword [esp], eax
call fcn.0048d6f0
mov ebp, dword [0x4f7518]
jmp 0x48e0ab
mov eax, dword [0x4aa42c]
test eax, eax
je 0x48e27b
mov eax, dword [esp + 0x74]
mov dword [esp + 0xc], ebx
mov eax, dword [eax]
mov dword [esp + 4], str._s:_option_requires_an_argument_____c_n
mov dword [esp + 8], eax
mov eax, dword [sym.imp.msvcrt.dll__iob]
add eax, 0x40
mov dword [esp], eax
call fcn.0048d6f0
mov eax, dword [esp + 0x78]
mov dword [0x4aa428], ebx
xor ebx, ebx
cmp byte [eax], 0x3a
setne bl
lea ebx, [ebx + ebx*4 + 0x3a]
jmp 0x48db35
mov eax, dword [esp + 0x74]
mov dword [esp + 0xc], ebx
mov eax, dword [eax]
mov dword [esp + 4], str._s:_option_requires_an_argument_____c_n
mov dword [esp + 8], eax
mov eax, dword [sym.imp.msvcrt.dll__iob]
add eax, 0x40
mov dword [esp], eax
call fcn.0048d6f0
jmp 0x48e13d
mov dword [0x4f7518], 0
mov ebx, 0x57
jmp 0x48db35
cmp dword [eax + 4], 1
je 0x48e31a
mov dword [esp], esi
call sub.msvcrt.dll_strlen
mov edx, dword [esp + 0x80]
add esi, eax
mov dword [0x4f7518], esi
test edx, edx
je 0x48e2ff
mov eax, dword [esp + 0x80]
mov dword [eax], ebp
mov eax, dword [esp + 0x7c]
mov eax, dword [eax + 8]
test eax, eax
je 0x48e347
mov edi, dword [esp + 0x7c]
xor ebx, ebx
mov edx, dword [edi + 0xc]
mov dword [eax], edx
jmp 0x48db35
mov eax, dword [0x4aa430]
cmp dword [esp + 0x70], eax
jle 0x48e38d
mov edi, dword [esp + 0x74]
lea edx, [eax + 1]
mov dword [0x4aa430], edx
mov eax, dword [edi + eax*4]
mov dword [0x4f7504], eax
jmp 0x48e2db
add edi, 1
mov dword [0x4f7504], edi
jmp 0x48e2db
mov eax, dword [esp + 0x7c]
mov ebx, dword [eax + 0xc]
jmp 0x48db35
cmp dword [esp + 0x30], 0
je 0x48dd87
mov eax, dword [esp + 0x48]
mov ebx, dword [esp + 0x30]
mov dword [esp + 0x28], eax
jmp 0x48dd0c
cmp dword [esp + 0x2c], 0
je 0x48e2c1
mov eax, dword [esp + 0x34]
mov ebp, eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x7c], eax
jmp 0x48e16b
cmp dword [0x4aa42c], 0
je 0x48e3c0
mov edi, dword [esp + 0x74]
mov eax, dword [edi + eax*4 - 4]
mov dword [esp + 0xc], eax
mov eax, dword [edi]
mov dword [esp + 4], str._s:_option___s_requires_an_argument_n
mov dword [esp + 8], eax
mov eax, dword [sym.imp.msvcrt.dll__iob]
add eax, 0x40
mov dword [esp], eax
call fcn.0048d6f0
mov edx, dword [0x4f7518]
xor eax, eax
or ecx, 0xffffffff
mov edi, edx
repne scasb al, byte es:[edi]
mov eax, ecx
not eax
lea eax, [edx + eax - 1]
mov dword [0x4f7518], eax
mov eax, dword [esp + 0x78]
cmp byte [eax], 0x3a
jne 0x48db00
jmp 0x48e0cf