Exetools  

Go Back   Exetools > General > General Discussion

Notices

Reply
 
Thread Tools Display Modes
  #1  
Old 09-24-2013, 16:02
jump jump is offline
VIP
 
Join Date: Jan 2009
Posts: 305
Rept. Given: 84
Rept. Rcvd 51 Times in 26 Posts
Thanks Given: 22
Thanks Rcvd at 41 Times in 27 Posts
jump Reputation: 51
APIs in Olly

Hi,

I am looking for such things in Olly. Is it possible to do that?

1)
I have many calls on api but not on the first istruction MOV EDI, EDI but on the second instruction. So Olly dont show me CALL API but just CALL kerrnel32.xxxxxxxx for example. Ok, i know that i can change call to the first instruction but isnt available any plugin for that which will do it automatically? Or some settings in Olly that it will check also one instruction up

2)
Second question is:
I have some CALLs on API which doesnt show me in Olly on the stack its parameters. Even if I wrote them in the code. For example CALL VirtualAllocEx and many more which have more important parameters than this API. How to fix this? I guess it has something to do with missing lib? Is this fixable?

Thanks

--
Jump
Reply With Quote
  #2  
Old 09-25-2013, 13:41
DMichael's Avatar
DMichael DMichael is offline
Family
 
Join Date: Apr 2012
Location: Israel
Posts: 197
Rept. Given: 138
Rept. Rcvd 281 Times in 72 Posts
Thanks Given: 13
Thanks Rcvd at 31 Times in 25 Posts
DMichael Reputation: 200-299 DMichael Reputation: 200-299 DMichael Reputation: 200-299
1.first you can try ctrl+scroll and than olly analyzes diffrent bytes or you can just breakpoint on that api(from kernel or user what ever it comes from)and just trace

2.its on the stuck but not analyzed by olly that it recives parameters you can go into dissebmly and how much PUSH there upper the call or you can try olly v2.01 alpha 4 that analyzes such things better
Reply With Quote
  #3  
Old 09-25-2013, 17:30
deepzero's Avatar
deepzero deepzero is offline
VIP
 
Join Date: Mar 2010
Location: Germany
Posts: 300
Rept. Given: 111
Rept. Rcvd 64 Times in 42 Posts
Thanks Given: 178
Thanks Rcvd at 216 Times in 92 Posts
deepzero Reputation: 64
1) you can just set a label at <push ebp>.

2) there is a way you can add your own definitions, but i wasnt able to find detais right away...there is a thread on t4u somewhere...maybe someone else has a link.
Reply With Quote
  #4  
Old 09-25-2013, 19:03
RedBlkJck RedBlkJck is offline
Family
 
Join Date: Oct 2011
Posts: 99
Rept. Given: 64
Rept. Rcvd 80 Times in 43 Posts
Thanks Given: 25
Thanks Rcvd at 11 Times in 9 Posts
RedBlkJck Reputation: 80
Sorry I may not be 'seeing' what you mean by the first question but is it possible that you just have an outdated udd and pdb for the system dlls? The call destination is correct just the labels are off? After one these last set of MS patch updates I had to clear the udd and do a refresh off the ms symbol files because the labeled analyzed addresses were off by a few bytes. I had several addresses that were NOP, PUSH EBP but they were labeled as API calls. May not be the same thing you are referring to... - jack
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
help patching apis Shub-Nigurrath General Discussion 7 01-26-2006 17:16
EXE files and apis Warren General Discussion 9 09-02-2005 16:59
Olly BPM apex General Discussion 1 02-25-2005 15:02


All times are GMT +8. The time now is 13:50.


Always Your Best Friend: Aaron, JMI, ahmadmansoor, ZeNiX, chessgod101
( 1998 - 2024 )