Function at 0x450aac
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff004
push eax
add esp, 0xffffffa8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x1054], ebx
mov dword [ebp - 0x1058], ebx
mov dword [ebp - 0x1048], ebx
mov dword [ebp - 0x1050], ebx
mov dword [ebp - 0x104c], ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004040b8
xor eax, eax
push ebp
push 0x450d37
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 8]
mov edx, 0x450d50
call fcn.00403cd8
xor eax, eax
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 8]
xor edx, edx
mov dword [eax], edx
mov eax, dword [ebp - 0xc]
xor edx, edx
mov dword [eax], edx
lea eax, [ebp - 0x101c]
mov edx, 0x1000
call fcn.00407efc
lea eax, [ebp - 0x10]
push eax
push 0x1000
lea eax, [ebp - 0x101c]
push eax
call sub.psapi.dll_EnumProcesses
cmp dword [ebp - 0x10], 0
jbe 0x450d09
mov eax, dword [ebp - 0x10]
shr eax, 2
test eax, eax
jns 0x450b5c
call fcn.00402e94
sub eax, 1
jno 0x450b66
call fcn.00402e9c
test eax, eax
jl 0x450d09
inc eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x14], 0
xor eax, eax
push ebp
push 0x450cd5
push dword fs:[eax]
mov dword fs:[eax], esp
mov esi, dword [ebp - 0x14]
cmp esi, 0x3ff
jbe 0x450b97
call fcn.00402e94
mov eax, dword [ebp + esi*4 - 0x101c]
push eax
push 0
push 0x410
call sub.kernel32.dll_OpenProcess
mov ebx, eax
test ebx, ebx
jbe 0x450ccb
lea eax, [ebp - 0x104c]
push eax
lea ecx, [ebp - 0x18]
mov eax, dword [ebp - 0x14]
cmp eax, 0x3ff
jbe 0x450bce
call fcn.00402e94
mov edx, dword [ebp + esi*4 - 0x101c]
mov eax, ebx
call fcn.0044d628
mov eax, dword [ebp - 0x104c]
lea edx, [ebp - 0x1048]
call fcn.004090a8
mov eax, dword [ebp - 0x1048]
push eax
lea edx, [ebp - 0x1050]
mov eax, dword [ebp - 4]
call fcn.004090a8
mov edx, dword [ebp - 0x1050]
pop eax
call fcn.00404014
jne 0x450cc5
lea edx, [ebp - 0x1044]
mov ecx, 0x28
mov eax, ebx
call fcn.00445b04
test eax, eax
je 0x450cb5
mov esi, dword [ebp - 0x1038]
shr esi, 0xa
mov eax, esi
shr eax, 0xa
test eax, eax
jns 0x450c45
call fcn.00402e94
mov edx, dword [ebp - 8]
mov dword [edx], eax
mov eax, dword [ebp - 0x1024]
shr eax, 0xa
shr eax, 0xa
test eax, eax
jns 0x450c5f
call fcn.00402e94
mov edx, dword [ebp - 0xc]
mov dword [edx], eax
push 0x450d60
mov eax, esi
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x1054]
call fcn.0040935c
push dword [ebp - 0x1054]
push 0x450d70
push 0x450d7c
mov eax, dword [ebp - 0x1024]
shr eax, 0xa
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x1058]
call fcn.0040935c
push dword [ebp - 0x1058]
mov eax, dword [ebp + 8]
mov edx, 5
call fcn.00403fc4
push ebx
call sub.kernel32.dll_CloseHandle_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x450d09
push ebx
call sub.kernel32.dll_CloseHandle_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x450cfd
inc dword [ebp - 0x14]
dec dword [ebp - 0x1c]
jne 0x450b79
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x450d3e
lea eax, [ebp - 0x1058]
mov edx, 5
call fcn.00403ca8
lea eax, [ebp - 0x18]
call fcn.00403c84
lea eax, [ebp - 4]
call fcn.00403c84
ret