Function at 0x10005950
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1001f3d5
mov eax, dword fs:[0]
push eax
sub esp, 0x468
mov eax, dword [0x10079040]
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 - 0x470], ecx
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
test eax, eax
je 0x10005c65
push eax
push 0x18
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov esi, eax
mov dword [ebp - 0x468], esi
cmp esi, 0xffffffff
je 0x10005c65
push 0x424
lea eax, [ebp - 0x45c]
push 0
push eax
call fcn.100137e0
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 0x10005c65
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 - 0x474], eax
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 1
jmp 0x10005a26
mov eax, dword [ebp - 0x474]
cmp edi, eax
je 0x10005a4e
mov ecx, 0x10a
lea esi, [ebp - 0x460]
rep movsd dword es:[edi], dword [esi]
mov edi, dword [ebp - 0x46c]
mov esi, dword [ebp - 0x468]
add edi, 0x428
mov dword [ebp - 0x18], edi
jmp 0x10005a6a
lea eax, [ebp - 0x460]
push eax
push edi
lea ecx, [ebp - 0x1c]
call fcn.10006120
mov eax, dword [ebp - 0x14]
mov edi, dword [ebp - 0x18]
mov dword [ebp - 0x474], 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 0x10005a20
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0x1c]
mov eax, 0xf6603d99
sub edi, ecx
imul edi
add edx, edi
sar edx, 0xa
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [ebp - 0x468], eax
je 0x10005ae0
xor esi, esi
lea edi, [ecx + 0x20]
cmp byte [ebp + 0x20], 0
jne 0x10005b43
cmp dword [ebp + 0x1c], 7
lea eax, [ebp + 8]
cmova eax, dword [ebp + 8]
push eax
push edi
call fcn.10015e23
add esp, 8
test eax, eax
je 0x10005b40
inc esi
add edi, 0x428
cmp esi, dword [ebp - 0x468]
jb 0x10005ab8
mov byte [ebp - 0x461], 0
mov esi, dword [ebp - 0x1c]
test esi, esi
je 0x10005c6c
mov ecx, dword [ebp - 0x474]
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 0x10005b31
mov esi, dword [eax - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10005cc5
push ecx
push esi
call fcn.100123c4
add esp, 8
jmp 0x10005c6c
mov ecx, dword [ebp - 0x1c]
imul eax, esi, 0x428
xorps xmm0, xmm0
movups xmmword [ebp - 0x38], xmm0
mov dword [ebp - 0x20], 0
movq qword [ebp - 0x28], xmm0
add ecx, eax
mov dword [ebp - 0x468], ecx
mov ecx, dword [ebp - 0x1c]
mov edi, dword [eax + ecx + 0x14]
mov eax, dword [eax + ecx + 0x18]
add eax, edi
cmp edi, eax
jae 0x10005c3a
mov esi, dword [ebp - 0x470]
nop
push 0x1c
lea eax, [ebp - 0x38]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
cmp eax, 0x1c
jne 0x10005c3a
cmp dword [ebp - 0x24], 0
je 0x10005bce
mov ecx, dword [esi + 8]
cmp ecx, dword [esi + 0xc]
je 0x10005bc1
movups xmm0, xmmword [ebp - 0x38]
movups xmmword [ecx], xmm0
movq xmm0, qword [ebp - 0x28]
movq qword [ecx + 0x10], xmm0
mov eax, dword [ebp - 0x20]
mov dword [ecx + 0x18], eax
add dword [esi + 8], 0x1c
jmp 0x10005bce
lea eax, [ebp - 0x38]
push eax
push ecx
lea ecx, [esi + 4]
call fcn.100062e0
mov ecx, dword [esi + 8]
mov eax, 0x92492493
sub ecx, dword [esi + 4]
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x10005c23
test byte [ebp - 0x24], 0xc
je 0x10005c23
mov ecx, esi
add ecx, 0x10
mov edx, dword [ecx + 4]
cmp edx, dword [ecx + 8]
je 0x10005c19
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 0x10005c23
lea eax, [ebp - 0x38]
push eax
push edx
call fcn.100062e0
mov ecx, dword [ebp - 0x468]
add edi, dword [ebp - 0x2c]
mov eax, dword [ecx + 0x18]
add eax, dword [ecx + 0x14]
cmp edi, eax
jb 0x10005b80
mov eax, dword [ebp - 0x470]
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 0x10005ae7
mov byte [ebp - 0x461], 0
mov ecx, dword [ebp + 0x1c]
cmp ecx, 7
jbe 0x10005ca2
mov edx, dword [ebp + 8]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x10005c98
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10005cc5
push ecx
push edx
call fcn.100123c4
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.10012067
mov esp, ebp
pop ebp
ret 0x1c
call fcn.100155ac
int3