Function at 0x477eb0
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5aaba8
mov eax, dword fs:[0]
push eax
sub esp, 0x260
mov eax, dword [0x695e80]
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 fcn.00586c40
add esp, 0xc
push esi
push 8
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov ebx, eax
mov dword [ebp - 0x260], ebx
cmp ebx, 0xffffffff
je 0x477f3f
lea eax, [ebp - 0x250]
push eax
push ebx
call sub.KERNEL32.dll_Module32First
test eax, eax
jne 0x477f50
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x47810c
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 0x477f76
xor eax, eax
jmp 0x477f89
lea eax, [ebp - 0x230]
lea edx, [eax + 1]
nop
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x477f80
sub eax, edx
push eax
lea eax, [ebp - 0x230]
push eax
lea ecx, [ebp - 0x2c]
call fcn.00403ef0
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 0x477fdd
push 0x589098
push edi
push eax
push ecx
lea eax, [ebp - 0x26c]
push eax
call fcn.00476e50
add esp, 0x14
jmp 0x477fe3
mov dword [ebp - 0x26c], edi
mov ebx, dword [ebp - 0x258]
lea eax, [ebp - 0x2c]
add ebx, 8
push eax
mov ecx, ebx
call fcn.00450650
mov esi, eax
cmp esi, dword [ebx]
je 0x47804a
cmp dword [esi + 0x24], 0x10
lea edx, [esi + 0x10]
mov edi, dword [edx + 0x10]
jb 0x47800b
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.0040fec0
add esp, 0xc
test eax, eax
jne 0x478043
mov ecx, dword [ebp - 0x1c]
cmp ecx, edi
jae 0x47803a
or eax, 0xffffffff
jmp 0x478041
xor eax, eax
cmp ecx, edi
setne al
test eax, eax
sets al
test al, al
je 0x478087
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 0x6c4a37
call fcn.00475ea0
push eax
add eax, 0x10
mov ecx, ebx
push eax
push esi
lea eax, [ebp - 0x25c]
push eax
call fcn.00476770
mov esi, dword [ebp - 0x25c]
cmp byte [ebp - 0x130], 0
jne 0x478094
xor ecx, ecx
jmp 0x4780a9
lea ecx, [ebp - 0x130]
lea edx, [ecx + 1]
lea ecx, [ecx]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4780a0
sub ecx, edx
push ecx
lea eax, [ebp - 0x130]
push eax
lea ecx, [esi + 0x28]
call fcn.00403ef0
cmp dword [ebp - 0x18], 0x10
jb 0x4780de
push dword [ebp - 0x2c]
call fcn.0058559d
add esp, 4
jmp 0x4780de
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 0x477f50
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.00585d34
mov esp, ebp
pop ebp
ret 4