Function at 0x4546c0
Capabilities:
Enumerate process modules
Enumerate processes

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 0x454ab6
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 0x454a8b
xor eax, eax
push ebp
push 0x454a84
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x25c]
mov edx, 0x22c
call fcn.004318a0
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 0x454a63
lea eax, [ebp - 0x1c]
lea edx, [ebp - 0x238]
mov ecx, 0x104
call fcn.00407728
mov eax, dword [ebp - 4]
call fcn.00433c40
test eax, eax
jle 0x45478b
xor edx, edx
mov eax, dword [ebp - 4]
call fcn.00433e30
lea eax, [ebp - 0x6b0]
mov ecx, dword [ebp - 0x1c]
mov edx, 0x454ad0
call fcn.0040786c
mov edx, dword [ebp - 0x6b0]
mov eax, dword [ebp - 4]
call fcn.00433e30
mov eax, dword [ebp - 0x254]
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x6b8]
call fcn.0041b3a4
mov ecx, dword [ebp - 0x6b8]
lea eax, [ebp - 0x6b4]
mov edx, 0x454af0
call fcn.0040786c
mov edx, dword [ebp - 0x6b4]
mov eax, dword [ebp - 4]
call fcn.00433e30
cmp byte [ebp - 5], 0
jne 0x454a4a
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 0x454a4a
xor eax, eax
push ebp
push 0x454a43
push dword fs:[eax]
mov dword fs:[eax], esp
lea ecx, [ebp - 0x20]
xor edx, edx
mov eax, dword [ebp - 0x14]
call fcn.00452960
cmp dword [ebp - 0x20], 0
je 0x45483d
push ebp
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 4]
call fcn.00454530
pop ecx
lea eax, [ebp - 0x6ac]
mov edx, 0x28
call fcn.004318a0
mov dword [ebp - 0x6ac], 0x28
mov eax, dword [0x654564]
cmp dword [eax], 0
je 0x4548b5
mov eax, dword [ebp - 0x6ac]
push eax
lea eax, [ebp - 0x6ac]
push eax
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [0x654564]
mov eax, dword [eax]
call eax
test eax, eax
je 0x4548b5
lea edx, [ebp - 0x6c0]
mov eax, dword [ebp - 0x6a0]
call fcn.0041b3e8
mov ecx, dword [ebp - 0x6c0]
lea eax, [ebp - 0x6bc]
mov edx, 0x454b18
call fcn.0040786c
mov edx, dword [ebp - 0x6bc]
mov eax, dword [ebp - 4]
call fcn.00433e30
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 0x454a2c
xor eax, eax
push ebp
push 0x454a25
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x684]
mov edx, 0x428
call fcn.004318a0
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 [0x42d298]
call fcn.004053a8
mov dword [ebp - 0x28], eax
xor eax, eax
push ebp
push 0x454a07
push dword fs:[eax]
mov dword fs:[eax], esp
jmp 0x454983
lea ecx, [ebp - 0x20]
mov edx, dword [ebp - 0x668]
mov eax, dword [ebp - 0x14]
call fcn.00452960
cmp dword [ebp - 0x20], 0
je 0x45496a
mov eax, dword [ebp - 0x28]
call fcn.00433c40
test eax, eax
jle 0x45495d
xor edx, edx
mov eax, dword [ebp - 0x28]
call fcn.00433e30
push ebp
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x28]
call fcn.00454530
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 0x454930
mov eax, dword [ebp - 0x28]
call fcn.00433c40
test eax, eax
jle 0x4549f1
mov edx, 0x454b40
mov eax, dword [ebp - 4]
call fcn.00433e30
mov eax, dword [ebp - 0x28]
call fcn.00433c40
dec eax
test eax, eax
jl 0x4549f1
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.00433970
cmp dword [ebp - 0x24], 0
je 0x4549de
lea eax, [ebp - 0x24]
mov ecx, dword [ebp - 0x24]
mov edx, 0x454b60
call fcn.0040786c
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 4]
call fcn.00433e30
inc dword [ebp - 0x2c]
dec dword [ebp - 0x30]
jne 0x4549ba
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x454a0e
mov eax, dword [ebp - 0x28]
call fcn.004053d8
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x454a4a
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 0x454762
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x454a8b
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 0x454abd
lea eax, [ebp - 0x6c0]
mov edx, 5
call fcn.00406ae4
lea eax, [ebp - 0x24]
mov edx, 3
call fcn.00406ae4
ret