Function at 0x10029a20
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10055ac0
mov eax, dword fs:[0]
push eax
sub esp, 0x230
mov eax, dword [0x1006d080]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
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 0x10029a69
cmp byte [edi + 0xdc], 0
jne 0x10029a69
push eax
call fcn.1003272e
add esp, 4
mov ecx, dword [0x100958a4]
mov eax, dword [0x100958a0]
mov dword [ebp - 0x23c], ecx
mov dword [ebp - 0x238], eax
cmp eax, ecx
je 0x10029b1a
nop dword [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]
mov ebx, eax
lea eax, [ebp - 0x234]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_Module32First]
cmp ebx, 0xffffffff
je 0x10029aff
mov ecx, dword [ebp - 0x220]
cmp esi, ecx
jb 0x10029ad6
mov eax, dword [ebp - 0x21c]
add eax, ecx
cmp esi, eax
jbe 0x10029aea
lea eax, [ebp - 0x234]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_Module32Next]
test eax, eax
jne 0x10029ac0
jmp 0x10029af8
mov eax, dword [ebp - 0x238]
push edi
mov eax, dword [eax]
call eax
add esp, 4
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x238]
add eax, 4
mov dword [ebp - 0x238], eax
cmp eax, dword [ebp - 0x23c]
jne 0x10029a90
cmp dword [0x10095bd4], edi
jne 0x10029b2c
mov dword [0x10095bd4], 0
mov ecx, dword [edi + 0x178]
cmp ecx, 0xf
jbe 0x10029b66
mov eax, dword [edi + 0x164]
inc ecx
cmp ecx, 0x1000
jb 0x10029b5c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10029d67
mov eax, edx
push ecx
push eax
call fcn.10032500
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, 0xf
jbe 0x10029bbb
mov eax, dword [edi + 0x14c]
inc ecx
cmp ecx, 0x1000
jb 0x10029bb1
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10029d67
mov eax, edx
push ecx
push eax
call fcn.10032500
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, 0xf
jbe 0x10029c10
mov eax, dword [edi + 0x134]
inc ecx
cmp ecx, 0x1000
jb 0x10029c06
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10029d67
mov eax, edx
push ecx
push eax
call fcn.10032500
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 0x10029c83
mov ecx, dword [edi + 0x12c]
sub ecx, eax
cmp ecx, 0x1000
jb 0x10029c5b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10029d67
mov eax, edx
push ecx
push eax
call fcn.10032500
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 0x10029cdb
mov ecx, dword [edi + 0x120]
sub ecx, eax
cmp ecx, 0x1000
jb 0x10029cb3
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10029d67
mov eax, edx
push ecx
push eax
call fcn.10032500
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 0x10029d03
mov esi, dword [eax]
push 0xc
push eax
call fcn.10032500
add esp, 8
mov eax, esi
test esi, esi
jne 0x10029cf0
push 0xc
push dword [edi + 0x110]
call fcn.10032500
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 0x10029d3b
mov esi, dword [eax]
push 0xc
push eax
call fcn.10032500
add esp, 8
mov eax, esi
test esi, esi
jne 0x10029d28
push 0xc
push dword [edi + 0x108]
call fcn.10032500
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100321a8
mov esp, ebp
pop ebp
ret
call fcn.10039117
int3