Function at 0x571c60
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x582788
mov eax, dword fs:[0]
push eax
sub esp, 0x260
mov eax, dword [0x6a73f0]
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 0x571cef
lea eax, [ebp - 0x250]
push eax
push ebx
call sub.KERNEL32.dll_Module32First
test eax, eax
jne 0x571d00
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x571ebc
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 0x571d26
xor eax, eax
jmp 0x571d39
lea eax, [ebp - 0x230]
lea edx, [eax + 1]
nop
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x571d30
sub eax, edx
push eax
lea eax, [ebp - 0x230]
push eax
lea ecx, [ebp - 0x2c]
call fcn.00404180
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 0x571d8e
push dword [sym.imp.MSVCR120.dll_toupper]
push edi
push eax
push ecx
lea eax, [ebp - 0x26c]
push eax
call fcn.00570b30
add esp, 0x14
jmp 0x571d94
mov dword [ebp - 0x26c], edi
mov ebx, dword [ebp - 0x258]
lea eax, [ebp - 0x2c]
add ebx, 8
push eax
mov ecx, ebx
call fcn.00572c80
mov esi, eax
cmp esi, dword [ebx]
je 0x571dfb
cmp dword [esi + 0x24], 0x10
lea edx, [esi + 0x10]
mov edi, dword [edx + 0x10]
jb 0x571dbc
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.00427650
add esp, 0xc
test eax, eax
jne 0x571df4
mov ecx, dword [ebp - 0x1c]
cmp ecx, edi
jae 0x571deb
or eax, 0xffffffff
jmp 0x571df2
xor eax, eax
cmp ecx, edi
setne al
test eax, eax
sets al
test al, al
je 0x571e38
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 0x6f1907
call fcn.0056f6d0
push eax
add eax, 0x10
mov ecx, ebx
push eax
push esi
lea eax, [ebp - 0x25c]
push eax
call fcn.005701c0
mov esi, dword [ebp - 0x25c]
cmp byte [ebp - 0x130], 0
jne 0x571e45
xor ecx, ecx
jmp 0x571e59
lea ecx, [ebp - 0x130]
lea edx, [ecx + 1]
mov edi, edi
mov al, byte [ecx]
inc ecx
test al, al
jne 0x571e50
sub ecx, edx
push ecx
lea eax, [ebp - 0x130]
push eax
lea ecx, [esi + 0x28]
call fcn.00404180
cmp dword [ebp - 0x18], 0x10
jb 0x571e8e
push dword [ebp - 0x2c]
call sub.MSVCR120.dll_void___cdecl_operator_delete_void__
add esp, 4
jmp 0x571e8e
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 0x571d00
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.00575c70
mov esp, ebp
pop ebp
ret 4