Function at 0x1008d110
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1029f0f6
mov eax, dword fs:[0]
push eax
sub esp, 0x68
mov eax, dword [0x10373f78]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, ecx
mov dword [ebp - 0x6c], eax
mov dword [ebp - 0x60], eax
mov dword [ebp - 4], 0
mov esi, 0x3e8
mov dword [ebp - 0x74], eax
mov dword [ebp - 0x68], 0
push esi
mov dword [ebp - 0x64], 0
call fcn.10059710
push 0xfa0
push 0
push eax
lea edi, [eax + 0xfa0]
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x5c], edi
mov dword [ebp - 0x50], edi
call fcn.10267270
add esp, 0xc
mov dword [ebp - 0x54], edi
mov dword [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea ecx, [ebp - 0x64]
push ecx
push esi
push dword [ebp - 0x58]
push eax
call dword [sym.imp.KERNEL32.dll_K32EnumProcessModules]
test eax, eax
jne 0x1008d230
nop dword [eax + eax]
mov edx, dword [ebp - 0x58]
mov ecx, edi
sub ecx, edx
add esi, esi
sar ecx, 2
mov dword [ebp - 0x60], esi
cmp esi, ecx
jae 0x1008d1c8
lea edi, [edx + esi*4]
jmp 0x1008d20a
jbe 0x1008d20d
mov eax, dword [ebp - 0x5c]
sub eax, edx
sar eax, 2
cmp esi, eax
jbe 0x1008d1ee
push ecx
push esi
lea ecx, [ebp - 0x58]
call fcn.10090ad0
mov eax, dword [ebp - 0x50]
mov edi, dword [ebp - 0x54]
mov edx, dword [ebp - 0x58]
mov dword [ebp - 0x5c], eax
jmp 0x1008d20d
mov eax, esi
sub eax, ecx
lea esi, [eax*4]
push esi
push 0
push edi
call fcn.10267270
mov edx, dword [ebp - 0x58]
add esp, 0xc
add edi, esi
mov dword [ebp - 0x54], edi
mov esi, edi
sub esi, edx
sar esi, 2
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea ecx, [ebp - 0x64]
push ecx
push esi
push dword [ebp - 0x58]
push eax
call dword [sym.imp.KERNEL32.dll_K32EnumProcessModules]
mov esi, dword [ebp - 0x60]
test eax, eax
je 0x1008d1b0
mov esi, dword [ebp - 0x58]
mov edx, edi
mov ecx, dword [ebp - 0x64]
sub edx, esi
sar edx, 2
cmp ecx, edx
jae 0x1008d246
lea edi, [esi + ecx*4]
jmp 0x1008d286
jbe 0x1008d289
mov eax, dword [ebp - 0x5c]
sub eax, esi
sar eax, 2
cmp ecx, eax
jbe 0x1008d26c
push ecx
push ecx
lea ecx, [ebp - 0x58]
call fcn.10090ad0
mov eax, dword [ebp - 0x50]
mov edi, dword [ebp - 0x54]
mov esi, dword [ebp - 0x58]
mov dword [ebp - 0x5c], eax
jmp 0x1008d289
sub ecx, edx
lea esi, [ecx*4]
push esi
push 0
push edi
call fcn.10267270
add esp, 0xc
add edi, esi
mov esi, dword [ebp - 0x58]
mov dword [ebp - 0x54], edi
mov eax, esi
cmp eax, edi
je 0x1008d2c1
nop
cmp dword [eax], 0
je 0x1008d29c
add eax, 4
cmp eax, edi
jne 0x1008d290
cmp eax, edi
je 0x1008d2c1
lea ecx, [eax + 4]
cmp ecx, edi
je 0x1008d2b9
mov edx, dword [ecx]
test edx, edx
je 0x1008d2b2
mov dword [eax], edx
add eax, 4
add ecx, 4
cmp ecx, edi
jne 0x1008d2a7
cmp eax, edi
cmovne edi, eax
mov dword [ebp - 0x54], edi
mov eax, dword [ebp - 0x6c]
mov dword [eax], 0
mov dword [eax + 4], 0
mov dword [eax + 8], 0
mov eax, esi
mov dword [ebp - 0x68], 1
mov dword [ebp - 0x60], eax
cmp eax, edi
je 0x1008d3fd
nop dword [eax]
mov eax, dword [eax]
push eax
mov dword [ebp - 0x70], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, eax
lea ecx, [ebp - 0x4c]
call fcn.100972b0
add esp, 4
push dword [ebp - 0x70]
mov byte [ebp - 4], 2
call dword [sym.imp.dbghelp.dll_ImageNtHeader]
test eax, eax
je 0x1008d31d
mov eax, dword [eax + 0x50]
mov ecx, dword [ebp - 0x70]
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x30], ecx
lea eax, [ecx + eax*4]
mov dword [ebp - 0x2c], eax
lea ecx, [ebp - 0x28]
lea eax, [ebp - 0x4c]
push eax
call fcn.1004dac0
or dword [ebp - 0x68], 2
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x38]
cmp edx, 8
jb 0x1008d37a
mov ecx, dword [ebp - 0x4c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1008d370
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1008d42e
push edx
push ecx
call fcn.1026505f
add esp, 8
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x6c]
mov ecx, dword [edx + 4]
cmp ecx, dword [edx + 8]
je 0x1008d3d4
mov eax, dword [ebp - 0x34]
movups xmm0, xmmword [ebp - 0x28]
mov dword [ecx], eax
mov eax, dword [ebp - 0x30]
mov dword [ecx + 4], eax
mov eax, dword [ebp - 0x2c]
mov dword [ecx + 8], eax
mov dword [ecx + 0x1c], 0
mov dword [ecx + 0x20], 0
movups xmmword [ecx + 0xc], xmm0
movq xmm0, qword [ebp - 0x18]
movq qword [ecx + 0x1c], xmm0
xor eax, eax
mov dword [ebp - 0x18], 0
add dword [edx + 4], 0x24
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
jmp 0x1008d3e0
lea eax, [ebp - 0x34]
push eax
push ecx
mov ecx, edx
call fcn.10090ca0
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 1
call fcn.1004ef60
mov eax, dword [ebp - 0x60]
add eax, 4
mov dword [ebp - 0x60], eax
cmp eax, edi
jne 0x1008d2f0
test esi, esi
je 0x1008d410
mov eax, dword [ebp - 0x5c]
sub eax, esi
sar eax, 2
push eax
push esi
call fcn.1008ed40
mov eax, dword [ebp - 0x6c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.102649e4
mov esp, ebp
pop ebp
ret
call fcn.10275373
int3