Function at 0x426410
Capabilities:
Enumerate process modules
Enumerate processes

Disassembly:
push 0xffffffffffffffff
push 0x4408fb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x35c
push ebx
push ebp
push esi
push edi
push 0
mov dword [esp + 0x20], ecx
push 2
mov dword [esp + 0x20], 0
mov dword [esp + 0x28], 0x128
mov dword [esp + 0x150], 0x224
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
lea eax, [esp + 0x20]
push eax
push esi
mov dword [esp + 0x1c], esi
call sub.KERNEL32.dll_Process32First
test eax, eax
je 0x4266b7
mov edi, dword [esp + 0x380]
mov ebx, dword [esp + 0x37c]
lea ecx, [esp + 0x44]
push ebx
push ecx
call dword [sym.imp.ntdll.dll__stricmp]
add esp, 8
test eax, eax
jne 0x4266a4
mov edx, dword [esp + 0x28]
push edx
push 8
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov ebp, eax
lea eax, [esp + 0x148]
push eax
push ebp
call sub.KERNEL32.dll_Module32First
test eax, eax
je 0x4265ce
lea ecx, [esp + 0x268]
push ebx
push ecx
call dword [sym.imp.SHLWAPI.dll_StrStrIA]
test eax, eax
je 0x4265b4
mov edx, dword [0x449b4c]
mov dword [esp + 0x10], edx
mov ecx, 0x46cd18
xor eax, eax
test ecx, ecx
mov dword [esp + 0x374], eax
jne 0x4264f4
mov esi, dword [sym.imp.KERNEL32.dll_lstrlenA]
jmp 0x426501
mov esi, dword [sym.imp.KERNEL32.dll_lstrlenA]
push 0x46cd18
call esi
push 0x46cd18
push eax
mov ecx, edi
call fcn.00406b60
lea edx, [esp + 0x268]
test edx, edx
jne 0x42651d
xor eax, eax
jmp 0x426527
lea eax, [esp + 0x268]
push eax
call esi
lea ecx, [esp + 0x268]
push ecx
push eax
mov ecx, edi
call fcn.00406b60
mov ecx, dword [esp + 0x1c]
lea edx, [esp + 0x10]
lea eax, [esp + 0x268]
push edx
push eax
mov dword [esp + 0x20], 1
call fcn.00426b00
test eax, eax
jne 0x4266df
mov ecx, 0x46cb3c
test ecx, ecx
je 0x42656d
push 0x46cb3c
call esi
push 0x46cb3c
push eax
mov ecx, edi
call fcn.00406b60
mov eax, dword [esp + 0x10]
mov ecx, dword [0x449b50]
mov dword [esp + 0x374], 0xffffffff
lea edx, [eax - 0xc]
cmp edx, ecx
je 0x4265b4
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x4265b4
mov eax, dword [esp + 0x10]
add eax, 0xfffffff4
push eax
call fcn.0043fa08
add esp, 4
lea ecx, [esp + 0x148]
push ecx
push ebp
call sub.KERNEL32.dll_Module32Next
test eax, eax
jne 0x4264b9
mov esi, dword [esp + 0x14]
test ebp, ebp
je 0x4265d9
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0x18]
test eax, eax
jne 0x4266a4
mov edx, 0x46cd18
test edx, edx
jne 0x4265f2
xor eax, eax
jmp 0x4265fd
push 0x46cd18
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push 0x46cd18
push eax
mov ecx, edi
call fcn.00406b60
test ebx, ebx
je 0x42667f
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov esi, eax
test esi, esi
je 0x42667f
mov eax, dword [edi]
mov ecx, dword [eax - 0xc]
lea ebp, [eax - 0xc]
cmp ecx, 1
jg 0x426667
mov ecx, dword [eax - 8]
mov edx, dword [eax - 4]
lea ebx, [ecx + esi]
cmp ebx, edx
jg 0x426660
mov ebx, dword [esp + 0x37c]
push esi
inc edx
push ebx
add ecx, eax
push edx
push ecx
call fcn.00406910
mov eax, dword [edi]
add esp, 0x10
mov ecx, dword [eax - 8]
add ecx, esi
mov dword [eax - 8], ecx
mov eax, dword [edi]
mov ecx, dword [eax - 8]
mov byte [ecx + eax], 0
jmp 0x42667f
mov ebx, dword [esp + 0x37c]
mov edx, dword [eax - 8]
push ebx
push esi
push eax
push edx
mov ecx, edi
call fcn.0040f760
test eax, eax
je 0x42667f
push ebp
call fcn.00406d40
mov eax, 0x46cb3c
test eax, eax
je 0x426693
push 0x46cb3c
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push 0x46cb3c
push eax
mov ecx, edi
call fcn.00406b60
mov esi, dword [esp + 0x14]
lea ecx, [esp + 0x20]
push ecx
push esi
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x42647e
test esi, esi
je 0x4266c2
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov ecx, dword [esp + 0x36c]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x368
ret 8
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebp
call ebx
mov edx, dword [esp + 0x14]
push edx
call ebx
mov eax, 0x46cd10
test eax, eax
je 0x4266ff
push 0x46cd10
call esi
push 0x46cd10
push eax
mov ecx, edi
call fcn.00406b60
mov eax, dword [esp + 0x10]
push eax
mov ecx, dword [eax - 8]
push ecx
mov ecx, edi
call fcn.00406b60
mov edx, 0x46cb3c
test edx, edx
jne 0x426729
xor eax, eax
jmp 0x426730
push 0x46cb3c
call esi
push 0x46cb3c
push eax
mov ecx, edi
call fcn.00406b60
mov eax, dword [esp + 0x10]
mov edx, dword [0x449b50]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x42676c
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x42676c
mov edx, dword [esp + 0x10]
add edx, 0xfffffff4
push edx
call fcn.0043fa08
add esp, 4
mov eax, 1
jmp 0x4266c4