while trying to debug a binary which have TLS callback functionality,i am not getting any result.i have put "System entry breakpoint" as in ollydbg Event option.Binary breaks as system breakpoint reached.but i am viewing the calls imported by Ntdll.dll
I am attaching a screenshot for the reference
i already got the TLS section by IDA PRO,and got the address in the range 400000 but when viewing olly,i can see the address starting from 7.check the picture
.
And below are the sample Assembly when started by olly
77420542 8975 FC MOV DWORD PTR [EBP-4],ESI
77420545 EB 0E JMP SHORT ntdll.77420555
77420547 33C0 XOR EAX,EAX
77420549 40 INC EAX
7742054A C3 RET
7742054B 8B65 E8 MOV ESP,DWORD PTR [EBP-18]
7742054E C745 FC FEFFFFF>MOV DWORD PTR [EBP-4],-2
77420555 E8 DF22FBFF CALL ntdll.773D2839
7742055A C3 RET
7742055B 90 NOP
7742055C 90 NOP
7742055D 90 NOP
7742055E 90 NOP
7742055F 90 NOP
77420560 8BFF MOV EDI,EDI
77420562 55 PUSH EBP
77420563 8BEC MOV EBP,ESP
77420565 83EC 10 SUB ESP,10
77420568 803D EC02FE7F 0>CMP BYTE PTR [7FFE02EC],0
7742056F 74 11 JE SHORT ntdll.77420582
77420571 8B45 0C MOV EAX,DWORD PTR [EBP+C]
77420574 8160 68 FFFEFFF>AND DWORD PTR [EAX+68],FDFFFEFF
It will be great if anyone can help