Function at 0x10015500
Capabilities:
Enumerate process modules

Disassembly:
mov eax, dword [ecx + 4]
sub esp, 0x260
push ebp
push esi
push edi
xor edi, edi
cmp eax, edi
je 0x100157aa
mov esi, dword [esp + 0x274]
cmp esi, edi
je 0x100157aa
mov eax, dword [esp + 0x270]
mov dword [esp + 0xc], edi
push eax
push 8
call dword [ecx + 0x14]
mov ebp, eax
cmp ebp, 0xffffffff
mov dword [esp + 0x28], ebp
je 0x100157aa
lea ecx, [esp + 0x2c]
push 0x1c
push ecx
push 0x100154f0
mov dword [esp + 0x1c], edi
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x10015567
mov edx, dword [esp + 0x30]
mov dword [esp + 0x10], edx
mov ecx, 0x88
xor eax, eax
lea edi, [esp + 0x4c]
mov dword [esp + 0x48], 0x224
rep stosd dword es:[edi], eax
lea eax, [esp + 0x48]
push eax
push ebp
call sub.KERNEL32.dll_Module32First
test eax, eax
je 0x10015785
push ebx
mov eax, dword [esp + 0x68]
mov ecx, dword [esp + 0x14]
cmp ecx, eax
je 0x10015771
mov ecx, dword [esp + 0x60]
mov edx, dword [esp + 0x64]
mov dword [esp + 0x1c], ecx
mov ecx, dword [esi + 8]
mov dword [esp + 0x20], edx
mov edx, dword [esi + 0xc]
mov dword [esp + 0x18], eax
sub edx, ecx
mov eax, 0x2aaaaaab
mov edi, ecx
imul edx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add edx, eax
cmp edx, 1
jae 0x100156d6
mov ebx, dword [esi + 4]
test ebx, ebx
je 0x100155f9
mov edx, ecx
mov eax, 0x2aaaaaab
sub edx, ebx
imul edx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add edx, eax
cmp edx, 1
mov ebp, edx
ja 0x100155fe
mov ebp, 1
test ebx, ebx
jne 0x10015606
xor edx, edx
jmp 0x10015618
sub ecx, ebx
mov eax, 0x2aaaaaab
imul ecx
sar edx, 1
mov ecx, edx
shr ecx, 0x1f
add edx, ecx
lea eax, [edx + ebp]
test eax, eax
mov dword [esp + 0x28], eax
jge 0x10015625
xor eax, eax
lea edx, [eax + eax*2]
shl edx, 2
push edx
call fcn.1001821f
mov ebp, dword [esi + 4]
add esp, 4
cmp ebp, edi
mov dword [esp + 0x24], eax
mov ebx, eax
je 0x10015655
push ebp
push ebx
call fcn.10015a00
add ebp, 0xc
add esp, 8
add ebx, 0xc
cmp ebp, edi
jne 0x10015641
lea eax, [esp + 0x18]
mov ecx, esi
push eax
push 1
push ebx
call fcn.10015940
mov ecx, dword [esi + 8]
add ebx, 0xc
push ebx
push ecx
push edi
mov ecx, esi
call fcn.100158f0
mov edx, dword [esi + 8]
mov eax, dword [esi + 4]
push edx
push eax
mov ecx, esi
call fcn.10008df0
mov ecx, dword [esi + 4]
push ecx
call fcn.10014af4
mov eax, dword [esp + 0x2c]
mov edi, dword [esp + 0x28]
add esp, 4
lea edx, [eax + eax*2]
lea eax, [edi + edx*4]
mov dword [esi + 0xc], eax
mov eax, dword [esi + 4]
test eax, eax
jne 0x100156ab
xor edx, edx
jmp 0x100156c0
mov ecx, dword [esi + 8]
sub ecx, eax
mov eax, 0x2aaaaaab
imul ecx
sar edx, 1
mov ecx, edx
shr ecx, 0x1f
add edx, ecx
mov ebp, dword [esp + 0x2c]
lea edx, [edx + edx*2 + 3]
mov dword [esi + 4], edi
lea eax, [edi + edx*4]
mov dword [esi + 8], eax
jmp 0x1001576d
mov edx, ecx
mov eax, 0x2aaaaaab
sub edx, edi
imul edx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add edx, eax
cmp edx, 1
jae 0x1001573c
lea edx, [edi + 0xc]
push edx
push ecx
push edi
mov ecx, esi
call fcn.100158f0
mov ebx, dword [esi + 8]
lea eax, [esp + 0x18]
mov ecx, ebx
push eax
sub ecx, edi
mov eax, 0x2aaaaaab
imul ecx
sar edx, 1
mov ecx, edx
mov eax, 1
shr ecx, 0x1f
add edx, ecx
mov ecx, esi
sub eax, edx
push eax
push ebx
call fcn.10015940
mov edx, dword [esi + 8]
lea ecx, [esp + 0x18]
push ecx
push edx
push edi
call fcn.10015980
add esp, 0xc
jmp 0x10015769
push ecx
push ecx
add ecx, 0xfffffff4
push ecx
mov ecx, esi
call fcn.100158f0
mov eax, dword [esi + 8]
push eax
add eax, 0xfffffff4
push eax
push edi
call fcn.100159c0
lea eax, [esp + 0x24]
lea ecx, [edi + 0xc]
push eax
push ecx
push edi
call fcn.10015980
add esp, 0x18
add dword [esi + 8], 0xc
inc dword [esp + 0x10]
lea edx, [esp + 0x4c]
push edx
push ebp
call sub.KERNEL32.dll_Module32Next
test eax, eax
jne 0x10015590
pop ebx
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0x278]
mov ecx, dword [esp + 0xc]
pop edi
pop esi
mov dword [eax], ecx
mov eax, 1
pop ebp
add esp, 0x260
ret 0xc
pop edi
pop esi
xor eax, eax
pop ebp
add esp, 0x260
ret 0xc