Function at 0x40dc10
Capabilities:
Enumerate processes
Get process image filename

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44ca56
mov eax, dword fs:[0]
push eax
sub esp, 0x454
mov eax, dword [0x48d06c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x448], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push 0
push 2
mov esi, eax
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x40dc83
lea eax, [ebp - 0x444]
mov dword [ebp - 0x444], 0x22c
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
jne 0x40dc87
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x40dcc6
cmp esi, dword [ebp - 0x43c]
jne 0x40dca8
push dword [ebp - 0x42c]
push 0
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
test edi, edi
jne 0x40dce4
lea eax, [ebp - 0x444]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x40dc87
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
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 - 0x10]
xor ecx, ebp
call fcn.00422308
mov esp, ebp
pop ebp
ret 4
call fcn.004014e0
mov ecx, eax
test ecx, ecx
je 0x40df28
mov eax, dword [ecx]
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x458], esi
mov dword [ebp - 4], 0
call fcn.0041a2c0
test eax, eax
je 0x40de26
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.00424870
add esp, 0xc
lea eax, [ebp - 0x218]
push 0x104
push eax
push edi
call dword [sym.imp.PSAPI.DLL_GetProcessImageFileNameW]
test eax, eax
je 0x40def6
lea edx, [ebp - 0x218]
lea ecx, [ebp - 0x450]
call fcn.0040d9d0
mov byte [ebp - 4], 1
mov edi, dword [ebp - 0x450]
push edi
push 0x470748
push 0x48dac0
call fcn.00417de0
mov eax, dword [ebp - 0x448]
lea edx, [edi - 0x10]
add esp, 0xc
mov dword [ebp - 0x454], edx
mov ecx, dword [eax]
sub ecx, 0x10
mov dword [ebp - 0x460], ecx
cmp edx, ecx
je 0x40de04
cmp dword [ecx + 0xc], 0
lea edi, [ecx + 0xc]
mov dword [ebp - 0x45c], edi
mov edi, dword [ebp - 0x450]
jl 0x40ddf3
mov eax, dword [edx]
cmp eax, dword [ecx]
jne 0x40dded
mov ecx, edx
call fcn.004094a0
mov dword [ebp - 0x44c], eax
or ecx, 0xffffffff
mov eax, dword [ebp - 0x45c]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x40ddda
mov edi, dword [ebp - 0x460]
push edi
mov ecx, dword [edi]
mov edx, dword [ecx]
call dword [edx + 4]
mov ecx, dword [ebp - 0x448]
mov eax, dword [ebp - 0x44c]
add eax, 0x10
mov dword [ecx], eax
jmp 0x40ddfe
mov eax, dword [ebp - 0x448]
push dword [edi - 0xc]
mov ecx, eax
push edi
call fcn.00409090
mov edx, dword [ebp - 0x454]
mov byte [ebp - 4], 0
or eax, 0xffffffff
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x40def6
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x40def6
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, 0x105
or eax, ecx
jge 0x40de50
push 0x105
lea ecx, [ebp - 0x458]
call fcn.00408a90
mov esi, dword [ebp - 0x458]
push 0x104
push esi
push 0
push edi
call dword [sym.imp.PSAPI.DLL_GetModuleFileNameExW]
push dword [esi - 8]
push esi
call fcn.00436a2a
add esp, 8
test eax, eax
js 0x40df1e
cmp eax, dword [esi - 8]
jg 0x40df1e
push esi
xor ecx, ecx
mov dword [esi - 0xc], eax
push 0x470740
push 0x48dac0
mov word [esi + eax*2], cx
call fcn.00417de0
mov ecx, dword [ebp - 0x448]
lea edx, [esi - 0x10]
add esp, 0xc
mov edi, dword [ecx]
sub edi, 0x10
cmp edx, edi
je 0x40def6
cmp dword [edi + 0xc], 0
jl 0x40deed
mov eax, dword [edx]
cmp eax, dword [edi]
jne 0x40deed
mov ecx, edx
call fcn.004094a0
mov dword [ebp - 0x44c], eax
lea edx, [edi + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40dee0
mov ecx, dword [edi]
push edi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0x44c]
mov ecx, dword [ebp - 0x448]
add eax, 0x10
mov dword [ecx], eax
jmp 0x40def6
push dword [esi - 0xc]
push esi
call fcn.00409090
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x40dcba
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x40dcba
push 0x80070057
call fcn.00408740
push 0x80004005
call fcn.00408740
int3