Function at 0x45f108
Capabilities:
Query environment variable

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x4c
mov dword [0x4a9284], 0
mov eax, dword [0x4740e8]
test eax, eax
jne 0x45f388
mov dword [0x4740e8], 1
mov eax, 1
mov dword [0x4a9288], eax
mov dword [0x4a928c], eax
mov dword [0x4a9298], 0
mov dword [esp], str.POSIXLY_CORRECT
call sub.msvcrt.dll_getenv
mov dword [0x4a9290], eax
mov esi, dword [esp + 0x68]
mov dl, byte [esi]
cmp dl, 0x2d
je 0x45f634
cmp dl, 0x2b
je 0x45f58c
test eax, eax
sete al
movzx eax, al
mov dword [0x4a9294], eax
mov dword [0x4a9280], 1
mov edx, dword [0x4a9298]
test edx, edx
je 0x45f39c
mov al, byte [edx]
mov byte [esp + 0x1c], al
test al, al
je 0x45f39c
mov esi, edx
mov eax, dword [esp + 0x6c]
test eax, eax
je 0x45f444
mov eax, dword [0x4740e8]
mov dword [esp + 0x2c], eax
shl eax, 2
mov dword [esp + 0x34], eax
mov edi, dword [esp + 0x64]
mov eax, dword [edi + eax]
mov dword [esp + 0x28], eax
mov al, byte [eax + 1]
mov byte [esp + 0x33], al
cmp al, 0x2d
je 0x45f218
mov eax, dword [esp + 0x74]
test eax, eax
je 0x45f444
mov eax, dword [esp + 0x28]
cmp byte [eax + 2], 0
jne 0x45f218
mov eax, dword [esp + 0x68]
mov cl, byte [eax]
test cl, cl
je 0x45f218
mov bl, byte [esp + 0x33]
cmp bl, cl
jne 0x45f210
jmp 0x45fb47
cmp bl, dl
je 0x45f8fc
inc eax
mov dl, byte [eax]
test dl, dl
jne 0x45f208
nop
mov al, byte [esp + 0x1c]
mov ebx, esi
test al, al
jne 0x45f4e7
nop
mov eax, dword [esp + 0x6c]
mov edi, dword [eax]
test edi, edi
je 0x45f781
mov eax, ebx
sub eax, esi
mov ebp, dword [esp + 0x6c]
mov dword [esp + 0x18], 0
mov dword [esp + 0x38], 0xffffffff
mov dword [esp + 0x24], 0
mov dword [esp + 0x20], 0
mov dword [esp + 0x3c], ebx
mov ebx, ebp
mov ebp, eax
jmp 0x45f27d
mov dword [esp + 0x24], 1
add ebx, 0x10
inc dword [esp + 0x18]
mov edi, dword [ebx]
test edi, edi
je 0x45f2c4
mov dword [esp + 8], ebp
mov dword [esp + 4], esi
mov dword [esp], edi
call sub.msvcrt.dll_strncmp
test eax, eax
jne 0x45f270
mov ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp ecx, ebp
je 0x45f6ac
mov eax, dword [esp + 0x20]
test eax, eax
jne 0x45f268
mov eax, dword [esp + 0x18]
mov dword [esp + 0x38], eax
mov dword [esp + 0x20], ebx
add ebx, 0x10
inc dword [esp + 0x18]
mov edi, dword [ebx]
test edi, edi
jne 0x45f27d
mov ebx, dword [esp + 0x3c]
mov edx, dword [esp + 0x24]
test edx, edx
jne 0x45f65c
mov eax, dword [esp + 0x38]
mov dword [esp + 0x18], eax
mov ebp, dword [esp + 0x20]
test ebp, ebp
je 0x45f781
mov eax, dword [esp + 0x2c]
inc eax
mov dword [0x4740e8], eax
cmp byte [ebx], 0
je 0x45f6b8
mov eax, dword [ebp + 4]
test eax, eax
jne 0x45f711
mov eax, dword [0x4740e4]
test eax, eax
je 0x45f6c2
mov eax, dword [esp + 0x64]
mov esi, dword [esp + 0x34]
mov eax, dword [eax + esi]
cmp byte [eax + 1], 0x2d
je 0x45fa3c
mov ecx, dword [ebp]
mov dword [esp + 0x10], ecx
movsx eax, byte [eax]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x64]
mov eax, dword [eax]
mov dword [esp + 8], eax
mov dword [esp + 4], str._s:_option___c_s_doesnt_allow_an_argument_n
mov eax, dword [sym.imp.msvcrt.dll__iob]
add eax, 0x40
mov dword [esp], eax
call sub.msvcrt.dll_fprintf
mov ebx, dword [0x4a9298]
xor eax, eax
mov ecx, 0xffffffff
mov edi, ebx
repne scasb al, byte es:[edi]
not ecx
lea eax, [ebx + ecx - 1]
mov dword [0x4a9298], eax
mov eax, dword [ebp + 0xc]
mov dword [0x4740e0], eax
mov eax, 0x3f
jmp 0x45f4d2
mov esi, dword [0x4a9280]
test esi, esi
je 0x45f135
jmp 0x45f189
mov eax, dword [0x4740e8]
cmp dword [0x4a9288], eax
jle 0x45f3ae
mov dword [0x4a9288], eax
cmp eax, dword [0x4a928c]
jge 0x45f3bb
mov dword [0x4a928c], eax
mov ebp, dword [0x4a9294]
cmp ebp, 1
je 0x45f4f0
cmp dword [esp + 0x60], eax
je 0x45f55a
mov esi, dword [esp + 0x64]
mov edx, dword [esi + eax*4]
mov edi, 0x48f5c0
mov ecx, 3
mov esi, edx
repe cmpsb byte [esi], byte es:[edi]
jne 0x45f4b0
lea edx, [eax + 1]
mov dword [0x4740e8], edx
mov eax, dword [0x4a928c]
mov ecx, dword [0x4a9288]
cmp eax, ecx
je 0x45f704
cmp edx, ecx
je 0x45f41d
mov eax, dword [esp + 0x64]
call fcn.0045f034
mov eax, dword [0x4a928c]
mov esi, dword [esp + 0x60]
mov dword [0x4a9288], esi
mov dword [0x4740e8], esi
mov edx, esi
cmp eax, edx
jne 0x45f56d
mov eax, 0xffffffff
add esp, 0x4c
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [esp + 0x68]
mov al, byte [eax]
lea ecx, [esi + 1]
mov dword [0x4a9298], ecx
test al, al
je 0x45f473
mov bl, byte [esp + 0x1c]
cmp al, bl
mov eax, dword [esp + 0x68]
jne 0x45f46c
jmp 0x45f475
cmp bl, dl
je 0x45f475
inc eax
mov dl, byte [eax]
test dl, dl
jne 0x45f468
xor eax, eax
cmp byte [esi + 1], 0
je 0x45f580
test eax, eax
je 0x45f5a0
cmp byte [esp + 0x1c], 0x3a
je 0x45f5a0
cmp byte [eax], 0x57
mov dl, byte [eax + 1]
je 0x45f820
cmp dl, 0x3a
je 0x45f90c
movsx eax, byte [esp + 0x1c]
jmp 0x45f4d2
cmp byte [edx], 0x2d
je 0x45f5fc
test ebp, ebp
je 0x45f437
inc eax
mov dword [0x4740e8], eax
mov dword [0x4a9284], edx
mov eax, 1
add esp, 0x4c
pop ebx
pop esi
pop edi
pop ebp
ret
inc ebx
mov al, byte [ebx]
test al, al
je 0x45f228
cmp al, 0x3d
jne 0x45f4dc
jmp 0x45f228
mov ecx, dword [0x4a928c]
mov edx, dword [0x4a9288]
cmp ecx, edx
je 0x45f80c
cmp eax, edx
je 0x45f516
mov eax, dword [esp + 0x64]
call fcn.0045f034
mov eax, dword [0x4740e8]
mov edx, eax
cmp dword [esp + 0x60], eax
jle 0x45f54a
mov ebx, dword [esp + 0x60]
mov ecx, dword [esp + 0x64]
jmp 0x45f537
inc edx
mov dword [0x4740e8], edx
cmp edx, ebx
je 0x45f648
mov eax, dword [ecx + edx*4]
cmp byte [eax], 0x2d
jne 0x45f528
cmp byte [eax + 1], 0
je 0x45f528
mov eax, dword [0x4740e8]
mov dword [0x4a9288], edx
cmp dword [esp + 0x60], eax
jne 0x45f3d4
mov edx, dword [0x4a9288]
mov eax, dword [0x4a928c]
cmp eax, edx
je 0x45f437
mov dword [0x4740e8], eax
mov eax, 0xffffffff
add esp, 0x4c
pop ebx
pop esi
pop edi
pop ebp
ret
inc dword [0x4740e8]
jmp 0x45f47f
mov dword [0x4a9294], 0
inc dword [esp + 0x68]
jmp 0x45f17f
mov eax, dword [0x4740e4]
test eax, eax
je 0x45f6a0
movsx ebx, byte [esp + 0x1c]
mov eax, dword [0x4a9290]
test eax, eax
mov dword [esp + 0xc], ebx
mov eax, dword [esp + 0x64]
mov eax, dword [eax]
mov dword [esp + 8], eax
je 0x45f938
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 [0x4740e0], eax
mov eax, 0x3f
add esp, 0x4c
pop ebx
pop esi
pop edi
pop ebp
ret
mov cl, byte [edx + 1]
test cl, cl
je 0x45f4b9
mov ebx, dword [esp + 0x6c]
test ebx, ebx
je 0x45f800
xor eax, eax
cmp cl, 0x2d
sete al
inc eax
add edx, eax
mov dword [0x4a9298], edx
mov al, byte [edx]
mov byte [esp + 0x1c], al
mov esi, edx
jmp 0x45f1a7
mov dword [0x4a9294], 2
inc dword [esp + 0x68]
jmp 0x45f17f
mov eax, dword [esp + 0x60]
mov edx, eax
mov dword [0x4a9288], edx
jmp 0x45f550
mov eax, dword [0x4740e4]
test eax, eax
jne 0x45f71a
mov ebx, dword [esp + 0x2c]
mov edx, esi
xor eax, eax
mov ecx, 0xffffffff
mov edi, edx
repne scasb al, byte es:[edi]
not ecx
lea eax, [edx + ecx - 1]
mov dword [0x4a9298], eax
inc ebx
mov dword [0x4740e8], ebx
mov dword [0x4740e0], 0
mov eax, 0x3f
jmp 0x45f4d2
movsx eax, byte [esp + 0x1c]
jmp 0x45f5e7
mov ebp, ebx
mov ebx, dword [esp + 0x3c]
jmp 0x45f2e0
cmp dword [ebp + 4], 1
je 0x45f755
xor eax, eax
mov ecx, 0xffffffff
mov edi, esi
repne scasb al, byte es:[edi]
not ecx
lea eax, [esi + ecx - 1]
mov dword [0x4a9298], eax
mov ebx, dword [esp + 0x70]
test ebx, ebx
je 0x45f6ea
mov eax, dword [esp + 0x70]
mov esi, dword [esp + 0x18]
mov dword [eax], esi
mov eax, dword [ebp + 8]
test eax, eax
je 0x45f945
mov edx, dword [ebp + 0xc]
mov dword [eax], edx
xor eax, eax
jmp 0x45f4d2
mov dword [0x4a928c], edx
mov eax, edx
jmp 0x45f41d
inc ebx
mov dword [0x4a9284], ebx
jmp 0x45f6c2
mov eax, dword [esp + 0x28]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x64]
mov eax, dword [eax]
mov dword [esp + 8], eax
mov dword [esp + 4], str._s:_option___s_is_ambiguous_n
mov eax, dword [sym.imp.msvcrt.dll__iob]
add eax, 0x40
mov dword [esp], eax
call sub.msvcrt.dll_fprintf
mov edx, dword [0x4a9298]
mov ebx, dword [0x4740e8]
jmp 0x45f66f
cmp dword [esp + 0x60], eax
jle 0x45f99d
mov eax, dword [esp + 0x2c]
add eax, 2
mov dword [0x4740e8], eax
mov eax, dword [esp + 0x64]
mov edi, dword [esp + 0x34]
mov eax, dword [eax + edi + 4]
mov dword [0x4a9284], eax
jmp 0x45f6c2
mov ecx, dword [esp + 0x74]
test ecx, ecx
jne 0x45f9f8
mov edx, dword [0x4740e4]
test edx, edx
je 0x45f9ef
cmp byte [esp + 0x33], 0x2d
je 0x45fb50
mov dword [esp + 0x10], esi
mov eax, dword [esp + 0x28]
movsx eax, byte [eax]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x64]
mov eax, dword [eax]
mov dword [esp + 8], eax
mov dword [esp + 4], str._s:_unrecognized_option___c_s_n
mov eax, dword [sym.imp.msvcrt.dll__iob]
add eax, 0x40
mov dword [esp], eax
call sub.msvcrt.dll_fprintf
mov eax, dword [0x4740e8]
mov dword [0x4a9298], 0x48f6ac
inc eax
mov dword [0x4740e8], eax
mov dword [0x4740e0], 0
mov eax, 0x3f
jmp 0x45f4d2
mov eax, 1
jmp 0x45f61c
cmp eax, ecx
je 0x45f516
mov dword [0x4a928c], eax
jmp 0x45f516
cmp dl, 0x3b
jne 0x45f49e
cmp byte [esi + 1], 0
je 0x45fb0d
mov dword [0x4a9284], ecx
inc dword [0x4740e8]
mov ebp, ecx
mov dword [0x4a9298], ebp
mov bl, byte [ebp]
mov esi, ebp
test bl, bl
jne 0x45f85b
jmp 0x45f860
inc esi
mov bl, byte [esi]
test bl, bl
je 0x45f860
cmp bl, 0x3d
jne 0x45f854
mov eax, dword [esp + 0x6c]
mov edi, dword [eax]
test edi, edi
je 0x45fcd2
mov eax, esi
sub eax, ebp
mov dword [esp + 0x18], 0
mov dword [esp + 0x24], 0
mov dword [esp + 0x20], 0
mov dword [esp + 0x1c], 0
mov byte [esp + 0x28], bl
mov dword [esp + 0x2c], esi
mov esi, eax
mov ebx, dword [esp + 0x6c]
jmp 0x45f8bd
mov dword [esp + 0x20], 1
add ebx, 0x10
inc dword [esp + 0x18]
mov edi, dword [ebx]
test edi, edi
je 0x45fa6a
mov dword [esp + 8], esi
mov dword [esp + 4], ebp
mov dword [esp], edi
call sub.msvcrt.dll_strncmp
test eax, eax
jne 0x45f8ac
mov ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp ecx, esi
je 0x45fc06
mov eax, dword [esp + 0x1c]
test eax, eax
jne 0x45f8a4
mov eax, dword [esp + 0x18]
mov dword [esp + 0x24], eax
mov dword [esp + 0x1c], ebx
jmp 0x45f8ac
mov al, cl
lea ecx, [esi + 1]
mov dword [0x4a9298], ecx
jmp 0x45f457
cmp byte [eax + 2], 0x3a
je 0x45f978
cmp byte [esi + 1], 0
je 0x45f94d
mov dword [0x4a9284], ecx
inc dword [0x4740e8]
movsx eax, byte [esp + 0x1c]
mov dword [0x4a9298], 0
jmp 0x45f4d2
mov dword [esp + 4], str._s:_invalid_option_____c_n
jmp 0x45f5d5
mov eax, dword [ebp + 0xc]
jmp 0x45f4d2
mov eax, dword [0x4740e8]
cmp eax, dword [esp + 0x60]
je 0x45fb80
lea edx, [eax + 1]
mov dword [0x4740e8], edx
mov esi, dword [esp + 0x64]
mov eax, dword [esi + eax*4]
mov dword [0x4a9284], eax
movsx eax, byte [esp + 0x1c]
jmp 0x45f929
cmp byte [esi + 1], 0
je 0x45fb38
mov dword [0x4a9284], ecx
inc dword [0x4740e8]
mov dword [0x4a9298], 0
jmp 0x45f4a7
mov edi, dword [0x4740e4]
test edi, edi
jne 0x45fc17
mov ebx, esi
xor eax, eax
mov ecx, 0xffffffff
mov edi, ebx
repne scasb al, byte es:[edi]
not ecx
lea eax, [ebx + ecx - 1]
mov dword [0x4a9298], eax
mov eax, dword [ebp + 0xc]
mov dword [0x4740e0], eax
mov eax, dword [esp + 0x68]
cmp byte [eax], 0x3a
jne 0x45f5ec
mov eax, 0x3a
jmp 0x45f4d2
cmp dword [0x4740e4], 0
jne 0x45fb50
mov eax, dword [esp + 0x2c]
jmp 0x45f7dc
cmp byte [esp + 0x33], 0x2d
je 0x45f9e2
mov eax, dword [esp + 0x68]
mov al, byte [eax]
test al, al
je 0x45fa2b
mov bl, byte [esp + 0x1c]
cmp bl, al
je 0x45fdbc
mov edx, dword [esp + 0x68]
jmp 0x45fa24
cmp bl, cl
je 0x45f8fe
inc edx
mov cl, byte [edx]
test cl, cl
jne 0x45fa1c
cmp dword [0x4740e4], 0
jne 0x45f7a6
jmp 0x45f9ef
mov eax, dword [ebp]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x64]
mov eax, dword [eax]
mov dword [esp + 8], eax
mov dword [esp + 4], str._s:_option_____s_doesnt_allow_an_argument_n
mov eax, dword [sym.imp.msvcrt.dll__iob]
add eax, 0x40
mov dword [esp], eax
call sub.msvcrt.dll_fprintf
jmp 0x45f358
mov bl, byte [esp + 0x28]
mov esi, dword [esp + 0x2c]
mov eax, dword [esp + 0x20]
test eax, eax
jne 0x45fbd1
mov eax, dword [esp + 0x24]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0x6c]
test eax, eax
je 0x45fcd2
mov eax, dword [esp + 0x6c]
test bl, bl
je 0x45fc53
mov edi, dword [eax + 4]
test edi, edi
jne 0x45fd44
mov esi, dword [0x4740e4]
test esi, esi
je 0x45fae7
mov eax, dword [esp + 0x6c]
mov eax, dword [eax]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x64]
mov eax, dword [eax]
mov dword [esp + 8], eax
mov dword [esp + 4], str._s:_option___W__s_doesnt_allow_an_argument_n
mov eax, dword [sym.imp.msvcrt.dll__iob]
add eax, 0x40
mov dword [esp], eax
call sub.msvcrt.dll_fprintf
mov edx, dword [0x4a9298]
xor eax, eax
mov ecx, 0xffffffff
mov edi, edx
repne scasb al, byte es:[edi]
not ecx
lea eax, [edx + ecx - 1]
mov dword [0x4a9298], eax
mov eax, 0x3f
jmp 0x45f4d2
mov eax, dword [0x4740e8]
cmp eax, dword [esp + 0x60]
je 0x45fca4
lea edx, [eax + 1]
mov dword [0x4740e8], edx
mov esi, dword [esp + 0x64]
mov eax, dword [esi + eax*4]
mov dword [0x4a9284], eax
mov ebp, eax
jmp 0x45f841
mov dword [0x4a9284], 0
jmp 0x45f98e
mov al, byte [esp + 0x33]
jmp 0x45f8fe
mov dword [esp + 0xc], esi
mov eax, dword [esp + 0x64]
mov eax, dword [eax]
mov dword [esp + 8], eax
mov dword [esp + 4], str._s:_unrecognized_option_____s_n
mov eax, dword [sym.imp.msvcrt.dll__iob]
add eax, 0x40
mov dword [esp], eax
call sub.msvcrt.dll_fprintf
mov eax, dword [0x4740e8]
jmp 0x45f7dc
movsx ebx, byte [esp + 0x1c]
mov ecx, dword [0x4740e4]
test ecx, ecx
je 0x45fbb5
mov dword [esp + 0xc], ebx
mov eax, dword [esp + 0x64]
mov eax, dword [eax]
mov dword [esp + 8], eax
mov dword [esp + 4], str._s:_option_requires_an_argument_____c_n
mov eax, dword [sym.imp.msvcrt.dll__iob]
add eax, 0x40
mov dword [esp], eax
call sub.msvcrt.dll_fprintf
mov dword [0x4740e0], ebx
mov eax, dword [esp + 0x68]
cmp byte [eax], 0x3a
setne al
movzx eax, al
lea eax, [eax + eax*4 + 0x3a]
jmp 0x45f929
mov eax, dword [0x4740e4]
test eax, eax
jne 0x45fce6
mov edx, ebp
xor eax, eax
mov ecx, 0xffffffff
mov edi, edx
repne scasb al, byte es:[edi]
not ecx
lea eax, [edx + ecx - 1]
mov dword [0x4a9298], eax
inc dword [0x4740e8]
mov eax, 0x3f
jmp 0x45f4d2
mov esi, dword [esp + 0x2c]
mov dword [esp + 0x6c], ebx
mov bl, byte [esp + 0x28]
jmp 0x45fa8e
mov eax, dword [esp + 0x64]
mov esi, dword [esp + 0x34]
mov eax, dword [eax + esi]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x64]
mov eax, dword [eax]
mov dword [esp + 8], eax
mov dword [esp + 4], str._s:_option___s_requires_an_argument_n
mov eax, dword [sym.imp.msvcrt.dll__iob]
add eax, 0x40
mov dword [esp], eax
call sub.msvcrt.dll_fprintf
mov ebx, dword [0x4a9298]
jmp 0x45f9ad
cmp dword [eax + 4], 1
je 0x45fd1f
xor eax, eax
mov ecx, 0xffffffff
mov edi, ebp
repne scasb al, byte es:[edi]
not ecx
lea eax, [ebp + ecx - 1]
mov dword [0x4a9298], eax
mov ebx, dword [esp + 0x70]
test ebx, ebx
je 0x45fc85
mov eax, dword [esp + 0x70]
mov esi, dword [esp + 0x18]
mov dword [eax], esi
mov eax, dword [esp + 0x6c]
mov eax, dword [eax + 8]
test eax, eax
je 0x45fd50
mov esi, dword [esp + 0x6c]
mov edx, dword [esi + 0xc]
mov dword [eax], edx
xor eax, eax
jmp 0x45f4d2
movsx ebx, byte [esp + 0x1c]
mov eax, dword [0x4740e4]
test eax, eax
jne 0x45fd5c
mov dword [0x4740e0], ebx
mov eax, dword [esp + 0x68]
cmp byte [eax], 0x3a
setne al
movzx eax, al
lea eax, [eax + eax*4 + 0x3a]
jmp 0x45f4d2
mov dword [0x4a9298], 0
mov eax, 0x57
jmp 0x45f4d2
mov eax, dword [0x4740e8]
mov esi, dword [esp + 0x64]
mov eax, dword [esi + eax*4]
mov dword [esp + 0xc], eax
mov eax, dword [esi]
mov dword [esp + 8], eax
mov dword [esp + 4], str._s:_option___W__s_is_ambiguous_n
mov eax, dword [sym.imp.msvcrt.dll__iob]
add eax, 0x40
mov dword [esp], eax
call sub.msvcrt.dll_fprintf
mov edx, dword [0x4a9298]
jmp 0x45fbe0
mov eax, dword [0x4740e8]
cmp dword [esp + 0x60], eax
jle 0x45fd87
lea edx, [eax + 1]
mov dword [0x4740e8], edx
mov esi, dword [esp + 0x64]
mov eax, dword [esi + eax*4]
mov dword [0x4a9284], eax
jmp 0x45fc5d
inc esi
mov dword [0x4a9284], esi
jmp 0x45fc5d
mov eax, dword [esp + 0x6c]
mov eax, dword [eax + 0xc]
jmp 0x45f4d2
mov dword [esp + 0xc], ebx
mov eax, dword [esp + 0x64]
mov eax, dword [eax]
mov dword [esp + 8], eax
mov dword [esp + 4], str._s:_option_requires_an_argument_____c_n
mov eax, dword [sym.imp.msvcrt.dll__iob]
add eax, 0x40
mov dword [esp], eax
call sub.msvcrt.dll_fprintf
jmp 0x45fcb6
cmp dword [0x4740e4], 0
jne 0x45fdc5
mov edx, dword [0x4a9298]
xor eax, eax
or ecx, 0xffffffff
mov edi, edx
repne scasb al, byte es:[edi]
not ecx
lea eax, [edx + ecx - 1]
mov dword [0x4a9298], eax
mov eax, dword [esp + 0x68]
cmp byte [eax], 0x3a
jne 0x45f5ec
jmp 0x45f9d8
mov al, byte [esp + 0x1c]
jmp 0x45f8fe
mov esi, dword [esp + 0x64]
mov eax, dword [esi + eax*4 - 4]
mov dword [esp + 0xc], eax
mov eax, dword [esi]
mov dword [esp + 8], eax
mov dword [esp + 4], str._s:_option___s_requires_an_argument_n
mov eax, dword [sym.imp.msvcrt.dll__iob]
add eax, 0x40
mov dword [esp], eax
call sub.msvcrt.dll_fprintf
jmp 0x45fd90