Function at 0x47a910
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b3098
mov eax, dword fs:[0]
push eax
sub esp, 0x260
mov eax, dword [0x6a0290]
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.0058ed30
add esp, 0xc
push esi
push 8
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov ebx, eax
mov dword [ebp - 0x260], ebx
cmp ebx, 0xffffffff
je 0x47a99f
lea eax, [ebp - 0x250]
push eax
push ebx
call sub.KERNEL32.dll_Module32First
test eax, eax
jne 0x47a9b0
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x47ab6c
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 0x47a9d6
xor eax, eax
jmp 0x47a9e9
lea eax, [ebp - 0x230]
lea edx, [eax + 1]
nop
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x47a9e0
sub eax, edx
push eax
lea eax, [ebp - 0x230]
push eax
lea ecx, [ebp - 0x2c]
call fcn.00403f20
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 0x47aa3d
push 0x591188
push edi
push eax
push ecx
lea eax, [ebp - 0x26c]
push eax
call fcn.00479820
add esp, 0x14
jmp 0x47aa43
mov dword [ebp - 0x26c], edi
mov ebx, dword [ebp - 0x258]
lea eax, [ebp - 0x2c]
add ebx, 8
push eax
mov ecx, ebx
call fcn.0047b840
mov esi, eax
cmp esi, dword [ebx]
je 0x47aaaa
cmp dword [esi + 0x24], 0x10
lea edx, [esi + 0x10]
mov edi, dword [edx + 0x10]
jb 0x47aa6b
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.0040fc40
add esp, 0xc
test eax, eax
jne 0x47aaa3
mov ecx, dword [ebp - 0x1c]
cmp ecx, edi
jae 0x47aa9a
or eax, 0xffffffff
jmp 0x47aaa1
xor eax, eax
cmp ecx, edi
setne al
test eax, eax
sets al
test al, al
je 0x47aae7
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 0x6d2267
call fcn.00478a60
push eax
add eax, 0x10
mov ecx, ebx
push eax
push esi
lea eax, [ebp - 0x25c]
push eax
call fcn.00479140
mov esi, dword [ebp - 0x25c]
cmp byte [ebp - 0x130], 0
jne 0x47aaf4
xor ecx, ecx
jmp 0x47ab09
lea ecx, [ebp - 0x130]
lea edx, [ecx + 1]
lea ecx, [ecx]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x47ab00
sub ecx, edx
push ecx
lea eax, [ebp - 0x130]
push eax
lea ecx, [esi + 0x28]
call fcn.00403f20
cmp dword [ebp - 0x18], 0x10
jb 0x47ab3e
push dword [ebp - 0x2c]
call fcn.0058d68d
add esp, 4
jmp 0x47ab3e
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 0x47a9b0
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.0058de24
mov esp, ebp
pop ebp
ret 4