View Single Post
  #8  
Old 06-13-2004, 11:15
bollygud
 
Posts: n/a
luckily this app incorporates both of those api into its starting imports.
here is some fixed code for this routine:

Quote:
00476FD6 60 PUSHAD
00476FD7 68 C86F4700 PUSH 00476FC8 ; ASCII "DvdIdlePro"
00476FDC FF15 ECC94500 CALL DWORD PTR DS:[<&kernel32.LoadLibraryA>] ; kernel32.LoadLibraryA
00476FE2 8BF0 MOV ESI,EAX
00476FE4 6A 01 PUSH 1
00476FE6 50 PUSH EAX
00476FE7 FF15 E4C94500 CALL DWORD PTR DS:[<&kernel32.GetProcAddress>] ; kernel32.GetProcAddress
00476FED FFD0 CALL EAX
00476FEF 61 POPAD
00476FF0 FFB5 D5090000 PUSH DWORD PTR SS:[EBP+9D5]
00476FF6 68 3FC04500 PUSH 0045C03F
00476FFB C3 RETN
and this now works
nice approach
Reply With Quote