Function at 0x4d0cb0
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x4c
mov dword [0x5d94b8], 0
mov eax, dword [0x4f1464]
test eax, eax
je 0x4d0ef0
mov eax, dword [0x5d94bc]
test eax, eax
jne 0x4d0d37
sub esp, 0xc
mov eax, dword [0x4f1464]
mov dword [0x5d9500], eax
mov dword [0x5d94f0], eax
mov dword [0x5d94c0], 0
push str.POSIXLY_CORRECT
call sub.msvcrt.dll_getenv
mov ecx, dword [ebp + 0x10]
mov dword [0x5d94e0], eax
add esp, 0x10
mov dl, byte [ecx]
cmp dl, 0x2d
je 0x4d1076
cmp dl, 0x2b
je 0x4d10f2
test eax, eax
sete al
and eax, 0xff
mov dword [0x5d94d0], eax
mov dword [0x5d94bc], 1
mov eax, dword [0x5d94c0]
test eax, eax
je 0x4d0d49
cmp byte [eax], 0
jne 0x4d0e34
mov ebx, dword [0x4f1464]
mov dword [ebp - 0x54], ebx
cmp dword [0x5d9500], ebx
jle 0x4d0d60
mov dword [0x5d9500], ebx
mov edi, dword [ebp - 0x54]
cmp edi, dword [0x5d94f0]
jge 0x4d0d71
mov dword [0x5d94f0], edi
mov eax, dword [0x5d94d0]
mov dword [ebp - 0x44], eax
dec eax
je 0x4d1089
mov edx, dword [ebp + 8]
cmp dword [ebp - 0x54], edx
je 0x4d0ddc
mov ecx, dword [ebp - 0x54]
mov ebx, dword [ebp + 0xc]
mov edx, 0x5cf670
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 0x4d0dfa
mov eax, dword [ebp - 0x54]
mov edx, dword [0x5d9500]
inc eax
cmp dword [0x5d94f0], edx
mov dword [0x4f1464], eax
je 0x4d1160
cmp eax, edx
je 0x4d0dcf
mov eax, ebx
call fcn.004d0b70
mov eax, dword [ebp + 8]
mov dword [0x5d9500], eax
mov dword [0x4f1464], eax
mov eax, dword [0x5d94f0]
cmp eax, dword [0x5d9500]
jne 0x4d124c
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 0x4d1108
mov ecx, dword [ebp - 0x50]
mov ebx, dword [ebp - 0x50]
inc ebx
mov dl, byte [ecx + 1]
test dl, dl
je 0x4d1108
mov esi, dword [ebp + 0x14]
xor eax, eax
test esi, esi
je 0x4d0e2c
cmp dl, 0x2d
sete al
and eax, 0xff
add ebx, eax
mov dword [0x5d94c0], ebx
mov ebx, dword [ebp + 0x14]
test ebx, ebx
je 0x4d0e5d
mov eax, dword [0x4f1464]
mov edi, dword [ebp + 0xc]
mov eax, dword [edi + eax*4]
mov dl, byte [eax + 1]
cmp dl, 0x2d
je 0x4d0f61
mov ecx, dword [ebp + 0x1c]
test ecx, ecx
jne 0x4d0f48
mov ebx, dword [0x5d94c0]
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 [0x5d94c0], edi
call fcn.004d0b40
mov edx, dword [0x4f1464]
cmp byte [ebx + 1], 1
adc edx, 0
test eax, eax
mov dword [0x4f1464], edx
je 0x4d0eff
cmp byte [ebp - 0x29], 0x3a
je 0x4d0eff
cmp byte [eax], 0x57
je 0x4d13f6
mov cl, byte [eax + 1]
cmp cl, 0x3a
jne 0x4d0df0
cmp byte [eax + 2], 0x3a
je 0x4d1546
cmp byte [edi], 0
je 0x4d1514
mov ecx, dword [0x4f1464]
mov dword [0x5d94b8], edi
inc ecx
mov dword [0x4f1464], ecx
mov esi, dword [ebp - 0x4c]
mov dword [0x5d94c0], 0
jmp 0x4d0df0
mov dword [0x4f1464], 1
jmp 0x4d0cd9
mov edx, dword [0x4f1468]
test edx, edx
je 0x4d0f33
mov eax, dword [0x5d94e0]
test eax, eax
je 0x4d1259
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.004d0c90
add esp, 0x10
mov dword [0x4f146c], 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 0x4d0f61
movsx edx, dl
mov eax, dword [ebp + 0x10]
call fcn.004d0b40
test eax, eax
jne 0x4d0e5d
mov eax, dword [0x5d94c0]
mov dword [ebp - 0x48], eax
mov dl, byte [eax]
mov byte [ebp - 0xd], dl
test dl, dl
je 0x4d1230
mov edi, eax
cmp dl, 0x3d
je 0x4d1230
inc edi
mov al, byte [edi]
test al, al
jne 0x4d1134
mov ecx, dword [ebp + 0x14]
mov esi, dword [ecx]
test esi, esi
je 0x4d12e1
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 0x4d0fd3
add ebx, 0x10
mov esi, dword [ebx]
test esi, esi
je 0x4d1019
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 0x4d0fc3
sub esp, 0xc
push esi
call sub.msvcrt.dll_strlen
add esp, 0x10
cmp eax, dword [ebp - 0x14]
je 0x4d119d
mov eax, dword [ebp - 0x3c]
test eax, eax
je 0x4d1141
add ebx, 0x10
mov dword [ebp - 0x38], 1
mov esi, dword [ebx]
test esi, esi
jne 0x4d0fcc
mov eax, dword [ebp - 0x38]
test eax, eax
je 0x4d11a6
mov edi, dword [0x4f1468]
test edi, edi
jne 0x4d116a
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 [0x4f146c], 0
add edx, eax
mov eax, dword [0x4f1464]
mov dword [ebp - 0x48], edx
inc eax
mov ebx, dword [ebp - 0x48]
mov dword [0x4f1464], eax
mov dword [0x5d94c0], ebx
mov eax, esi
add esp, 0x10
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
inc ecx
mov dword [0x5d94d0], 2
mov dword [ebp + 0x10], ecx
jmp 0x4d0d2d
mov edx, dword [0x5d94f0]
mov eax, dword [0x5d9500]
cmp edx, eax
je 0x4d1219
cmp dword [ebp - 0x54], eax
je 0x4d10b2
mov eax, dword [ebp + 0xc]
call fcn.004d0b70
mov edx, dword [0x4f1464]
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 0x4d10d1
jmp 0x4d10e7
inc ecx
add edx, 4
mov dword [0x4f1464], ecx
cmp ecx, dword [ebp + 8]
je 0x4d114f
mov eax, dword [edx]
cmp byte [eax], 0x2d
jne 0x4d10c2
cmp byte [eax + 1], 0
je 0x4d10c2
mov edi, dword [0x4f1464]
mov dword [ebp - 0x54], edi
mov dword [0x5d9500], ecx
jmp 0x4d0d80
mov eax, dword [ebp + 0x10]
mov dword [0x5d94d0], 0
inc eax
mov dword [ebp + 0x10], eax
jmp 0x4d0d2d
mov edi, dword [ebp - 0x44]
test edi, edi
je 0x4d0ded
mov eax, dword [ebp - 0x54]
mov ebx, dword [ebp - 0x50]
inc eax
mov esi, 1
mov dword [0x4f1464], eax
mov dword [0x5d94b8], ebx
mov eax, esi
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
cmp al, 0x3d
jne 0x4d0f81
jmp 0x4d0f8c
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x34], eax
jmp 0x4d0fc3
mov eax, dword [ebp + 8]
mov dword [0x5d9500], ecx
mov dword [ebp - 0x54], eax
jmp 0x4d0d80
mov dword [0x5d94f0], eax
jmp 0x4d0dcf
mov eax, dword [0x4f1464]
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.004d0c90
mov ecx, dword [0x5d94c0]
add esp, 0x10
mov dword [ebp - 0x48], ecx
jmp 0x4d1032
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x3c]
test eax, eax
je 0x4d12e1
mov edx, dword [0x4f1464]
inc edx
mov dword [0x4f1464], edx
cmp byte [edi], 0
jne 0x4d1238
mov edi, dword [ebp - 0x3c]
cmp dword [edi + 4], 1
je 0x4d135c
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 [0x5d94c0], ebx
je 0x4d11ff
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 0x4d1379
mov eax, dword [ecx + 0xc]
xor esi, esi
mov dword [edx], eax
jmp 0x4d0df0
cmp dword [ebp - 0x54], edx
je 0x4d10b2
mov ecx, dword [ebp - 0x54]
mov dword [0x5d94f0], ecx
jmp 0x4d10b2
mov edi, dword [ebp - 0x48]
jmp 0x4d0f8c
mov ecx, dword [ebp - 0x3c]
mov eax, dword [ecx + 4]
test eax, eax
je 0x4d126a
lea eax, [edi + 1]
mov dword [0x5d94b8], eax
jmp 0x4d11d0
or esi, 0xffffffff
mov dword [0x4f1464], eax
jmp 0x4d0df0
push esi
mov ecx, dword [ebp + 0xc]
mov eax, dword [ecx]
push eax
push str._s:_invalid_option_____c_n
jmp 0x4d0f22
mov edi, dword [0x4f1468]
test edi, edi
je 0x4d11d0
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebx + edx*4 - 4]
cmp byte [eax + 1], 0x2d
je 0x4d13d2
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.004d0c90
add esp, 0x20
sub esp, 0xc
mov ebx, dword [0x5d94c0]
mov esi, 0x3f
push ebx
call sub.msvcrt.dll_strlen
add ebx, eax
add esp, 0x10
mov dword [0x5d94c0], ebx
mov ebx, dword [ebp - 0x3c]
mov eax, dword [ebx + 0xc]
mov dword [0x4f146c], eax
jmp 0x4d0df0
mov eax, dword [ebp + 0x1c]
test eax, eax
jne 0x4d160f
mov eax, dword [0x4f1468]
test eax, eax
je 0x4d1331
mov eax, dword [0x4f1464]
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + eax*4]
cmp byte [eax + 1], 0x2d
je 0x4d14c3
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.004d0c90
add esp, 0x20
mov ecx, dword [0x4f1464]
mov esi, 0x3f
inc ecx
mov dword [0x5d94c0], 0x5cf75c
mov dword [0x4f1464], ecx
mov dword [0x4f146c], 0
jmp 0x4d0df0
cmp dword [ebp + 8], edx
jle 0x4d1384
mov ecx, dword [ebp + 0xc]
mov eax, dword [ecx + edx*4]
mov dword [0x5d94b8], eax
lea eax, [edx + 1]
mov dword [0x4f1464], eax
jmp 0x4d11d0
mov ebx, dword [ebp - 0x3c]
mov esi, dword [ebx + 0xc]
jmp 0x4d0df0
mov eax, dword [0x4f1468]
test eax, eax
jne 0x4d14e5
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 [0x5d94c0], eax
mov eax, dword [edx + 0xc]
mov dword [0x4f146c], eax
cmp byte [ecx], 0x3a
setne al
and eax, 0xff
lea esi, [eax + eax*4 + 0x3a]
jmp 0x4d0df0
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.004d0c90
add esp, 0x10
jmp 0x4d12b2
mov cl, byte [eax + 1]
cmp cl, 0x3b
jne 0x4d0ead
cmp byte [ebx + 1], 0
je 0x4d15ee
mov eax, dword [0x4f1464]
mov ebx, dword [ebp - 0x48]
inc eax
mov dword [0x5d94b8], ebx
mov dword [0x4f1464], eax
mov ebx, dword [0x5d94b8]
mov dword [ebp - 0x48], ebx
mov dword [0x5d94c0], ebx
mov al, byte [ebx]
test al, al
setne byte [ebp - 0x3d]
jne 0x4d15c2
mov edi, dword [ebp - 0x48]
mov dword [ebp - 0x28], edi
mov ecx, dword [ebp + 0x14]
mov ebx, dword [ecx]
test ebx, ebx
je 0x4d167b
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 0x4d1484
add esi, 0x10
mov ebx, dword [esi]
test ebx, ebx
je 0x4d156d
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 0x4d1476
sub esp, 0xc
push ebx
call sub.msvcrt.dll_strlen
add esp, 0x10
cmp eax, dword [ebp - 0x18]
je 0x4d166e
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x4d153b
mov dword [ebp - 0x20], 1
jmp 0x4d1476
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.004d0c90
add esp, 0x10
jmp 0x4d1331
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.004d0c90
mov edi, dword [0x5d94c0]
add esp, 0x10
mov dword [ebp - 0x48], edi
jmp 0x4d1391
mov edx, dword [0x4f1464]
cmp edx, dword [ebp + 8]
je 0x4d1640
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebx + edx*4]
mov dword [0x5d94b8], eax
lea eax, [edx + 1]
mov dword [0x4f1464], eax
jmp 0x4d0edc
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x1c], edi
jmp 0x4d1476
cmp byte [edi], 0
je 0x4d15b6
mov ebx, dword [0x4f1464]
mov dword [0x5d94b8], edi
inc ebx
mov dword [0x4f1464], ebx
mov dword [0x5d94c0], 0
jmp 0x4d0df0
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x4d1674
mov eax, dword [0x4f1468]
test eax, eax
jne 0x4d1793
sub esp, 0xc
mov ebx, dword [0x5d94c0]
push ebx
call sub.msvcrt.dll_strlen
mov esi, dword [0x4f1464]
add ebx, eax
inc esi
add esp, 0x10
mov dword [0x4f1464], esi
mov esi, 0x3f
mov dword [0x5d94c0], ebx
jmp 0x4d0df0
mov dword [0x5d94b8], 0
jmp 0x4d155e
mov dword [ebp - 0x28], ebx
cmp al, 0x3d
je 0x4d143d
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 0x4d1443
cmp al, 0x3d
jne 0x4d15cd
jmp 0x4d1443
cmp edx, dword [ebp + 8]
je 0x4d17c8
mov ecx, dword [ebp + 0xc]
mov eax, dword [ecx + edx*4]
mov dword [0x5d94b8], eax
lea eax, [edx + 1]
mov dword [0x4f1464], eax
jmp 0x4d1420
mov eax, dword [0x4f1464]
mov edi, dword [ebp + 0xc]
mov eax, dword [edi + eax*4]
cmp byte [eax + 1], 0x2d
je 0x4d12ec
movsx edx, byte [ebp - 0xd]
mov eax, dword [ebp + 0x10]
call fcn.004d0b40
test eax, eax
jne 0x4d0e5d
jmp 0x4d12ec
mov edx, dword [0x4f1468]
test edx, edx
jne 0x4d1771
mov edx, dword [ebp + 0x10]
mov dword [0x4f146c], esi
cmp byte [edx], 0x3a
setne al
and eax, 0xff
lea ecx, [eax + eax*4 + 0x3a]
mov dword [ebp - 0x4c], ecx
jmp 0x4d0edc
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x1c], edi
mov ebx, dword [ebp - 0x24]
test ebx, ebx
jne 0x4d168f
mov esi, 0x57
mov dword [0x5d94c0], 0
jmp 0x4d0df0
cmp byte [ebp - 0x3d], 0
je 0x4d1744
mov ecx, dword [ebp - 0x24]
mov ecx, dword [ecx + 4]
test ecx, ecx
jne 0x4d16f3
mov edx, dword [0x4f1468]
test edx, edx
je 0x4d16cf
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.004d0c90
add esp, 0x10
sub esp, 0xc
mov ebx, dword [0x5d94c0]
mov esi, 0x3f
push ebx
call sub.msvcrt.dll_strlen
add esp, 0x10
add ebx, eax
mov dword [0x5d94c0], ebx
jmp 0x4d0df0
mov eax, dword [ebp - 0x28]
inc eax
mov dword [0x5d94b8], 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 [0x5d94c0], eax
je 0x4d172a
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 0x4d17bd
mov eax, dword [ebx + 0xc]
xor esi, esi
mov dword [edx], eax
jmp 0x4d0df0
mov eax, dword [ebp - 0x24]
cmp dword [eax + 4], 1
jne 0x4d16fc
mov edx, dword [0x4f1464]
cmp dword [ebp + 8], edx
jle 0x4d180b
mov ecx, dword [ebp + 0xc]
mov eax, dword [ecx + edx*4]
mov dword [0x5d94b8], eax
lea eax, [edx + 1]
mov dword [0x4f1464], eax
jmp 0x4d16fc
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.004d0c90
add esp, 0x10
jmp 0x4d164e
mov edx, dword [ebp + 0xc]
mov eax, dword [0x4f1464]
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.004d0c90
add esp, 0x10
jmp 0x4d1585
mov edi, dword [ebp - 0x24]
mov esi, dword [edi + 0xc]
jmp 0x4d0df0
mov eax, dword [0x4f1468]
test eax, eax
je 0x4d17ee
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.004d0c90
add esp, 0x10
mov eax, dword [ebp + 0x10]
mov dword [0x4f146c], esi
cmp byte [eax], 0x3a
setne al
and eax, 0xff
lea esi, [eax + eax*4 + 0x3a]
jmp 0x4d0df0
mov eax, dword [0x4f1468]
test eax, eax
je 0x4d1835
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.004d0c90
add esp, 0x10
sub esp, 0xc
mov ebx, dword [0x5d94c0]
push ebx
call sub.msvcrt.dll_strlen
mov edi, dword [ebp + 0x10]
add ebx, eax
mov dword [0x5d94c0], ebx
add esp, 0x10
cmp byte [edi], 0x3a
setne al
and eax, 0xff
lea esi, [eax + eax*4 + 0x3a]
jmp 0x4d0df0