Function at 0x403b00
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x4c
mov dword [0x40d0f8], 0
mov eax, dword [0x40a100]
test eax, eax
je 0x403d40
mov eax, dword [0x40d0fc]
test eax, eax
jne 0x403b87
sub esp, 0xc
mov eax, dword [0x40a100]
mov dword [0x40d140], eax
mov dword [0x40d130], eax
mov dword [0x40d100], 0
push str.POSIXLY_CORRECT
call sub.msvcrt.dll_getenv
mov ecx, dword [ebp + 0x10]
mov dword [0x40d120], eax
add esp, 0x10
mov dl, byte [ecx]
cmp dl, 0x2d
je 0x403ec6
cmp dl, 0x2b
je 0x403f42
test eax, eax
sete al
and eax, 0xff
mov dword [0x40d110], eax
mov dword [0x40d0fc], 1
mov eax, dword [0x40d100]
test eax, eax
je 0x403b99
cmp byte [eax], 0
jne 0x403c84
mov ebx, dword [0x40a100]
mov dword [ebp - 0x54], ebx
cmp dword [0x40d140], ebx
jle 0x403bb0
mov dword [0x40d140], ebx
mov edi, dword [ebp - 0x54]
cmp edi, dword [0x40d130]
jge 0x403bc1
mov dword [0x40d130], edi
mov eax, dword [0x40d110]
mov dword [ebp - 0x44], eax
dec eax
je 0x403ed9
mov edx, dword [ebp + 8]
cmp dword [ebp - 0x54], edx
je 0x403c2c
mov ecx, dword [ebp - 0x54]
mov ebx, dword [ebp + 0xc]
mov edx, 0x40c078
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 0x403c4a
mov eax, dword [ebp - 0x54]
mov edx, dword [0x40d140]
inc eax
cmp dword [0x40d130], edx
mov dword [0x40a100], eax
je 0x403fb0
cmp eax, edx
je 0x403c1f
mov eax, ebx
call fcn.004039c0
mov eax, dword [ebp + 8]
mov dword [0x40d140], eax
mov dword [0x40a100], eax
mov eax, dword [0x40d130]
cmp eax, dword [0x40d140]
jne 0x40409c
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 0x403f58
mov ecx, dword [ebp - 0x50]
mov ebx, dword [ebp - 0x50]
inc ebx
mov dl, byte [ecx + 1]
test dl, dl
je 0x403f58
mov esi, dword [ebp + 0x14]
xor eax, eax
test esi, esi
je 0x403c7c
cmp dl, 0x2d
sete al
and eax, 0xff
add ebx, eax
mov dword [0x40d100], ebx
mov ebx, dword [ebp + 0x14]
test ebx, ebx
je 0x403cad
mov eax, dword [0x40a100]
mov edi, dword [ebp + 0xc]
mov eax, dword [edi + eax*4]
mov dl, byte [eax + 1]
cmp dl, 0x2d
je 0x403db1
mov ecx, dword [ebp + 0x1c]
test ecx, ecx
jne 0x403d98
mov ebx, dword [0x40d100]
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 [0x40d100], edi
call fcn.00403990
mov edx, dword [0x40a100]
cmp byte [ebx + 1], 1
adc edx, 0
test eax, eax
mov dword [0x40a100], edx
je 0x403d4f
cmp byte [ebp - 0x29], 0x3a
je 0x403d4f
cmp byte [eax], 0x57
je 0x404246
mov cl, byte [eax + 1]
cmp cl, 0x3a
jne 0x403c40
cmp byte [eax + 2], 0x3a
je 0x404396
cmp byte [edi], 0
je 0x404364
mov ecx, dword [0x40a100]
mov dword [0x40d0f8], edi
inc ecx
mov dword [0x40a100], ecx
mov esi, dword [ebp - 0x4c]
mov dword [0x40d100], 0
jmp 0x403c40
mov dword [0x40a100], 1
jmp 0x403b29
mov edx, dword [0x40a104]
test edx, edx
je 0x403d83
mov eax, dword [0x40d120]
test eax, eax
je 0x4040a9
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.00403ae0
add esp, 0x10
mov dword [0x40a108], 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 0x403db1
movsx edx, dl
mov eax, dword [ebp + 0x10]
call fcn.00403990
test eax, eax
jne 0x403cad
mov eax, dword [0x40d100]
mov dword [ebp - 0x48], eax
mov dl, byte [eax]
mov byte [ebp - 0xd], dl
test dl, dl
je 0x404080
mov edi, eax
cmp dl, 0x3d
je 0x404080
inc edi
mov al, byte [edi]
test al, al
jne 0x403f84
mov ecx, dword [ebp + 0x14]
mov esi, dword [ecx]
test esi, esi
je 0x404131
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 0x403e23
add ebx, 0x10
mov esi, dword [ebx]
test esi, esi
je 0x403e69
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 0x403e13
sub esp, 0xc
push esi
call sub.msvcrt.dll_strlen
add esp, 0x10
cmp eax, dword [ebp - 0x14]
je 0x403fed
mov eax, dword [ebp - 0x3c]
test eax, eax
je 0x403f91
add ebx, 0x10
mov dword [ebp - 0x38], 1
mov esi, dword [ebx]
test esi, esi
jne 0x403e1c
mov eax, dword [ebp - 0x38]
test eax, eax
je 0x403ff6
mov edi, dword [0x40a104]
test edi, edi
jne 0x403fba
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 [0x40a108], 0
add edx, eax
mov eax, dword [0x40a100]
mov dword [ebp - 0x48], edx
inc eax
mov ebx, dword [ebp - 0x48]
mov dword [0x40a100], eax
mov dword [0x40d100], ebx
mov eax, esi
add esp, 0x10
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
inc ecx
mov dword [0x40d110], 2
mov dword [ebp + 0x10], ecx
jmp 0x403b7d
mov edx, dword [0x40d130]
mov eax, dword [0x40d140]
cmp edx, eax
je 0x404069
cmp dword [ebp - 0x54], eax
je 0x403f02
mov eax, dword [ebp + 0xc]
call fcn.004039c0
mov edx, dword [0x40a100]
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 0x403f21
jmp 0x403f37
inc ecx
add edx, 4
mov dword [0x40a100], ecx
cmp ecx, dword [ebp + 8]
je 0x403f9f
mov eax, dword [edx]
cmp byte [eax], 0x2d
jne 0x403f12
cmp byte [eax + 1], 0
je 0x403f12
mov edi, dword [0x40a100]
mov dword [ebp - 0x54], edi
mov dword [0x40d140], ecx
jmp 0x403bd0
mov eax, dword [ebp + 0x10]
mov dword [0x40d110], 0
inc eax
mov dword [ebp + 0x10], eax
jmp 0x403b7d
mov edi, dword [ebp - 0x44]
test edi, edi
je 0x403c3d
mov eax, dword [ebp - 0x54]
mov ebx, dword [ebp - 0x50]
inc eax
mov esi, 1
mov dword [0x40a100], eax
mov dword [0x40d0f8], ebx
mov eax, esi
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
cmp al, 0x3d
jne 0x403dd1
jmp 0x403ddc
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x34], eax
jmp 0x403e13
mov eax, dword [ebp + 8]
mov dword [0x40d140], ecx
mov dword [ebp - 0x54], eax
jmp 0x403bd0
mov dword [0x40d130], eax
jmp 0x403c1f
mov eax, dword [0x40a100]
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.00403ae0
mov ecx, dword [0x40d100]
add esp, 0x10
mov dword [ebp - 0x48], ecx
jmp 0x403e82
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x3c]
test eax, eax
je 0x404131
mov edx, dword [0x40a100]
inc edx
mov dword [0x40a100], edx
cmp byte [edi], 0
jne 0x404088
mov edi, dword [ebp - 0x3c]
cmp dword [edi + 4], 1
je 0x4041ac
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 [0x40d100], ebx
je 0x40404f
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 0x4041c9
mov eax, dword [ecx + 0xc]
xor esi, esi
mov dword [edx], eax
jmp 0x403c40
cmp dword [ebp - 0x54], edx
je 0x403f02
mov ecx, dword [ebp - 0x54]
mov dword [0x40d130], ecx
jmp 0x403f02
mov edi, dword [ebp - 0x48]
jmp 0x403ddc
mov ecx, dword [ebp - 0x3c]
mov eax, dword [ecx + 4]
test eax, eax
je 0x4040ba
lea eax, [edi + 1]
mov dword [0x40d0f8], eax
jmp 0x404020
or esi, 0xffffffff
mov dword [0x40a100], eax
jmp 0x403c40
push esi
mov ecx, dword [ebp + 0xc]
mov eax, dword [ecx]
push eax
push str._s:_invalid_option_____c_n
jmp 0x403d72
mov edi, dword [0x40a104]
test edi, edi
je 0x404020
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebx + edx*4 - 4]
cmp byte [eax + 1], 0x2d
je 0x404222
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.00403ae0
add esp, 0x20
sub esp, 0xc
mov ebx, dword [0x40d100]
mov esi, 0x3f
push ebx
call sub.msvcrt.dll_strlen
add ebx, eax
add esp, 0x10
mov dword [0x40d100], ebx
mov ebx, dword [ebp - 0x3c]
mov eax, dword [ebx + 0xc]
mov dword [0x40a108], eax
jmp 0x403c40
mov eax, dword [ebp + 0x1c]
test eax, eax
jne 0x40445f
mov eax, dword [0x40a104]
test eax, eax
je 0x404181
mov eax, dword [0x40a100]
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + eax*4]
cmp byte [eax + 1], 0x2d
je 0x404313
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.00403ae0
add esp, 0x20
mov ecx, dword [0x40a100]
mov esi, 0x3f
inc ecx
mov dword [0x40d100], 0x40c164
mov dword [0x40a100], ecx
mov dword [0x40a108], 0
jmp 0x403c40
cmp dword [ebp + 8], edx
jle 0x4041d4
mov ecx, dword [ebp + 0xc]
mov eax, dword [ecx + edx*4]
mov dword [0x40d0f8], eax
lea eax, [edx + 1]
mov dword [0x40a100], eax
jmp 0x404020
mov ebx, dword [ebp - 0x3c]
mov esi, dword [ebx + 0xc]
jmp 0x403c40
mov eax, dword [0x40a104]
test eax, eax
jne 0x404335
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 [0x40d100], eax
mov eax, dword [edx + 0xc]
mov dword [0x40a108], eax
cmp byte [ecx], 0x3a
setne al
and eax, 0xff
lea esi, [eax + eax*4 + 0x3a]
jmp 0x403c40
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.00403ae0
add esp, 0x10
jmp 0x404102
mov cl, byte [eax + 1]
cmp cl, 0x3b
jne 0x403cfd
cmp byte [ebx + 1], 0
je 0x40443e
mov eax, dword [0x40a100]
mov ebx, dword [ebp - 0x48]
inc eax
mov dword [0x40d0f8], ebx
mov dword [0x40a100], eax
mov ebx, dword [0x40d0f8]
mov dword [ebp - 0x48], ebx
mov dword [0x40d100], ebx
mov al, byte [ebx]
test al, al
setne byte [ebp - 0x3d]
jne 0x404412
mov edi, dword [ebp - 0x48]
mov dword [ebp - 0x28], edi
mov ecx, dword [ebp + 0x14]
mov ebx, dword [ecx]
test ebx, ebx
je 0x4044cb
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 0x4042d4
add esi, 0x10
mov ebx, dword [esi]
test ebx, ebx
je 0x4043bd
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 0x4042c6
sub esp, 0xc
push ebx
call sub.msvcrt.dll_strlen
add esp, 0x10
cmp eax, dword [ebp - 0x18]
je 0x4044be
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x40438b
mov dword [ebp - 0x20], 1
jmp 0x4042c6
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.00403ae0
add esp, 0x10
jmp 0x404181
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.00403ae0
mov edi, dword [0x40d100]
add esp, 0x10
mov dword [ebp - 0x48], edi
jmp 0x4041e1
mov edx, dword [0x40a100]
cmp edx, dword [ebp + 8]
je 0x404490
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebx + edx*4]
mov dword [0x40d0f8], eax
lea eax, [edx + 1]
mov dword [0x40a100], eax
jmp 0x403d2c
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x1c], edi
jmp 0x4042c6
cmp byte [edi], 0
je 0x404406
mov ebx, dword [0x40a100]
mov dword [0x40d0f8], edi
inc ebx
mov dword [0x40a100], ebx
mov dword [0x40d100], 0
jmp 0x403c40
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x4044c4
mov eax, dword [0x40a104]
test eax, eax
jne 0x4045e3
sub esp, 0xc
mov ebx, dword [0x40d100]
push ebx
call sub.msvcrt.dll_strlen
mov esi, dword [0x40a100]
add ebx, eax
inc esi
add esp, 0x10
mov dword [0x40a100], esi
mov esi, 0x3f
mov dword [0x40d100], ebx
jmp 0x403c40
mov dword [0x40d0f8], 0
jmp 0x4043ae
mov dword [ebp - 0x28], ebx
cmp al, 0x3d
je 0x40428d
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 0x404293
cmp al, 0x3d
jne 0x40441d
jmp 0x404293
cmp edx, dword [ebp + 8]
je 0x404618
mov ecx, dword [ebp + 0xc]
mov eax, dword [ecx + edx*4]
mov dword [0x40d0f8], eax
lea eax, [edx + 1]
mov dword [0x40a100], eax
jmp 0x404270
mov eax, dword [0x40a100]
mov edi, dword [ebp + 0xc]
mov eax, dword [edi + eax*4]
cmp byte [eax + 1], 0x2d
je 0x40413c
movsx edx, byte [ebp - 0xd]
mov eax, dword [ebp + 0x10]
call fcn.00403990
test eax, eax
jne 0x403cad
jmp 0x40413c
mov edx, dword [0x40a104]
test edx, edx
jne 0x4045c1
mov edx, dword [ebp + 0x10]
mov dword [0x40a108], esi
cmp byte [edx], 0x3a
setne al
and eax, 0xff
lea ecx, [eax + eax*4 + 0x3a]
mov dword [ebp - 0x4c], ecx
jmp 0x403d2c
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x1c], edi
mov ebx, dword [ebp - 0x24]
test ebx, ebx
jne 0x4044df
mov esi, 0x57
mov dword [0x40d100], 0
jmp 0x403c40
cmp byte [ebp - 0x3d], 0
je 0x404594
mov ecx, dword [ebp - 0x24]
mov ecx, dword [ecx + 4]
test ecx, ecx
jne 0x404543
mov edx, dword [0x40a104]
test edx, edx
je 0x40451f
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.00403ae0
add esp, 0x10
sub esp, 0xc
mov ebx, dword [0x40d100]
mov esi, 0x3f
push ebx
call sub.msvcrt.dll_strlen
add esp, 0x10
add ebx, eax
mov dword [0x40d100], ebx
jmp 0x403c40
mov eax, dword [ebp - 0x28]
inc eax
mov dword [0x40d0f8], 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 [0x40d100], eax
je 0x40457a
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 0x40460d
mov eax, dword [ebx + 0xc]
xor esi, esi
mov dword [edx], eax
jmp 0x403c40
mov eax, dword [ebp - 0x24]
cmp dword [eax + 4], 1
jne 0x40454c
mov edx, dword [0x40a100]
cmp dword [ebp + 8], edx
jle 0x40465b
mov ecx, dword [ebp + 0xc]
mov eax, dword [ecx + edx*4]
mov dword [0x40d0f8], eax
lea eax, [edx + 1]
mov dword [0x40a100], eax
jmp 0x40454c
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.00403ae0
add esp, 0x10
jmp 0x40449e
mov edx, dword [ebp + 0xc]
mov eax, dword [0x40a100]
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.00403ae0
add esp, 0x10
jmp 0x4043d5
mov edi, dword [ebp - 0x24]
mov esi, dword [edi + 0xc]
jmp 0x403c40
mov eax, dword [0x40a104]
test eax, eax
je 0x40463e
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.00403ae0
add esp, 0x10
mov eax, dword [ebp + 0x10]
mov dword [0x40a108], esi
cmp byte [eax], 0x3a
setne al
and eax, 0xff
lea esi, [eax + eax*4 + 0x3a]
jmp 0x403c40
mov eax, dword [0x40a104]
test eax, eax
je 0x404685
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.00403ae0
add esp, 0x10
sub esp, 0xc
mov ebx, dword [0x40d100]
push ebx
call sub.msvcrt.dll_strlen
mov edi, dword [ebp + 0x10]
add ebx, eax
mov dword [0x40d100], ebx
add esp, 0x10
cmp byte [edi], 0x3a
setne al
and eax, 0xff
lea esi, [eax + eax*4 + 0x3a]
jmp 0x403c40