Function at 0x42cf20
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5459e6
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push ebx
push esi
push edi
mov eax, dword [0x5a933c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x20], 0
xor eax, eax
xor esi, esi
mov dword [ebp - 0x18], eax
xor edi, edi
mov dword [ebp - 0x34], eax
mov ebx, 0xc8
mov dword [ebp - 0x30], edi
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x2c], esi
mov dword [ebp - 4], 1
xor edx, edx
mov ecx, edi
sub ecx, edx
sar ecx, 2
cmp ebx, ecx
jae 0x42cf82
lea edi, [edx + ebx*4]
jmp 0x42cfc6
jbe 0x42cfc9
mov eax, esi
sub eax, edx
sar eax, 2
cmp ebx, eax
jbe 0x42cfad
lea eax, [ebp - 0xd]
push eax
push ebx
lea ecx, [ebp - 0x34]
call fcn.0041dfa0
mov eax, dword [ebp - 0x2c]
mov edi, dword [ebp - 0x30]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x18], eax
jmp 0x42cfc9
mov eax, ebx
sub eax, ecx
lea esi, [eax*4]
push esi
push 0
push edi
call fcn.004e53e0
add esp, 0xc
add edi, esi
mov dword [ebp - 0x30], edi
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x1c], 0
push eax
lea eax, [ebx*4]
push eax
push dword [ebp - 0x18]
call sub.PSAPI.DLL_EnumProcesses
test eax, eax
je 0x42d053
mov esi, dword [ebp - 0x1c]
shr esi, 2
cmp esi, ebx
jne 0x42cfff
mov edx, dword [ebp - 0x18]
add ebx, ebx
mov esi, dword [ebp - 0x14]
jmp 0x42cf72
mov ebx, dword [ebp - 0x18]
mov ecx, edi
sub ecx, ebx
sar ecx, 2
cmp esi, ecx
jae 0x42d012
lea edi, [ebx + esi*4]
jmp 0x42d05b
jbe 0x42d05e
mov eax, dword [ebp - 0x14]
sub eax, ebx
sar eax, 2
cmp esi, eax
jbe 0x42d03e
lea eax, [ebp - 0xd]
push eax
push esi
lea ecx, [ebp - 0x34]
call fcn.0041dfa0
mov esi, dword [ebp - 0x2c]
mov ebx, dword [ebp - 0x34]
mov edi, dword [ebp - 0x30]
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x18], ebx
jmp 0x42d061
sub esi, ecx
shl esi, 2
push esi
push 0
push edi
call fcn.004e53e0
add esp, 0xc
add edi, esi
jmp 0x42d05b
mov ebx, dword [ebp - 0x18]
cmp ebx, edi
cmovne edi, ebx
mov dword [ebp - 0x30], edi
mov esi, dword [ebp - 0x14]
mov eax, dword [ebp + 8]
mov dword [eax], 0
mov dword [eax + 4], 0
mov dword [eax + 8], 0
mov eax, ebx
mov dword [ebp - 0x20], 1
mov dword [ebp - 0x1c], ebx
cmp eax, edi
je 0x42d0db
mov esi, dword [ebp + 8]
mov bl, byte [ebp + 0x10]
nop
mov edx, dword [eax]
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x28], edx
test bl, bl
jne 0x42d0ac
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov edx, dword [ebp - 0x24]
cmp edx, eax
mov eax, dword [ebp - 0x1c]
je 0x42d0cb
mov ecx, dword [esi + 4]
cmp ecx, dword [esi + 8]
je 0x42d0bc
mov dword [ecx], edx
add dword [esi + 4], 4
jmp 0x42d0cb
lea eax, [ebp - 0x28]
push eax
push ecx
mov ecx, esi
call fcn.0041d120
mov eax, dword [ebp - 0x1c]
add eax, 4
mov dword [ebp - 0x1c], eax
cmp eax, edi
jne 0x42d090
mov ebx, dword [ebp - 0x18]
mov esi, dword [ebp - 0x14]
test ebx, ebx
je 0x42d108
sub esi, ebx
mov eax, ebx
and esi, 0xfffffffc
cmp esi, 0x1000
jb 0x42d0fe
mov ebx, dword [eax - 4]
add esi, 0x23
sub eax, ebx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42d11d
push esi
push ebx
call fcn.004e243a
add esp, 8
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.004f1758
int3