Function at 0x465550
Capabilities:
Enumerate process modules
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x564920
mov eax, dword fs:[0]
push eax
push ecx
mov eax, 0x1d48
call fcn.00543120
mov eax, dword [0x5b3680]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x1c98], eax
mov edi, dword [0x5ba1b0]
mov dword [ebp - 0x1cac], edi
mov dword [ebp - method.CLockMgr_class_CMutexWrapper_.virtual_0], vtable.CLockMgr_class_CMutexWrapper_.0
lea ebx, [edi + 0xb0]
mov dword [ebp - 0x1ce0], ebx
mov dword [ebp - 0x1cdc], 1
or esi, 0xffffffff
cmp dword [ebx], 0
je 0x4655dc
call dword [sym.imp.USER32.dll_InSendMessage]
mov ecx, 0x2710
test eax, eax
cmovne esi, ecx
push esi
push dword [ebx]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov dword [ebp - 4], 0
call fcn.00402a00
mov edx, eax
xor ecx, ecx
test edx, edx
setne cl
test ecx, ecx
jne 0x4655ff
push 0x80004005
call fcn.004027b0
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x1cb4], eax
mov byte [ebp - 4], 2
push dword [ebp - 0x1c98]
lea ecx, [ebp - 0x1cbc]
call fcn.004031c0
mov byte [ebp - 4], 3
mov byte [ebp - 4], 4
mov byte [ebp - 0x1c91], 0
cmp dword [edi + 0xd8], 0
jne 0x4658d0
lea eax, [ebp - 0x1ca4]
push eax
push 0x1000
lea eax, [ebp - 0x1a30]
push eax
call dword [sym.imp.PSAPI.DLL_EnumProcesses]
test eax, eax
jne 0x465691
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jle 0x46566f
movzx eax, ax
or eax, 0x80070000
push str.EnumProcesses_Pids__sizeof_DWORD_1024__cbNeeded_
push eax
lea ecx, [ebp - 0x1d18]
call fcn.00455be0
push 0x5afc58
lea eax, [ebp - 0x1d18]
push eax
call fcn.00532408
mov dword [ebp - 0x1cc4], 0
mov eax, dword [ebp - 0x1ca4]
shr eax, 2
mov dword [ebp - 0x1c9c], eax
mov dword [ebp - 0x1c98], eax
xor edi, edi
mov dword [ebp - 0x1cc0], edi
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edi, edi
cmp edi, eax
jae 0x465b09
mov byte [ebp - 4], 5
push dword [ebp + edi*4 - 0x1a30]
push 0
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
mov dword [ebp - 0x1cc4], esi
test esi, esi
jne 0x465720
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jle 0x4656fe
movzx eax, ax
or eax, 0x80070000
push str.hProcess
push eax
lea ecx, [ebp - 0x1d38]
call fcn.00455be0
push 0x5afc58
lea eax, [ebp - 0x1d38]
push eax
call fcn.00532408
lea eax, [ebp - 0x1ca4]
push eax
push 4
lea eax, [ebp - 0x1cd0]
push eax
push esi
call dword [sym.imp.PSAPI.DLL_EnumProcessModules]
test eax, eax
jne 0x46576f
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jle 0x46574d
movzx eax, ax
or eax, 0x80070000
push str.EnumProcessModules_hProcess__hModule__sizeof_hModule___cbNeeded_
push eax
lea ecx, [ebp - 0x1d28]
call fcn.00455be0
push 0x5afc58
lea eax, [ebp - 0x1d28]
push eax
call fcn.00532408
push 0x104
lea eax, [ebp - 0x830]
push eax
push dword [ebp - 0x1cd0]
push esi
call dword [sym.imp.PSAPI.DLL_GetModuleFileNameExW]
test eax, eax
jne 0x4657c0
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jle 0x46579e
movzx eax, ax
or eax, 0x80070000
push str.GetModuleFileNameExW_hProcess__hModule__szFileName__260_
push eax
lea ecx, [ebp - 0x1d08]
call fcn.00455be0
push 0x5afc58
lea eax, [ebp - 0x1d08]
push eax
call fcn.00532408
push 0x100
lea eax, [ebp - 0x420]
push eax
push 0x100
lea eax, [ebp - 0x220]
push eax
push 0x100
lea eax, [ebp - 0xa30]
push eax
push 3
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x830]
push eax
call fcn.00529c6e
add esp, 0x24
lea ecx, [ebp - 0x1cb8]
call fcn.00402b10
mov byte [ebp - 4], 6
lea eax, [ebp - 0x420]
push eax
lea eax, [ebp - 0x220]
push eax
push 0x58bcd4
lea eax, [ebp - 0x1cb8]
push eax
call fcn.00415d20
add esp, 0x10
push dword [ebp - 0x1cbc]
lea ecx, [ebp - 0x1cb8]
call fcn.00401e70
test eax, eax
jne 0x46585a
push esi
call ebx
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x1cb8]
call fcn.00402750
mov byte [ebp - 4], 4
jmp 0x465b09
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x1cb8]
call fcn.00402750
mov dword [ebp - 4], 4
push esi
call ebx
inc edi
mov dword [ebp - 0x1cc0], edi
mov eax, dword [ebp - 0x1c9c]
jmp 0x4656c0
push 0
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov dword [ebp - 0x1ca4], eax
cmp eax, 0xffffffff
je 0x465cb9
mov dword [ebp - 0x1c90], 0x22c
lea ecx, [ebp - 0x1c90]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x465afd
push dword [ebp - 0x1c88]
push 0
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov ebx, eax
test ebx, ebx
je 0x465bfd
lea ecx, [ebp - 0x1ca8]
call fcn.00402b10
mov byte [ebp - 4], 8
lea eax, [ebp - 0x830]
push eax
lea ecx, [ebp - 0x1ca0]
call fcn.004031c0
mov byte [ebp - 4], 9
xor edi, edi
mov dword [ebp - 0x1ce8], edi
xor esi, esi
mov dword [ebp - 0x1cc8], esi
cmp edi, 3
jge 0x465985
push esi
push 0x5c
lea ecx, [ebp - 0x1ca0]
call fcn.00415e90
mov esi, eax
mov dword [ebp - 0x1cc8], esi
inc edi
mov dword [ebp - 0x1ce8], edi
cmp esi, 0xffffffff
je 0x465985
inc esi
jmp 0x465955
xor eax, eax
mov word [ebp - 0x628], ax
push 0x206
push eax
lea eax, [ebp - 0x626]
push eax
call fcn.00531bd0
add esp, 0xc
lea eax, [esi - 1]
push eax
lea eax, [ebp - 0x1c9c]
push eax
lea ecx, [ebp - 0x1ca0]
call fcn.00414320
mov byte [ebp - 4], 0xa
push 0x104
lea eax, [ebp - 0x628]
push eax
push dword [ebp - 0x1c9c]
call dword [sym.imp.FLTLIB.DLL_FilterGetDosName]
test eax, eax
jne 0x465bc9
mov eax, dword [ebp - 0x1ca0]
mov eax, dword [eax - 0xc]
sub eax, esi
push eax
lea eax, [ebp - 0x1cd8]
push eax
lea ecx, [ebp - 0x1ca0]
call fcn.00415dc0
mov byte [ebp - 4], 0xb
push dword [eax]
lea eax, [ebp - 0x628]
push eax
push 0x58ae70
lea eax, [ebp - 0x1ca8]
push eax
call fcn.00415d20
add esp, 0x10
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x1cd8]
call fcn.00402750
lea ecx, [ebp - 0x1ca8]
call fcn.004023a0
push 0x100
lea ecx, [ebp - 0x420]
push ecx
push 0x100
lea ecx, [ebp - 0x220]
push ecx
push 0x100
lea ecx, [ebp - 0xa30]
push ecx
push 3
lea ecx, [ebp - 0x1c]
push ecx
push eax
call fcn.00529c6e
add esp, 0x24
lea ecx, [ebp - 0x1cb0]
call fcn.00402b10
mov byte [ebp - 4], 0xc
lea eax, [ebp - 0x420]
push eax
lea eax, [ebp - 0x220]
push eax
push 0x58bcd4
lea eax, [ebp - 0x1cb0]
push eax
call fcn.00415d20
add esp, 0x10
push dword [ebp - 0x1cbc]
lea ecx, [ebp - 0x1cb0]
call fcn.00401e70
test eax, eax
jne 0x465bba
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov byte [ebp - 0x1c91], 1
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x1cb0]
call fcn.00402750
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x1c9c]
call fcn.00402750
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x1ca0]
call fcn.00402750
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x1ca8]
call fcn.00402750
push dword [ebp - 0x1ca4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp byte [ebp - 0x1c91], 0
je 0x465cb3
push 0x583ed0
lea eax, [ebp - 0x220]
push eax
push 0x58c454
lea eax, [ebp - 0x1cb4]
push eax
call fcn.00415d20
add esp, 0x10
lea ecx, [ebp - 0x1a60]
call fcn.004fb130
mov byte [ebp - 4], 0xd
push 0x58c460
lea ecx, [ebp - 0x1c98]
call fcn.00434690
mov byte [ebp - 4], 0xe
lea eax, [ebp - 0x1c98]
push eax
mov edi, dword [ebp - 0x1cac]
lea edx, [edi + 0x98]
lea ecx, [ebp - 0x1cd4]
call fcn.0041c210
add esp, 4
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x1cb4]
push ecx
mov edx, eax
lea ecx, [ebp - 0x1ccc]
call fcn.0041c210
add esp, 4
mov byte [ebp - 4], 0x10
mov esi, dword [eax]
push 2
push 0
lea eax, [ebp - 0x830]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
test eax, eax
jne 0x465c1f
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
jmp 0x465c32
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x1cb0]
call fcn.00402750
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x1c9c]
call fcn.00402750
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x1ca0]
call fcn.00402750
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x1ca8]
call fcn.00402750
mov dword [ebp - 0x1c90], 0x22c
lea eax, [ebp - 0x1c90]
push eax
push dword [ebp - 0x1ca4]
call dword [sym.imp.KERNEL32.dll_Process32NextW]
jmp 0x465901
push eax
push esi
lea ecx, [ebp - 0x1a60]
call fcn.004fb1a0
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
setne bl
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x1ccc]
call fcn.00402750
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x1cd4]
call fcn.00402750
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x1c98]
call fcn.00402750
test bl, bl
je 0x465c98
call esi
test eax, eax
jle 0x465c76
movzx eax, ax
or eax, 0x80070000
push str.ie.ExtractIconFromExe_szFileName__m_strIconLogPath______strIconFileName__0___0L
push eax
lea ecx, [ebp - 0x1cf8]
call fcn.00455be0
push 0x5afc58
lea eax, [ebp - 0x1cf8]
push eax
call fcn.00532408
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x1a60]
call fcn.00465de0
mov dword [ebp - 4], 3
jmp 0x465d38
mov edi, dword [ebp - 0x1cac]
push 0x100
lea eax, [ebp - 0x420]
push eax
push 0x100
lea eax, [ebp - 0x220]
push eax
push 0x100
lea eax, [ebp - 0xa30]
push eax
push 3
lea eax, [ebp - 0x1c]
push eax
push dword [ebp - 0x1cbc]
call fcn.00529c6e
add esp, 0x24
push 0x583ed0
lea eax, [ebp - 0x220]
push eax
push 0x58c454
lea eax, [ebp - 0x1cb4]
push eax
call fcn.00415d20
add esp, 0x10
mov dword [ebp - 4], 3
jmp 0x465d38
push ecx
mov esi, dword [ebp - 0x1cb4]
push esi
push dword [edi + 0x98]
push dword [ebp + 8]
call fcn.0046e800
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x1cbc]
add edx, 0xfffffff0
lea ecx, [edx + 0xc]
or edi, 0xffffffff
mov eax, edi
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x465d74
mov ecx, dword [edx]
mov eax, dword [ecx]
push edx
call dword [eax + 4]
mov byte [ebp - 4], 0
add esi, 0xfffffff0
lea eax, [esi + 0xc]
lock xadd dword [eax], edi
dec edi
test edi, edi
jg 0x465d8f
mov ecx, dword [esi]
mov eax, dword [ecx]
push esi
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - method.CLockMgr_class_CMutexWrapper_.virtual_0], vtable.CLockMgr_class_CMutexWrapper_.0
cmp dword [ebp - 0x1cdc], 0
je 0x465dbc
mov eax, dword [ebp - 0x1ce0]
mov eax, dword [eax]
test eax, eax
je 0x465dbc
push eax
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.005295e2
mov esp, ebp
pop ebp
ret 8