The code in question is:
MOV EAX,DWORD PTR SS:[EBP-2C] ; EAX now hold pointer to a string
INC EAX ; EAX now points to the 2nd char
MOV AL,BYTE PTR DS:[EAX] ;
MOVSX EDX,AL ; EDX now hold the ascii value of the 2nd char
MOV EAX,EDX ; EAX now hold the ascii value of the 2nd char
SHL EAX,2 ;
ADD EAX,EDX ;
SHL EAX,1 ;
LEA EDX,DWORD PTR DS:[EAX-1E0] ; I dont understand this line
I'm trying to understand what the bellow code does, however the last line doesn't make any sense to me. EAX doesn't hold a legal address, so what is the meaning of that line?