Function at 0x493f30
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x49f41b
push eax
mov dword fs:[0], esp
sub esp, 0x2b0
push esi
mov esi, dword [0x502a14]
push edi
mov edi, dword [0x502a18]
cmp esi, edi
je 0x493f78
mov ecx, esi
call fcn.00492880
add esi, 0x54
cmp esi, edi
jne 0x493f60
mov eax, dword [0x502a14]
mov dword [0x502a18], eax
push dword [ebp + 8]
mov dword [ebp - 0x2bc], 0x224
call dword [sym.imp.KERNEL32.dll_GetProcessId]
push eax
push 8
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov edi, eax
mov dword [ebp - 0x14], edi
cmp edi, 0xffffffff
jne 0x493faf
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x2bc]
push eax
push edi
call sub.KERNEL32.dll_Module32First
test eax, eax
je 0x4942bf
nop dword [eax]
nop dword [eax + eax]
xorps xmm0, xmm0
mov dword [ebp - 0x88], 0
mov esi, 0xf
mov dword [ebp - 0x70], 0
movups xmmword [ebp - 0x98], xmm0
mov dword [ebp - 0x84], esi
movups xmmword [ebp - 0x80], xmm0
mov byte [ebp - 0x98], 0
movups xmmword [ebp - 0x68], xmm0
mov dword [ebp - 0x6c], esi
mov byte [ebp - 0x80], 0
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x54], esi
mov byte [ebp - 0x68], 0
lea ecx, [ebp - 0x29c]
mov dword [ebp - 4], 0
movups xmmword [ebp - 0x44], xmm0
mov dword [ebp - 0x34], 0
lea edx, [ecx + 1]
mov dword [ebp - 0x30], 0
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x494040
sub ecx, edx
lea eax, [ebp - 0x29c]
push ecx
push eax
lea ecx, [ebp - 0x44]
call fcn.004049a0
movups xmm1, xmmword [ebp - 0x44]
lea edi, [ebp - 0x98]
cmp dword [ebp - 0x30], 0xf
movq xmm0, qword [ebp - 0x34]
mov esi, dword [ebp - 0x34]
movd eax, xmm1
movq qword [ebp - 0x88], xmm0
xorps xmm0, xmm0
movups xmmword [ebp - 0x98], xmm1
cmova edi, eax
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
movups xmmword [ebp - 0x2c], xmm0
cmp esi, 0x7fffffff
ja 0x4942f9
cmp esi, 0xf
ja 0x4940be
movups xmm0, xmmword [edi]
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x18], 0xf
movups xmmword [ebp - 0x2c], xmm0
jmp 0x494106
mov eax, esi
or eax, 0xf
cmp eax, 0x7fffffff
jbe 0x4940d1
mov eax, 0x7fffffff
jmp 0x4940dc
cmp eax, 0x16
mov ecx, 0x16
cmovb eax, ecx
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.00404660
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 0x18], ecx
lea ecx, [esi + 1]
push ecx
push edi
push eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x1c], esi
call sub.VCRUNTIME140.dll_memcpy
add esp, 0x14
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 1
push eax
lea ecx, [ebp - 0x44]
call fcn.00409d00
mov edi, dword [ebp - 0x1c]
xor eax, eax
mov esi, dword [ebp - 0x2c]
test edi, edi
je 0x49414d
cmp dword [ebp - 0x18], 0xf
lea ecx, [ebp - 0x2c]
cmova ecx, esi
mov dl, byte [ecx + eax]
lea ecx, [edx - 0x41]
cmp cl, 0x19
ja 0x494148
add dl, 0x20
lea ecx, [ebp - 0x44]
cmp dword [ebp - 0x30], 0xf
cmova ecx, dword [ebp - 0x44]
mov byte [ecx + eax], dl
inc eax
cmp eax, edi
jb 0x494122
mov eax, dword [ebp - 0x18]
mov byte [ebp - 4], 0
cmp eax, 0xf
jbe 0x494184
lea ecx, [eax + 1]
mov eax, esi
cmp ecx, 0x1000
jb 0x49417a
mov esi, dword [eax - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4942f3
push ecx
push esi
call fcn.0049b35d
add esp, 8
movups xmm0, xmmword [ebp - 0x44]
mov eax, dword [ebp - 0x2a8]
mov esi, dword [0x502a18]
movups xmmword [ebp - 0x80], xmm0
mov dword [ebp - 0x4c], eax
lea eax, [ebp - 0x98]
movq xmm0, qword [ebp - 0x34]
movq qword [ebp - 0x70], xmm0
push eax
cmp esi, dword [0x502a1c]
je 0x4941f9
mov ecx, esi
mov dword [ebp - 0x10], esi
call fcn.00409d00
lea eax, [ebp - 0x80]
mov byte [ebp - 4], 2
lea ecx, [esi + 0x18]
push eax
call fcn.00409d00
lea eax, [ebp - 0x68]
mov byte [ebp - 4], 3
lea ecx, [esi + 0x30]
push eax
call fcn.00409d00
mov al, byte [ebp - 0x50]
mov byte [esi + 0x48], al
mov eax, dword [ebp - 0x4c]
mov dword [esi + 0x4c], eax
mov eax, dword [ebp - 0x48]
mov dword [esi + 0x50], eax
add dword [0x502a18], 0x54
jmp 0x494204
push esi
mov ecx, 0x502a14
call fcn.00492240
mov edi, dword [ebp - 0x14]
lea eax, [ebp - 0x2bc]
push eax
push edi
call sub.KERNEL32.dll_Module32Next
mov ecx, dword [ebp - 0x54]
mov esi, eax
mov dword [ebp - 4], 0xffffffff
cmp ecx, 0xf
jbe 0x494251
mov edx, dword [ebp - 0x68]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x494247
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4942f3
push ecx
push edx
call fcn.0049b35d
add esp, 8
mov ecx, dword [ebp - 0x6c]
cmp ecx, 0xf
jbe 0x494281
mov edx, dword [ebp - 0x80]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x494277
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4942f3
push ecx
push edx
call fcn.0049b35d
add esp, 8
mov ecx, dword [ebp - 0x84]
cmp ecx, 0xf
jbe 0x4942b7
mov edx, dword [ebp - 0x98]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4942ad
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4942f3
push ecx
push edx
call fcn.0049b35d
add esp, 8
test esi, esi
jne 0x493fd0
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [0x502a18]
mov eax, 0x30c30c31
sub ecx, dword [0x502a14]
imul ecx
mov ecx, dword [ebp - 0xc]
sar edx, 4
mov eax, edx
mov dword fs:[0], ecx
shr eax, 0x1f
pop edi
add eax, edx
pop esi
mov esp, ebp
pop ebp
ret
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
call fcn.0040e5d0
int3