Function at 0x405680
Capabilities:
Enumerate process modules

Disassembly:
mov eax, 0x1114
call fcn.00407fb0
push ebx
push esi
push edi
mov ebx, ecx
xor edi, edi
push 0x14
push 0x40de50
mov dword [ebx + 0x80], edi
call fcn.004035f0
mov esi, dword [sym.imp.USER32.dll_FindWindowA]
add esp, 8
push str.HomeShare
push edi
call esi
push eax
call sub.MFC42.DLL_CWnd::FromHandle
test eax, eax
je 0x4056c8
mov dword [ebx + 0x26c], 5
mov ecx, ebx
call fcn.00407250
and eax, 0xff
dec eax
je 0x4056e6
dec eax
jne 0x4056f0
mov dword [ebx + 0x26c], 0xa
jmp 0x4056f0
mov dword [ebx + 0x26c], 5
push str.Sygate_Manager____Server__
push edi
call esi
push eax
call sub.MFC42.DLL_CWnd::FromHandle
test eax, eax
je 0x40570c
mov dword [ebx + 0x26c], 6
mov eax, dword [str.UnknownProcess]
mov ecx, dword [0x40c774]
mov edx, dword [0x40c778]
mov dword [esp + 0x1c], eax
mov ax, word [0x40c77c]
mov dword [esp + 0x20], ecx
mov cl, byte [0x40c77e]
mov dword [esp + 0x10], edi
mov word [esp + 0x28], ax
mov byte [esp + 0x2a], cl
mov ecx, 0x3d
xor eax, eax
lea edi, [esp + 0x2b]
mov dword [esp + 0x24], edx
rep stosd dword es:[edi], eax
lea edx, [esp + 0x18]
stosb byte es:[edi], al
push edx
lea eax, [esp + 0x124]
push 0x1000
push eax
call sub.PSAPI.DLL_EnumProcesses
test eax, eax
je 0x405905
mov eax, dword [esp + 0x18]
shr eax, 2
je 0x405905
mov esi, dword [sym.imp.MSVCRT.dll__strnicmp]
lea ecx, [esp + 0x120]
push ebp
mov dword [esp + 0x10], ecx
mov dword [esp + 0x18], eax
mov ebp, 1
mov edx, dword [esp + 0x10]
mov eax, dword [edx]
push eax
push 0
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
test edi, edi
je 0x4058ea
lea ecx, [esp + 0x1c]
lea edx, [esp + 0x14]
push ecx
push 4
push edx
push edi
call sub.PSAPI.DLL_EnumProcessModules
test eax, eax
je 0x4058e3
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x20]
push 0x104
push eax
push ecx
push edi
call sub.PSAPI.DLL_GetModuleBaseNameA
push 0xa
lea edx, [esp + 0x24]
push str.sgserv.exe
push edx
call esi
add esp, 0xc
test eax, eax
jne 0x405803
mov dword [ebx + 0x26c], 6
push 0xb
lea eax, [esp + 0x24]
push str.CCProxy.exe
push eax
call esi
add esp, 0xc
test eax, eax
jne 0x405822
mov dword [ebx + 0x26c], 6
push 0xd
lea ecx, [esp + 0x24]
push str.HomeShare.exe
push ecx
call esi
add esp, 0xc
test eax, eax
jne 0x405841
mov dword [ebx + 0x26c], 5
push 0xa
lea edx, [esp + 0x24]
push str.xunyou.exe
push edx
call esi
add esp, 0xc
test eax, eax
jne 0x40585c
mov dword [ebx + 0x80], ebp
push 0xb
lea eax, [esp + 0x24]
push str.TYFrame.exe
push eax
call esi
add esp, 0xc
test eax, eax
jne 0x405877
mov dword [ebx + 0x80], ebp
push 0xe
lea ecx, [esp + 0x24]
push str.netpas_acc.exe
push ecx
call esi
add esp, 0xc
test eax, eax
jne 0x405892
mov dword [ebx + 0x80], ebp
push 0xe
lea edx, [esp + 0x24]
push str.aodunspeed.exe
push edx
call esi
add esp, 0xc
test eax, eax
jne 0x4058ad
mov dword [ebx + 0x80], ebp
push 0xe
lea eax, [esp + 0x24]
push str.hzjsq.exe
push eax
call esi
add esp, 0xc
test eax, eax
jne 0x4058c8
mov dword [ebx + 0x80], ebp
push 0x11
lea ecx, [esp + 0x24]
push str.bapima_netpas.exe
push ecx
call esi
add esp, 0xc
test eax, eax
jne 0x4058e3
mov dword [ebx + 0x80], ebp
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x18]
add ecx, 4
dec eax
mov dword [esp + 0x10], ecx
mov dword [esp + 0x18], eax
jne 0x405797
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x1114
ret