Function at 0x4472b0
Capabilities:
Enumerate process modules
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f9fe0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, 0x1464
call fcn.004d65a0
mov eax, dword [0x531d28]
push ebx
push esi
push edi
mov dword [ebp - 0x14], eax
xor eax, eax
mov dword [ebp - 0x10], esp
mov ecx, 0x4a
lea edi, [ebp - 0x13c]
xor ebx, ebx
rep stosd dword es:[edi], eax
push 1
mov dword [ebp - 0x450], 1
mov dword [ebp - 4], ebx
mov dword [ebp - 0x458], 0x1000
mov dword [ebp - 0x13c], 0x128
call fcn.00446870
add esp, 4
push ebx
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
cmp esi, 0xffffffff
mov dword [ebp - 0x454], esi
jne 0x447365
call fcn.00407270
push 0xc5
push str..ProcessMgr.cpp
mov ecx, eax
call fcn.0040a520
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Could_not_CreateToolhelp32Snapshot__ld.
push 0x20
call fcn.0047fc80
add esp, 0xc
xor eax, eax
jmp 0x4476af
lea eax, [ebp - 0x13c]
push eax
push esi
call sub.KERNEL32.dll_Process32First
cmp eax, ebx
mov dword [ebp - 0x450], eax
je 0x447698
lea ecx, [ebp - 0x458]
push ecx
push 0x1000
lea edx, [ebp - 0x1474]
push edx
call sub.PSAPI.DLL_EnumProcesses
cmp eax, ebx
mov dword [ebp - 0x450], eax
je 0x447664
mov edi, dword [ebp - 0x458]
mov esi, dword [ebp + 8]
shr edi, 2
push edi
push ebx
mov ecx, esi
mov dword [ebp - 0x474], edi
call fcn.004467c0
mov dword [ebp - 0x44c], ebx
cmp ebx, edi
jae 0x447692
mov eax, dword [str.unknown]
mov ecx, dword [0x50af98]
mov dword [ebp - 0x240], eax
xor eax, eax
mov dword [ebp - 0x23c], ecx
mov ecx, 0x3f
lea edi, [ebp - 0x238]
rep stosd dword es:[edi], eax
mov byte [ebp - 0x344], al
mov ecx, 0x40
lea edi, [ebp - 0x343]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
cmp ebx, dword [esi]
jae 0x44741c
mov eax, dword [esi + 4]
lea ebx, [ebx + ebx*2]
shl ebx, 4
add ebx, eax
jmp 0x44741e
xor ebx, ebx
mov edx, dword [ebp - 0x134]
lea eax, [ebp - 0x118]
mov dword [ebx + 0x18], edx
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x447430
sub eax, edx
lea esi, [eax + 1]
mov eax, dword [ebx + 4]
test eax, eax
je 0x44744c
push eax
call fcn.004e50f9
add esp, 4
push esi
mov dword [ebx], esi
call fcn.004e50fe
mov dword [ebx + 4], eax
mov ecx, esi
mov edi, eax
mov eax, ecx
shr ecx, 2
lea esi, [ebp - 0x118]
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebp - 0x128]
add esp, 4
lea edx, [ebp - 0x344]
mov dword [ebx + 0x1c], ecx
mov eax, dword [ebp - 0x134]
push edx
push eax
call fcn.00446d00
add esp, 8
test eax, eax
je 0x4474b4
lea eax, [ebp - 0x344]
lea edx, [eax + 1]
mov edi, edi
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4474a0
sub eax, edx
inc eax
push eax
lea ecx, [ebp - 0x344]
push ecx
jmp 0x4474bb
push 1
push 0x502a56
lea ecx, [ebx + 8]
call fcn.00406d50
mov edx, dword [ebp - 0x134]
push edx
push 0
push 0x1f0fff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
mov dword [ebp - 0x468], esi
je 0x447566
lea eax, [ebp - 0x448]
push eax
lea ecx, [ebp - 0x45c]
push ecx
lea edx, [ebp - 0x460]
push edx
lea eax, [ebp - 0x46c]
push eax
lea ecx, [ebp - 0x134]
push ecx
lea edx, [ebp - 0x468]
push edx
call fcn.00446e20
mov eax, dword [ebp - 0x46c]
mov edx, dword [ebp - 0x45c]
mov ecx, dword [ebp - 0x460]
mov dword [ebx + 0x24], eax
lea eax, [ebp - 0x448]
mov dword [ebx + 0x28], edx
add esp, 0x18
mov dword [ebx + 0x20], ecx
lea edx, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x447540
sub eax, edx
inc eax
push eax
lea eax, [ebp - 0x448]
push eax
lea ecx, [ebx + 0x10]
call fcn.00406d50
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x447630
mov eax, dword [ebp - 0x134]
test eax, eax
jne 0x447630
mov ecx, dword [str.System_Idle_Process]
mov eax, dword [0x50af88]
mov edx, dword [0x50af84]
mov esi, dword [ebp - 0x44c]
mov dword [ebp - 0x240], ecx
mov ecx, dword [0x50af8c]
mov dword [ebp - 0x238], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x234], ecx
cmp esi, dword [eax]
mov dword [ebp - 0x23c], edx
mov edx, dword [0x50af90]
mov dword [ebp - 0x230], edx
jae 0x4475c9
mov ecx, dword [eax + 4]
lea esi, [esi + esi*2]
shl esi, 4
add esi, ecx
jmp 0x4475cb
xor esi, esi
lea eax, [ebp - 0x240]
mov dword [esi + 0x18], 0
lea edx, [eax + 1]
jmp 0x4475e0
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4475e0
sub eax, edx
inc eax
push eax
lea eax, [ebp - 0x240]
push eax
mov ecx, esi
call fcn.00406d50
push 1
push 0x502a56
lea ecx, [esi + 8]
call fcn.00406d50
lea ecx, [ebp - 0x464]
push ecx
lea edx, [ebp - 0x470]
push edx
call fcn.00446f80
mov eax, dword [ebp - 0x470]
mov ecx, dword [ebp - 0x464]
add esp, 8
mov dword [esi + 0x20], eax
mov dword [esi + 0x24], ecx
mov eax, dword [ebp - 0x454]
lea edx, [ebp - 0x13c]
push edx
push eax
call sub.KERNEL32.dll_Process32Next
test eax, eax
je 0x447692
mov eax, dword [ebp - 0x44c]
mov esi, dword [ebp + 8]
mov edi, dword [ebp - 0x474]
inc eax
mov dword [ebp - 0x44c], eax
mov ebx, eax
jmp 0x4473c7
call fcn.00407270
push 0x101
push str..ProcessMgr.cpp
mov ecx, eax
call fcn.0040a520
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Enum_processes_error.Error_code:_d
push 0x20
call fcn.0047fc80
add esp, 0xc
jmp 0x447698
mov esi, dword [ebp - 0x454]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0
call fcn.00446870
add esp, 4
mov eax, dword [ebp - 0x450]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x14]
call fcn.004d40be
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret