Function at 0x571b70
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5826a8
mov eax, dword fs:[0]
push eax
sub esp, 0x260
mov eax, dword [0x6a7420]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, ecx
mov dword [ebp - 0x258], edi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x24c]
push 0x220
push 0
push eax
mov dword [ebp - 0x268], edi
mov dword [ebp - 0x250], 0x224
call sub.MSVCR120.dll_memset
add esp, 0xc
push esi
push 8
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov ebx, eax
mov dword [ebp - 0x260], ebx
cmp ebx, 0xffffffff
je 0x571bff
lea eax, [ebp - 0x250]
push eax
push ebx
call sub.KERNEL32.dll_Module32First
test eax, eax
jne 0x571c10
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x571dcc
cmp byte [ebp - 0x230], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], 0
mov byte [ebp - 0x2c], 0
jne 0x571c36
xor eax, eax
jmp 0x571c49
lea eax, [ebp - 0x230]
lea edx, [eax + 1]
nop
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x571c40
sub eax, edx
push eax
lea eax, [ebp - 0x230]
push eax
lea ecx, [ebp - 0x2c]
call fcn.004041b0
mov esi, dword [ebp - 0x18]
lea ecx, [ebp - 0x2c]
mov edx, dword [ebp - 0x2c]
lea edi, [ebp - 0x2c]
mov eax, dword [ebp - 0x1c]
cmp esi, 0x10
mov byte [ebp - 4], 1
cmovae ecx, edx
cmovae edi, edx
add eax, ecx
cmp esi, 0x10
lea ecx, [ebp - 0x2c]
cmovae ecx, edx
cmp ecx, eax
je 0x571c9e
push dword [sym.imp.MSVCR120.dll_toupper]
push edi
push eax
push ecx
lea eax, [ebp - 0x26c]
push eax
call fcn.005709f0
add esp, 0x14
jmp 0x571ca4
mov dword [ebp - 0x26c], edi
mov ebx, dword [ebp - 0x258]
lea eax, [ebp - 0x2c]
add ebx, 8
push eax
mov ecx, ebx
call fcn.00572b50
mov esi, eax
cmp esi, dword [ebx]
je 0x571d0b
cmp dword [esi + 0x24], 0x10
lea edx, [esi + 0x10]
mov edi, dword [edx + 0x10]
jb 0x571ccc
mov edx, dword [edx]
cmp dword [ebp - 0x18], 0x10
lea ecx, [ebp - 0x2c]
mov eax, edi
cmovae ecx, dword [ebp - 0x2c]
cmp dword [ebp - 0x1c], edi
cmovb eax, dword [ebp - 0x1c]
push eax
push edx
push ecx
call fcn.00427640
add esp, 0xc
test eax, eax
jne 0x571d04
mov ecx, dword [ebp - 0x1c]
cmp ecx, edi
jae 0x571cfb
or eax, 0xffffffff
jmp 0x571d02
xor eax, eax
cmp ecx, edi
setne al
test eax, eax
sets al
test al, al
je 0x571d48
lea eax, [ebp - 0x2c]
mov ecx, ebx
mov dword [ebp - 0x264], eax
lea eax, [ebp - 0x251]
push eax
lea eax, [ebp - 0x264]
push eax
push 0x6f24ef
call fcn.0056f590
push eax
add eax, 0x10
mov ecx, ebx
push eax
push esi
lea eax, [ebp - 0x25c]
push eax
call fcn.00570080
mov esi, dword [ebp - 0x25c]
cmp byte [ebp - 0x130], 0
jne 0x571d55
xor ecx, ecx
jmp 0x571d69
lea ecx, [ebp - 0x130]
lea edx, [ecx + 1]
mov edi, edi
mov al, byte [ecx]
inc ecx
test al, al
jne 0x571d60
sub ecx, edx
push ecx
lea eax, [ebp - 0x130]
push eax
lea ecx, [esi + 0x28]
call fcn.004041b0
cmp dword [ebp - 0x18], 0x10
jb 0x571d9e
push dword [ebp - 0x2c]
call sub.MSVCR120.dll_void___cdecl_operator_delete_void__
add esp, 4
jmp 0x571d9e
mov ebx, dword [ebp - 0x260]
lea eax, [ebp - 0x250]
push eax
push ebx
mov dword [ebp - 4], 0xffffffff
call sub.KERNEL32.dll_Module32Next
test eax, eax
jne 0x571c10
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00575b90
mov esp, ebp
pop ebp
ret 4