Function at 0x10004ff0
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1001b2a0
mov eax, dword fs:[0]
push eax
sub esp, 0x468
mov eax, dword [0x10071008]
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 0x10005303
push eax
push 0x18
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov esi, eax
mov dword [ebp - 0x474], esi
cmp esi, 0xffffffff
je 0x10005303
push 0x424
lea eax, [ebp - 0x45c]
push 0
push eax
call fcn.1000fe50
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 0x10005303
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 0x100050c6
mov eax, dword [ebp - 0x470]
cmp eax, edi
je 0x100050ee
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 0x1000510a
lea eax, [ebp - 0x460]
push eax
push edi
lea ecx, [ebp - 0x1c]
call fcn.10005470
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 0x100050c0
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 0x10005182
lea edi, [ecx + 0x20]
nop
cmp byte [ebp + 0x20], 0
jne 0x100051dc
cmp dword [ebp + 0x1c], 8
lea eax, [ebp + 8]
cmovae eax, dword [ebp + 8]
push eax
push edi
call fcn.10012332
add esp, 8
test eax, eax
je 0x100051dc
inc esi
add edi, 0x428
cmp esi, dword [ebp - 0x474]
jb 0x10005150
mov byte [ebp - 0x461], 0
mov esi, dword [ebp - 0x1c]
test esi, esi
je 0x1000530a
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 0x100052f7
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10005363
jmp 0x100052f7
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 0x100052cc
push 0x1c
lea eax, [ebp - 0x38]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
cmp eax, 0x1c
jne 0x100052cc
test byte [ebp - 0x24], 0xf0
je 0x1000525c
mov ecx, dword [ebp - 0x468]
add ecx, 4
mov edx, dword [ecx + 4]
cmp dword [ecx + 8], edx
je 0x10005252
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 0x1000525c
lea eax, [ebp - 0x38]
push eax
push edx
call fcn.10005620
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 0x100052bb
test byte [ebp - 0x24], 0xc
je 0x100052bb
mov ecx, dword [ebp - 0x468]
add ecx, 0x10
mov edx, dword [ecx + 4]
cmp dword [ecx + 8], edx
je 0x100052b1
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 0x100052bb
lea eax, [ebp - 0x38]
push eax
push edx
call fcn.10005620
mov eax, dword [edi + 0x14]
add esi, dword [ebp - 0x2c]
add eax, dword [edi + 0x18]
cmp esi, eax
jb 0x10005208
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 0x10005189
push ecx
push esi
call fcn.1000e99c
add esp, 8
jmp 0x1000530a
mov byte [ebp - 0x461], 0
mov edx, dword [ebp + 0x1c]
cmp edx, 8
jb 0x10005340
mov ecx, dword [ebp + 8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10005336
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10005368
push edx
push ecx
call fcn.1000e99c
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.1000e95b
mov esp, ebp
pop ebp
ret 0x1c
call fcn.100121d2
call fcn.100121d2
int3