1. A method of obfuscating code, the method comprising: extracting a conditional statement from a computer program; creating a function equivalent to the conditional statement; creating a pointer that points to the function; storing the pointer in an array of pointers; replacing the conditional statement with a call to the function using the pointer at an index in the array; and during runtime of the computer program, dynamically calculating the index corresponding to the pointer in the array.