Function at 0x10002a30
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10010240
mov eax, dword fs:[0]
push eax
sub esp, 0x468
mov eax, dword [0x10018004]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x468], ecx
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
test eax, eax
je 0x10002d43
push eax
push 0x18
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov esi, eax
mov dword [ebp - 0x474], esi
cmp esi, 0xffffffff
je 0x10002d43
push 0x424
lea eax, [ebp - 0x45c]
push 0
push eax
call fcn.10005200
add esp, 0xc
mov dword [ebp - 0x460], 0x428
lea eax, [ebp - 0x460]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Module32FirstW]
test eax, eax
je 0x10002d43
xor edi, edi
mov dword [ebp - 0x14], 0
xorps xmm0, xmm0
mov dword [ebp - 0x46c], edi
xor eax, eax
movq qword [ebp - 0x1c], xmm0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x470], eax
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 1
jmp 0x10002b06
mov eax, dword [ebp - 0x470]
cmp eax, edi
je 0x10002b2e
mov ecx, 0x10a
lea esi, [ebp - 0x460]
rep movsd dword es:[edi], dword [esi]
mov edi, dword [ebp - 0x46c]
mov esi, dword [ebp - 0x474]
add edi, 0x428
mov dword [ebp - 0x18], edi
jmp 0x10002b4a
lea eax, [ebp - 0x460]
push eax
push edi
lea ecx, [ebp - 0x1c]
call fcn.10003080
mov eax, dword [ebp - 0x14]
mov edi, dword [ebp - 0x18]
mov dword [ebp - 0x470], eax
lea eax, [ebp - 0x460]
mov dword [ebp - 0x46c], edi
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Module32NextW]
test eax, eax
jne 0x10002b00
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0x1c]
mov eax, 0xf6603d99
sub edi, ecx
xor esi, esi
imul edi
add edx, edi
sar edx, 0xa
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [ebp - 0x474], eax
je 0x10002bc2
lea edi, [ecx + 0x20]
nop
cmp byte [ebp + 0x20], 0
jne 0x10002c1c
cmp dword [ebp + 0x1c], 8
lea eax, [ebp + 8]
cmovae eax, dword [ebp + 8]
push eax
push edi
call fcn.10007616
add esp, 8
test eax, eax
je 0x10002c1c
inc esi
add edi, 0x428
cmp esi, dword [ebp - 0x474]
jb 0x10002b90
mov byte [ebp - 0x461], 0
mov esi, dword [ebp - 0x1c]
test esi, esi
je 0x10002d4a
mov ecx, dword [ebp - 0x470]
mov eax, 0xf6603d99
sub ecx, esi
imul ecx
add edx, ecx
sar edx, 0xa
mov eax, edx
shr eax, 0x1f
add eax, edx
imul ecx, eax, 0x428
mov eax, esi
cmp ecx, 0x1000
jb 0x10002d37
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10002da3
jmp 0x10002d37
imul edi, esi, 0x428
xorps xmm0, xmm0
movups xmmword [ebp - 0x38], xmm0
mov dword [ebp - 0x20], 0
movq qword [ebp - 0x28], xmm0
add edi, dword [ebp - 0x1c]
mov esi, dword [edi + 0x14]
mov eax, dword [edi + 0x18]
add eax, esi
cmp esi, eax
jae 0x10002d0c
push 0x1c
lea eax, [ebp - 0x38]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
cmp eax, 0x1c
jne 0x10002d0c
test byte [ebp - 0x24], 0xf0
je 0x10002c9c
mov ecx, dword [ebp - 0x468]
add ecx, 4
mov edx, dword [ecx + 4]
cmp dword [ecx + 8], edx
je 0x10002c92
movups xmm0, xmmword [ebp - 0x38]
movups xmmword [edx], xmm0
movq xmm0, qword [ebp - 0x28]
movq qword [edx + 0x10], xmm0
mov eax, dword [ebp - 0x20]
mov dword [edx + 0x18], eax
add dword [ecx + 4], 0x1c
jmp 0x10002c9c
lea eax, [ebp - 0x38]
push eax
push edx
call fcn.10003230
mov eax, dword [ebp - 0x468]
mov ecx, dword [eax + 8]
sub ecx, dword [eax + 4]
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x10002cfb
test byte [ebp - 0x24], 0xc
je 0x10002cfb
mov ecx, dword [ebp - 0x468]
add ecx, 0x10
mov edx, dword [ecx + 4]
cmp dword [ecx + 8], edx
je 0x10002cf1
movups xmm0, xmmword [ebp - 0x38]
movups xmmword [edx], xmm0
movq xmm0, qword [ebp - 0x28]
movq qword [edx + 0x10], xmm0
mov eax, dword [ebp - 0x20]
mov dword [edx + 0x18], eax
add dword [ecx + 4], 0x1c
jmp 0x10002cfb
lea eax, [ebp - 0x38]
push eax
push edx
call fcn.10003230
mov eax, dword [edi + 0x14]
add esi, dword [ebp - 0x2c]
add eax, dword [edi + 0x18]
cmp esi, eax
jb 0x10002c48
mov eax, dword [ebp - 0x468]
mov ecx, dword [eax + 8]
sub ecx, dword [eax + 4]
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
setne byte [ebp - 0x461]
jmp 0x10002bc9
push ecx
push esi
call fcn.10003d67
add esp, 8
jmp 0x10002d4a
mov byte [ebp - 0x461], 0
mov edx, dword [ebp + 0x1c]
cmp edx, 8
jb 0x10002d80
mov ecx, dword [ebp + 8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10002d76
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10002da8
push edx
push ecx
call fcn.10003d67
add esp, 8
mov al, byte [ebp - 0x461]
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.10003d26
mov esp, ebp
pop ebp
ret 0x1c
call fcn.10007542
call fcn.10007542
int3