Function at 0x4ec5c0
Capabilities:
Enumerate process modules

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6bd9e6
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x68
mov eax, dword [0x78efc4]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, ecx
mov dword [ebp - 0x70], eax
mov dword [ebp - 0x64], eax
mov dword [ebp - 4], 0
mov esi, 0x3e8
mov dword [ebp - 0x78], eax
mov dword [ebp - 0x6c], 0
push esi
mov dword [ebp - 0x68], 0
call fcn.0045b750
push 0xfa0
push 0
push eax
lea edi, [eax + 0xfa0]
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x60], edi
mov dword [ebp - 0x54], edi
call fcn.00679eb0
add esp, 0xc
mov dword [ebp - 0x58], edi
mov dword [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea ecx, [ebp - 0x68]
push ecx
push esi
push dword [ebp - 0x5c]
push eax
call dword [sym.imp.KERNEL32.dll_K32EnumProcessModules]
test eax, eax
jne 0x4ec6f0
nop
mov edx, dword [ebp - 0x5c]
mov ecx, edi
sub ecx, edx
add esi, esi
sar ecx, 2
mov dword [ebp - 0x64], esi
cmp esi, ecx
jae 0x4ec688
lea edi, [edx + esi*4]
jmp 0x4ec6ca
jbe 0x4ec6cd
mov eax, dword [ebp - 0x60]
sub eax, edx
sar eax, 2
cmp esi, eax
jbe 0x4ec6ae
push ecx
push esi
lea ecx, [ebp - 0x5c]
call fcn.004ef070
mov eax, dword [ebp - 0x54]
mov edi, dword [ebp - 0x58]
mov edx, dword [ebp - 0x5c]
mov dword [ebp - 0x60], eax
jmp 0x4ec6cd
mov eax, esi
sub eax, ecx
lea esi, [eax*4]
push esi
push 0
push edi
call fcn.00679eb0
mov edx, dword [ebp - 0x5c]
add esp, 0xc
add edi, esi
mov dword [ebp - 0x58], edi
mov esi, edi
sub esi, edx
sar esi, 2
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea ecx, [ebp - 0x68]
push ecx
push esi
push dword [ebp - 0x5c]
push eax
call dword [sym.imp.KERNEL32.dll_K32EnumProcessModules]
mov esi, dword [ebp - 0x64]
test eax, eax
je 0x4ec670
mov esi, dword [ebp - 0x5c]
mov edx, edi
mov ecx, dword [ebp - 0x68]
sub edx, esi
sar edx, 2
cmp ecx, edx
jae 0x4ec706
lea edi, [esi + ecx*4]
jmp 0x4ec746
jbe 0x4ec749
mov eax, dword [ebp - 0x60]
sub eax, esi
sar eax, 2
cmp ecx, eax
jbe 0x4ec72c
push ecx
push ecx
lea ecx, [ebp - 0x5c]
call fcn.004ef070
mov eax, dword [ebp - 0x54]
mov edi, dword [ebp - 0x58]
mov esi, dword [ebp - 0x5c]
mov dword [ebp - 0x60], eax
jmp 0x4ec749
sub ecx, edx
lea esi, [ecx*4]
push esi
push 0
push edi
call fcn.00679eb0
add esp, 0xc
add edi, esi
mov esi, dword [ebp - 0x5c]
mov dword [ebp - 0x58], edi
mov eax, esi
cmp eax, edi
je 0x4ec781
nop
cmp dword [eax], 0
je 0x4ec75c
add eax, 4
cmp eax, edi
jne 0x4ec750
cmp eax, edi
je 0x4ec781
lea ecx, [eax + 4]
cmp ecx, edi
je 0x4ec779
mov edx, dword [ecx]
test edx, edx
je 0x4ec772
mov dword [eax], edx
add eax, 4
add ecx, 4
cmp ecx, edi
jne 0x4ec767
cmp eax, edi
cmovne edi, eax
mov dword [ebp - 0x58], edi
mov eax, dword [ebp - 0x70]
mov dword [eax], 0
mov dword [eax + 4], 0
mov dword [eax + 8], 0
mov eax, esi
mov dword [ebp - 0x6c], 1
mov dword [ebp - 0x64], eax
cmp eax, edi
je 0x4ec8bd
nop dword [eax]
mov eax, dword [eax]
push eax
mov dword [ebp - 0x74], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, eax
lea ecx, [ebp - 0x50]
call fcn.004df430
add esp, 4
push dword [ebp - 0x74]
mov byte [ebp - 4], 2
call dword [sym.imp.dbghelp.dll_ImageNtHeader]
test eax, eax
je 0x4ec7dd
mov eax, dword [eax + 0x50]
mov ecx, dword [ebp - 0x74]
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x34], ecx
lea eax, [ecx + eax*4]
mov dword [ebp - 0x30], eax
lea ecx, [ebp - 0x2c]
lea eax, [ebp - 0x50]
push eax
call fcn.0044d190
or dword [ebp - 0x6c], 2
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x3c]
cmp edx, 8
jb 0x4ec83a
mov ecx, dword [ebp - 0x50]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4ec830
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4ec8f1
push edx
push ecx
call fcn.006779b1
add esp, 8
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x70]
mov ecx, dword [edx + 4]
cmp ecx, dword [edx + 8]
je 0x4ec894
mov eax, dword [ebp - 0x38]
movups xmm0, xmmword [ebp - 0x2c]
mov dword [ecx], eax
mov eax, dword [ebp - 0x34]
mov dword [ecx + 4], eax
mov eax, dword [ebp - 0x30]
mov dword [ecx + 8], eax
mov dword [ecx + 0x1c], 0
mov dword [ecx + 0x20], 0
movups xmmword [ecx + 0xc], xmm0
movq xmm0, qword [ebp - 0x1c]
movq qword [ecx + 0x1c], xmm0
xor eax, eax
mov dword [ebp - 0x1c], 0
add dword [edx + 4], 0x24
mov dword [ebp - 0x18], 7
mov word [ebp - 0x2c], ax
jmp 0x4ec8a0
lea eax, [ebp - 0x38]
push eax
push ecx
mov ecx, edx
call fcn.004ef150
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 1
call fcn.0044d7a0
mov eax, dword [ebp - 0x64]
add eax, 4
mov dword [ebp - 0x64], eax
cmp eax, edi
jne 0x4ec7b0
test esi, esi
je 0x4ec8d0
mov eax, dword [ebp - 0x60]
sub eax, esi
sar eax, 2
push eax
push esi
call fcn.004edfe0
mov eax, dword [ebp - 0x70]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.006773ff
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.00682da2
int3