Function at 0x4c4d10
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6396ed
mov eax, dword fs:[0]
push eax
sub esp, 0x250
mov eax, dword [0x6d5600]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x258], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
push 8
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
mov dword [ebp - 0x25c], esi
cmp esi, 0xffffffff
je 0x4c4fd5
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
lea eax, [ebp - 0x28]
mov dword [ebp - 4], 0
push eax
call fcn.004ef630
push 0x220
lea eax, [ebp - 0x248]
push 0
push eax
call fcn.005d5420
add esp, 0x10
mov dword [ebp - 0x24c], 0x224
lea eax, [ebp - 0x24c]
push eax
push esi
call sub.KERNEL32.dll_Module32First
test eax, eax
je 0x4c4e12
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
lea eax, [ebp - 0x12c]
push eax
call fcn.004c5160
add esp, 8
test eax, eax
jne 0x4c4e50
push 0x220
push eax
lea eax, [ebp - 0x248]
push eax
call fcn.005d5420
add esp, 0xc
mov dword [ebp - 0x24c], 0x224
lea eax, [ebp - 0x24c]
push eax
push esi
call sub.KERNEL32.dll_Module32Next
test eax, eax
jne 0x4c4dc3
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0x14]
cmp ecx, 0x10
jb 0x4c4fd5
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4c4fcb
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4c4ff3
jmp 0x4c4fcb
lea esi, [ebp - 0x12c]
lea ecx, [esi + 1]
nop dword [eax]
mov al, byte [esi]
inc esi
test al, al
jne 0x4c4e60
sub esi, ecx
mov ecx, dword [ebx + 0x14]
mov dword [ebp - 0x254], ecx
cmp esi, ecx
ja 0x4c4e9c
mov edi, ebx
cmp ecx, 0x10
jb 0x4c4e7f
mov edi, dword [ebx]
push esi
lea eax, [ebp - 0x12c]
mov dword [ebx + 0x10], esi
push eax
push edi
call fcn.005d5670
add esp, 0xc
mov byte [edi + esi], 0
jmp 0x4c4f7d
cmp esi, 0x7fffffff
ja 0x4c4ff8
mov edi, esi
or edi, 0xf
cmp edi, 0x7fffffff
jbe 0x4c4eca
mov eax, connect
mov edi, SysReAllocString
push eax
call fcn.0044f5f0
add esp, 4
jmp 0x4c4f1c
mov edx, ecx
mov eax, SysReAllocString
shr edx, 1
sub eax, edx
cmp ecx, eax
jbe 0x4c4eee
mov eax, connect
mov edi, SysReAllocString
push eax
call fcn.0044f5f0
add esp, 4
jmp 0x4c4f1c
lea eax, [edx + ecx]
cmp edi, eax
cmovb edi, eax
lea eax, [edi + 1]
cmp eax, 0x1000
jb 0x4c4f0b
push eax
call fcn.0044f5f0
add esp, 4
jmp 0x4c4f1c
test eax, eax
je 0x4c4f1a
push eax
call fcn.00599754
add esp, 4
jmp 0x4c4f1c
xor eax, eax
mov dword [ebp - 0x250], eax
lea eax, [ebp - 0x12c]
push esi
mov dword [ebx + 0x14], edi
mov edi, dword [ebp - 0x250]
push eax
push edi
mov dword [ebx + 0x10], esi
call fcn.005d5670
mov eax, dword [ebp - 0x254]
add esp, 0xc
mov byte [edi + esi], 0
cmp eax, 0x10
jb 0x4c4f7b
lea ecx, [eax + 1]
mov eax, dword [ebx]
cmp ecx, 0x1000
jb 0x4c4f71
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4c4ff3
mov eax, edx
push ecx
push eax
call fcn.005994f5
add esp, 8
mov dword [ebx], edi
mov ecx, dword [ebp - 0x258]
mov eax, dword [ebp - 0x238]
push dword [ebp - 0x25c]
mov dword [ecx], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0x14]
cmp ecx, 0x10
jb 0x4c4fc7
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4c4fbd
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4c4ff3
push ecx
push edx
call fcn.005994f5
add esp, 8
mov al, 1
jmp 0x4c4fd7
push ecx
push edx
call fcn.005994f5
add esp, 8
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005994b1
mov esp, ebp
pop ebp
ret
call fcn.005e01aa
call fcn.0044f9e0
int3