Function at 0x403610
Capabilities:
Acquire debug privileges
Enumerate process modules
Enumerate processes
Print debug messages

Disassembly:
push 0xffffffffffffffff
push 0x406c16
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xa0c
push ebx
push esi
push edi
mov esi, ecx
push str.SeDebugPrivilege
mov dword [esp + 0x20], 0x128
call fcn.00406230
xor ebx, ebx
push ebx
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov edi, eax
cmp edi, 0xffffffff
mov dword [esp + 0x14], edi
jne 0x403668
push ebx
push ebx
push 0x458b1c
call sub.MFC42.DLL_AfxMessageBox
jmp 0x4038e0
lea eax, [esp + 0x1c]
push eax
push edi
call sub.KERNEL32.dll_Process32First
cmp eax, ebx
jne 0x403688
push ebx
push ebx
push 0x458b0c
call sub.MFC42.DLL_AfxMessageBox
jmp 0x4038e0
push ebp
add esi, 0x60
mov edx, dword [0x4590b8]
push ebx
push ebx
push ebx
lea ecx, [esp + 0x50]
push ebx
push ecx
push edx
push 1
mov ecx, esi
call sub.MFC42.DLL_CListCtrl::InsertItem
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString
mov eax, dword [esp + 0x28]
lea ecx, [esp + 0x10]
push eax
push 0x458b08
push ecx
mov dword [esp + 0xa30], ebx
call sub.MFC42.DLL_CString::Format
mov edx, dword [esp + 0x1c]
mov eax, dword [0x4590b8]
add esp, 0xc
mov ecx, esi
push edx
push 1
push eax
call sub.MFC42.DLL_CListCtrl::SetItemText
mov ecx, dword [esp + 0x38]
lea edx, [esp + 0x10]
push ecx
push 0x458b08
push edx
call sub.MFC42.DLL_CString::Format
mov eax, dword [esp + 0x1c]
mov ecx, dword [0x4590b8]
add esp, 0xc
push eax
push 2
push ecx
mov ecx, esi
call sub.MFC42.DLL_CListCtrl::SetItemText
mov edx, dword [esp + 0x34]
lea eax, [esp + 0x10]
push edx
push 0x458b08
push eax
call sub.MFC42.DLL_CString::Format
mov ecx, dword [esp + 0x1c]
mov edx, dword [0x4590b8]
add esp, 0xc
push ecx
push 3
push edx
mov ecx, esi
call sub.MFC42.DLL_CListCtrl::SetItemText
mov eax, dword [esp + 0x3c]
lea ecx, [esp + 0x10]
push eax
push 0x458b08
push ecx
call sub.MFC42.DLL_CString::Format
mov edx, dword [esp + 0x1c]
mov eax, dword [0x4590b8]
add esp, 0xc
mov ecx, esi
push edx
push 4
push eax
call sub.MFC42.DLL_CListCtrl::SetItemText
mov eax, dword [esp + 0x28]
cmp eax, ebx
je 0x403823
cmp eax, 4
je 0x403823
push eax
push ebx
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov ebp, eax
cmp ebp, ebx
jne 0x403796
push 0x458af8
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
lea ecx, [esp + 0x1c]
lea edx, [esp + 0x24c]
push ecx
push 0x7d0
push edx
push ebp
mov dword [esp + 0x2c], ebx
call sub.PSAPI.DLL_EnumProcessModules
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x149]
mov byte [esp + 0x148], bl
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x24c]
push 0x104
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [esp + 0x14c]
push eax
push ecx
push ebp
call sub.PSAPI.DLL_GetModuleFileNameExA
mov eax, dword [0x4590b8]
lea edx, [esp + 0x148]
push edx
push 5
push eax
mov ecx, esi
call sub.MFC42.DLL_CListCtrl::SetItemText
mov eax, dword [0x4590b8]
lea ecx, [esp + 0x10]
inc eax
mov dword [esp + 0xa24], 0xffffffff
mov dword [0x4590b8], eax
call fcn.0040652a
mov edi, dword [esp + 0x18]
jmp 0x403857
mov ecx, dword [0x4590b8]
push str.NT_OS_Kernel
push 5
push ecx
mov ecx, esi
call sub.MFC42.DLL_CListCtrl::SetItemText
mov eax, dword [0x4590b8]
lea ecx, [esp + 0x10]
inc eax
mov dword [esp + 0xa24], 0xffffffff
mov dword [0x4590b8], eax
call fcn.0040652a
lea edx, [esp + 0x20]
push edx
push edi
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x40368c
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::CString
mov eax, dword [0x4590b8]
lea ecx, [esp + 0x14]
push eax
push 0x458ad4
push ecx
mov dword [esp + 0xa30], 1
call sub.MFC42.DLL_CString::Format
add esp, 0xc
call sub.MFC42.DLL_AfxGetThread
cmp eax, ebx
pop ebp
je 0x4038a9
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x7c]
jmp 0x4038ab
xor eax, eax
mov ecx, dword [esp + 0x10]
mov edx, dword [eax + 0x20]
push ecx
push 0x3ea
push edx
call dword [sym.imp.USER32.dll_SetDlgItemTextA]
push edi
mov dword [0x4590b8], ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [esp + 0x10]
mov dword [esp + 0xa20], 0xffffffff
call fcn.0040652a
mov ecx, dword [esp + 0xa18]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0xa18
ret