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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4de3c2
mov eax, dword fs:[0]
push eax
sub esp, 0xa88
mov eax, dword [0x5181bc]
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.00404e60
mov ecx, eax
test ecx, ecx
je 0x40d44d
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 0x40d3d7
lea eax, [ebp - 0x218]
push eax
call fcn.00466070
push 0x208
lea eax, [ebp - 0x628]
push 0
push eax
call fcn.00466070
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 0x40d23b
push 0x208
lea eax, [ebp - 0x420]
push 0
push eax
call fcn.00466070
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 0x40d23b
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 0x40d22e
movzx eax, word [ebx + edx]
test ax, ax
je 0x40d22e
mov word [edx], ax
add edx, 2
sub esi, 1
jne 0x40d210
test esi, esi
lea eax, [edx - 2]
cmovne eax, edx
jmp 0x40d346
push 0
push 2
mov dword [ebp - 0xa84], 0
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
cmp esi, 0xffffffff
je 0x40d2fc
push 0x228
lea eax, [ebp - 0xa7c]
push 0
push eax
call fcn.00466070
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 0x40d2f5
nop word [eax + eax]
cmp dword [ebp - 0xa78], ebx
je 0x40d2ab
lea eax, [ebp - 0xa80]
push eax
push esi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x40d290
jmp 0x40d2f5
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 0x40d2de
movzx eax, word [ebx + ecx]
test ax, ax
je 0x40d2de
mov word [ecx], ax
add ecx, 2
sub edx, 1
jne 0x40d2c0
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 0x40d34b
lea ecx, [ebp - 0x218]
mov esi, 0x4ed020
mov eax, ecx
mov edx, 0x208
sub esi, eax
nop dword [eax]
lea eax, [edx + 0x7ffffdf6]
test eax, eax
je 0x40d33e
movzx eax, word [esi + ecx]
test ax, ax
je 0x40d33e
mov word [ecx], ax
add ecx, 2
sub edx, 1
jne 0x40d320
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.00482eff
lea eax, [ebp - 0xa88]
push eax
lea eax, [ebp - 0x854]
push eax
call fcn.00482d4d
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.0040ce50
add esp, 0x48
jmp 0x40d42d
lea eax, [ebp - 0x830]
push eax
call fcn.00466070
add esp, 0xc
lea eax, [ebp - 0x830]
push 0x104
push eax
call fcn.0043adb0
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.0040ce50
add esp, 0x14
push dword [edi]
call ebx
test eax, eax
je 0x40d42d
inc esi
cmp esi, 0xa
jle 0x40d400
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.004437fa
mov esp, ebp
pop ebp
ret 4
push 0x80004005
call fcn.00404b50
int3