Function at 0x4092ce
Capabilities:
Enumerate process modules
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x44aece
mov eax, dword fs:[0]
push eax
sub esp, 0x680
mov eax, dword [0x45e0a0]
xor eax, esp
mov dword [esp + 0x678], eax
push ebx
push esi
push edi
mov eax, dword [0x45e0a0]
xor eax, esp
push eax
lea eax, [esp + 0x690]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
push eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x28], ecx
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
lea ecx, [esp + 0x14]
push ecx
mov ecx, eax
call fcn.00403216
xor ebx, ebx
mov dword [esp + 0x698], ebx
mov eax, dword [esp + 0x14]
cmp dword [eax - 0xc], ebx
jne 0x40936e
add eax, 0xfffffff0
call fcn.00402f9a
xor eax, eax
mov ecx, dword [esp + 0x690]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x678]
xor ecx, esp
call fcn.004347e5
mov esp, ebp
pop ebp
ret 4
push ebx
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
cmp eax, 0xffffffff
mov dword [esp + 0x1c], eax
jne 0x409385
mov eax, dword [esp + 0x14]
jmp 0x40933e
push 0x228
lea eax, [esp + 0x34]
push ebx
push eax
call fcn.00434800
add esp, 0xc
lea eax, [esp + 0x2c]
push eax
push dword [esp + 0x20]
mov dword [esp + 0x34], 0x22c
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
jne 0x4093d1
xor esi, esi
push dword [esp + 0x1c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
call fcn.00402f9a
mov eax, esi
jmp 0x409348
mov dword [esp + 0x18], ebx
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x54]
call fcn.00403216
mov byte [esp + 0x698], 1
push dword [esp + 0x14]
push dword [esp + 0x14]
call fcn.004350dd
test eax, eax
pop ecx
pop ecx
je 0x409508
push dword [esp + 0x34]
push 8
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov edi, eax
cmp edi, 0xffffffff
je 0x4094d6
push 0x424
lea eax, [esp + 0x264]
push ebx
push eax
call fcn.00434800
add esp, 0xc
lea eax, [esp + 0x25c]
push eax
push edi
mov dword [esp + 0x264], 0x428
call sub.KERNEL32.dll_Module32FirstW
cmp eax, ebx
je 0x4094cf
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x480]
call fcn.00403216
push dword [esp + 0x28]
mov byte [esp + 0x69c], 2
push dword [esp + 0x24]
call fcn.004350dd
test eax, eax
pop ecx
pop ecx
je 0x4094a5
lea eax, [esp + 0x25c]
push eax
push edi
call sub.KERNEL32.dll_Module32NextW
mov esi, eax
mov byte [esp + 0x698], 1
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
call fcn.00402f9a
cmp esi, ebx
jne 0x40944f
jmp 0x4094cf
lea eax, [esp + 0x50]
push eax
push dword [esp + 0x28]
mov dword [esp + 0x20], 1
call fcn.004031ed
mov byte [esp + 0x698], 1
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
call fcn.00402f9a
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [esp + 0x18], 1
je 0x40951d
mov byte [esp + 0x698], bl
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
call fcn.00402f9a
lea eax, [esp + 0x2c]
push eax
push dword [esp + 0x20]
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x4093d5
jmp 0x409529
push dword [esp + 0x28]
mov dword [esp + 0x1c], 1
push dword [esp + 0x28]
call fcn.004031ed
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
call fcn.00402f9a
mov esi, dword [esp + 0x18]
jmp 0x4093b4