Function at 0x451cae
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff940
xor ecx, ecx
mov dword [ebp - 0x6bc], ecx
mov dword [ebp - 0x6c0], ecx
mov dword [ebp - 0x6b4], ecx
mov dword [ebp - 0x6b8], ecx
mov dword [ebp - 0x6b0], ecx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x24], ecx
mov byte [ebp - 5], dl
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x451d1a
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 2
call sub.kernel32.dll_CreateToolhelp32Snapshot
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0xffffffff
je 0x451cef
xor eax, eax
push ebp
push 0x451ce8
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x25c]
mov edx, 0x22c
call fcn.0042b030
mov dword [ebp - 0x25c], 0x22c
lea eax, [ebp - 0x25c]
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_Process32FirstW
cmp eax, 1
sbb eax, eax
inc eax
mov byte [ebp - 0x15], al
jmp 0x451cc7
lea eax, [ebp - 0x1c]
lea edx, [ebp - 0x238]
mov ecx, 0x104
call fcn.004072c0
mov eax, dword [ebp - 4]
call fcn.0042ccd0
test eax, eax
jle 0x4519eb
xor edx, edx
mov eax, dword [ebp - 4]
call fcn.0042cec0
lea eax, [ebp - 0x6b0]
mov ecx, dword [ebp - 0x1c]
mov edx, 0x451d34
call fcn.00407404
mov edx, dword [ebp - 0x6b0]
mov eax, dword [ebp - 4]
call fcn.0042cec0
mov eax, dword [ebp - 0x254]
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x6b8]
call fcn.0041d200
mov ecx, dword [ebp - 0x6b8]
lea eax, [ebp - 0x6b4]
mov edx, 0x451d54
call fcn.00407404
mov edx, dword [ebp - 0x6b4]
mov eax, dword [ebp - 4]
call fcn.0042cec0
cmp byte [ebp - 5], 0
jne 0x451cae
mov eax, dword [ebp - 0x254]
push eax
push 0
push 0x410
call sub.kernel32.dll_OpenProcess
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x451cae
xor eax, eax
push ebp
push 0x451ca7
push dword fs:[eax]
mov dword fs:[eax], esp
lea ecx, [ebp - 0x20]
xor edx, edx
mov eax, dword [ebp - 0x14]
call fcn.00450c40
cmp dword [ebp - 0x20], 0
je 0x451a9d
push ebp
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 4]
call fcn.00451790
pop ecx
lea eax, [ebp - 0x6ac]
mov edx, 0x28
call fcn.0042b030
mov dword [ebp - 0x6ac], 0x28
mov eax, dword [0x5de0c4]
cmp dword [eax], 0
je 0x451b19
mov eax, dword [ebp - 0x6ac]
push eax
lea eax, [ebp - 0x6ac]
push eax
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [0x5de0c4]
mov eax, dword [eax]
call eax
test eax, eax
je 0x451b19
mov eax, dword [ebp - 0x6a0]
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x6c0]
call fcn.0041d200
mov ecx, dword [ebp - 0x6c0]
lea eax, [ebp - 0x6bc]
mov edx, 0x451d7c
call fcn.00407404
mov edx, dword [ebp - 0x6bc]
mov eax, dword [ebp - 4]
call fcn.0042cec0
mov eax, dword [ebp - 0x254]
push eax
push 8
call sub.kernel32.dll_CreateToolhelp32Snapshot
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0xffffffff
je 0x451c90
xor eax, eax
push ebp
push 0x451c89
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x684]
mov edx, 0x428
call fcn.0042b030
mov dword [ebp - 0x684], 0x428
lea eax, [ebp - 0x684]
push eax
mov eax, dword [ebp - 0x10]
push eax
call sub.kernel32.dll_Module32FirstW
cmp eax, 1
sbb eax, eax
inc eax
mov byte [ebp - 0x16], al
mov dl, 1
mov eax, dword [0x427230]
call fcn.00405008
mov dword [ebp - 0x28], eax
xor eax, eax
push ebp
push 0x451c6b
push dword fs:[eax]
mov dword fs:[eax], esp
jmp 0x451be7
lea ecx, [ebp - 0x20]
mov edx, dword [ebp - 0x668]
mov eax, dword [ebp - 0x14]
call fcn.00450c40
cmp dword [ebp - 0x20], 0
je 0x451bce
mov eax, dword [ebp - 0x28]
call fcn.0042ccd0
test eax, eax
jle 0x451bc1
xor edx, edx
mov eax, dword [ebp - 0x28]
call fcn.0042cec0
push ebp
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x28]
call fcn.00451790
pop ecx
lea eax, [ebp - 0x684]
push eax
mov eax, dword [ebp - 0x10]
push eax
call sub.kernel32.dll_Module32NextW
cmp eax, 1
sbb eax, eax
inc eax
mov byte [ebp - 0x16], al
cmp byte [ebp - 0x16], 0
jne 0x451b94
mov eax, dword [ebp - 0x28]
call fcn.0042ccd0
test eax, eax
jle 0x451c55
mov edx, 0x451da4
mov eax, dword [ebp - 4]
call fcn.0042cec0
mov eax, dword [ebp - 0x28]
call fcn.0042ccd0
dec eax
test eax, eax
jl 0x451c55
inc eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], 0
lea ecx, [ebp - 0x24]
mov edx, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x28]
call fcn.0042ca80
cmp dword [ebp - 0x24], 0
je 0x451c42
lea eax, [ebp - 0x24]
mov ecx, dword [ebp - 0x24]
mov edx, 0x451dc4
call fcn.00407404
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 4]
call fcn.0042cec0
inc dword [ebp - 0x2c]
dec dword [ebp - 0x30]
jne 0x451c1e
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x451c72
mov eax, dword [ebp - 0x28]
call fcn.00405038
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x451cae
mov eax, dword [ebp - 0x14]
push eax
call sub.kernel32.dll_CloseHandle_1
ret
lea eax, [ebp - 0x25c]
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_Process32NextW
cmp eax, 1
sbb eax, eax
inc eax
mov byte [ebp - 0x15], al
cmp byte [ebp - 0x15], 0
jne 0x4519c2
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x451cef
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_CloseHandle_1
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x451d21
lea eax, [ebp - 0x6c0]
mov edx, 5
call fcn.00406670
lea eax, [ebp - 0x24]
mov edx, 3
call fcn.00406670
ret