Function at 0x1002a2f0
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10055b70
mov eax, dword fs:[0]
push eax
sub esp, 0x234
mov eax, dword [0x1006d050]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [edi + 0x10]
test eax, eax
je 0x1002a338
cmp byte [edi + 0xdc], 0
jne 0x1002a338
push eax
call fcn.10032efe
add esp, 4
mov ecx, dword [0x10095ad4]
mov eax, dword [0x10095ad0]
mov dword [ebp - 0x240], ecx
mov dword [ebp - 0x23c], eax
cmp eax, ecx
je 0x1002a406
nop word [eax + eax]
mov esi, dword [eax]
mov dword [ebp - 0x234], 0x224
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
push 8
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
lea ecx, [ebp - 0x234]
mov dword [ebp - 0x238], eax
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_Module32First]
mov edx, dword [ebp - 0x238]
cmp edx, 0xffffffff
je 0x1002a3eb
nop word [eax + eax]
mov ecx, dword [ebp - 0x220]
cmp esi, ecx
jb 0x1002a3b6
mov eax, dword [ebp - 0x21c]
add eax, ecx
cmp esi, eax
jbe 0x1002a3d0
lea eax, [ebp - 0x234]
push eax
push edx
call dword [sym.imp.KERNEL32.dll_Module32Next]
test eax, eax
je 0x1002a3de
mov edx, dword [ebp - 0x238]
jmp 0x1002a3a0
mov eax, dword [ebp - 0x23c]
push edi
mov eax, dword [eax]
call eax
add esp, 4
mov eax, dword [ebp - 0x238]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x23c]
add eax, 4
mov dword [ebp - 0x23c], eax
cmp eax, dword [ebp - 0x240]
jne 0x1002a360
mov eax, dword [0x10095db4]
xor ecx, ecx
cmp eax, edi
cmove eax, ecx
mov dword [0x10095db4], eax
mov ecx, dword [edi + 0x178]
cmp ecx, 0x10
jb 0x1002a451
mov eax, dword [edi + 0x164]
inc ecx
cmp ecx, 0x1000
jb 0x1002a447
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002a656
mov eax, edx
push ecx
push eax
call fcn.10032cd0
add esp, 8
mov dword [edi + 0x174], 0
mov dword [edi + 0x178], 0xf
mov byte [edi + 0x164], 0
mov ecx, dword [edi + 0x160]
cmp ecx, 0x10
jb 0x1002a4a6
mov eax, dword [edi + 0x14c]
inc ecx
cmp ecx, 0x1000
jb 0x1002a49c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002a656
mov eax, edx
push ecx
push eax
call fcn.10032cd0
add esp, 8
mov dword [edi + 0x15c], 0
mov dword [edi + 0x160], 0xf
mov byte [edi + 0x14c], 0
mov ecx, dword [edi + 0x148]
cmp ecx, 0x10
jb 0x1002a4fb
mov eax, dword [edi + 0x134]
inc ecx
cmp ecx, 0x1000
jb 0x1002a4f1
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002a656
mov eax, edx
push ecx
push eax
call fcn.10032cd0
add esp, 8
mov dword [edi + 0x144], 0
mov dword [edi + 0x148], 0xf
mov byte [edi + 0x134], 0
mov eax, dword [edi + 0x124]
test eax, eax
je 0x1002a56e
mov ecx, dword [edi + 0x12c]
sub ecx, eax
cmp ecx, 0x1000
jb 0x1002a546
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002a656
mov eax, edx
push ecx
push eax
call fcn.10032cd0
mov dword [edi + 0x124], 0
add esp, 8
mov dword [edi + 0x128], 0
mov dword [edi + 0x12c], 0
mov eax, dword [edi + 0x118]
test eax, eax
je 0x1002a5c6
mov ecx, dword [edi + 0x120]
sub ecx, eax
cmp ecx, 0x1000
jb 0x1002a59e
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002a656
mov eax, edx
push ecx
push eax
call fcn.10032cd0
mov dword [edi + 0x118], 0
add esp, 8
mov dword [edi + 0x11c], 0
mov dword [edi + 0x120], 0
mov ecx, dword [edi + 0x110]
mov eax, dword [ecx + 4]
mov dword [eax], 0
mov eax, dword [ecx]
test eax, eax
je 0x1002a5f3
nop dword [eax + eax]
mov esi, dword [eax]
push 0xc
push eax
call fcn.10032cd0
add esp, 8
mov eax, esi
test esi, esi
jne 0x1002a5e0
push 0xc
push dword [edi + 0x110]
call fcn.10032cd0
mov ecx, dword [edi + 0x108]
add esp, 8
mov eax, dword [ecx + 4]
mov dword [eax], 0
mov eax, dword [ecx]
test eax, eax
je 0x1002a62b
mov esi, dword [eax]
push 0xc
push eax
call fcn.10032cd0
add esp, 8
mov eax, esi
test esi, esi
jne 0x1002a618
push 0xc
push dword [edi + 0x108]
call fcn.10032cd0
add esp, 8
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.10032978
mov esp, ebp
pop ebp
ret
call fcn.10039177
int3