Function at 0x469580
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x4c
mov dword [0x4b16e8], 0
mov eax, dword [0x484efc]
test eax, eax
je 0x4697c0
mov eax, dword [0x4b16ec]
test eax, eax
jne 0x469607
sub esp, 0xc
mov eax, dword [0x484efc]
mov dword [0x4b1730], eax
mov dword [0x4b1720], eax
mov dword [0x4b16f0], 0
push str.POSIXLY_CORRECT
call sub.msvcrt.dll_getenv
mov ecx, dword [ebp + 0x10]
mov dword [0x4b1710], eax
add esp, 0x10
mov dl, byte [ecx]
cmp dl, 0x2d
je 0x469946
cmp dl, 0x2b
je 0x4699c2
test eax, eax
sete al
and eax, 0xff
mov dword [0x4b1700], eax
mov dword [0x4b16ec], 1
mov eax, dword [0x4b16f0]
test eax, eax
je 0x469619
cmp byte [eax], 0
jne 0x469704
mov ebx, dword [0x484efc]
mov dword [ebp - 0x54], ebx
cmp dword [0x4b1730], ebx
jle 0x469630
mov dword [0x4b1730], ebx
mov edi, dword [ebp - 0x54]
cmp edi, dword [0x4b1720]
jge 0x469641
mov dword [0x4b1720], edi
mov eax, dword [0x4b1700]
mov dword [ebp - 0x44], eax
dec eax
je 0x469959
mov edx, dword [ebp + 8]
cmp dword [ebp - 0x54], edx
je 0x4696ac
mov ecx, dword [ebp - 0x54]
mov ebx, dword [ebp + 0xc]
mov edx, 0x4a8e10
mov eax, 3
mov ecx, dword [ebx + ecx*4]
mov edi, edx
cld
mov dword [ebp - 0x50], ecx
mov esi, ecx
mov ecx, eax
repe cmpsb byte [esi], byte es:[edi]
jne 0x4696ca
mov eax, dword [ebp - 0x54]
mov edx, dword [0x4b1730]
inc eax
cmp dword [0x4b1720], edx
mov dword [0x484efc], eax
je 0x469a30
cmp eax, edx
je 0x46969f
mov eax, ebx
call fcn.00469440
mov eax, dword [ebp + 8]
mov dword [0x4b1730], eax
mov dword [0x484efc], eax
mov eax, dword [0x4b1720]
cmp eax, dword [0x4b1730]
jne 0x469b1c
or esi, 0xffffffff
lea esp, [ebp - 0xc]
mov eax, esi
pop ebx
pop esi
pop edi
pop ebp
ret
mov edi, dword [ebp - 0x50]
cmp byte [edi], 0x2d
jne 0x4699d8
mov ecx, dword [ebp - 0x50]
mov ebx, dword [ebp - 0x50]
inc ebx
mov dl, byte [ecx + 1]
test dl, dl
je 0x4699d8
mov esi, dword [ebp + 0x14]
xor eax, eax
test esi, esi
je 0x4696fc
cmp dl, 0x2d
sete al
and eax, 0xff
add ebx, eax
mov dword [0x4b16f0], ebx
mov ebx, dword [ebp + 0x14]
test ebx, ebx
je 0x46972d
mov eax, dword [0x484efc]
mov edi, dword [ebp + 0xc]
mov eax, dword [edi + eax*4]
mov dl, byte [eax + 1]
cmp dl, 0x2d
je 0x469831
mov ecx, dword [ebp + 0x1c]
test ecx, ecx
jne 0x469818
mov ebx, dword [0x4b16f0]
mov al, byte [ebx]
lea edi, [ebx + 1]
movsx esi, al
mov byte [ebp - 0x29], al
mov edx, esi
mov dword [ebp - 0x48], edi
mov dword [ebp - 0x4c], esi
mov eax, dword [ebp + 0x10]
mov dword [0x4b16f0], edi
call fcn.00469410
mov edx, dword [0x484efc]
cmp byte [ebx + 1], 1
adc edx, 0
test eax, eax
mov dword [0x484efc], edx
je 0x4697cf
cmp byte [ebp - 0x29], 0x3a
je 0x4697cf
cmp byte [eax], 0x57
je 0x469cc6
mov cl, byte [eax + 1]
cmp cl, 0x3a
jne 0x4696c0
cmp byte [eax + 2], 0x3a
je 0x469e16
cmp byte [edi], 0
je 0x469de4
mov ecx, dword [0x484efc]
mov dword [0x4b16e8], edi
inc ecx
mov dword [0x484efc], ecx
mov esi, dword [ebp - 0x4c]
mov dword [0x4b16f0], 0
jmp 0x4696c0
mov dword [0x484efc], 1
jmp 0x4695a9
mov edx, dword [0x484f00]
test edx, edx
je 0x469803
mov eax, dword [0x4b1710]
test eax, eax
je 0x469b29
push esi
mov edx, dword [ebp + 0xc]
mov eax, dword [edx]
push eax
push str._s:_illegal_option_____c_n
mov eax, dword [sym.imp.msvcrt.dll__iob]
add eax, 0x40
push eax
call fcn.00469560
add esp, 0x10
mov dword [0x484f04], esi
mov esi, 0x3f
lea esp, [ebp - 0xc]
mov eax, esi
pop ebx
pop esi
pop edi
pop ebp
ret
cmp byte [eax + 2], 0
jne 0x469831
movsx edx, dl
mov eax, dword [ebp + 0x10]
call fcn.00469410
test eax, eax
jne 0x46972d
mov eax, dword [0x4b16f0]
mov dword [ebp - 0x48], eax
mov dl, byte [eax]
mov byte [ebp - 0xd], dl
test dl, dl
je 0x469b00
mov edi, eax
cmp dl, 0x3d
je 0x469b00
inc edi
mov al, byte [edi]
test al, al
jne 0x469a04
mov ecx, dword [ebp + 0x14]
mov esi, dword [ecx]
test esi, esi
je 0x469bb1
mov ebx, edi
mov edx, dword [ebp - 0x48]
sub ebx, edx
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x14], ebx
mov ebx, ecx
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0xffffffff
mov dword [ebp - 0x30], 0
jmp 0x4698a3
add ebx, 0x10
mov esi, dword [ebx]
test esi, esi
je 0x4698e9
mov eax, dword [ebp - 0x30]
inc eax
mov dword [ebp - 0x30], eax
push eax
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x48]
push eax
push esi
call sub.msvcrt.dll_strncmp
add esp, 0x10
test eax, eax
jne 0x469893
sub esp, 0xc
push esi
call sub.msvcrt.dll_strlen
add esp, 0x10
cmp eax, dword [ebp - 0x14]
je 0x469a6d
mov eax, dword [ebp - 0x3c]
test eax, eax
je 0x469a11
add ebx, 0x10
mov dword [ebp - 0x38], 1
mov esi, dword [ebx]
test esi, esi
jne 0x46989c
mov eax, dword [ebp - 0x38]
test eax, eax
je 0x469a76
mov edi, dword [0x484f00]
test edi, edi
jne 0x469a3a
sub esp, 0xc
mov ecx, dword [ebp - 0x48]
mov esi, 0x3f
push ecx
call sub.msvcrt.dll_strlen
mov edx, dword [ebp - 0x48]
mov dword [0x484f04], 0
add edx, eax
mov eax, dword [0x484efc]
mov dword [ebp - 0x48], edx
inc eax
mov ebx, dword [ebp - 0x48]
mov dword [0x484efc], eax
mov dword [0x4b16f0], ebx
mov eax, esi
add esp, 0x10
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
inc ecx
mov dword [0x4b1700], 2
mov dword [ebp + 0x10], ecx
jmp 0x4695fd
mov edx, dword [0x4b1720]
mov eax, dword [0x4b1730]
cmp edx, eax
je 0x469ae9
cmp dword [ebp - 0x54], eax
je 0x469982
mov eax, dword [ebp + 0xc]
call fcn.00469440
mov edx, dword [0x484efc]
mov dword [ebp - 0x54], edx
mov ecx, dword [ebp - 0x54]
mov ebx, dword [ebp + 0xc]
cmp dword [ebp + 8], ecx
lea edx, [ebx + ecx*4]
jg 0x4699a1
jmp 0x4699b7
inc ecx
add edx, 4
mov dword [0x484efc], ecx
cmp ecx, dword [ebp + 8]
je 0x469a1f
mov eax, dword [edx]
cmp byte [eax], 0x2d
jne 0x469992
cmp byte [eax + 1], 0
je 0x469992
mov edi, dword [0x484efc]
mov dword [ebp - 0x54], edi
mov dword [0x4b1730], ecx
jmp 0x469650
mov eax, dword [ebp + 0x10]
mov dword [0x4b1700], 0
inc eax
mov dword [ebp + 0x10], eax
jmp 0x4695fd
mov edi, dword [ebp - 0x44]
test edi, edi
je 0x4696bd
mov eax, dword [ebp - 0x54]
mov ebx, dword [ebp - 0x50]
inc eax
mov esi, 1
mov dword [0x484efc], eax
mov dword [0x4b16e8], ebx
mov eax, esi
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
cmp al, 0x3d
jne 0x469851
jmp 0x46985c
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x34], eax
jmp 0x469893
mov eax, dword [ebp + 8]
mov dword [0x4b1730], ecx
mov dword [ebp - 0x54], eax
jmp 0x469650
mov dword [0x4b1720], eax
jmp 0x46969f
mov eax, dword [0x484efc]
mov edx, dword [ebp + 0xc]
mov esi, dword [edx + eax*4]
mov eax, dword [sym.imp.msvcrt.dll__iob]
push esi
add eax, 0x40
mov ebx, dword [edx]
push ebx
push str._s:_option___s_is_ambiguous_n
push eax
call fcn.00469560
mov ecx, dword [0x4b16f0]
add esp, 0x10
mov dword [ebp - 0x48], ecx
jmp 0x469902
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x3c]
test eax, eax
je 0x469bb1
mov edx, dword [0x484efc]
inc edx
mov dword [0x484efc], edx
cmp byte [edi], 0
jne 0x469b08
mov edi, dword [ebp - 0x3c]
cmp dword [edi + 4], 1
je 0x469c2c
sub esp, 0xc
mov ecx, dword [ebp - 0x48]
push ecx
call sub.msvcrt.dll_strlen
mov edx, dword [ebp - 0x48]
add esp, 0x10
add edx, eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x48], edx
test eax, eax
mov ebx, dword [ebp - 0x48]
mov dword [0x4b16f0], ebx
je 0x469acf
mov edi, dword [ebp + 0x18]
mov eax, dword [ebp - 0x34]
mov dword [edi], eax
mov ecx, dword [ebp - 0x3c]
mov edx, dword [ecx + 8]
test edx, edx
je 0x469c49
mov eax, dword [ecx + 0xc]
xor esi, esi
mov dword [edx], eax
jmp 0x4696c0
cmp dword [ebp - 0x54], edx
je 0x469982
mov ecx, dword [ebp - 0x54]
mov dword [0x4b1720], ecx
jmp 0x469982
mov edi, dword [ebp - 0x48]
jmp 0x46985c
mov ecx, dword [ebp - 0x3c]
mov eax, dword [ecx + 4]
test eax, eax
je 0x469b3a
lea eax, [edi + 1]
mov dword [0x4b16e8], eax
jmp 0x469aa0
or esi, 0xffffffff
mov dword [0x484efc], eax
jmp 0x4696c0
push esi
mov ecx, dword [ebp + 0xc]
mov eax, dword [ecx]
push eax
push str._s:_invalid_option_____c_n
jmp 0x4697f2
mov edi, dword [0x484f00]
test edi, edi
je 0x469aa0
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebx + edx*4 - 4]
cmp byte [eax + 1], 0x2d
je 0x469ca2
mov edx, dword [ebp - 0x3c]
sub esp, 0xc
mov edx, dword [edx]
push edx
movsx eax, byte [eax]
push eax
mov ecx, dword [ebp + 0xc]
mov eax, dword [ecx]
push eax
mov eax, dword [sym.imp.msvcrt.dll__iob]
add eax, 0x40
push str._s:_option___c_s_doesnt_allow_an_argument_n
push eax
call fcn.00469560
add esp, 0x20
sub esp, 0xc
mov ebx, dword [0x4b16f0]
mov esi, 0x3f
push ebx
call sub.msvcrt.dll_strlen
add ebx, eax
add esp, 0x10
mov dword [0x4b16f0], ebx
mov ebx, dword [ebp - 0x3c]
mov eax, dword [ebx + 0xc]
mov dword [0x484f04], eax
jmp 0x4696c0
mov eax, dword [ebp + 0x1c]
test eax, eax
jne 0x469edf
mov eax, dword [0x484f00]
test eax, eax
je 0x469c01
mov eax, dword [0x484efc]
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + eax*4]
cmp byte [eax + 1], 0x2d
je 0x469d93
sub esp, 0xc
mov esi, dword [ebp - 0x48]
push esi
movsx eax, byte [eax]
push eax
mov eax, dword [sym.imp.msvcrt.dll__iob]
mov ecx, dword [ebp + 0xc]
add eax, 0x40
mov ebx, dword [ecx]
push ebx
push str._s:_unrecognized_option___c_s_n
push eax
call fcn.00469560
add esp, 0x20
mov ecx, dword [0x484efc]
mov esi, 0x3f
inc ecx
mov dword [0x4b16f0], 0x4a8efc
mov dword [0x484efc], ecx
mov dword [0x484f04], 0
jmp 0x4696c0
cmp dword [ebp + 8], edx
jle 0x469c54
mov ecx, dword [ebp + 0xc]
mov eax, dword [ecx + edx*4]
mov dword [0x4b16e8], eax
lea eax, [edx + 1]
mov dword [0x484efc], eax
jmp 0x469aa0
mov ebx, dword [ebp - 0x3c]
mov esi, dword [ebx + 0xc]
jmp 0x4696c0
mov eax, dword [0x484f00]
test eax, eax
jne 0x469db5
sub esp, 0xc
mov esi, dword [ebp - 0x48]
push esi
call sub.msvcrt.dll_strlen
mov ebx, dword [ebp - 0x48]
mov edx, dword [ebp - 0x3c]
add ebx, eax
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 0x48], ebx
add esp, 0x10
mov eax, dword [ebp - 0x48]
mov dword [0x4b16f0], eax
mov eax, dword [edx + 0xc]
mov dword [0x484f04], eax
cmp byte [ecx], 0x3a
setne al
and eax, 0xff
lea esi, [eax + eax*4 + 0x3a]
jmp 0x4696c0
mov edi, dword [ebp - 0x3c]
mov eax, dword [sym.imp.msvcrt.dll__iob]
add eax, 0x40
mov esi, dword [edi]
push esi
mov ecx, dword [ebx]
push ecx
push str._s:_option_____s_doesnt_allow_an_argument_n
push eax
call fcn.00469560
add esp, 0x10
jmp 0x469b82
mov cl, byte [eax + 1]
cmp cl, 0x3b
jne 0x46977d
cmp byte [ebx + 1], 0
je 0x469ebe
mov eax, dword [0x484efc]
mov ebx, dword [ebp - 0x48]
inc eax
mov dword [0x4b16e8], ebx
mov dword [0x484efc], eax
mov ebx, dword [0x4b16e8]
mov dword [ebp - 0x48], ebx
mov dword [0x4b16f0], ebx
mov al, byte [ebx]
test al, al
setne byte [ebp - 0x3d]
jne 0x469e92
mov edi, dword [ebp - 0x48]
mov dword [ebp - 0x28], edi
mov ecx, dword [ebp + 0x14]
mov ebx, dword [ecx]
test ebx, ebx
je 0x469f4b
mov esi, dword [ebp - 0x48]
mov edi, dword [ebp - 0x28]
sub edi, esi
mov esi, ecx
mov dword [ebp - 0x18], edi
xor edi, edi
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x1c], 0
jmp 0x469d54
add esi, 0x10
mov ebx, dword [esi]
test ebx, ebx
je 0x469e3d
inc edi
push edx
mov eax, dword [ebp - 0x18]
push eax
mov eax, dword [ebp - 0x48]
push eax
push ebx
call sub.msvcrt.dll_strncmp
add esp, 0x10
test eax, eax
jne 0x469d46
sub esp, 0xc
push ebx
call sub.msvcrt.dll_strlen
add esp, 0x10
cmp eax, dword [ebp - 0x18]
je 0x469f3e
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x469e0b
mov dword [ebp - 0x20], 1
jmp 0x469d46
mov eax, dword [ebp - 0x48]
push eax
mov eax, dword [sym.imp.msvcrt.dll__iob]
mov edi, dword [edx]
add eax, 0x40
push edi
push str._s:_unrecognized_option_____s_n
push eax
call fcn.00469560
add esp, 0x10
jmp 0x469c01
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebx + edx*4 - 4]
push eax
mov eax, dword [sym.imp.msvcrt.dll__iob]
mov edi, dword [ebx]
add eax, 0x40
push edi
push str._s:_option___s_requires_an_argument_n
push eax
call fcn.00469560
mov edi, dword [0x4b16f0]
add esp, 0x10
mov dword [ebp - 0x48], edi
jmp 0x469c61
mov edx, dword [0x484efc]
cmp edx, dword [ebp + 8]
je 0x469f10
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebx + edx*4]
mov dword [0x4b16e8], eax
lea eax, [edx + 1]
mov dword [0x484efc], eax
jmp 0x4697ac
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x1c], edi
jmp 0x469d46
cmp byte [edi], 0
je 0x469e86
mov ebx, dword [0x484efc]
mov dword [0x4b16e8], edi
inc ebx
mov dword [0x484efc], ebx
mov dword [0x4b16f0], 0
jmp 0x4696c0
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x469f44
mov eax, dword [0x484f00]
test eax, eax
jne 0x46a063
sub esp, 0xc
mov ebx, dword [0x4b16f0]
push ebx
call sub.msvcrt.dll_strlen
mov esi, dword [0x484efc]
add ebx, eax
inc esi
add esp, 0x10
mov dword [0x484efc], esi
mov esi, 0x3f
mov dword [0x4b16f0], ebx
jmp 0x4696c0
mov dword [0x4b16e8], 0
jmp 0x469e2e
mov dword [ebp - 0x28], ebx
cmp al, 0x3d
je 0x469d0d
mov edi, dword [ebp - 0x28]
inc edi
mov dword [ebp - 0x28], edi
mov edx, dword [ebp - 0x28]
mov al, byte [edx]
test al, al
setne byte [ebp - 0x3d]
je 0x469d13
cmp al, 0x3d
jne 0x469e9d
jmp 0x469d13
cmp edx, dword [ebp + 8]
je 0x46a098
mov ecx, dword [ebp + 0xc]
mov eax, dword [ecx + edx*4]
mov dword [0x4b16e8], eax
lea eax, [edx + 1]
mov dword [0x484efc], eax
jmp 0x469cf0
mov eax, dword [0x484efc]
mov edi, dword [ebp + 0xc]
mov eax, dword [edi + eax*4]
cmp byte [eax + 1], 0x2d
je 0x469bbc
movsx edx, byte [ebp - 0xd]
mov eax, dword [ebp + 0x10]
call fcn.00469410
test eax, eax
jne 0x46972d
jmp 0x469bbc
mov edx, dword [0x484f00]
test edx, edx
jne 0x46a041
mov edx, dword [ebp + 0x10]
mov dword [0x484f04], esi
cmp byte [edx], 0x3a
setne al
and eax, 0xff
lea ecx, [eax + eax*4 + 0x3a]
mov dword [ebp - 0x4c], ecx
jmp 0x4697ac
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x1c], edi
mov ebx, dword [ebp - 0x24]
test ebx, ebx
jne 0x469f5f
mov esi, 0x57
mov dword [0x4b16f0], 0
jmp 0x4696c0
cmp byte [ebp - 0x3d], 0
je 0x46a014
mov ecx, dword [ebp - 0x24]
mov ecx, dword [ecx + 4]
test ecx, ecx
jne 0x469fc3
mov edx, dword [0x484f00]
test edx, edx
je 0x469f9f
mov ebx, dword [ebp - 0x24]
mov eax, dword [ebx]
push eax
mov edi, dword [ebp + 0xc]
mov eax, dword [edi]
push eax
mov eax, dword [sym.imp.msvcrt.dll__iob]
add eax, 0x40
push str._s:_option___W__s_doesnt_allow_an_argument_n
push eax
call fcn.00469560
add esp, 0x10
sub esp, 0xc
mov ebx, dword [0x4b16f0]
mov esi, 0x3f
push ebx
call sub.msvcrt.dll_strlen
add esp, 0x10
add ebx, eax
mov dword [0x4b16f0], ebx
jmp 0x4696c0
mov eax, dword [ebp - 0x28]
inc eax
mov dword [0x4b16e8], eax
sub esp, 0xc
mov eax, dword [ebp - 0x48]
push eax
call sub.msvcrt.dll_strlen
mov edi, dword [ebp - 0x48]
mov esi, dword [ebp + 0x18]
add edi, eax
add esp, 0x10
mov dword [ebp - 0x48], edi
test esi, esi
mov eax, dword [ebp - 0x48]
mov dword [0x4b16f0], eax
je 0x469ffa
mov edx, dword [ebp + 0x18]
mov ecx, dword [ebp - 0x1c]
mov dword [edx], ecx
mov ebx, dword [ebp - 0x24]
mov edx, dword [ebx + 8]
test edx, edx
je 0x46a08d
mov eax, dword [ebx + 0xc]
xor esi, esi
mov dword [edx], eax
jmp 0x4696c0
mov eax, dword [ebp - 0x24]
cmp dword [eax + 4], 1
jne 0x469fcc
mov edx, dword [0x484efc]
cmp dword [ebp + 8], edx
jle 0x46a0db
mov ecx, dword [ebp + 0xc]
mov eax, dword [ecx + edx*4]
mov dword [0x4b16e8], eax
lea eax, [edx + 1]
mov dword [0x484efc], eax
jmp 0x469fcc
push esi
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
push eax
mov eax, dword [sym.imp.msvcrt.dll__iob]
add eax, 0x40
push str._s:_option_requires_an_argument_____c_n
push eax
call fcn.00469560
add esp, 0x10
jmp 0x469f1e
mov edx, dword [ebp + 0xc]
mov eax, dword [0x484efc]
mov eax, dword [edx + eax*4]
push eax
mov eax, dword [sym.imp.msvcrt.dll__iob]
mov edi, dword [edx]
add eax, 0x40
push edi
push str._s:_option___W__s_is_ambiguous_n
push eax
call fcn.00469560
add esp, 0x10
jmp 0x469e55
mov edi, dword [ebp - 0x24]
mov esi, dword [edi + 0xc]
jmp 0x4696c0
mov eax, dword [0x484f00]
test eax, eax
je 0x46a0be
push esi
mov edi, dword [ebp + 0xc]
mov eax, dword [edi]
push eax
mov eax, dword [sym.imp.msvcrt.dll__iob]
add eax, 0x40
push str._s:_option_requires_an_argument_____c_n
push eax
call fcn.00469560
add esp, 0x10
mov eax, dword [ebp + 0x10]
mov dword [0x484f04], esi
cmp byte [eax], 0x3a
setne al
and eax, 0xff
lea esi, [eax + eax*4 + 0x3a]
jmp 0x4696c0
mov eax, dword [0x484f00]
test eax, eax
je 0x46a105
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebx + edx*4 - 4]
push eax
mov eax, dword [ebx]
push eax
mov eax, dword [sym.imp.msvcrt.dll__iob]
add eax, 0x40
push str._s:_option___s_requires_an_argument_n
push eax
call fcn.00469560
add esp, 0x10
sub esp, 0xc
mov ebx, dword [0x4b16f0]
push ebx
call sub.msvcrt.dll_strlen
mov edi, dword [ebp + 0x10]
add ebx, eax
mov dword [0x4b16f0], ebx
add esp, 0x10
cmp byte [edi], 0x3a
setne al
and eax, 0xff
lea esi, [eax + eax*4 + 0x3a]
jmp 0x4696c0