Function at 0x4a9060
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x6c
mov eax, dword [0x62a040]
xor eax, esp
mov dword [esp + 0x68], eax
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
push 0
mov edi, edx
push 0
push 0x845c
mov dword [esp + 0x1c], edi
push dword [edi + 0x1c]
call dword [sym.imp.USER32.dll_SendMessageW]
push dword [edi + 0x1c]
call sym.SystemInformer.exe_PhGetSelectedListViewItemParam
push 0
push 0
push 0x1009
push dword [edi + 0x1c]
mov dword [esp + 0x2c], eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, edi
call fcn.004a8fe0
cmp dword [0x6321a8], 0
mov edi, edi
jne 0x4a90ef
call fcn.004a8d60
test eax, eax
je 0x4a90e2
push 0
mov edx, str.VDMEnumTaskWOWEx
mov ecx, eax
call fcn.00522940
mov dword [0x6321a8], eax
mov edi, edi
jmp 0x4a90e7
mov eax, dword [0x6321a8]
test eax, eax
je 0x4a931b
push dword [0x630f00]
push 0xc
call sym.SystemInformer.exe_PhCreateObject
push 4
mov ebx, eax
push 4
push dword [0x631034]
mov dword [ebx], 0
mov dword [ebx + 4], 1
call dword [sym.imp.ntdll.dll_RtlAllocateHeap]
push ebx
push 0x4a8e80
mov dword [ebx + 8], eax
push dword [esi + 0x10]
mov esi, dword [0x6321a8]
mov ecx, esi
call dword [0x5a08ec]
call esi
test ebx, ebx
je 0x4a931b
xor ecx, ecx
mov dword [esp + 0xc], ecx
cmp dword [ebx], ecx
jbe 0x4a9308
lea eax, [ebx + 8]
mov dword [esp + 0x18], ebx
mov dword [esp + 0x14], eax
mov eax, dword [eax]
mov ebx, dword [eax + ecx*4]
mov eax, dword [ebx + 8]
test eax, eax
je 0x4a9169
mov ecx, dword [eax + 4]
jmp 0x4a916e
mov ecx, 0x5c6aec
mov eax, dword [edi + 0x24]
mov dword [esp + 0x38], 5
mov dword [esp + 0x3c], 0x7fffffff
mov dword [esp + 0x40], 0
mov eax, dword [eax]
inc eax
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x58], eax
lea eax, [esp + 0x38]
push eax
push 0
push 0x104d
push dword [edi + 0x1c]
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [ebx + 0xc]
mov esi, eax
test ecx, ecx
je 0x4a91b7
mov ecx, dword [ecx + 4]
jmp 0x4a91bc
mov ecx, 0x5c6aec
lea eax, [esp + 0x38]
mov dword [esp + 0x38], 1
push eax
push 0
push 0x104c
push dword [edi + 0x1c]
mov dword [esp + 0x4c], esi
mov dword [esp + 0x50], 1
mov dword [esp + 0x5c], ecx
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [ebx]
push 0
mov dword [esp + 0x34], eax
lea eax, [esp + 0x24]
push 1
push eax
mov dword [esp + 0x2c], 9
mov dword [esp + 0x40], 0
call sym.SystemInformer.exe_PhFormat
push eax
call sym.SystemInformer.exe_PhAutoDereferenceObject
mov dword ds:[esp + 0x38], 1
mov dword [esp + 0x3c], esi
mov dword [esp + 0x40], 2
mov eax, dword [eax + 4]
mov dword [esp + 0x4c], eax
lea eax, [esp + 0x38]
push eax
push 0
push 0x104c
push dword [edi + 0x1c]
call dword [sym.imp.USER32.dll_SendMessageW]
movzx eax, word [ebx + 6]
cdq
push 0
mov dword [esp + 0x34], eax
lea eax, [esp + 0x24]
push 1
push eax
mov dword [esp + 0x2c], 9
mov dword [esp + 0x40], edx
call sym.SystemInformer.exe_PhFormat
push eax
call sym.SystemInformer.exe_PhAutoDereferenceObject
mov dword [esp + 0x38], 1
mov dword [esp + 0x3c], esi
mov dword [esp + 0x40], 3
mov eax, dword [eax + 4]
mov dword [esp + 0x4c], eax
lea eax, [esp + 0x38]
push eax
push 0
push 0x104c
push dword [edi + 0x1c]
call dword [sym.imp.USER32.dll_SendMessageW]
mov edi, dword [edi + 0x24]
mov eax, dword [edi + 4]
cmp dword [edi], eax
jne 0x4a92db
mov ecx, dword [edi + 8]
add eax, eax
mov dword [edi + 4], eax
shl eax, 2
push eax
test ecx, ecx
jne 0x4a92c9
push 4
push dword [0x631034]
call dword [sym.imp.ntdll.dll_RtlAllocateHeap]
jmp 0x4a92d8
push ecx
push 4
push dword [0x631034]
call dword [sym.imp.ntdll.dll_RtlReAllocateHeap]
mov dword [edi + 8], eax
mov ecx, dword ds:[edi]
mov eax, dword [edi + 8]
mov dword [eax + ecx*4], ebx
mov ecx, dword [esp + 0xc]
mov ebx, dword [esp + 0x18]
inc ecx
inc dword [edi]
mov edi, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
mov dword [esp + 0xc], ecx
cmp ecx, dword [ebx]
jb 0x4a9158
lea ecx, [ebx - 8]
or eax, 0xffffffff
lock xadd dword [ecx + 4], eax
dec eax
jne 0x4a931b
call fcn.004f9e40
mov eax, dword ds:[esp + 0x1c]
test eax, eax
je 0x4a935c
lea esi, [eax - 1]
mov dword [esp + 0x48], 3
lea eax, [esp + 0x38]
mov dword [esp + 0x44], 3
push eax
push esi
push 0x102b
push dword [edi + 0x1c]
call dword [sym.imp.USER32.dll_SendMessageW]
push 0
push esi
push 0x1013
push dword [edi + 0x1c]
call dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 1
push 0x845c
push dword [edi + 0x1c]
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [esp + 0x74]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0057c26f
mov esp, ebp
pop ebp
ret 4