Function at 0x4a12b0
Capabilities:
Query environment variable

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x5c
mov eax, dword [0x4b05cc]
mov dword [0x4e58a8], 0
test eax, eax
jne 0x4a1520
mov dword [0x4b05cc], 1
mov eax, 1
mov dword [esp], str.POSIXLY_CORRECT
mov dword [0x4e58ac], eax
mov dword [0x4e58b0], eax
mov dword [0x4e58bc], 0
call sub.msvcrt.dll_getenv
mov edi, dword [esp + 0x78]
mov dword [0x4e58b4], eax
movzx edx, byte [edi]
cmp dl, 0x2d
je 0x4a1790
cmp dl, 0x2b
je 0x4a1772
test eax, eax
sete al
movzx eax, al
mov dword [0x4e58b8], eax
mov dword [0x4e58a4], 1
mov ebp, dword [0x4e58bc]
test ebp, ebp
je 0x4a1533
movzx eax, byte [ebp]
test al, al
mov byte [esp + 0x2c], al
je 0x4a1533
mov eax, dword [esp + 0x7c]
test eax, eax
je 0x4a15f0
mov eax, dword [0x4b05cc]
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 0x4a13d2
mov eax, dword [esp + 0x84]
test eax, eax
je 0x4a15f0
mov eax, dword [esp + 0x3c]
cmp byte [eax + 2], 0
jne 0x4a13d2
mov eax, dword [esp + 0x78]
movzx eax, byte [eax]
test al, al
je 0x4a13d2
movzx ecx, byte [esp + 0x43]
cmp cl, al
je 0x4a19d4
mov edx, dword [esp + 0x78]
mov ebx, ecx
jmp 0x4a13c8
cmp bl, cl
je 0x4a19d4
add edx, 1
movzx ecx, byte [edx]
test cl, cl
jne 0x4a13c0
movzx eax, byte [esp + 0x2c]
mov esi, ebp
cmp al, 0x3d
je 0x4a13f1
test al, al
jne 0x4a13e7
jmp 0x4a13f1
cmp al, 0x3d
je 0x4a13f1
add esi, 1
movzx eax, byte [esi]
test al, al
jne 0x4a13e3
mov eax, dword [esp + 0x7c]
mov edi, dword [eax]
test edi, edi
je 0x4a1917
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 0x4a1445
mov dword [esp + 0x34], 1
add ebx, 0x10
mov ebp, dword [ebx]
add esi, 1
test ebp, ebp
je 0x4a1490
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 0x4a1439
mov dword [esp], ebp
call sub.msvcrt.dll_strlen
cmp eax, edi
je 0x4a1890
mov eax, dword [esp + 0x30]
test eax, eax
jne 0x4a1431
mov dword [esp + 0x30], ebx
add ebx, 0x10
mov ebp, dword [ebx]
mov dword [esp + 0x48], esi
add esi, 1
test ebp, ebp
jne 0x4a1445
lea esi, [esi]
mov eax, dword [esp + 0x34]
mov ebp, dword [esp + 0x28]
mov esi, dword [esp + 0x4c]
test eax, eax
je 0x4a1ee3
mov eax, dword [0x4b05c8]
test eax, eax
je 0x4a14e6
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 sub.msvcrt.dll_fprintf
mov eax, dword [0x4b05cc]
mov ebp, dword [0x4e58bc]
mov dword [esp + 0x38], eax
mov dword [esp], ebp
call sub.msvcrt.dll_strlen
add eax, ebp
mov dword [0x4e58bc], eax
mov eax, dword [esp + 0x38]
mov ebx, 0x3f
mov dword [0x4b05c4], 0
add eax, 1
mov dword [0x4b05cc], eax
add esp, 0x5c
mov eax, ebx
pop ebx
pop esi
pop edi
pop ebp
ret
mov edx, dword [0x4e58a4]
test edx, edx
je 0x4a12dd
jmp 0x4a1332
mov eax, dword [0x4b05cc]
cmp dword [0x4e58ac], eax
jle 0x4a1545
mov dword [0x4e58ac], eax
cmp eax, dword [0x4e58b0]
jge 0x4a1552
mov dword [0x4e58b0], eax
mov ebx, dword [0x4e58b8]
cmp ebx, 1
je 0x4a16d0
cmp dword [esp + 0x70], eax
je 0x4a1744
mov edi, dword [esp + 0x74]
mov ecx, 3
mov ebp, dword [edi + eax*4]
mov edi, 0x4e2ac0
mov esi, ebp
repe cmpsb byte [esi], byte es:[edi]
seta cl
mov esi, ecx
setb cl
mov edx, esi
cmp dl, cl
jne 0x4a16a0
mov edx, dword [0x4e58b0]
mov ecx, dword [0x4e58ac]
add eax, 1
mov dword [0x4b05cc], eax
cmp edx, ecx
je 0x4a18f5
cmp eax, ecx
je 0x4a15c1
mov eax, dword [esp + 0x74]
call fcn.004a11f0
mov edx, dword [0x4e58b0]
cmp dword [esp + 0x70], edx
mov eax, dword [esp + 0x70]
mov dword [0x4e58ac], eax
mov dword [0x4b05cc], eax
jne 0x4a175d
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 [0x4e58bc], esi
movzx eax, byte [eax]
test al, al
je 0x4a1632
movzx ecx, byte [esp + 0x2c]
cmp al, cl
mov eax, dword [esp + 0x78]
jne 0x4a1628
jmp 0x4a17c0
cmp dl, cl
je 0x4a17c0
add eax, 1
movzx edx, byte [eax]
test dl, dl
jne 0x4a1620
cmp byte [ebp + 1], 0
jne 0x4a164e
mov edx, 1
xor eax, eax
add dword [0x4b05cc], 1
test dl, dl
je 0x4a1830
mov eax, dword [0x4b05c8]
test eax, eax
je 0x4a168a
mov eax, dword [0x4e58b4]
mov dword [esp + 0xc], ebx
test eax, eax
mov eax, dword [esp + 0x74]
mov eax, dword [eax]
mov dword [esp + 8], eax
je 0x4a1ac3
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 sub.msvcrt.dll_fprintf
mov dword [0x4b05c4], ebx
add esp, 0x5c
mov ebx, 0x3f
mov eax, ebx
pop ebx
pop esi
pop edi
pop ebp
ret
cmp byte [ebp], 0x2d
je 0x4a17f0
test ebx, ebx
je 0x4a15d9
add eax, 1
mov dword [0x4e58a8], ebp
mov ebx, 1
mov dword [0x4b05cc], eax
add esp, 0x5c
mov eax, ebx
pop ebx
pop esi
pop edi
pop ebp
ret
mov edx, dword [0x4e58ac]
cmp dword [0x4e58b0], edx
je 0x4a19c0
cmp eax, edx
je 0x4a16f5
mov eax, dword [esp + 0x74]
call fcn.004a11f0
mov edx, dword [0x4b05cc]
cmp dword [esp + 0x70], edx
mov eax, edx
jle 0x4a1734
mov esi, dword [esp + 0x70]
mov ecx, dword [esp + 0x74]
jmp 0x4a1721
add edx, 1
cmp esi, edx
mov dword [0x4b05cc], edx
je 0x4a17e0
mov eax, dword [ecx + edx*4]
cmp byte [eax], 0x2d
jne 0x4a1710
cmp byte [eax + 1], 0
je 0x4a1710
mov eax, dword [0x4b05cc]
mov dword [0x4e58ac], edx
cmp dword [esp + 0x70], eax
jne 0x4a156b
mov eax, dword [0x4e58ac]
mov edx, dword [0x4e58b0]
mov dword [esp + 0x70], eax
cmp dword [esp + 0x70], edx
je 0x4a15d9
mov ebx, 0xffffffff
mov dword [0x4b05cc], edx
add esp, 0x5c
mov eax, ebx
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [0x4e58b8], 0
add dword [esp + 0x78], 1
jmp 0x4a1328
mov dword [0x4e58b8], 2
add dword [esp + 0x78], 1
jmp 0x4a1328
movsx ebx, byte [esp + 0x2c]
lea esi, [ebp + 1]
mov eax, dword [esp + 0x78]
mov dword [0x4e58bc], 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 0x4a163f
jmp 0x4a1646
mov eax, dword [esp + 0x70]
mov dword [0x4e58ac], edx
jmp 0x4a173a
movzx ecx, byte [ebp + 1]
test cl, cl
je 0x4a16aa
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 [0x4e58bc], ebp
mov byte [esp + 0x2c], al
jmp 0x4a1350
cmp byte [eax], 0x57
movzx edx, byte [eax + 1]
je 0x4a19e7
cmp dl, 0x3a
jne 0x4a16c5
cmp byte [eax + 2], 0x3a
je 0x4a1b98
cmp byte [ebp + 1], 0
jne 0x4a1b5a
mov eax, dword [0x4b05cc]
cmp dword [esp + 0x70], eax
je 0x4a1cc0
mov edi, dword [esp + 0x74]
lea edx, [eax + 1]
mov dword [0x4b05cc], edx
mov eax, dword [edi + eax*4]
mov dword [0x4e58a8], eax
mov dword [0x4e58bc], 0
jmp 0x4a16c5
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 [0x4b05cc], eax
cmp byte [esi], 0
jne 0x4a1901
cmp dword [ebx + 4], 1
je 0x4a1b6c
mov dword [esp], ebp
call sub.msvcrt.dll_strlen
mov edx, dword [esp + 0x80]
add eax, ebp
mov dword [0x4e58bc], eax
test edx, edx
je 0x4a18de
mov eax, dword [esp + 0x80]
mov edi, dword [esp + 0x28]
mov dword [eax], edi
mov eax, dword [ebx + 8]
test eax, eax
je 0x4a1bad
mov edx, dword [ebx + 0xc]
xor ebx, ebx
mov dword [eax], edx
jmp 0x4a16c5
mov dword [0x4e58b0], eax
mov edx, eax
jmp 0x4a15c1
mov edi, dword [ebx + 4]
test edi, edi
je 0x4a1ae0
add esi, 1
mov dword [0x4e58a8], esi
jmp 0x4a18b7
cmp byte [esp + 0x43], 0x2d
je 0x4a1959
mov eax, dword [esp + 0x84]
test eax, eax
je 0x4a1959
mov eax, dword [esp + 0x78]
movzx eax, byte [eax]
test al, al
je 0x4a1959
movzx ebx, byte [esp + 0x2c]
cmp al, bl
je 0x4a17a4
mov edx, dword [esp + 0x78]
jmp 0x4a194f
cmp cl, bl
je 0x4a19d4
add edx, 1
movzx ecx, byte [edx]
test cl, cl
jne 0x4a1947
mov eax, dword [0x4b05c8]
test eax, eax
je 0x4a19a7
cmp byte [esp + 0x43], 0x2d
je 0x4a1d6c
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 sub.msvcrt.dll_fprintf
mov eax, dword [0x4b05cc]
mov dword [esp + 0x38], eax
mov dword [0x4e58bc], 0x4e2bac
jmp 0x4a14f5
cmp eax, edx
je 0x4a16f5
mov dword [0x4e58b0], eax
mov edx, eax
jmp 0x4a16f5
lea esi, [ebp + 1]
movsx ebx, byte [esp + 0x2c]
mov dword [0x4e58bc], esi
jmp 0x4a1609
cmp dl, 0x3b
jne 0x4a183d
cmp byte [ebp + 1], 0
je 0x4a1c69
add dword [0x4b05cc], 1
mov dword [0x4e58a8], esi
movzx ebx, byte [esi]
mov dword [0x4e58bc], esi
mov edi, esi
cmp bl, 0x3d
je 0x4a1a2f
test bl, bl
jne 0x4a1a25
jmp 0x4a1a2f
cmp bl, 0x3d
je 0x4a1a2f
add edi, 1
movzx ebx, byte [edi]
test bl, bl
jne 0x4a1a20
mov eax, dword [esp + 0x7c]
mov ebp, dword [eax]
test ebp, ebp
je 0x4a1e51
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 0x4a1a89
mov dword [esp + 0x30], 1
add ebx, 0x10
mov ebp, dword [ebx]
add edi, 1
test ebp, ebp
je 0x4a1bb5
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 0x4a1a79
mov dword [esp], ebp
call sub.msvcrt.dll_strlen
cmp eax, esi
je 0x4a1ce8
mov eax, dword [esp + 0x2c]
test eax, eax
jne 0x4a1a71
mov dword [esp + 0x34], edi
mov dword [esp + 0x2c], ebx
jmp 0x4a1a79
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 sub.msvcrt.dll_fprintf
jmp 0x4a168a
mov esi, dword [0x4b05c8]
test esi, esi
je 0x4a18b7
mov eax, dword [esp + 0x74]
mov edi, dword [esp + 0x44]
mov eax, dword [eax + edi]
cmp byte [eax + 1], 0x2d
je 0x4a1c93
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 sub.msvcrt.dll_fprintf
mov esi, dword [0x4e58bc]
mov dword [esp], esi
call sub.msvcrt.dll_strlen
add esi, eax
mov eax, dword [ebx + 0xc]
mov ebx, 0x3f
mov dword [0x4e58bc], esi
mov dword [0x4b05c4], eax
jmp 0x4a16c5
mov dword [0x4e58a8], esi
add dword [0x4b05cc], 1
jmp 0x4a187e
cmp dword [esp + 0x70], eax
jle 0x4a1c2d
mov eax, dword [esp + 0x38]
mov edi, dword [esp + 0x44]
add eax, 2
mov dword [0x4b05cc], eax
mov eax, dword [esp + 0x74]
mov eax, dword [eax + edi + 4]
mov dword [0x4e58a8], eax
jmp 0x4a18b7
cmp byte [ebp + 1], 0
jne 0x4a1b5a
mov dword [0x4e58a8], 0
jmp 0x4a187e
mov ebx, dword [ebx + 0xc]
jmp 0x4a16c5
mov ebp, dword [esp + 0x30]
mov esi, dword [esp + 0x28]
movzx ebx, byte [esp + 0x38]
mov edi, dword [esp + 0x3c]
test ebp, ebp
je 0x4a1eff
mov ecx, dword [0x4b05c8]
test ecx, ecx
je 0x4a1c0c
mov edi, dword [esp + 0x74]
mov eax, dword [0x4b05cc]
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 sub.msvcrt.dll_fprintf
mov esi, dword [0x4e58bc]
mov dword [esp], esi
mov ebx, 0x3f
call sub.msvcrt.dll_strlen
add esi, eax
add dword [0x4b05cc], 1
mov dword [0x4e58bc], esi
jmp 0x4a16c5
mov ecx, dword [0x4b05c8]
test ecx, ecx
jne 0x4a1da0
mov dword [esp], ebp
call sub.msvcrt.dll_strlen
add eax, ebp
mov dword [0x4e58bc], eax
mov eax, dword [ebx + 0xc]
mov dword [0x4b05c4], eax
mov eax, dword [esp + 0x78]
cmp byte [eax], 0x3a
jne 0x4a1690
mov ebx, 0x3a
jmp 0x4a16c5
mov eax, dword [0x4b05cc]
cmp dword [esp + 0x70], eax
je 0x4a1ddc
mov edi, dword [esp + 0x74]
lea edx, [eax + 1]
mov dword [0x4b05cc], edx
mov esi, dword [edi + eax*4]
mov dword [0x4e58a8], esi
jmp 0x4a1a07
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 sub.msvcrt.dll_fprintf
jmp 0x4a1b32
mov eax, dword [0x4b05c8]
test eax, eax
jne 0x4a1e26
mov eax, dword [esp + 0x78]
mov dword [0x4b05c4], ebx
xor ebx, ebx
cmp byte [eax], 0x3a
setne bl
lea ebx, [ebx + ebx*4 + 0x3a]
jmp 0x4a187e
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 0x4a1e65
cmp dword [eax + 4], 0
jne 0x4a1ecc
cmp dword [0x4b05c8], 0
je 0x4a1d46
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 sub.msvcrt.dll_fprintf
mov edx, dword [0x4e58bc]
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 [0x4e58bc], eax
jmp 0x4a16c5
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 sub.msvcrt.dll_fprintf
mov eax, dword [0x4b05cc]
mov dword [esp + 0x38], eax
jmp 0x4a19a7
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 sub.msvcrt.dll_fprintf
mov ebp, dword [0x4e58bc]
jmp 0x4a1c3b
mov eax, dword [0x4b05c8]
test eax, eax
je 0x4a1e0b
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 sub.msvcrt.dll_fprintf
mov eax, dword [esp + 0x78]
mov dword [0x4b05c4], ebx
xor ebx, ebx
cmp byte [eax], 0x3a
setne bl
lea ebx, [ebx + ebx*4 + 0x3a]
jmp 0x4a16c5
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 sub.msvcrt.dll_fprintf
jmp 0x4a1ccd
mov dword [0x4e58bc], 0
mov ebx, 0x57
jmp 0x4a16c5
cmp dword [eax + 4], 1
je 0x4a1eaa
mov dword [esp], esi
call sub.msvcrt.dll_strlen
mov edx, dword [esp + 0x80]
add esi, eax
mov dword [0x4e58bc], esi
test edx, edx
je 0x4a1e8f
mov eax, dword [esp + 0x80]
mov dword [eax], ebp
mov eax, dword [esp + 0x7c]
mov eax, dword [eax + 8]
test eax, eax
je 0x4a1ed7
mov edi, dword [esp + 0x7c]
xor ebx, ebx
mov edx, dword [edi + 0xc]
mov dword [eax], edx
jmp 0x4a16c5
mov eax, dword [0x4b05cc]
cmp dword [esp + 0x70], eax
jle 0x4a1f1d
mov edi, dword [esp + 0x74]
lea edx, [eax + 1]
mov dword [0x4b05cc], edx
mov eax, dword [edi + eax*4]
mov dword [0x4e58a8], eax
jmp 0x4a1e6b
add edi, 1
mov dword [0x4e58a8], edi
jmp 0x4a1e6b
mov eax, dword [esp + 0x7c]
mov ebx, dword [eax + 0xc]
jmp 0x4a16c5
cmp dword [esp + 0x30], 0
je 0x4a1917
mov eax, dword [esp + 0x48]
mov ebx, dword [esp + 0x30]
mov dword [esp + 0x28], eax
jmp 0x4a189c
cmp dword [esp + 0x2c], 0
je 0x4a1e51
mov eax, dword [esp + 0x34]
mov ebp, eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x7c], eax
jmp 0x4a1cfb
cmp dword [0x4b05c8], 0
je 0x4a1f50
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 sub.msvcrt.dll_fprintf
mov edx, dword [0x4e58bc]
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 [0x4e58bc], eax
mov eax, dword [esp + 0x78]
cmp byte [eax], 0x3a
jne 0x4a1690
jmp 0x4a1c5f