Function at 0x4a07e0
Capabilities:
Query environment variable

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x4c
mov eax, dword [0x4c01ac]
mov dword [0x5141e8], 0
test eax, eax
jne 0x4a0a40
mov dword [0x4c01ac], 1
mov eax, 1
mov dword [esp], str.POSIXLY_CORRECT
mov dword [0x5141ec], eax
mov dword [0x5141f0], eax
mov dword [0x5141fc], 0
call sub.msvcrt.dll_getenv
mov edi, dword [esp + 0x68]
movzx edx, byte [edi]
mov dword [0x5141f4], eax
cmp dl, 0x2d
je 0x4a0cd3
cmp dl, 0x2b
je 0x4a0c82
test eax, eax
sete al
movzx eax, al
mov dword [0x5141f8], eax
mov dword [0x5141e4], 1
mov edx, dword [0x5141fc]
test edx, edx
je 0x4a0a53
movzx eax, byte [edx]
test al, al
mov byte [esp + 0x20], al
je 0x4a0a53
mov dword [esp + 0x18], edx
mov ecx, dword [esp + 0x6c]
test ecx, ecx
je 0x4a0b04
mov eax, dword [0x4c01ac]
lea edi, [eax*4]
mov dword [esp + 0x3c], edi
mov edi, dword [esp + 0x64]
mov dword [esp + 0x28], eax
mov eax, dword [edi + eax*4]
mov dword [esp + 0x2c], eax
movzx eax, byte [eax + 1]
cmp al, 0x2d
mov byte [esp + 0x33], al
je 0x4a0902
mov edx, dword [esp + 0x74]
test edx, edx
je 0x4a0b04
mov eax, dword [esp + 0x2c]
cmp byte [eax + 2], 0
jne 0x4a0902
mov eax, dword [esp + 0x68]
movzx ecx, byte [eax]
test cl, cl
je 0x4a0902
movzx ebx, byte [esp + 0x33]
cmp bl, cl
jne 0x4a08f8
jmp 0x4a11ba
cmp bl, dl
je 0x4a0e73
add eax, 1
movzx edx, byte [eax]
test dl, dl
jne 0x4a08f0
movzx eax, byte [esp + 0x20]
mov esi, dword [esp + 0x18]
test al, al
je 0x4a0923
cmp al, 0x3d
jne 0x4a0919
jmp 0x4a0923
test al, al
je 0x4a0923
add esi, 1
movzx eax, byte [esi]
cmp al, 0x3d
jne 0x4a0915
mov eax, dword [esp + 0x6c]
mov ebp, dword [eax]
test ebp, ebp
je 0x4a0dd2
mov eax, esi
mov ebx, dword [esp + 0x6c]
xor edi, edi
sub eax, dword [esp + 0x18]
mov dword [esp + 0x34], esi
mov dword [esp + 0x38], 0xffffffff
mov dword [esp + 0x24], 0
mov esi, eax
mov dword [esp + 0x1c], 0
jmp 0x4a0974
mov dword [esp + 0x24], 1
add ebx, 0x10
mov ebp, dword [ebx]
add edi, 1
test ebp, ebp
je 0x4a09b8
mov eax, dword [esp + 0x18]
mov dword [esp + 8], esi
mov dword [esp], ebp
mov dword [esp + 4], eax
call sub.msvcrt.dll_strncmp
test eax, eax
jne 0x4a0968
mov dword [esp], ebp
call sub.msvcrt.dll_strlen
cmp eax, esi
je 0x4a0da3
mov eax, dword [esp + 0x1c]
test eax, eax
jne 0x4a0960
mov dword [esp + 0x1c], ebx
add ebx, 0x10
mov ebp, dword [ebx]
mov dword [esp + 0x38], edi
add edi, 1
test ebp, ebp
jne 0x4a0974
mov eax, dword [esp + 0x24]
mov esi, dword [esp + 0x34]
test eax, eax
je 0x4a0d40
mov eax, dword [0x4c01a8]
mov esi, dword [esp + 0x28]
mov ebx, dword [esp + 0x18]
test eax, eax
je 0x4a0a0f
mov eax, dword [esp + 0x64]
mov ecx, dword [esp + 0x2c]
mov eax, dword [eax]
mov dword [esp + 0xc], ecx
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 ebx, dword [0x5141fc]
mov esi, dword [0x4c01ac]
mov dword [esp], ebx
add esi, 1
call sub.msvcrt.dll_strlen
mov dword [0x4c01ac], esi
mov dword [0x4c01a4], 0
add ebx, eax
mov eax, 0x3f
mov dword [0x5141fc], ebx
add esp, 0x4c
pop ebx
pop esi
pop edi
pop ebp
ret
mov esi, dword [0x5141e4]
test esi, esi
je 0x4a080d
jmp 0x4a0862
mov eax, dword [0x4c01ac]
cmp dword [0x5141ec], eax
jle 0x4a0a65
mov dword [0x5141ec], eax
cmp eax, dword [0x5141f0]
jge 0x4a0a72
mov dword [0x5141f0], eax
mov ebx, dword [0x5141f8]
cmp ebx, 1
je 0x4a0bf0
cmp dword [esp + 0x60], eax
je 0x4a0c5c
mov edi, dword [esp + 0x64]
mov ecx, 3
mov ebp, dword [edi + eax*4]
mov edi, 0x509c50
mov esi, ebp
repe cmpsb byte [esi], byte es:[edi]
seta cl
mov esi, ecx
setb cl
mov edx, esi
cmp dl, cl
jne 0x4a0bc0
mov edx, dword [0x5141f0]
add eax, 1
mov ecx, dword [0x5141ec]
mov dword [0x4c01ac], eax
cmp edx, ecx
je 0x4a0db0
cmp eax, ecx
je 0x4a0ae1
mov eax, dword [esp + 0x64]
call fcn.004a0700
mov edx, dword [0x5141f0]
mov eax, dword [esp + 0x60]
cmp eax, edx
mov dword [0x5141ec], eax
mov dword [0x4c01ac], eax
jne 0x4a0c6f
add esp, 0x4c
mov eax, 0xffffffff
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [esp + 0x68]
mov ecx, dword [esp + 0x18]
movzx eax, byte [eax]
add ecx, 1
mov dword [0x5141fc], ecx
test al, al
je 0x4a0b42
movzx ebx, byte [esp + 0x20]
cmp bl, al
je 0x4a1031
mov eax, dword [esp + 0x68]
jmp 0x4a0b38
cmp dl, bl
je 0x4a0ce7
add eax, 1
movzx edx, byte [eax]
test dl, dl
jne 0x4a0b30
mov edx, 1
xor eax, eax
mov edi, dword [esp + 0x18]
cmp byte [edi + 1], 0
jne 0x4a0b5a
add dword [0x4c01ac], 1
test dl, dl
je 0x4a0d11
mov ecx, dword [0x4c01a8]
test ecx, ecx
je 0x4a0d31
mov eax, dword [esp + 0x64]
mov edx, dword [0x5141f4]
movsx ebx, byte [esp + 0x20]
mov eax, dword [eax]
test edx, edx
mov dword [esp + 0xc], ebx
mov dword [esp + 8], eax
je 0x4a0fab
mov dword [esp + 4], str._s:_illegal_option_____c_n
mov eax, dword [sym.imp.msvcrt.dll__iob]
add eax, 0x40
mov dword [esp], eax
call sub.msvcrt.dll_fprintf
mov eax, ebx
mov dword [0x4c01a4], eax
add esp, 0x4c
mov eax, 0x3f
pop ebx
pop esi
pop edi
pop ebp
ret
cmp byte [ebp], 0x2d
je 0x4a0c96
test ebx, ebx
je 0x4a0af7
add eax, 1
mov dword [0x4c01ac], eax
mov eax, 1
mov dword [0x5141e8], ebp
add esp, 0x4c
pop ebx
pop esi
pop edi
pop ebp
ret
mov ecx, dword [0x5141f0]
mov edx, dword [0x5141ec]
cmp ecx, edx
je 0x4a0e61
cmp eax, edx
je 0x4a0c16
mov eax, dword [esp + 0x64]
call fcn.004a0700
mov eax, dword [0x4c01ac]
cmp dword [esp + 0x60], eax
mov edx, eax
jle 0x4a0c4c
mov esi, dword [esp + 0x60]
mov ecx, dword [esp + 0x64]
jmp 0x4a0c39
add edx, 1
cmp edx, esi
mov dword [0x4c01ac], edx
je 0x4a0d00
mov eax, dword [ecx + edx*4]
cmp byte [eax], 0x2d
jne 0x4a0c28
cmp byte [eax + 1], 0
je 0x4a0c28
mov eax, dword [0x4c01ac]
mov dword [0x5141ec], edx
cmp dword [esp + 0x60], eax
jne 0x4a0a8b
mov eax, dword [0x5141ec]
mov edx, dword [0x5141f0]
cmp eax, edx
je 0x4a0af7
mov dword [0x4c01ac], edx
add esp, 0x4c
mov eax, 0xffffffff
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [0x5141f8], 0
add dword [esp + 0x68], 1
jmp 0x4a0858
movzx ecx, byte [ebp + 1]
test cl, cl
je 0x4a0bca
mov ebx, dword [esp + 0x6c]
test ebx, ebx
je 0x4a0e57
xor eax, eax
cmp cl, 0x2d
sete al
add eax, 1
lea edx, [ebp + eax]
movzx eax, byte [edx]
mov dword [0x5141fc], edx
mov dword [esp + 0x18], edx
mov byte [esp + 0x20], al
jmp 0x4a0883
mov dword [0x5141f8], 2
add dword [esp + 0x68], 1
jmp 0x4a0858
test eax, eax
sete dl
cmp byte [esp + 0x20], 0x3a
sete bl
or edx, ebx
jmp 0x4a0b49
mov eax, dword [esp + 0x60]
mov edx, eax
mov dword [0x5141ec], edx
jmp 0x4a0c52
cmp byte [eax], 0x57
movzx edx, byte [eax + 1]
je 0x4a0e87
cmp dl, 0x3a
je 0x4a0f72
movsx eax, byte [esp + 0x20]
jmp 0x4a0be5
movsx eax, byte [esp + 0x20]
jmp 0x4a0bab
mov ebx, dword [esp + 0x1c]
test ebx, ebx
je 0x4a0dd2
mov edi, dword [esp + 0x38]
mov eax, dword [esp + 0x28]
add eax, 1
mov dword [0x4c01ac], eax
cmp byte [esi], 0
jne 0x4a0dbc
cmp dword [ebx + 4], 1
je 0x4a107b
mov esi, dword [esp + 0x18]
mov dword [esp], esi
call sub.msvcrt.dll_strlen
mov ebp, dword [esp + 0x70]
add eax, esi
test ebp, ebp
mov dword [0x5141fc], eax
je 0x4a0d8c
mov eax, dword [esp + 0x70]
mov dword [eax], edi
mov eax, dword [ebx + 8]
test eax, eax
je 0x4a10cd
mov edx, dword [ebx + 0xc]
mov dword [eax], edx
xor eax, eax
jmp 0x4a0be5
mov esi, dword [esp + 0x34]
jmp 0x4a0d50
mov dword [0x5141f0], eax
mov edx, eax
jmp 0x4a0ae1
mov eax, dword [ebx + 4]
test eax, eax
je 0x4a0fb8
add esi, 1
mov dword [0x5141e8], esi
jmp 0x4a0d6b
mov edi, dword [esp + 0x74]
test edi, edi
jne 0x4a11c4
mov esi, dword [0x4c01a8]
mov eax, dword [esp + 0x28]
test esi, esi
je 0x4a0e31
cmp byte [esp + 0x33], 0x2d
je 0x4a131e
mov eax, dword [esp + 0x64]
mov edi, dword [esp + 0x18]
mov ecx, dword [esp + 0x2c]
mov eax, dword [eax]
mov dword [esp + 0x10], edi
movsx edx, byte [ecx]
mov dword [esp + 4], str._s:_unrecognized_option___c_s_n
mov dword [esp + 8], eax
mov eax, dword [sym.imp.msvcrt.dll__iob]
mov dword [esp + 0xc], edx
add eax, 0x40
mov dword [esp], eax
call sub.msvcrt.dll_fprintf
mov eax, dword [0x4c01ac]
add eax, 1
mov dword [0x4c01ac], eax
mov eax, 0x3f
mov dword [0x5141fc], 0x509d3c
mov dword [0x4c01a4], 0
jmp 0x4a0be5
mov eax, 1
jmp 0x4a0cb9
cmp eax, ecx
je 0x4a0c16
mov dword [0x5141f0], eax
jmp 0x4a0c16
mov eax, ecx
mov ecx, dword [esp + 0x18]
add ecx, 1
mov dword [0x5141fc], ecx
jmp 0x4a0b1c
cmp dl, 0x3b
jne 0x4a0d1e
mov eax, dword [esp + 0x18]
cmp byte [eax + 1], 0
je 0x4a118d
add dword [0x4c01ac], 1
mov dword [0x5141e8], ecx
mov dword [esp + 0x18], ecx
mov eax, dword [esp + 0x18]
movzx ebx, byte [eax]
mov dword [0x5141fc], eax
cmp bl, 0x3d
je 0x4a1463
test bl, bl
je 0x4a1463
mov esi, eax
jmp 0x4a0ed4
test bl, bl
je 0x4a0edf
add esi, 1
movzx ebx, byte [esi]
cmp bl, 0x3d
jne 0x4a0ed0
mov eax, dword [esp + 0x6c]
mov ebp, dword [eax]
test ebp, ebp
je 0x4a144f
mov eax, esi
xor edi, edi
sub eax, dword [esp + 0x18]
mov byte [esp + 0x28], bl
mov ebx, dword [esp + 0x6c]
mov dword [esp + 0x2c], esi
mov dword [esp + 0x24], 0
mov esi, eax
mov dword [esp + 0x20], 0
mov dword [esp + 0x1c], 0
jmp 0x4a0f38
mov dword [esp + 0x20], 1
add ebx, 0x10
mov ebp, dword [ebx]
add edi, 1
test ebp, ebp
je 0x4a10d5
mov eax, dword [esp + 0x18]
mov dword [esp + 8], esi
mov dword [esp], ebp
mov dword [esp + 4], eax
call sub.msvcrt.dll_strncmp
test eax, eax
jne 0x4a0f28
mov dword [esp], ebp
call sub.msvcrt.dll_strlen
cmp eax, esi
je 0x4a1302
mov ebp, dword [esp + 0x1c]
test ebp, ebp
jne 0x4a0f20
mov dword [esp + 0x24], edi
mov dword [esp + 0x1c], ebx
jmp 0x4a0f28
cmp byte [eax + 2], 0x3a
mov eax, dword [esp + 0x18]
je 0x4a10a7
cmp byte [eax + 1], 0
je 0x4a104d
add dword [0x4c01ac], 1
movsx eax, byte [esp + 0x20]
mov dword [0x5141e8], ecx
mov dword [0x5141fc], 0
jmp 0x4a0be5
mov dword [esp + 4], str._s:_invalid_option_____c_n
jmp 0x4a0b99
mov eax, dword [0x4c01a8]
test eax, eax
je 0x4a0d6b
mov eax, dword [esp + 0x64]
mov edi, dword [esp + 0x28]
mov eax, dword [eax + edi*4]
cmp byte [eax + 1], 0x2d
je 0x4a1224
mov ecx, dword [ebx]
mov edi, dword [esp + 0x64]
mov edx, dword [edi]
mov dword [esp + 0x10], ecx
movsx eax, byte [eax]
mov dword [esp + 4], str._s:_option___c_s_doesnt_allow_an_argument_n
mov dword [esp + 8], edx
mov dword [esp + 0xc], eax
mov eax, dword [sym.imp.msvcrt.dll__iob]
add eax, 0x40
mov dword [esp], eax
call sub.msvcrt.dll_fprintf
mov esi, dword [0x5141fc]
mov dword [esp], esi
call sub.msvcrt.dll_strlen
add esi, eax
mov eax, dword [ebx + 0xc]
mov dword [0x5141fc], esi
mov dword [0x4c01a4], eax
mov eax, 0x3f
jmp 0x4a0be5
mov ebx, dword [esp + 0x68]
cmp byte [esp + 0x20], 0x3a
sete dl
test ebx, ebx
sete al
or edx, eax
mov eax, dword [esp + 0x68]
jmp 0x4a0b49
mov eax, dword [0x4c01ac]
cmp eax, dword [esp + 0x60]
je 0x4a1251
mov ecx, dword [esp + 0x64]
lea edx, [eax + 1]
mov dword [0x4c01ac], edx
mov eax, dword [ecx + eax*4]
mov dword [0x5141e8], eax
movsx eax, byte [esp + 0x20]
jmp 0x4a0f9c
cmp dword [esp + 0x60], eax
jle 0x4a114d
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x3c]
add eax, 2
mov dword [0x4c01ac], eax
mov eax, dword [esp + 0x64]
mov eax, dword [eax + ecx + 4]
mov dword [0x5141e8], eax
jmp 0x4a0d6b
cmp byte [eax + 1], 0
je 0x4a1215
add dword [0x4c01ac], 1
mov dword [0x5141e8], ecx
mov dword [0x5141fc], 0
jmp 0x4a0d27
mov eax, dword [ebx + 0xc]
jmp 0x4a0be5
mov edi, dword [esp + 0x20]
movzx ebx, byte [esp + 0x28]
mov esi, dword [esp + 0x2c]
test edi, edi
je 0x4a127f
mov ecx, dword [0x4c01a8]
mov ebx, dword [esp + 0x18]
test ecx, ecx
je 0x4a112c
mov eax, dword [0x4c01ac]
mov ecx, dword [esp + 0x64]
mov edx, dword [ecx + eax*4]
mov eax, dword [ecx]
mov dword [esp + 4], str._s:_option___W__s_is_ambiguous_n
mov dword [esp + 0xc], edx
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 ebx, dword [0x5141fc]
mov dword [esp], ebx
call sub.msvcrt.dll_strlen
add dword [0x4c01ac], 1
add ebx, eax
mov eax, 0x3f
mov dword [0x5141fc], ebx
jmp 0x4a0be5
mov eax, dword [0x4c01a8]
mov esi, dword [esp + 0x18]
test eax, eax
jne 0x4a1352
mov dword [esp], esi
call sub.msvcrt.dll_strlen
add esi, eax
mov eax, dword [ebx + 0xc]
mov dword [0x5141fc], esi
mov dword [0x4c01a4], eax
mov eax, dword [esp + 0x68]
cmp byte [eax], 0x3a
jne 0x4a0bb0
mov eax, 0x3a
jmp 0x4a0be5
mov eax, dword [0x4c01ac]
cmp eax, dword [esp + 0x60]
je 0x4a138a
mov edi, dword [esp + 0x64]
lea edx, [eax + 1]
mov dword [0x4c01ac], edx
mov eax, dword [edi + eax*4]
mov dword [0x5141e8], eax
mov dword [esp + 0x18], eax
jmp 0x4a0eaf
movzx eax, byte [esp + 0x33]
jmp 0x4a0e75
cmp byte [esp + 0x33], 0x2d
je 0x4a1311
mov eax, dword [esp + 0x68]
movzx eax, byte [eax]
test al, al
je 0x4a11ff
movzx ebx, byte [esp + 0x20]
cmp al, bl
je 0x4a149f
mov edx, dword [esp + 0x68]
jmp 0x4a11f5
cmp cl, bl
je 0x4a0e75
add edx, 1
movzx ecx, byte [edx]
test cl, cl
jne 0x4a11ed
cmp dword [0x4c01a8], 0
jne 0x4a0df7
mov eax, dword [esp + 0x28]
jmp 0x4a0e31
mov dword [0x5141e8], 0
jmp 0x4a10be
mov eax, dword [esp + 0x64]
mov edx, dword [ebx]
mov eax, dword [eax]
mov dword [esp + 0xc], edx
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 0x4a1009
mov eax, dword [0x4c01a8]
movsx ebx, byte [esp + 0x20]
test eax, eax
jne 0x4a1424
mov eax, dword [esp + 0x68]
mov dword [0x4c01a4], ebx
cmp byte [eax], 0x3a
setne al
movzx eax, al
lea eax, [eax + eax*4 + 0x3a]
jmp 0x4a0f9c
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x4a144f
mov edi, dword [esp + 0x24]
mov dword [esp + 0x6c], eax
test bl, bl
mov eax, dword [esp + 0x6c]
je 0x4a13da
cmp dword [eax + 4], 0
jne 0x4a1491
cmp dword [0x4c01a8], 0
je 0x4a12de
mov eax, dword [esp + 0x6c]
mov edx, dword [eax]
mov eax, dword [esp + 0x64]
mov eax, dword [eax]
mov dword [esp + 0xc], edx
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 [0x5141fc]
xor eax, eax
or ecx, 0xffffffff
mov edi, edx
repne scasb al, byte es:[edi]
not ecx
lea eax, [edx + ecx - 1]
mov dword [0x5141fc], eax
mov eax, 0x3f
jmp 0x4a0be5
mov dword [esp + 0x6c], ebx
mov esi, dword [esp + 0x2c]
movzx ebx, byte [esp + 0x28]
jmp 0x4a1293
cmp dword [0x4c01a8], 0
je 0x4a120c
mov eax, dword [esp + 0x64]
mov edi, dword [esp + 0x18]
mov eax, dword [eax]
mov dword [esp + 0xc], edi
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 [0x4c01ac]
jmp 0x4a0e31
mov eax, dword [esp + 0x64]
mov edi, dword [esp + 0x28]
mov edx, dword [eax + edi*4]
mov eax, dword [eax]
mov dword [esp + 4], str._s:_option___s_requires_an_argument_n
mov dword [esp + 0xc], edx
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 [0x5141fc]
jmp 0x4a115e
mov eax, dword [0x4c01a8]
movsx ebx, byte [esp + 0x20]
test eax, eax
je 0x4a13be
mov eax, dword [esp + 0x64]
mov eax, dword [eax]
mov dword [esp + 0xc], ebx
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 + 0x68]
mov dword [0x4c01a4], ebx
cmp byte [eax], 0x3a
setne al
movzx eax, al
lea eax, [eax + eax*4 + 0x3a]
jmp 0x4a0be5
cmp dword [eax + 4], 1
je 0x4a146c
mov ebx, dword [esp + 0x18]
mov dword [esp], ebx
call sub.msvcrt.dll_strlen
mov edx, dword [esp + 0x70]
add eax, ebx
test edx, edx
mov dword [0x5141fc], eax
je 0x4a1405
mov eax, dword [esp + 0x70]
mov dword [eax], edi
mov eax, dword [esp + 0x6c]
mov eax, dword [eax + 8]
test eax, eax
je 0x4a14a9
mov edi, dword [esp + 0x6c]
mov edx, dword [edi + 0xc]
mov dword [eax], edx
xor eax, eax
jmp 0x4a0be5
mov eax, dword [esp + 0x64]
mov eax, dword [eax]
mov dword [esp + 0xc], ebx
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 0x4a1263
mov dword [0x5141fc], 0
mov eax, 0x57
jmp 0x4a0be5
mov esi, dword [esp + 0x18]
jmp 0x4a0edf
mov eax, dword [0x4c01ac]
cmp dword [esp + 0x60], eax
jle 0x4a14b5
mov ecx, dword [esp + 0x64]
lea edx, [eax + 1]
mov dword [0x4c01ac], edx
mov eax, dword [ecx + eax*4]
mov dword [0x5141e8], eax
jmp 0x4a13e4
add esi, 1
mov dword [0x5141e8], esi
jmp 0x4a13e4
movzx eax, byte [esp + 0x20]
jmp 0x4a0e75
mov eax, dword [esp + 0x6c]
mov eax, dword [eax + 0xc]
jmp 0x4a0be5
cmp dword [0x4c01a8], 0
je 0x4a14e8
mov edi, dword [esp + 0x64]
mov edx, dword [edi + eax*4 - 4]
mov eax, dword [edi]
mov dword [esp + 4], str._s:_option___s_requires_an_argument_n
mov dword [esp + 0xc], edx
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 [0x5141fc]
xor eax, eax
or ecx, 0xffffffff
mov edi, edx
repne scasb al, byte es:[edi]
not ecx
lea eax, [edx + ecx - 1]
mov dword [0x5141fc], eax
mov eax, dword [esp + 0x68]
cmp byte [eax], 0x3a
jne 0x4a0bb0
jmp 0x4a1183