Function at 0x429ee0
Capabilities:
Enumerate process modules
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x16a0
call fcn.00452b30
mov eax, dword [0x47f060]
xor eax, ebp
mov dword [ebp - 8], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
push 0
push 2
mov dword [ebp - 0x1680], edx
mov dword [ebp - 0x1218], ecx
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
push 0x228
mov ebx, eax
lea eax, [ebp - 0x1678]
push 0
push eax
call sub.MSVCR110.dll_memset
add esp, 0xc
lea eax, [ebp - 0x167c]
push eax
push ebx
mov dword [ebp - 0x167c], 0x22c
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x429f6e
mov esi, dword [sym.imp.KERNEL32.dll_Process32NextW]
lea ecx, [ecx]
mov ecx, dword [ebp - 0x1218]
mov eax, dword [ebp - 0x1674]
cmp eax, dword [ecx]
je 0x429f88
lea eax, [ebp - 0x167c]
push eax
push ebx
call esi
test eax, eax
jne 0x429f50
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.00452076
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x1664]
mov ecx, dword [ebp - 0x1680]
push eax
push 0
push 0x100410
mov dword [ecx], eax
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebp - 0x1684], eax
test eax, eax
je 0x42a045
lea ecx, [ebp - 0x1218]
push ecx
push 0x1000
lea ecx, [ebp - 0x1214]
push ecx
push eax
call dword [sym.imp.PSAPI.DLL_EnumProcessModules]
test eax, eax
je 0x42a039
xor esi, esi
test dword [ebp - 0x1218], 0xfffffffc
jbe 0x42a033
mov edi, edi
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x214], ax
lea eax, [ebp - 0x212]
push eax
call sub.MSVCR110.dll_memset
add esp, 0xc
lea eax, [ebp - 0x214]
push 0x104
push eax
push dword [ebp + esi*4 - 0x1214]
push dword [ebp - 0x1684]
call dword [sym.imp.PSAPI.DLL_GetModuleFileNameExW]
test eax, eax
jne 0x42a0a7
mov eax, dword [ebp - 0x1218]
inc esi
shr eax, 2
cmp esi, eax
jb 0x429fe0
mov esi, dword [sym.imp.KERNEL32.dll_Process32NextW]
push dword [ebp - 0x1684]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x228
lea eax, [ebp - 0x1448]
push 0
push eax
call sub.MSVCR110.dll_memset
add esp, 0xc
lea eax, [ebp - 0x144c]
push eax
push ebx
mov dword [ebp - 0x144c], 0x22c
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x429f6e
jmp 0x42a080
mov ecx, dword [ebp - 0x1680]
mov eax, dword [ebp - 0x1444]
cmp eax, dword [ecx]
je 0x42a12f
lea eax, [ebp - 0x144c]
push eax
push ebx
call esi
test eax, eax
jne 0x42a080
jmp 0x429f6e
lea eax, [ebp - 0x214]
push eax
lea ecx, [ebp - 0x169c]
call fcn.00406d00
mov esi, dword [sym.imp.MSVCR110.dll_void___cdecl_operator_delete_void__]
mov dword [ebp - 0x1680], eax
cmp edi, eax
je 0x42a0f7
cmp dword [edi + 0x14], 8
jb 0x42a0dc
push dword [edi]
call esi
mov eax, dword [ebp - 0x1680]
add esp, 4
xor ecx, ecx
mov dword [edi + 0x14], 7
mov dword [edi + 0x10], 0
mov word [edi], cx
push eax
mov ecx, edi
call fcn.004066d0
cmp dword [ebp - 0x1688], 8
jb 0x42a10b
push dword [ebp - 0x169c]
call esi
add esp, 4
push dword [ebp - 0x1684]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push ebx
call esi
mov al, 1
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.00452076
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x1428]
push eax
lea ecx, [ebp - 0x169c]
call fcn.00406d00
mov esi, dword [sym.imp.MSVCR110.dll_void___cdecl_operator_delete_void__]
mov dword [ebp - 0x1680], eax
cmp edi, eax
je 0x42a17f
cmp dword [edi + 0x14], 8
jb 0x42a164
push dword [edi]
call esi
mov eax, dword [ebp - 0x1680]
add esp, 4
xor ecx, ecx
mov dword [edi + 0x14], 7
mov dword [edi + 0x10], 0
mov word [edi], cx
push eax
mov ecx, edi
call fcn.004066d0
cmp dword [ebp - 0x1688], 8
jb 0x42a193
push dword [ebp - 0x169c]
call esi
add esp, 4
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 8]
pop edi
pop esi
xor ecx, ebp
mov al, 1
pop ebx
call fcn.00452076
mov esp, ebp
pop ebp
ret