I've profiled Internet Explorer 11 to find out why does it consume lots of CPU in kernel-mode. The hottest path (that was present in 85% of samples) was the following stack:
- NtAllocateVirtualMemory
- whNtAllocateVirtualMemory
- Wow64SystemServiceEx
- ServiceNoTurbo
- RunCpuSimulation
- Wow64LdrpInitialize
- _LdrInitialize
- LdrInitializeThunk
- _NtAllocateVirtualMemory@24
- RtlIpv6AddressToStringW (85% of samples!)
- _RtlpLfhBucketIndexMap
- RtlpLowFragHeapAllocFromContext
- RtlpAllocateUserBlockFromHeap
- @RtlpLowFragHeapAllocateFromZone@8
- _RtlpLfhBucketIndexMap
- RtlAllocateHeap
How can a call to RtlAllocateHeap
result in a call to RtlIpv6AddressToStringW
?