Function at 0x42a4bf
Capabilities:
Enumerate process modules
Enumerate processes

Disassembly:
push 0x8dc
mov eax, 0x599d2c
call fcn.0055d756
mov edi, ecx
and dword [edi + 0xc], 0
mov ebx, dword [edi + 4]
mov esi, dword [edi]
jmp 0x42a4e5
mov ecx, esi
call fcn.0041c109
add esi, 0x40
cmp esi, ebx
jne 0x42a4db
mov eax, dword [edi]
xor ebx, ebx
push 0x228
mov dword [edi + 4], eax
lea eax, [ebp - 0x8bc]
push ebx
push eax
mov dword [ebp - 0x8c0], ebx
call fcn.0055dbf0
add esp, 0xc
mov dword [ebp - 0x244], ebx
mov byte [ebp - 0x254], bl
mov dword [ebp - 0x22c], ebx
mov byte [ebp - 0x23c], bl
push 0xf
pop eax
mov dword [ebp - 0x240], eax
mov dword [ebp - 0x228], eax
mov dword [ebp - 0x224], ebx
mov dword [ebp - 0x220], ebx
mov dword [ebp - 0x21c], ebx
push 1
mov dword [ebp - 4], ebx
call fcn.0042a434
test eax, eax
jne 0x42a559
mov dword [edi + 0xc], 1
push ebx
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov ebx, eax
mov dword [ebp - 0x8d0], ebx
cmp ebx, 0xffffffff
jne 0x42a57d
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [edi + 0xc], eax
jmp 0x42a834
lea eax, [ebp - 0x688]
mov dword [ebp - 0x8c0], 0x22c
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_Module32FirstW]
lea eax, [ebp - 0x8c0]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x42a796
push 0x18
pop esi
mov dword [ebp - 0x8cc], esi
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x216]
push eax
call fcn.0055dbf0
mov eax, dword [ebp - 0x8b8]
lea edx, [ebp - 0x89c]
add esp, 0xc
mov dword [ebp - 0x258], eax
lea ecx, [ebp - 0x8e8]
call fcn.00417a21
push eax
lea ecx, [ebp - 0x254]
call fcn.00407101
push 0
push 1
lea ecx, [ebp - 0x8e8]
call fcn.004040cf
mov eax, dword [edi + 0x14]
sub eax, dword [edi + 0x10]
cdq
idiv esi
test eax, eax
je 0x42a66d
mov eax, dword [edi + 0x14]
sub eax, dword [edi + 0x10]
cdq
idiv esi
and dword [ebp - 0x8c4], 0
test eax, eax
je 0x42a780
xor esi, esi
mov edx, dword [edi + 0x10]
lea ecx, [ebp - 0x254]
add edx, esi
call fcn.00417b87
test al, al
jne 0x42a66d
push 0x18
pop eax
add esi, eax
mov ecx, dword [ebp - 0x8c4]
mov eax, dword [edi + 0x14]
inc ecx
sub eax, dword [edi + 0x10]
cdq
idiv dword [ebp - 0x8cc]
mov dword [ebp - 0x8c4], ecx
cmp ecx, eax
jb 0x42a631
jmp 0x42a77d
push dword [ebp - 0x8b8]
push 0
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x42a6eb
lea eax, [ebp - 0x25c]
push eax
push 4
lea eax, [ebp - 0x68c]
push eax
push esi
call dword [sym.imp.PSAPI.DLL_EnumProcessModules]
push 0x208
lea eax, [ebp - 0x218]
push eax
push dword [ebp - 0x68c]
push esi
call dword [sym.imp.PSAPI.DLL_GetModuleFileNameExW]
lea edx, [ebp - 0x218]
lea ecx, [ebp - 0x8e8]
call fcn.00417a21
push eax
lea ecx, [ebp - 0x23c]
call fcn.00407101
push 0
push 1
lea ecx, [ebp - 0x8e8]
call fcn.004040cf
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x42a704
mov esi, 0x5e5558
push esi
call fcn.0040358a
pop ecx
push eax
push esi
lea ecx, [ebp - 0x23c]
call fcn.00404259
mov eax, dword [edi + 4]
lea ecx, [ebp - 0x258]
cmp ecx, eax
jae 0x42a745
cmp dword [edi], ecx
ja 0x42a745
mov esi, ecx
sub esi, dword [edi]
cmp eax, dword [edi + 8]
jne 0x42a726
push ecx
mov ecx, edi
call fcn.0042a879
mov ecx, dword [edi + 4]
and esi, 0xffffffc0
add esi, dword [edi]
mov dword [ebp - 0x8c4], ecx
mov dword [ebp - 0x8c8], ecx
mov byte [ebp - 4], 1
test ecx, ecx
je 0x42a775
push esi
jmp 0x42a770
cmp eax, dword [edi + 8]
jne 0x42a752
push ecx
mov ecx, edi
call fcn.0042a879
mov ecx, dword [edi + 4]
mov dword [ebp - 0x8c8], ecx
mov dword [ebp - 0x8c4], ecx
mov byte [ebp - 4], 2
test ecx, ecx
je 0x42a775
lea eax, [ebp - 0x258]
push eax
call fcn.0041c716
mov byte [ebp - 4], 0
add dword [edi + 4], 0x40
push 0x18
pop esi
lea eax, [ebp - 0x8c0]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x42a5b4
mov esi, dword [edi]
cmp esi, dword [edi + 4]
je 0x42a826
push dword [esi]
push 8
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov ebx, eax
mov dword [ebp - 0x688], 0x428
lea eax, [ebp - 0x688]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_Module32FirstW]
test eax, eax
je 0x42a811
cmp dword [esi], 0
je 0x42a811
lea edx, [ebp - 0x468]
lea ecx, [ebp - 0x8e8]
call fcn.00417a21
push eax
lea ecx, [esi + 0x34]
mov byte [ebp - 4], 3
call fcn.00418858
push 0
push 1
lea ecx, [ebp - 0x8e8]
mov byte [ebp - 4], 0
call fcn.004040cf
lea eax, [ebp - 0x688]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_Module32NextW]
test eax, eax
jne 0x42a7ce
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
add esi, 0x40
cmp esi, dword [edi + 4]
jne 0x42a7a1
mov ebx, dword [ebp - 0x8d0]
push 0
call fcn.0042a434
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp - 0x258]
call fcn.0041c109
call fcn.0055d705
ret