Function at 0x45a920
Capabilities:
Query environment variable

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x4c
mov eax, dword [0x476844]
mov dword [0x49f474], 0
test eax, eax
jne 0x45ab80
mov dword [0x476844], 1
mov eax, 1
mov dword [esp], str.POSIXLY_CORRECT
mov dword [0x49f478], eax
mov dword [0x49f47c], eax
mov dword [0x49f488], 0
call sub.msvcrt.dll_getenv
mov edi, dword [esp + 0x68]
movzx edx, byte [edi]
mov dword [0x49f480], eax
cmp dl, 0x2d
je 0x45ae13
cmp dl, 0x2b
je 0x45adc2
test eax, eax
sete al
movzx eax, al
mov dword [0x49f484], eax
mov dword [0x49f470], 1
mov edx, dword [0x49f488]
test edx, edx
je 0x45ab93
movzx eax, byte [edx]
test al, al
mov byte [esp + 0x20], al
je 0x45ab93
mov dword [esp + 0x18], edx
mov ecx, dword [esp + 0x6c]
test ecx, ecx
je 0x45ac44
mov eax, dword [0x476844]
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 0x45aa42
mov edx, dword [esp + 0x74]
test edx, edx
je 0x45ac44
mov eax, dword [esp + 0x2c]
cmp byte [eax + 2], 0
jne 0x45aa42
mov eax, dword [esp + 0x68]
movzx ecx, byte [eax]
test cl, cl
je 0x45aa42
movzx ebx, byte [esp + 0x33]
cmp bl, cl
jne 0x45aa38
jmp 0x45b2fa
cmp bl, dl
je 0x45afb3
add eax, 1
movzx edx, byte [eax]
test dl, dl
jne 0x45aa30
movzx eax, byte [esp + 0x20]
mov esi, dword [esp + 0x18]
test al, al
je 0x45aa63
cmp al, 0x3d
jne 0x45aa59
jmp 0x45aa63
test al, al
je 0x45aa63
add esi, 1
movzx eax, byte [esi]
cmp al, 0x3d
jne 0x45aa55
mov eax, dword [esp + 0x6c]
mov ebp, dword [eax]
test ebp, ebp
je 0x45af12
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 0x45aab4
mov dword [esp + 0x24], 1
add ebx, 0x10
mov ebp, dword [ebx]
add edi, 1
test ebp, ebp
je 0x45aaf8
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 0x45aaa8
mov dword [esp], ebp
call sub.msvcrt.dll_strlen
cmp eax, esi
je 0x45aee3
mov eax, dword [esp + 0x1c]
test eax, eax
jne 0x45aaa0
mov dword [esp + 0x1c], ebx
add ebx, 0x10
mov ebp, dword [ebx]
mov dword [esp + 0x38], edi
add edi, 1
test ebp, ebp
jne 0x45aab4
mov eax, dword [esp + 0x24]
mov esi, dword [esp + 0x34]
test eax, eax
je 0x45ae80
mov eax, dword [0x476840]
mov esi, dword [esp + 0x28]
mov ebx, dword [esp + 0x18]
test eax, eax
je 0x45ab4f
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 [0x49f488]
mov esi, dword [0x476844]
mov dword [esp], ebx
add esi, 1
call sub.msvcrt.dll_strlen
mov dword [0x476844], esi
mov dword [0x47683c], 0
add ebx, eax
mov eax, 0x3f
mov dword [0x49f488], ebx
add esp, 0x4c
pop ebx
pop esi
pop edi
pop ebp
ret
mov esi, dword [0x49f470]
test esi, esi
je 0x45a94d
jmp 0x45a9a2
mov eax, dword [0x476844]
cmp dword [0x49f478], eax
jle 0x45aba5
mov dword [0x49f478], eax
cmp eax, dword [0x49f47c]
jge 0x45abb2
mov dword [0x49f47c], eax
mov ebx, dword [0x49f484]
cmp ebx, 1
je 0x45ad30
cmp dword [esp + 0x60], eax
je 0x45ad9c
mov edi, dword [esp + 0x64]
mov ecx, 3
mov ebp, dword [edi + eax*4]
mov edi, 0x495a90
mov esi, ebp
repe cmpsb byte [esi], byte es:[edi]
seta cl
mov esi, ecx
setb cl
mov edx, esi
cmp dl, cl
jne 0x45ad00
mov edx, dword [0x49f47c]
add eax, 1
mov ecx, dword [0x49f478]
mov dword [0x476844], eax
cmp edx, ecx
je 0x45aef0
cmp eax, ecx
je 0x45ac21
mov eax, dword [esp + 0x64]
call fcn.0045a840
mov edx, dword [0x49f47c]
mov eax, dword [esp + 0x60]
cmp eax, edx
mov dword [0x49f478], eax
mov dword [0x476844], eax
jne 0x45adaf
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 [0x49f488], ecx
test al, al
je 0x45ac82
movzx ebx, byte [esp + 0x20]
cmp bl, al
je 0x45b171
mov eax, dword [esp + 0x68]
jmp 0x45ac78
cmp dl, bl
je 0x45ae27
add eax, 1
movzx edx, byte [eax]
test dl, dl
jne 0x45ac70
mov edx, 1
xor eax, eax
mov edi, dword [esp + 0x18]
cmp byte [edi + 1], 0
jne 0x45ac9a
add dword [0x476844], 1
test dl, dl
je 0x45ae51
mov ecx, dword [0x476840]
test ecx, ecx
je 0x45ae71
mov eax, dword [esp + 0x64]
mov edx, dword [0x49f480]
movsx ebx, byte [esp + 0x20]
mov eax, dword [eax]
test edx, edx
mov dword [esp + 0xc], ebx
mov dword [esp + 8], eax
je 0x45b0eb
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 [0x47683c], eax
add esp, 0x4c
mov eax, 0x3f
pop ebx
pop esi
pop edi
pop ebp
ret
cmp byte [ebp], 0x2d
je 0x45add6
test ebx, ebx
je 0x45ac37
add eax, 1
mov dword [0x476844], eax
mov eax, 1
mov dword [0x49f474], ebp
add esp, 0x4c
pop ebx
pop esi
pop edi
pop ebp
ret
mov ecx, dword [0x49f47c]
mov edx, dword [0x49f478]
cmp ecx, edx
je 0x45afa1
cmp eax, edx
je 0x45ad56
mov eax, dword [esp + 0x64]
call fcn.0045a840
mov eax, dword [0x476844]
cmp dword [esp + 0x60], eax
mov edx, eax
jle 0x45ad8c
mov esi, dword [esp + 0x60]
mov ecx, dword [esp + 0x64]
jmp 0x45ad79
add edx, 1
cmp edx, esi
mov dword [0x476844], edx
je 0x45ae40
mov eax, dword [ecx + edx*4]
cmp byte [eax], 0x2d
jne 0x45ad68
cmp byte [eax + 1], 0
je 0x45ad68
mov eax, dword [0x476844]
mov dword [0x49f478], edx
cmp dword [esp + 0x60], eax
jne 0x45abcb
mov eax, dword [0x49f478]
mov edx, dword [0x49f47c]
cmp eax, edx
je 0x45ac37
mov dword [0x476844], edx
add esp, 0x4c
mov eax, 0xffffffff
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [0x49f484], 0
add dword [esp + 0x68], 1
jmp 0x45a998
movzx ecx, byte [ebp + 1]
test cl, cl
je 0x45ad0a
mov ebx, dword [esp + 0x6c]
test ebx, ebx
je 0x45af97
xor eax, eax
cmp cl, 0x2d
sete al
add eax, 1
lea edx, [ebp + eax]
movzx eax, byte [edx]
mov dword [0x49f488], edx
mov dword [esp + 0x18], edx
mov byte [esp + 0x20], al
jmp 0x45a9c3
mov dword [0x49f484], 2
add dword [esp + 0x68], 1
jmp 0x45a998
test eax, eax
sete dl
cmp byte [esp + 0x20], 0x3a
sete bl
or edx, ebx
jmp 0x45ac89
mov eax, dword [esp + 0x60]
mov edx, eax
mov dword [0x49f478], edx
jmp 0x45ad92
cmp byte [eax], 0x57
movzx edx, byte [eax + 1]
je 0x45afc7
cmp dl, 0x3a
je 0x45b0b2
movsx eax, byte [esp + 0x20]
jmp 0x45ad25
movsx eax, byte [esp + 0x20]
jmp 0x45aceb
mov ebx, dword [esp + 0x1c]
test ebx, ebx
je 0x45af12
mov edi, dword [esp + 0x38]
mov eax, dword [esp + 0x28]
add eax, 1
mov dword [0x476844], eax
cmp byte [esi], 0
jne 0x45aefc
cmp dword [ebx + 4], 1
je 0x45b1bb
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 [0x49f488], eax
je 0x45aecc
mov eax, dword [esp + 0x70]
mov dword [eax], edi
mov eax, dword [ebx + 8]
test eax, eax
je 0x45b20d
mov edx, dword [ebx + 0xc]
mov dword [eax], edx
xor eax, eax
jmp 0x45ad25
mov esi, dword [esp + 0x34]
jmp 0x45ae90
mov dword [0x49f47c], eax
mov edx, eax
jmp 0x45ac21
mov eax, dword [ebx + 4]
test eax, eax
je 0x45b0f8
add esi, 1
mov dword [0x49f474], esi
jmp 0x45aeab
mov edi, dword [esp + 0x74]
test edi, edi
jne 0x45b304
mov esi, dword [0x476840]
mov eax, dword [esp + 0x28]
test esi, esi
je 0x45af71
cmp byte [esp + 0x33], 0x2d
je 0x45b45e
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 [0x476844]
add eax, 1
mov dword [0x476844], eax
mov eax, 0x3f
mov dword [0x49f488], 0x495b7c
mov dword [0x47683c], 0
jmp 0x45ad25
mov eax, 1
jmp 0x45adf9
cmp eax, ecx
je 0x45ad56
mov dword [0x49f47c], eax
jmp 0x45ad56
mov eax, ecx
mov ecx, dword [esp + 0x18]
add ecx, 1
mov dword [0x49f488], ecx
jmp 0x45ac5c
cmp dl, 0x3b
jne 0x45ae5e
mov eax, dword [esp + 0x18]
cmp byte [eax + 1], 0
je 0x45b2cd
add dword [0x476844], 1
mov dword [0x49f474], ecx
mov dword [esp + 0x18], ecx
mov eax, dword [esp + 0x18]
movzx ebx, byte [eax]
mov dword [0x49f488], eax
cmp bl, 0x3d
je 0x45b5a3
test bl, bl
je 0x45b5a3
mov esi, eax
jmp 0x45b014
test bl, bl
je 0x45b01f
add esi, 1
movzx ebx, byte [esi]
cmp bl, 0x3d
jne 0x45b010
mov eax, dword [esp + 0x6c]
mov ebp, dword [eax]
test ebp, ebp
je 0x45b58f
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 0x45b078
mov dword [esp + 0x20], 1
add ebx, 0x10
mov ebp, dword [ebx]
add edi, 1
test ebp, ebp
je 0x45b215
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 0x45b068
mov dword [esp], ebp
call sub.msvcrt.dll_strlen
cmp eax, esi
je 0x45b442
mov ebp, dword [esp + 0x1c]
test ebp, ebp
jne 0x45b060
mov dword [esp + 0x24], edi
mov dword [esp + 0x1c], ebx
jmp 0x45b068
cmp byte [eax + 2], 0x3a
mov eax, dword [esp + 0x18]
je 0x45b1e7
cmp byte [eax + 1], 0
je 0x45b18d
add dword [0x476844], 1
movsx eax, byte [esp + 0x20]
mov dword [0x49f474], ecx
mov dword [0x49f488], 0
jmp 0x45ad25
mov dword [esp + 4], str._s:_invalid_option_____c_n
jmp 0x45acd9
mov eax, dword [0x476840]
test eax, eax
je 0x45aeab
mov eax, dword [esp + 0x64]
mov edi, dword [esp + 0x28]
mov eax, dword [eax + edi*4]
cmp byte [eax + 1], 0x2d
je 0x45b364
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 [0x49f488]
mov dword [esp], esi
call sub.msvcrt.dll_strlen
add esi, eax
mov eax, dword [ebx + 0xc]
mov dword [0x49f488], esi
mov dword [0x47683c], eax
mov eax, 0x3f
jmp 0x45ad25
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 0x45ac89
mov eax, dword [0x476844]
cmp eax, dword [esp + 0x60]
je 0x45b391
mov ecx, dword [esp + 0x64]
lea edx, [eax + 1]
mov dword [0x476844], edx
mov eax, dword [ecx + eax*4]
mov dword [0x49f474], eax
movsx eax, byte [esp + 0x20]
jmp 0x45b0dc
cmp dword [esp + 0x60], eax
jle 0x45b28d
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x3c]
add eax, 2
mov dword [0x476844], eax
mov eax, dword [esp + 0x64]
mov eax, dword [eax + ecx + 4]
mov dword [0x49f474], eax
jmp 0x45aeab
cmp byte [eax + 1], 0
je 0x45b355
add dword [0x476844], 1
mov dword [0x49f474], ecx
mov dword [0x49f488], 0
jmp 0x45ae67
mov eax, dword [ebx + 0xc]
jmp 0x45ad25
mov edi, dword [esp + 0x20]
movzx ebx, byte [esp + 0x28]
mov esi, dword [esp + 0x2c]
test edi, edi
je 0x45b3bf
mov ecx, dword [0x476840]
mov ebx, dword [esp + 0x18]
test ecx, ecx
je 0x45b26c
mov eax, dword [0x476844]
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 [0x49f488]
mov dword [esp], ebx
call sub.msvcrt.dll_strlen
add dword [0x476844], 1
add ebx, eax
mov eax, 0x3f
mov dword [0x49f488], ebx
jmp 0x45ad25
mov eax, dword [0x476840]
mov esi, dword [esp + 0x18]
test eax, eax
jne 0x45b492
mov dword [esp], esi
call sub.msvcrt.dll_strlen
add esi, eax
mov eax, dword [ebx + 0xc]
mov dword [0x49f488], esi
mov dword [0x47683c], eax
mov eax, dword [esp + 0x68]
cmp byte [eax], 0x3a
jne 0x45acf0
mov eax, 0x3a
jmp 0x45ad25
mov eax, dword [0x476844]
cmp eax, dword [esp + 0x60]
je 0x45b4ca
mov edi, dword [esp + 0x64]
lea edx, [eax + 1]
mov dword [0x476844], edx
mov eax, dword [edi + eax*4]
mov dword [0x49f474], eax
mov dword [esp + 0x18], eax
jmp 0x45afef
movzx eax, byte [esp + 0x33]
jmp 0x45afb5
cmp byte [esp + 0x33], 0x2d
je 0x45b451
mov eax, dword [esp + 0x68]
movzx eax, byte [eax]
test al, al
je 0x45b33f
movzx ebx, byte [esp + 0x20]
cmp al, bl
je 0x45b5df
mov edx, dword [esp + 0x68]
jmp 0x45b335
cmp cl, bl
je 0x45afb5
add edx, 1
movzx ecx, byte [edx]
test cl, cl
jne 0x45b32d
cmp dword [0x476840], 0
jne 0x45af37
mov eax, dword [esp + 0x28]
jmp 0x45af71
mov dword [0x49f474], 0
jmp 0x45b1fe
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 0x45b149
mov eax, dword [0x476840]
movsx ebx, byte [esp + 0x20]
test eax, eax
jne 0x45b564
mov eax, dword [esp + 0x68]
mov dword [0x47683c], ebx
cmp byte [eax], 0x3a
setne al
movzx eax, al
lea eax, [eax + eax*4 + 0x3a]
jmp 0x45b0dc
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x45b58f
mov edi, dword [esp + 0x24]
mov dword [esp + 0x6c], eax
test bl, bl
mov eax, dword [esp + 0x6c]
je 0x45b51a
cmp dword [eax + 4], 0
jne 0x45b5d1
cmp dword [0x476840], 0
je 0x45b41e
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 [0x49f488]
xor eax, eax
or ecx, 0xffffffff
mov edi, edx
repne scasb al, byte es:[edi]
not ecx
lea eax, [edx + ecx - 1]
mov dword [0x49f488], eax
mov eax, 0x3f
jmp 0x45ad25
mov dword [esp + 0x6c], ebx
mov esi, dword [esp + 0x2c]
movzx ebx, byte [esp + 0x28]
jmp 0x45b3d3
cmp dword [0x476840], 0
je 0x45b34c
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 [0x476844]
jmp 0x45af71
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 [0x49f488]
jmp 0x45b29e
mov eax, dword [0x476840]
movsx ebx, byte [esp + 0x20]
test eax, eax
je 0x45b4fe
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 [0x47683c], ebx
cmp byte [eax], 0x3a
setne al
movzx eax, al
lea eax, [eax + eax*4 + 0x3a]
jmp 0x45ad25
cmp dword [eax + 4], 1
je 0x45b5ac
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 [0x49f488], eax
je 0x45b545
mov eax, dword [esp + 0x70]
mov dword [eax], edi
mov eax, dword [esp + 0x6c]
mov eax, dword [eax + 8]
test eax, eax
je 0x45b5e9
mov edi, dword [esp + 0x6c]
mov edx, dword [edi + 0xc]
mov dword [eax], edx
xor eax, eax
jmp 0x45ad25
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 0x45b3a3
mov dword [0x49f488], 0
mov eax, 0x57
jmp 0x45ad25
mov esi, dword [esp + 0x18]
jmp 0x45b01f
mov eax, dword [0x476844]
cmp dword [esp + 0x60], eax
jle 0x45b5f5
mov ecx, dword [esp + 0x64]
lea edx, [eax + 1]
mov dword [0x476844], edx
mov eax, dword [ecx + eax*4]
mov dword [0x49f474], eax
jmp 0x45b524
add esi, 1
mov dword [0x49f474], esi
jmp 0x45b524
movzx eax, byte [esp + 0x20]
jmp 0x45afb5
mov eax, dword [esp + 0x6c]
mov eax, dword [eax + 0xc]
jmp 0x45ad25
cmp dword [0x476840], 0
je 0x45b628
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 [0x49f488]
xor eax, eax
or ecx, 0xffffffff
mov edi, edx
repne scasb al, byte es:[edi]
not ecx
lea eax, [edx + ecx - 1]
mov dword [0x49f488], eax
mov eax, dword [esp + 0x68]
cmp byte [eax], 0x3a
jne 0x45acf0
jmp 0x45b2c3