Function at 0x450880
Capabilities:
Enumerate process modules
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5c9766
mov eax, dword fs:[0]
push eax
sub esp, 0x934
mov eax, dword [0x641490]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x8c0], ecx
mov eax, dword [ebp - 0x8c0]
mov dword [eax + 0xc], 0
mov ecx, dword [ebp - 0x8c0]
call fcn.00450ef0
mov dword [ebp - 0x8c4], 0
mov dword [ebp - 0x8c8], 0
mov dword [ebp - 0x8f8], 0
mov dword [ebp - 0x8b8], 0
push 0x228
push 0
lea ecx, [ebp - 0x8b4]
push ecx
call fcn.0058c740
add esp, 0xc
lea ecx, [ebp - 0x260]
call fcn.00450d50
mov dword [ebp - 4], 0
mov dword [ebp - 0x8f4], 0x615b7c
push 1
mov ecx, dword [ebp - 0x8c0]
call fcn.004507a0
test eax, eax
jne 0x450941
mov edx, dword [ebp - 0x8c0]
mov dword [edx + 0xc], 1
push 0
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov dword [ebp - 0x8c4], eax
cmp dword [ebp - 0x8c4], 0xffffffff
jne 0x45098c
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x8d8], eax
mov eax, dword [ebp - 0x8c0]
mov ecx, dword [ebp - 0x8d8]
mov dword [eax + 0xc], ecx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x260]
call fcn.004379c0
jmp 0x450d29
mov dword [ebp - 0x8b8], 0x22c
lea edx, [ebp - 0x688]
push edx
mov eax, dword [ebp - 0x8c4]
push eax
call dword [sym.imp.KERNEL32.dll_Module32FirstW]
lea ecx, [ebp - 0x8b8]
push ecx
mov edx, dword [ebp - 0x8c4]
push edx
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x450bab
xor eax, eax
mov word [ebp - 0x218], ax
push 0x206
push 0
lea ecx, [ebp - 0x216]
push ecx
call fcn.0058c740
add esp, 0xc
mov edx, dword [ebp - 0x8b0]
mov dword [ebp - 0x260], edx
lea eax, [ebp - 0x894]
push eax
lea ecx, [ebp - 0x910]
push ecx
call fcn.0042ff30
add esp, 8
mov dword [ebp - 0x8e0], eax
mov edx, dword [ebp - 0x8e0]
push edx
lea ecx, [ebp - 0x25c]
call fcn.0040f5d0
lea ecx, [ebp - 0x910]
call fcn.004066a0
mov byte [ebp - 0x8b9], 1
mov ecx, dword [ebp - 0x8c0]
add ecx, 0x10
call fcn.0041cf10
test eax, eax
je 0x450ab2
mov byte [ebp - 0x8b9], 0
mov dword [ebp - 0x8d0], 0
jmp 0x450a65
mov eax, dword [ebp - 0x8d0]
add eax, 1
mov dword [ebp - 0x8d0], eax
mov ecx, dword [ebp - 0x8c0]
add ecx, 0x10
call fcn.0041cf10
cmp dword [ebp - 0x8d0], eax
jae 0x450ab2
mov ecx, dword [ebp - 0x8d0]
push ecx
mov ecx, dword [ebp - 0x8c0]
add ecx, 0x10
call fcn.00409f20
push eax
lea edx, [ebp - 0x25c]
push edx
call fcn.004301c0
add esp, 8
movzx eax, al
test eax, eax
je 0x450ab0
mov byte [ebp - 0x8b9], 1
jmp 0x450ab2
jmp 0x450a56
movzx ecx, byte [ebp - 0x8b9]
test ecx, ecx
je 0x450b8f
mov edx, dword [ebp - 0x8b0]
push edx
push 0
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebp - 0x8cc], eax
cmp dword [ebp - 0x8cc], 0
je 0x450b6d
lea eax, [ebp - 0x220]
push eax
push 4
lea ecx, [ebp - 0x68c]
push ecx
mov edx, dword [ebp - 0x8cc]
push edx
call dword [sym.imp.PSAPI.DLL_EnumProcessModules]
push 0x208
lea eax, [ebp - 0x218]
push eax
mov ecx, dword [ebp - 0x68c]
push ecx
mov edx, dword [ebp - 0x8cc]
push edx
call dword [sym.imp.PSAPI.DLL_GetModuleFileNameExW]
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x928]
push ecx
call fcn.0042ff30
add esp, 8
mov dword [ebp - 0x8dc], eax
mov edx, dword [ebp - 0x8dc]
push edx
lea ecx, [ebp - 0x244]
call fcn.0040f5d0
lea ecx, [ebp - 0x928]
call fcn.004066a0
mov eax, dword [ebp - 0x8cc]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x450b7d
push 0x615b78
lea ecx, [ebp - 0x244]
call fcn.00408b30
lea ecx, [ebp - 0x260]
push ecx
mov ecx, dword [ebp - 0x8c0]
call fcn.00450de0
lea edx, [ebp - 0x8b8]
push edx
mov eax, dword [ebp - 0x8c4]
push eax
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x4509c6
push 4
lea ecx, [ebp - 0x21c]
call fcn.00408300
lea ecx, [ebp - 0x21c]
call fcn.0040b9c0
lea ecx, [ebp - 0x8ec]
push ecx
mov ecx, dword [ebp - 0x8c0]
call fcn.0040b830
mov edx, dword [eax]
mov dword [ebp - 0x21c], edx
jmp 0x450bf3
push 0
lea eax, [ebp - 0x8f0]
push eax
lea ecx, [ebp - 0x21c]
call fcn.00450f50
lea ecx, [ebp - 0x8e8]
push ecx
mov ecx, dword [ebp - 0x8c0]
call fcn.0040b860
push eax
lea ecx, [ebp - 0x21c]
call fcn.0040ba50
movzx edx, al
test edx, edx
je 0x450cfd
lea ecx, [ebp - 0x21c]
call fcn.00450f30
mov eax, dword [eax]
push eax
push 8
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov dword [ebp - 0x8c8], eax
mov dword [ebp - 0x688], 0x428
lea ecx, [ebp - 0x688]
push ecx
mov edx, dword [ebp - 0x8c8]
push edx
call dword [sym.imp.KERNEL32.dll_Module32FirstW]
test eax, eax
je 0x450c6a
lea ecx, [ebp - 0x21c]
call fcn.00450f30
cmp dword [eax], 0
jne 0x450c7c
mov eax, dword [ebp - 0x8c8]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x450bdf
lea ecx, [ebp - 0x468]
push ecx
lea edx, [ebp - 0x940]
push edx
call fcn.0042ff30
add esp, 8
mov dword [ebp - 0x8e4], eax
mov eax, dword [ebp - 0x8e4]
mov dword [ebp - 0x8d4], eax
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x8d4]
push ecx
lea ecx, [ebp - 0x21c]
call fcn.00450f30
add eax, 0x34
mov ecx, eax
call fcn.004317f0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x940]
call fcn.004066a0
lea edx, [ebp - 0x688]
push edx
mov eax, dword [ebp - 0x8c8]
push eax
call dword [sym.imp.KERNEL32.dll_Module32NextW]
test eax, eax
jne 0x450c7c
mov ecx, dword [ebp - 0x8c8]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x450bdf
push 0
mov ecx, dword [ebp - 0x8c0]
call fcn.004507a0
mov edx, dword [ebp - 0x8c4]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x260]
call fcn.004379c0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00588376
mov esp, ebp
pop ebp
ret