Function at 0x4712f0
Capabilities:
Query environment variable

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x5c
mov eax, dword [0x47e8d0]
mov dword [0x4ba524], 0
test eax, eax
jne 0x471550
mov dword [0x47e8d0], 1
mov eax, 1
mov dword [esp], str.POSIXLY_CORRECT
mov dword [0x4ba528], eax
mov dword [0x4ba52c], eax
mov dword [0x4ba538], 0
call sub.msvcrt.dll_getenv
mov edi, dword [esp + 0x78]
mov dword [0x4ba530], eax
movzx edx, byte [edi]
cmp dl, 0x2d
je 0x471810
cmp dl, 0x2b
je 0x4717c0
test eax, eax
sete al
movzx eax, al
mov dword [0x4ba534], eax
mov dword [0x4ba520], 1
mov eax, dword [0x4ba538]
test eax, eax
je 0x471563
movzx ecx, byte [eax]
test cl, cl
mov byte [esp + 0x2c], cl
je 0x471563
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x7c]
test eax, eax
je 0x471614
mov eax, dword [0x47e8d0]
lea edi, [eax*4]
mov dword [esp + 0x38], eax
mov dword [esp + 0x48], 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 0x471412
mov eax, dword [esp + 0x84]
test eax, eax
je 0x471614
mov eax, dword [esp + 0x3c]
cmp byte [eax + 2], 0
jne 0x471412
mov eax, dword [esp + 0x78]
movzx edx, byte [eax]
test dl, dl
je 0x471412
movzx ebx, byte [esp + 0x43]
cmp bl, dl
je 0x4719f0
mov eax, dword [esp + 0x78]
jmp 0x471408
cmp bl, cl
je 0x4719f0
add eax, 1
movzx ecx, byte [eax]
test cl, cl
jne 0x471400
movzx eax, byte [esp + 0x2c]
mov esi, dword [esp + 0x28]
cmp al, 0x3d
jne 0x47170e
mov eax, dword [esp + 0x7c]
mov ebp, dword [eax]
test ebp, ebp
je 0x471932
mov eax, esi
sub eax, dword [esp + 0x28]
mov dword [esp + 0x4c], esi
mov ebx, dword [esp + 0x7c]
xor edi, edi
mov dword [esp + 0x44], 0xffffffff
mov dword [esp + 0x34], 0
mov dword [esp + 0x30], 0
mov esi, eax
jmp 0x471474
mov dword [esp + 0x34], 1
add ebx, 0x10
mov ebp, dword [ebx]
add edi, 1
test ebp, ebp
je 0x4714c0
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 0x471468
mov dword [esp], ebp
call sub.msvcrt.dll_strlen
cmp eax, esi
je 0x471900
mov eax, dword [esp + 0x30]
test eax, eax
jne 0x471460
mov dword [esp + 0x30], ebx
add ebx, 0x10
mov ebp, dword [ebx]
mov dword [esp + 0x44], edi
add edi, 1
test ebp, ebp
jne 0x471474
nop
lea esi, [esi]
mov eax, dword [esp + 0x34]
mov esi, dword [esp + 0x4c]
test eax, eax
je 0x471890
mov eax, dword [0x47e8cc]
mov ebx, dword [esp + 0x28]
test eax, eax
je 0x471516
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.004712c0
mov eax, dword [0x47e8d0]
mov ebx, dword [0x4ba538]
mov dword [esp + 0x38], eax
mov dword [esp], ebx
call sub.msvcrt.dll_strlen
add eax, ebx
mov dword [0x4ba538], eax
mov eax, dword [esp + 0x38]
mov dword [0x47e8c8], 0
add eax, 1
mov dword [0x47e8d0], eax
add esp, 0x5c
mov eax, 0x3f
pop ebx
pop esi
pop edi
pop ebp
ret
mov ecx, dword [0x4ba520]
test ecx, ecx
je 0x47131d
jmp 0x471372
mov eax, dword [0x47e8d0]
cmp dword [0x4ba528], eax
jle 0x471575
mov dword [0x4ba528], eax
cmp eax, dword [0x4ba52c]
jge 0x471582
mov dword [0x4ba52c], eax
mov ebx, dword [0x4ba534]
cmp ebx, 1
je 0x471725
cmp dword [esp + 0x70], eax
je 0x471790
mov edi, dword [esp + 0x74]
mov ecx, 3
mov ebp, dword [edi + eax*4]
mov edi, 0x4a10ac
mov esi, ebp
repe cmpsb byte [esi], byte es:[edi]
seta cl
mov esi, ecx
setb cl
mov edx, esi
cmp dl, cl
jne 0x4716d0
mov edx, dword [0x4ba52c]
mov ecx, dword [0x4ba528]
add eax, 1
mov dword [0x47e8d0], eax
cmp edx, ecx
je 0x471910
cmp eax, ecx
je 0x4715f1
mov eax, dword [esp + 0x74]
call fcn.004711e0
mov edx, dword [0x4ba52c]
mov eax, dword [esp + 0x70]
cmp eax, edx
mov dword [0x4ba528], eax
mov dword [0x47e8d0], eax
jne 0x4717a3
add esp, 0x5c
mov eax, 0xffffffff
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [esp + 0x78]
movzx edx, byte [eax]
mov eax, dword [esp + 0x28]
lea ecx, [eax + 1]
test dl, dl
mov dword [0x4ba538], ecx
je 0x471653
cmp dl, byte [esp + 0x2c]
je 0x471824
mov eax, dword [esp + 0x78]
movzx ebx, byte [esp + 0x2c]
jmp 0x471649
cmp dl, bl
je 0x471830
add eax, 1
movzx edx, byte [eax]
test dl, dl
jne 0x471641
mov eax, dword [esp + 0x28]
cmp byte [eax + 1], 0
jne 0x471673
mov edx, 1
xor eax, eax
add dword [0x47e8d0], 1
test dl, dl
je 0x471870
mov eax, dword [0x47e8cc]
movsx ebx, byte [esp + 0x2c]
test eax, eax
je 0x4716b4
mov eax, dword [0x4ba530]
mov dword [esp + 0xc], ebx
test eax, eax
mov eax, dword [esp + 0x74]
mov eax, dword [eax]
mov dword [esp + 8], eax
je 0x471b2b
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.004712c0
mov dword [0x47e8c8], ebx
add esp, 0x5c
mov eax, 0x3f
pop ebx
pop esi
pop edi
pop ebp
ret
cmp byte [ebp], 0x2d
je 0x4717d4
test ebx, ebx
je 0x471607
add eax, 1
mov dword [0x4ba524], ebp
mov dword [0x47e8d0], eax
mov eax, 1
add esp, 0x5c
pop ebx
pop esi
pop edi
pop ebp
ret
add esi, 1
movzx eax, byte [esi]
cmp al, 0x3d
je 0x471423
test al, al
jne 0x471700
mov eax, dword [esp + 0x7c]
mov ebp, dword [eax]
test ebp, ebp
jne 0x471431
jmp 0x471932
mov edx, dword [0x4ba528]
cmp dword [0x4ba52c], edx
je 0x4719d5
cmp eax, edx
je 0x47174a
mov eax, dword [esp + 0x74]
call fcn.004711e0
mov edx, dword [0x47e8d0]
cmp dword [esp + 0x70], edx
jle 0x471852
mov esi, dword [esp + 0x70]
mov ecx, dword [esp + 0x74]
jmp 0x471771
add edx, 1
cmp edx, esi
mov dword [0x47e8d0], edx
je 0x471852
mov eax, dword [ecx + edx*4]
cmp byte [eax], 0x2d
jne 0x471760
cmp byte [eax + 1], 0
je 0x471760
mov eax, dword [0x47e8d0]
jmp 0x471854
mov eax, dword [0x4ba528]
mov edx, dword [0x4ba52c]
cmp eax, edx
je 0x471607
mov dword [0x47e8d0], edx
add esp, 0x5c
mov eax, 0xffffffff
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [0x4ba534], 0
add dword [esp + 0x78], 1
jmp 0x471368
movzx ecx, byte [ebp + 1]
test cl, cl
je 0x4716da
mov edx, dword [esp + 0x7c]
cmp cl, 0x2d
sete al
xor ecx, ecx
test edx, edx
setne cl
and eax, ecx
lea eax, [ebp + eax + 1]
movzx ebx, byte [eax]
mov dword [0x4ba538], eax
mov dword [esp + 0x28], eax
mov byte [esp + 0x2c], bl
jmp 0x471392
mov dword [0x4ba534], 2
add dword [esp + 0x78], 1
jmp 0x471368
mov eax, dword [esp + 0x78]
nop
lea esi, [esi]
test eax, eax
mov edi, dword [esp + 0x28]
sete bl
cmp byte [esp + 0x2c], 0x3a
sete dl
or edx, ebx
cmp byte [edi + 1], 0
je 0x471664
jmp 0x47166b
mov eax, edx
cmp dword [esp + 0x70], eax
mov dword [0x4ba528], edx
jne 0x47159b
jmp 0x471790
cmp byte [eax], 0x57
movzx edx, byte [eax + 1]
je 0x471a02
cmp dl, 0x3a
je 0x471af2
movsx eax, byte [esp + 0x2c]
jmp 0x4716f5
mov eax, dword [esp + 0x30]
test eax, eax
je 0x471932
mov edi, dword [esp + 0x44]
mov ebx, eax
mov eax, dword [esp + 0x38]
add eax, 1
mov dword [0x47e8d0], eax
cmp byte [esi], 0
jne 0x47191c
cmp dword [ebx + 4], 1
je 0x471bef
mov esi, dword [esp + 0x28]
mov dword [esp], esi
call sub.msvcrt.dll_strlen
mov edx, dword [esp + 0x80]
add eax, esi
mov dword [0x4ba538], eax
test edx, edx
je 0x4718e4
mov eax, dword [esp + 0x80]
mov dword [eax], edi
mov eax, dword [ebx + 8]
test eax, eax
je 0x471c41
mov edx, dword [ebx + 0xc]
mov dword [eax], edx
xor eax, eax
jmp 0x4716f5
mov esi, dword [esp + 0x4c]
jmp 0x4718a2
mov dword [0x4ba52c], eax
mov edx, eax
jmp 0x4715f1
mov ebp, dword [ebx + 4]
test ebp, ebp
je 0x471b48
add esi, 1
mov dword [0x4ba524], esi
jmp 0x4718bd
cmp byte [esp + 0x43], 0x2d
sete cl
je 0x471977
mov eax, dword [esp + 0x84]
test eax, eax
je 0x471977
mov eax, dword [esp + 0x78]
movzx eax, byte [eax]
test al, al
je 0x471977
movzx ebx, byte [esp + 0x2c]
cmp bl, al
je 0x472025
mov eax, dword [esp + 0x78]
jmp 0x47196d
cmp dl, bl
je 0x471f7e
add eax, 1
movzx edx, byte [eax]
test dl, dl
jne 0x471965
mov eax, dword [0x47e8cc]
test eax, eax
je 0x4719c6
test cl, cl
mov eax, dword [esp + 0x28]
jne 0x471e24
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x3c]
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.004712c0
mov eax, dword [0x47e8d0]
mov dword [esp + 0x38], eax
mov dword [0x4ba538], 0x4a1198
jmp 0x471525
cmp eax, edx
je 0x47174a
mov dword [0x4ba52c], eax
mov edx, eax
jmp 0x47174a
mov eax, dword [esp + 0x28]
lea ecx, [eax + 1]
mov dword [0x4ba538], ecx
jmp 0x47162c
cmp dl, 0x3b
jne 0x47187d
mov eax, dword [esp + 0x28]
cmp byte [eax + 1], 0
je 0x471cfc
add dword [0x47e8d0], 1
mov dword [0x4ba524], ecx
mov dword [esp + 0x28], ecx
mov eax, dword [esp + 0x28]
movzx ebx, byte [eax]
mov dword [0x4ba538], eax
cmp bl, 0x3d
je 0x471f23
test bl, bl
jne 0x471a54
jmp 0x471f23
test bl, bl
je 0x471a5f
add eax, 1
movzx ebx, byte [eax]
cmp bl, 0x3d
jne 0x471a50
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x7c]
mov esi, dword [eax]
test esi, esi
je 0x471f0f
mov ebp, dword [esp + 0x34]
mov byte [esp + 0x3c], bl
xor edi, edi
sub ebp, dword [esp + 0x28]
mov dword [esp + 0x38], 0
mov ebx, eax
mov dword [esp + 0x30], 0
mov dword [esp + 0x2c], 0
jmp 0x471ab8
mov dword [esp + 0x30], 1
add ebx, 0x10
mov esi, dword [ebx]
add edi, 1
test esi, esi
je 0x471c49
mov eax, dword [esp + 0x28]
mov dword [esp + 8], ebp
mov dword [esp], esi
mov dword [esp + 4], eax
call sub.msvcrt.dll_strncmp
test eax, eax
jne 0x471aa8
mov dword [esp], esi
call sub.msvcrt.dll_strlen
cmp eax, ebp
je 0x471e19
mov eax, dword [esp + 0x2c]
test eax, eax
jne 0x471aa0
mov dword [esp + 0x38], edi
mov dword [esp + 0x2c], ebx
jmp 0x471aa8
cmp byte [eax + 2], 0x3a
mov eax, dword [esp + 0x28]
je 0x471c1b
cmp byte [eax + 1], 0
je 0x471bc1
add dword [0x47e8d0], 1
movsx eax, byte [esp + 0x2c]
mov dword [0x4ba524], ecx
mov dword [0x4ba538], 0
jmp 0x4716f5
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.004712c0
jmp 0x4716b4
mov esi, dword [0x47e8cc]
test esi, esi
je 0x4718bd
mov eax, dword [esp + 0x74]
mov edi, dword [esp + 0x48]
mov eax, dword [eax + edi]
cmp byte [eax + 1], 0x2d
je 0x471d67
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.004712c0
mov esi, dword [0x4ba538]
mov dword [esp], esi
call sub.msvcrt.dll_strlen
add eax, esi
mov dword [0x4ba538], eax
mov eax, dword [ebx + 0xc]
mov dword [0x47e8c8], eax
mov eax, 0x3f
jmp 0x4716f5
mov eax, dword [0x47e8d0]
cmp eax, dword [esp + 0x70]
je 0x471d39
mov edi, dword [esp + 0x74]
lea edx, [eax + 1]
mov dword [0x47e8d0], edx
mov eax, dword [edi + eax*4]
mov dword [0x4ba524], eax
movsx eax, byte [esp + 0x2c]
jmp 0x471b1c
cmp dword [esp + 0x70], eax
jle 0x471cbc
mov eax, dword [esp + 0x38]
mov esi, dword [esp + 0x48]
add eax, 2
mov dword [0x47e8d0], eax
mov eax, dword [esp + 0x74]
mov eax, dword [eax + esi + 4]
mov dword [0x4ba524], eax
jmp 0x4718bd
cmp byte [eax + 1], 0
je 0x471d2a
add dword [0x47e8d0], 1
mov dword [0x4ba524], ecx
mov dword [0x4ba538], 0
jmp 0x471886
mov eax, dword [ebx + 0xc]
jmp 0x4716f5
mov esi, dword [esp + 0x30]
movzx ebx, byte [esp + 0x3c]
test esi, esi
je 0x471d94
mov ecx, dword [0x47e8cc]
mov ebx, dword [esp + 0x28]
test ecx, ecx
je 0x471c9c
mov edi, dword [esp + 0x74]
mov eax, dword [0x47e8d0]
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.004712c0
mov ebx, dword [0x4ba538]
mov dword [esp], ebx
call sub.msvcrt.dll_strlen
add eax, ebx
add dword [0x47e8d0], 1
mov dword [0x4ba538], eax
mov eax, 0x3f
jmp 0x4716f5
mov ecx, dword [0x47e8cc]
mov esi, dword [esp + 0x28]
test ecx, ecx
jne 0x471e58
mov dword [esp], esi
call sub.msvcrt.dll_strlen
add eax, esi
mov dword [0x4ba538], eax
mov eax, dword [ebx + 0xc]
mov dword [0x47e8c8], eax
mov eax, dword [esp + 0x78]
cmp byte [eax], 0x3a
jne 0x4716ba
mov eax, 0x3a
jmp 0x4716f5
mov eax, dword [0x47e8d0]
cmp eax, dword [esp + 0x70]
je 0x471e94
mov edi, dword [esp + 0x74]
lea edx, [eax + 1]
mov dword [0x47e8d0], edx
mov ecx, dword [edi + eax*4]
mov dword [0x4ba524], ecx
mov dword [esp + 0x28], ecx
jmp 0x471a2a
mov dword [0x4ba524], 0
jmp 0x471c32
mov eax, dword [0x47e8cc]
movsx ebx, byte [esp + 0x2c]
test eax, eax
jne 0x471ee4
mov eax, dword [esp + 0x78]
mov dword [0x47e8c8], ebx
cmp byte [eax], 0x3a
setne al
movzx eax, al
lea eax, [eax + eax*4 + 0x3a]
jmp 0x471b1c
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.004712c0
jmp 0x471b9a
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x471f0f
mov edi, dword [esp + 0x38]
mov dword [esp + 0x7c], eax
test bl, bl
mov eax, dword [esp + 0x7c]
je 0x471f30
cmp dword [eax + 4], 0
jne 0x471fb2
cmp dword [0x47e8cc], 0
je 0x471df3
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.004712c0
mov edx, dword [0x4ba538]
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 [0x4ba538], eax
mov eax, 0x3f
jmp 0x4716f5
mov dword [esp + 0x7c], ebx
movzx ebx, byte [esp + 0x3c]
jmp 0x471da8
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x74]
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.004712c0
mov eax, dword [0x47e8d0]
mov dword [esp + 0x38], eax
jmp 0x4719c6
mov eax, dword [esp + 0x74]
mov edi, dword [esp + 0x48]
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.004712c0
mov esi, dword [0x4ba538]
jmp 0x471cce
mov eax, dword [0x47e8cc]
movsx ebx, byte [esp + 0x2c]
test eax, eax
je 0x471ec8
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.004712c0
mov eax, dword [esp + 0x78]
mov dword [0x47e8c8], ebx
cmp byte [eax], 0x3a
setne al
movzx eax, al
lea eax, [eax + eax*4 + 0x3a]
jmp 0x4716f5
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.004712c0
jmp 0x471d4b
mov dword [0x4ba538], 0
mov eax, 0x57
jmp 0x4716f5
mov eax, dword [esp + 0x28]
mov dword [esp + 0x34], eax
jmp 0x471a63
cmp dword [eax + 4], 1
je 0x471f90
mov ebx, dword [esp + 0x28]
mov dword [esp], ebx
call sub.msvcrt.dll_strlen
mov edx, dword [esp + 0x80]
lea ecx, [ebx + eax]
mov dword [0x4ba538], ecx
test edx, edx
je 0x471f5f
mov eax, dword [esp + 0x80]
mov dword [eax], edi
mov eax, dword [esp + 0x7c]
mov eax, dword [eax + 8]
test eax, eax
je 0x47203b
mov edi, dword [esp + 0x7c]
mov edx, dword [edi + 0xc]
mov dword [eax], edx
xor eax, eax
jmp 0x4716f5
mov eax, dword [esp + 0x28]
lea ecx, [eax + 1]
mov dword [0x4ba538], ecx
jmp 0x471636
mov eax, dword [0x47e8d0]
cmp dword [esp + 0x70], eax
jle 0x471fc4
mov ebx, dword [esp + 0x74]
lea edx, [eax + 1]
mov dword [0x47e8d0], edx
mov eax, dword [ebx + eax*4]
mov dword [0x4ba524], eax
jmp 0x471f36
mov ebx, dword [esp + 0x34]
add ebx, 1
mov dword [0x4ba524], ebx
jmp 0x471f36
cmp dword [0x47e8cc], 0
je 0x471ff7
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.004712c0
mov edx, dword [0x4ba538]
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 [0x4ba538], eax
mov eax, dword [esp + 0x78]
cmp byte [eax], 0x3a
jne 0x4716ba
jmp 0x471cf2
mov eax, dword [esp + 0x28]
lea ecx, [eax + 1]
mov eax, dword [esp + 0x78]
mov dword [0x4ba538], ecx
jmp 0x471830
mov eax, dword [esp + 0x7c]
mov eax, dword [eax + 0xc]
jmp 0x4716f5