There are some issues with degubbing of huge x64 application/dll with IDA Pro. This problem appears while IDA rebases database (I'm using 'win64_remotex64.exe' debug server).
After rebasing (it may take about 10-30 min in my case) IDA logged "irs_recv: timeout" error.
It happens because tcp/ip code of debug server uses 10 sec timeout.
To increase this value we need patch some IDA components (tutorial for newbies):
- win64_remotex64.exe
- win32_stub.p64
You may need to make copies of these files before disassembling/patching.
Ok, let's start with second module.
Load a copy of 'win32_stub.p64', switch to the 'text view' mode (instead of graph or proximity view mode), press 'ATL+T' key and find a text '2710' (hex) in the code. This value is equal to 10000 (timeout in msec):
Look at the bottom of screenshot (at the address .text:157D6C04) - here is our '2710h'!
Change this value to 7FFF FFFF: place click on the line with '2710h' text, press right button and make sure that checkbox 'Syncronize with'->'HexView-1' is checked. Go to 'Hex View-1' tab and change '10 27 00 00' value to 'FF FF FF 7F'. Don't forget to press F2 to apply changes.
Return to 'IDA View-A' tab:
Ok, patch it:
Don't forget to replace original '\Plugins\win32_stub.p64' with our patched file.
Make the same operations with 'win64_remotex64.exe' file.




