Reverse Engineering 2

Reverse Engineering 2


LetsDefend

What is the counter register used in loop and string operations?

A) ECX

The Code Segment (CS) register holds the address of which code segment?

A) .text

What is the flag that allows the operation mode of the processor to be set to single-step mode?

A) TF

What is the name of the addressing mode in the example below?

A) Register Addressing

What is the name of the syntax used in the instruction given below?

A) AT&T Syntax

What is the instruction that allows you to increment the value of the operand by 1?

A) INC

What is the instruction that means “no operation” that allows to go to the next instruction without any operation being executed?

A) NOP

What is the instruction to exchange values in two registers?

A) XCHG

What is the command used to set up a breakpoint a function in GDB?

A) b

What is the command to run the program until the next breakpoint in GDB?

A) c

What is the name of the function that starts with “da…” in the “pincode2” executable file?

A) dashboard

What is the instruction in “main+45”?

A) push

Where exactly is the function in which the pincode is taken from the user as an input in the main function?

A) main+68

Which instruction checks whether the entered pin code is correct or not?

A) cmp

What is the correct pin code?

A) 8371

Find the value to be printed on the command line with “printf” in the function by setting up the value of the EIP register as the address of the function named “letsdefend”.

A) Welcome

© 2026 Cu3rv0x