(handle,func)
| 465 | return res |
| 466 | |
| 467 | def getprocaddr(handle,func): |
| 468 | kernel32.GetProcAddress.argtypes = [c_void_p, c_char_p] |
| 469 | kernel32.GetProcAddress.restype = c_void_p |
| 470 | address = kernel32.GetProcAddress(handle, func) |
| 471 | return address |
| 472 | |
| 473 | class MemoryModule(pe.PE): |
| 474 |