
the structure is pushed on the stack, we store ESP in ECX (line 18). Now we can push
the arguments for the bind function on the stack. At line 17, we push the last argument,
0x10, then the pointer to the struct is pushed (line 18), and finally we push the file
descriptor that was returned by socket.The arguments for the bind function are on the
stack, so we store ESP back in ECX. By doing this, the second argument for our
upcoming socketcall is ready and all we have to take care of next is the first argument
before we can call the kernel.
The EBX register still contains that value 1 (line 11). Because the identifier of the
bind function is 2, we inc b