Function at 0x451c3e
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 0x451caa
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 0x451c7f
xor eax, eax
push ebp
push 0x451c78
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x25c]
mov edx, 0x22c
call fcn.0042ad80
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 0x451c57
lea eax, [ebp - 0x1c]
lea edx, [ebp - 0x238]
mov ecx, 0x104
call fcn.004072dc
mov eax, dword [ebp - 4]
call fcn.0042ca30
test eax, eax
jle 0x45197b
xor edx, edx
mov eax, dword [ebp - 4]
call fcn.0042cc20
lea eax, [ebp - 0x6b0]
mov ecx, dword [ebp - 0x1c]
mov edx, 0x451cc4
call fcn.00407420
mov edx, dword [ebp - 0x6b0]
mov eax, dword [ebp - 4]
call fcn.0042cc20
mov eax, dword [ebp - 0x254]
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x6b8]
call fcn.0041d1d4
mov ecx, dword [ebp - 0x6b8]
lea eax, [ebp - 0x6b4]
mov edx, 0x451ce4
call fcn.00407420
mov edx, dword [ebp - 0x6b4]
mov eax, dword [ebp - 4]
call fcn.0042cc20
cmp byte [ebp - 5], 0
jne 0x451c3e
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 0x451c3e
xor eax, eax
push ebp
push 0x451c37
push dword fs:[eax]
mov dword fs:[eax], esp
lea ecx, [ebp - 0x20]
xor edx, edx
mov eax, dword [ebp - 0x14]
call fcn.00450b60
cmp dword [ebp - 0x20], 0
je 0x451a2d
push ebp
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 4]
call fcn.00451720
pop ecx
lea eax, [ebp - 0x6ac]
mov edx, 0x28
call fcn.0042ad80
mov dword [ebp - 0x6ac], 0x28
mov eax, dword [0x5ebff8]
cmp dword [eax], 0
je 0x451aa9
mov eax, dword [ebp - 0x6ac]
push eax
lea eax, [ebp - 0x6ac]
push eax
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [0x5ebff8]
mov eax, dword [eax]
call eax
test eax, eax
je 0x451aa9
mov eax, dword [ebp - 0x6a0]
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x6c0]
call fcn.0041d1d4
mov ecx, dword [ebp - 0x6c0]
lea eax, [ebp - 0x6bc]
mov edx, 0x451d0c
call fcn.00407420
mov edx, dword [ebp - 0x6bc]
mov eax, dword [ebp - 4]
call fcn.0042cc20
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 0x451c20
xor eax, eax
push ebp
push 0x451c19
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x684]
mov edx, 0x428
call fcn.0042ad80
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 [0x426f08]
call fcn.00405008
mov dword [ebp - 0x28], eax
xor eax, eax
push ebp
push 0x451bfb
push dword fs:[eax]
mov dword fs:[eax], esp
jmp 0x451b77
lea ecx, [ebp - 0x20]
mov edx, dword [ebp - 0x668]
mov eax, dword [ebp - 0x14]
call fcn.00450b60
cmp dword [ebp - 0x20], 0
je 0x451b5e
mov eax, dword [ebp - 0x28]
call fcn.0042ca30
test eax, eax
jle 0x451b51
xor edx, edx
mov eax, dword [ebp - 0x28]
call fcn.0042cc20
push ebp
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x28]
call fcn.00451720
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 0x451b24
mov eax, dword [ebp - 0x28]
call fcn.0042ca30
test eax, eax
jle 0x451be5
mov edx, 0x451d34
mov eax, dword [ebp - 4]
call fcn.0042cc20
mov eax, dword [ebp - 0x28]
call fcn.0042ca30
dec eax
test eax, eax
jl 0x451be5
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.0042c7e0
cmp dword [ebp - 0x24], 0
je 0x451bd2
lea eax, [ebp - 0x24]
mov ecx, dword [ebp - 0x24]
mov edx, 0x451d54
call fcn.00407420
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 4]
call fcn.0042cc20
inc dword [ebp - 0x2c]
dec dword [ebp - 0x30]
jne 0x451bae
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x451c02
mov eax, dword [ebp - 0x28]
call fcn.00405038
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x451c3e
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 0x451952
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x451c7f
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 0x451cb1
lea eax, [ebp - 0x6c0]
mov edx, 5
call fcn.0040668c
lea eax, [ebp - 0x24]
mov edx, 3
call fcn.0040668c
ret