Function at 0x49fb20
Capabilities:
Query environment variable

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x5c
mov eax, dword [0x4bf430]
mov dword [0x50d6e4], 0
test eax, eax
jne 0x49fd90
mov dword [0x4bf430], 1
mov eax, 1
mov dword [esp], str.POSIXLY_CORRECT
mov dword [0x50d6e8], eax
mov dword [0x50d6ec], eax
mov dword [0x50d6f8], 0
call sub.msvcrt.dll_getenv
mov edi, dword [esp + 0x78]
mov dword [0x50d6f0], eax
movzx edx, byte [edi]
cmp dl, 0x2d
je 0x4a0000
cmp dl, 0x2b
je 0x49ffe2
test eax, eax
sete al
movzx eax, al
mov dword [0x50d6f4], eax
mov dword [0x50d6e0], 1
mov ebp, dword [0x50d6f8]
test ebp, ebp
je 0x49fda3
movzx eax, byte [ebp]
test al, al
mov byte [esp + 0x2c], al
je 0x49fda3
mov eax, dword [esp + 0x7c]
test eax, eax
je 0x49fe60
mov eax, dword [0x4bf430]
lea edi, [eax*4]
mov dword [esp + 0x38], eax
mov dword [esp + 0x44], 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 0x49fc42
mov eax, dword [esp + 0x84]
test eax, eax
je 0x49fe60
mov eax, dword [esp + 0x3c]
cmp byte [eax + 2], 0
jne 0x49fc42
mov eax, dword [esp + 0x78]
movzx eax, byte [eax]
test al, al
je 0x49fc42
movzx ecx, byte [esp + 0x43]
cmp cl, al
je 0x4a0244
mov edx, dword [esp + 0x78]
mov ebx, ecx
jmp 0x49fc38
cmp bl, cl
je 0x4a0244
add edx, 1
movzx ecx, byte [edx]
test cl, cl
jne 0x49fc30
movzx eax, byte [esp + 0x2c]
mov esi, ebp
cmp al, 0x3d
je 0x49fc61
test al, al
jne 0x49fc57
jmp 0x49fc61
cmp al, 0x3d
je 0x49fc61
add esi, 1
movzx eax, byte [esi]
test al, al
jne 0x49fc53
mov eax, dword [esp + 0x7c]
mov edi, dword [eax]
test edi, edi
je 0x4a0187
mov eax, esi
xor ecx, ecx
mov dword [esp + 0x28], ebp
sub eax, ebp
mov dword [esp + 0x4c], esi
mov ebp, edi
mov ebx, dword [esp + 0x7c]
mov dword [esp + 0x48], 0xffffffff
mov esi, ecx
mov dword [esp + 0x34], 0
mov dword [esp + 0x30], 0
mov edi, eax
jmp 0x49fcb5
mov dword [esp + 0x34], 1
add ebx, 0x10
mov ebp, dword [ebx]
add esi, 1
test ebp, ebp
je 0x49fd00
mov eax, dword [esp + 0x28]
mov dword [esp + 8], edi
mov dword [esp], ebp
mov dword [esp + 4], eax
call sub.msvcrt.dll_strncmp
test eax, eax
jne 0x49fca9
mov dword [esp], ebp
call sub.msvcrt.dll_strlen
cmp eax, edi
je 0x4a0100
mov eax, dword [esp + 0x30]
test eax, eax
jne 0x49fca1
mov dword [esp + 0x30], ebx
add ebx, 0x10
mov ebp, dword [ebx]
mov dword [esp + 0x48], esi
add esi, 1
test ebp, ebp
jne 0x49fcb5
lea esi, [esi]
mov eax, dword [esp + 0x34]
mov ebp, dword [esp + 0x28]
mov esi, dword [esp + 0x4c]
test eax, eax
je 0x4a0753
mov eax, dword [0x4bf42c]
test eax, eax
je 0x49fd56
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.0049faf0
mov eax, dword [0x4bf430]
mov ebp, dword [0x50d6f8]
mov dword [esp + 0x38], eax
mov dword [esp], ebp
call sub.msvcrt.dll_strlen
add eax, ebp
mov dword [0x50d6f8], eax
mov eax, dword [esp + 0x38]
mov ebx, 0x3f
mov dword [0x4bf428], 0
add eax, 1
mov dword [0x4bf430], eax
add esp, 0x5c
mov eax, ebx
pop ebx
pop esi
pop edi
pop ebp
ret
mov edx, dword [0x50d6e0]
test edx, edx
je 0x49fb4d
jmp 0x49fba2
mov eax, dword [0x4bf430]
cmp dword [0x50d6e8], eax
jle 0x49fdb5
mov dword [0x50d6e8], eax
cmp eax, dword [0x50d6ec]
jge 0x49fdc2
mov dword [0x50d6ec], eax
mov ebx, dword [0x50d6f4]
cmp ebx, 1
je 0x49ff40
cmp dword [esp + 0x70], eax
je 0x49ffb4
mov edi, dword [esp + 0x74]
mov ecx, 3
mov ebp, dword [edi + eax*4]
mov edi, 0x4ea410
mov esi, ebp
repe cmpsb byte [esi], byte es:[edi]
seta cl
mov esi, ecx
setb cl
mov edx, esi
cmp dl, cl
jne 0x49ff10
mov edx, dword [0x50d6ec]
mov ecx, dword [0x50d6e8]
add eax, 1
mov dword [0x4bf430], eax
cmp edx, ecx
je 0x4a0165
cmp eax, ecx
je 0x49fe31
mov eax, dword [esp + 0x74]
call fcn.0049fa30
mov edx, dword [0x50d6ec]
cmp dword [esp + 0x70], edx
mov eax, dword [esp + 0x70]
mov dword [0x50d6e8], eax
mov dword [0x4bf430], eax
jne 0x49ffcd
add esp, 0x5c
mov ebx, 0xffffffff
mov eax, ebx
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [esp + 0x78]
lea esi, [ebp + 1]
movsx ebx, byte [esp + 0x2c]
mov dword [0x50d6f8], esi
movzx eax, byte [eax]
test al, al
je 0x49fea2
movzx ecx, byte [esp + 0x2c]
cmp al, cl
mov eax, dword [esp + 0x78]
jne 0x49fe98
jmp 0x4a0030
cmp dl, cl
je 0x4a0030
add eax, 1
movzx edx, byte [eax]
test dl, dl
jne 0x49fe90
cmp byte [ebp + 1], 0
jne 0x49febe
mov edx, 1
xor eax, eax
add dword [0x4bf430], 1
test dl, dl
je 0x4a00a0
mov eax, dword [0x4bf42c]
test eax, eax
je 0x49fefa
mov eax, dword [0x50d6f0]
mov dword [esp + 0xc], ebx
test eax, eax
mov eax, dword [esp + 0x74]
mov eax, dword [eax]
mov dword [esp + 8], eax
je 0x4a0333
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.0049faf0
mov dword [0x4bf428], ebx
add esp, 0x5c
mov ebx, 0x3f
mov eax, ebx
pop ebx
pop esi
pop edi
pop ebp
ret
cmp byte [ebp], 0x2d
je 0x4a0060
test ebx, ebx
je 0x49fe49
add eax, 1
mov dword [0x50d6e4], ebp
mov ebx, 1
mov dword [0x4bf430], eax
add esp, 0x5c
mov eax, ebx
pop ebx
pop esi
pop edi
pop ebp
ret
mov edx, dword [0x50d6e8]
cmp dword [0x50d6ec], edx
je 0x4a0230
cmp eax, edx
je 0x49ff65
mov eax, dword [esp + 0x74]
call fcn.0049fa30
mov edx, dword [0x4bf430]
cmp dword [esp + 0x70], edx
mov eax, edx
jle 0x49ffa4
mov esi, dword [esp + 0x70]
mov ecx, dword [esp + 0x74]
jmp 0x49ff91
add edx, 1
cmp esi, edx
mov dword [0x4bf430], edx
je 0x4a0050
mov eax, dword [ecx + edx*4]
cmp byte [eax], 0x2d
jne 0x49ff80
cmp byte [eax + 1], 0
je 0x49ff80
mov eax, dword [0x4bf430]
mov dword [0x50d6e8], edx
cmp dword [esp + 0x70], eax
jne 0x49fddb
mov eax, dword [0x50d6e8]
mov edx, dword [0x50d6ec]
mov dword [esp + 0x70], eax
cmp dword [esp + 0x70], edx
je 0x49fe49
mov ebx, 0xffffffff
mov dword [0x4bf430], edx
add esp, 0x5c
mov eax, ebx
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [0x50d6f4], 0
add dword [esp + 0x78], 1
jmp 0x49fb98
mov dword [0x50d6f4], 2
add dword [esp + 0x78], 1
jmp 0x49fb98
movsx ebx, byte [esp + 0x2c]
lea esi, [ebp + 1]
mov eax, dword [esp + 0x78]
mov dword [0x50d6f8], esi
lea esi, [esi]
lea edi, [edi]
test eax, eax
sete dl
cmp byte [esp + 0x2c], 0x3a
sete cl
or edx, ecx
cmp byte [ebp + 1], 0
je 0x49feaf
jmp 0x49feb6
mov eax, dword [esp + 0x70]
mov dword [0x50d6e8], edx
jmp 0x49ffaa
movzx ecx, byte [ebp + 1]
test cl, cl
je 0x49ff1a
mov eax, dword [esp + 0x7c]
test eax, eax
setne bl
xor eax, eax
cmp cl, 0x2d
sete al
and eax, ebx
lea ebp, [ebp + eax + 1]
movzx eax, byte [ebp]
mov dword [0x50d6f8], ebp
mov byte [esp + 0x2c], al
jmp 0x49fbc0
cmp byte [eax], 0x57
movzx edx, byte [eax + 1]
je 0x4a0257
cmp dl, 0x3a
jne 0x49ff35
cmp byte [eax + 2], 0x3a
je 0x4a0408
cmp byte [ebp + 1], 0
jne 0x4a03ca
mov eax, dword [0x4bf430]
cmp dword [esp + 0x70], eax
je 0x4a0530
mov edi, dword [esp + 0x74]
lea edx, [eax + 1]
mov dword [0x4bf430], edx
mov eax, dword [edi + eax*4]
mov dword [0x50d6e4], eax
mov dword [0x50d6f8], 0
jmp 0x49ff35
mov ebp, dword [esp + 0x28]
mov dword [esp + 0x28], esi
mov esi, dword [esp + 0x4c]
mov eax, dword [esp + 0x38]
add eax, 1
mov dword [0x4bf430], eax
cmp byte [esi], 0
jne 0x4a0171
cmp dword [ebx + 4], 1
je 0x4a03dc
mov dword [esp], ebp
call sub.msvcrt.dll_strlen
mov edx, dword [esp + 0x80]
add eax, ebp
mov dword [0x50d6f8], eax
test edx, edx
je 0x4a014e
mov eax, dword [esp + 0x80]
mov edi, dword [esp + 0x28]
mov dword [eax], edi
mov eax, dword [ebx + 8]
test eax, eax
je 0x4a041d
mov edx, dword [ebx + 0xc]
xor ebx, ebx
mov dword [eax], edx
jmp 0x49ff35
mov dword [0x50d6ec], eax
mov edx, eax
jmp 0x49fe31
mov edi, dword [ebx + 4]
test edi, edi
je 0x4a0350
add esi, 1
mov dword [0x50d6e4], esi
jmp 0x4a0127
cmp byte [esp + 0x43], 0x2d
je 0x4a01c9
mov eax, dword [esp + 0x84]
test eax, eax
je 0x4a01c9
mov eax, dword [esp + 0x78]
movzx eax, byte [eax]
test al, al
je 0x4a01c9
movzx ebx, byte [esp + 0x2c]
cmp al, bl
je 0x4a0014
mov edx, dword [esp + 0x78]
jmp 0x4a01bf
cmp cl, bl
je 0x4a0244
add edx, 1
movzx ecx, byte [edx]
test cl, cl
jne 0x4a01b7
mov eax, dword [0x4bf42c]
test eax, eax
je 0x4a0217
cmp byte [esp + 0x43], 0x2d
je 0x4a05dc
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x10], ebp
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.0049faf0
mov eax, dword [0x4bf430]
mov dword [esp + 0x38], eax
mov dword [0x50d6f8], 0x4ea4fc
jmp 0x49fd65
cmp eax, edx
je 0x49ff65
mov dword [0x50d6ec], eax
mov edx, eax
jmp 0x49ff65
lea esi, [ebp + 1]
movsx ebx, byte [esp + 0x2c]
mov dword [0x50d6f8], esi
jmp 0x49fe79
cmp dl, 0x3b
jne 0x4a00ad
cmp byte [ebp + 1], 0
je 0x4a04d9
add dword [0x4bf430], 1
mov dword [0x50d6e4], esi
movzx ebx, byte [esi]
mov dword [0x50d6f8], esi
mov edi, esi
cmp bl, 0x3d
je 0x4a029f
test bl, bl
jne 0x4a0295
jmp 0x4a029f
cmp bl, 0x3d
je 0x4a029f
add edi, 1
movzx ebx, byte [edi]
test bl, bl
jne 0x4a0290
mov eax, dword [esp + 0x7c]
mov ebp, dword [eax]
test ebp, ebp
je 0x4a06c1
mov eax, edi
xor ecx, ecx
mov dword [esp + 0x28], esi
sub eax, esi
mov byte [esp + 0x38], bl
mov dword [esp + 0x3c], edi
mov dword [esp + 0x34], 0
mov dword [esp + 0x30], 0
mov edi, ecx
mov dword [esp + 0x2c], 0
mov esi, eax
mov ebx, dword [esp + 0x7c]
jmp 0x4a02f9
mov dword [esp + 0x30], 1
add ebx, 0x10
mov ebp, dword [ebx]
add edi, 1
test ebp, ebp
je 0x4a0425
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 0x4a02e9
mov dword [esp], ebp
call sub.msvcrt.dll_strlen
cmp eax, esi
je 0x4a0558
mov eax, dword [esp + 0x2c]
test eax, eax
jne 0x4a02e1
mov dword [esp + 0x34], edi
mov dword [esp + 0x2c], ebx
jmp 0x4a02e9
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.0049faf0
jmp 0x49fefa
mov esi, dword [0x4bf42c]
test esi, esi
je 0x4a0127
mov eax, dword [esp + 0x74]
mov edi, dword [esp + 0x44]
mov eax, dword [eax + edi]
cmp byte [eax + 1], 0x2d
je 0x4a0503
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.0049faf0
mov esi, dword [0x50d6f8]
mov dword [esp], esi
call sub.msvcrt.dll_strlen
add esi, eax
mov eax, dword [ebx + 0xc]
mov ebx, 0x3f
mov dword [0x50d6f8], esi
mov dword [0x4bf428], eax
jmp 0x49ff35
mov dword [0x50d6e4], esi
add dword [0x4bf430], 1
jmp 0x4a00ee
cmp dword [esp + 0x70], eax
jle 0x4a049d
mov eax, dword [esp + 0x38]
mov edi, dword [esp + 0x44]
add eax, 2
mov dword [0x4bf430], eax
mov eax, dword [esp + 0x74]
mov eax, dword [eax + edi + 4]
mov dword [0x50d6e4], eax
jmp 0x4a0127
cmp byte [ebp + 1], 0
jne 0x4a03ca
mov dword [0x50d6e4], 0
jmp 0x4a00ee
mov ebx, dword [ebx + 0xc]
jmp 0x49ff35
mov ebp, dword [esp + 0x30]
mov esi, dword [esp + 0x28]
movzx ebx, byte [esp + 0x38]
mov edi, dword [esp + 0x3c]
test ebp, ebp
je 0x4a076f
mov ecx, dword [0x4bf42c]
test ecx, ecx
je 0x4a047c
mov edi, dword [esp + 0x74]
mov eax, dword [0x4bf430]
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.0049faf0
mov esi, dword [0x50d6f8]
mov dword [esp], esi
mov ebx, 0x3f
call sub.msvcrt.dll_strlen
add esi, eax
add dword [0x4bf430], 1
mov dword [0x50d6f8], esi
jmp 0x49ff35
mov ecx, dword [0x4bf42c]
test ecx, ecx
jne 0x4a0610
mov dword [esp], ebp
call sub.msvcrt.dll_strlen
add eax, ebp
mov dword [0x50d6f8], eax
mov eax, dword [ebx + 0xc]
mov dword [0x4bf428], eax
mov eax, dword [esp + 0x78]
cmp byte [eax], 0x3a
jne 0x49ff00
mov ebx, 0x3a
jmp 0x49ff35
mov eax, dword [0x4bf430]
cmp dword [esp + 0x70], eax
je 0x4a064c
mov edi, dword [esp + 0x74]
lea edx, [eax + 1]
mov dword [0x4bf430], edx
mov esi, dword [edi + eax*4]
mov dword [0x50d6e4], esi
jmp 0x4a0277
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.0049faf0
jmp 0x4a03a2
mov eax, dword [0x4bf42c]
test eax, eax
jne 0x4a0696
mov eax, dword [esp + 0x78]
mov dword [0x4bf428], ebx
xor ebx, ebx
cmp byte [eax], 0x3a
setne bl
lea ebx, [ebx + ebx*4 + 0x3a]
jmp 0x4a00ee
mov dword [esp + 0x7c], ebx
movzx ebx, byte [esp + 0x38]
mov ebp, edi
mov esi, dword [esp + 0x28]
mov edi, dword [esp + 0x3c]
test bl, bl
mov eax, dword [esp + 0x7c]
je 0x4a06d5
cmp dword [eax + 4], 0
jne 0x4a073c
cmp dword [0x4bf42c], 0
je 0x4a05b6
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.0049faf0
mov edx, dword [0x50d6f8]
xor eax, eax
or ecx, 0xffffffff
mov ebx, 0x3f
mov edi, edx
repne scasb al, byte es:[edi]
mov eax, ecx
not eax
lea eax, [edx + eax - 1]
mov dword [0x50d6f8], eax
jmp 0x49ff35
mov eax, dword [esp + 0x74]
mov dword [esp + 0xc], ebp
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.0049faf0
mov eax, dword [0x4bf430]
mov dword [esp + 0x38], eax
jmp 0x4a0217
mov eax, dword [esp + 0x74]
mov edi, dword [esp + 0x44]
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.0049faf0
mov ebp, dword [0x50d6f8]
jmp 0x4a04ab
mov eax, dword [0x4bf42c]
test eax, eax
je 0x4a067b
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.0049faf0
mov eax, dword [esp + 0x78]
mov dword [0x4bf428], ebx
xor ebx, ebx
cmp byte [eax], 0x3a
setne bl
lea ebx, [ebx + ebx*4 + 0x3a]
jmp 0x49ff35
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.0049faf0
jmp 0x4a053d
mov dword [0x50d6f8], 0
mov ebx, 0x57
jmp 0x49ff35
cmp dword [eax + 4], 1
je 0x4a071a
mov dword [esp], esi
call sub.msvcrt.dll_strlen
mov edx, dword [esp + 0x80]
add esi, eax
mov dword [0x50d6f8], esi
test edx, edx
je 0x4a06ff
mov eax, dword [esp + 0x80]
mov dword [eax], ebp
mov eax, dword [esp + 0x7c]
mov eax, dword [eax + 8]
test eax, eax
je 0x4a0747
mov edi, dword [esp + 0x7c]
xor ebx, ebx
mov edx, dword [edi + 0xc]
mov dword [eax], edx
jmp 0x49ff35
mov eax, dword [0x4bf430]
cmp dword [esp + 0x70], eax
jle 0x4a078d
mov edi, dword [esp + 0x74]
lea edx, [eax + 1]
mov dword [0x4bf430], edx
mov eax, dword [edi + eax*4]
mov dword [0x50d6e4], eax
jmp 0x4a06db
add edi, 1
mov dword [0x50d6e4], edi
jmp 0x4a06db
mov eax, dword [esp + 0x7c]
mov ebx, dword [eax + 0xc]
jmp 0x49ff35
cmp dword [esp + 0x30], 0
je 0x4a0187
mov eax, dword [esp + 0x48]
mov ebx, dword [esp + 0x30]
mov dword [esp + 0x28], eax
jmp 0x4a010c
cmp dword [esp + 0x2c], 0
je 0x4a06c1
mov eax, dword [esp + 0x34]
mov ebp, eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x7c], eax
jmp 0x4a056b
cmp dword [0x4bf42c], 0
je 0x4a07c0
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.0049faf0
mov edx, dword [0x50d6f8]
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 [0x50d6f8], eax
mov eax, dword [esp + 0x78]
cmp byte [eax], 0x3a
jne 0x49ff00
jmp 0x4a04cf