Function at 0x40bf60
Capabilities:
Check if file exists
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a65b2
mov eax, dword fs:[0]
push eax
sub esp, 0xa88
mov eax, dword [0x4ce208]
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 ebx, ecx
mov dword [ebp - 0xa8c], ebx
mov edi, dword [ebp + 8]
mov dword [ebp - 0xa94], edi
mov dword [ebp - 4], 0
mov dword [ebp - 0xa90], 0
call fcn.00403e30
mov ecx, eax
test ecx, ecx
je 0x40c2cd
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [edi], eax
cmp dword [ebx + 0xc], 0
push 0x208
mov dword [ebp - 4], 0
mov dword [ebp - 0xa90], 1
push 0
jne 0x40c257
lea eax, [ebp - 0x218]
push eax
call fcn.004517d0
push 0x208
lea eax, [ebp - 0x628]
push 0
push eax
call fcn.004517d0
mov ebx, dword [ebx + 0x10]
add esp, 0x18
push ebx
push 0
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
mov dword [ebp - 0xa84], esi
test esi, esi
je 0x40c0bb
push 0x208
lea eax, [ebp - 0x420]
push 0
push eax
call fcn.004517d0
add esp, 0xc
lea eax, [ebp - 0x420]
push 0x104
push eax
push 0
push esi
call sub.PSAPI.DLL_GetModuleFileNameExW
push dword [ebp - 0xa84]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test esi, esi
je 0x40c0bb
lea eax, [ebp - 0x420]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
mov ebx, eax
lea edx, [ebp - 0x218]
mov eax, edx
mov esi, 0x208
sub ebx, eax
nop dword [eax + eax]
lea ecx, [esi + 0x7ffffdf6]
test ecx, ecx
je 0x40c0ae
movzx eax, word [ebx + edx]
test ax, ax
je 0x40c0ae
mov word [edx], ax
add edx, 2
sub esi, 1
jne 0x40c090
test esi, esi
lea eax, [edx - 2]
cmovne eax, edx
jmp 0x40c1c6
push 0
push 2
mov dword [ebp - 0xa84], 0
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
cmp esi, 0xffffffff
je 0x40c17c
push 0x228
lea eax, [ebp - 0xa7c]
push 0
push eax
call fcn.004517d0
add esp, 0xc
mov dword [ebp - 0xa80], 0x22c
lea eax, [ebp - 0xa80]
push eax
push esi
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x40c175
nop word [eax + eax]
cmp dword [ebp - 0xa78], ebx
je 0x40c12b
lea eax, [ebp - 0xa80]
push eax
push esi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x40c110
jmp 0x40c175
lea ecx, [ebp - 0x218]
mov edx, 0x208
lea ebx, [ebp - 0xa5c]
mov eax, ecx
sub ebx, eax
lea eax, [edx + 0x7ffffdf6]
test eax, eax
je 0x40c15e
movzx eax, word [ebx + ecx]
test ax, ax
je 0x40c15e
mov word [ecx], ax
add ecx, 2
sub edx, 1
jne 0x40c140
test edx, edx
mov dword [ebp - 0xa84], 1
lea eax, [ecx - 2]
cmovne eax, ecx
xor ecx, ecx
mov word [eax], cx
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0xa84], 0
jne 0x40c1cb
lea ecx, [ebp - 0x218]
mov esi, str.Unknown
mov eax, ecx
mov edx, 0x208
sub esi, eax
nop dword [eax]
lea eax, [edx + 0x7ffffdf6]
test eax, eax
je 0x40c1be
movzx eax, word [esi + ecx]
test ax, ax
je 0x40c1be
mov word [ecx], ax
add ecx, 2
sub edx, 1
jne 0x40c1a0
test edx, edx
lea eax, [ecx - 2]
cmovne eax, ecx
xor ecx, ecx
mov word [eax], cx
lea eax, [ebp - 0xa88]
push eax
call fcn.0046e51f
lea eax, [ebp - 0xa88]
push eax
lea eax, [ebp - 0x854]
push eax
call fcn.0046e36d
push dword [ebp - 0x854]
mov eax, dword [ebp - 0x844]
push dword [ebp - 0x850]
inc eax
push dword [ebp - 0x84c]
push dword [ebp - 0x848]
push eax
mov eax, dword [ebp - 0x840]
add eax, 0x76c
push eax
push str._d__02d__02d__02d__02d__02d
lea eax, [ebp - 0x628]
push 0x208
push eax
call dword [sym.imp.SHLWAPI.dll_wnsprintfW]
lea eax, [ebp - 0x628]
push eax
mov eax, dword [ebp - 0xa8c]
lea ecx, [ebp - 0x218]
push dword [eax + 0x10]
push ecx
push dword [eax + 4]
push str._s_s__d__s.dmp
push edi
call fcn.0040bcd0
add esp, 0x48
jmp 0x40c2ad
lea eax, [ebp - 0x830]
push eax
call fcn.004517d0
add esp, 0xc
lea eax, [ebp - 0x830]
push 0x104
push eax
call fcn.0043b750
mov ebx, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
xor esi, esi
nop
push esi
lea eax, [ebp - 0x830]
push eax
mov eax, dword [ebp - 0xa8c]
push dword [eax + 4]
push str._s_s__03d.dmp
push edi
call fcn.0040bcd0
add esp, 0x14
push dword [edi]
call ebx
test eax, eax
je 0x40c2ad
inc esi
cmp esi, 0xa
jle 0x40c280
mov eax, edi
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.0044418a
mov esp, ebp
pop ebp
ret 4
push 0x80004005
call fcn.00403b20
int3