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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4dbf12
mov eax, dword fs:[0]
push eax
sub esp, 0xa88
mov eax, dword [0x516240]
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.00404e30
mov ecx, eax
test ecx, ecx
je 0x40d74d
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 0x40d6d7
lea eax, [ebp - 0x218]
push eax
call fcn.00485d90
push 0x208
lea eax, [ebp - 0x628]
push 0
push eax
call fcn.00485d90
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 0x40d53b
push 0x208
lea eax, [ebp - 0x420]
push 0
push eax
call fcn.00485d90
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 0x40d53b
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 0x40d52e
movzx eax, word [ebx + edx]
test ax, ax
je 0x40d52e
mov word [edx], ax
add edx, 2
sub esi, 1
jne 0x40d510
test esi, esi
lea eax, [edx - 2]
cmovne eax, edx
jmp 0x40d646
push 0
push 2
mov dword [ebp - 0xa84], 0
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
cmp esi, 0xffffffff
je 0x40d5fc
push 0x228
lea eax, [ebp - 0xa7c]
push 0
push eax
call fcn.00485d90
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 0x40d5f5
nop word [eax + eax]
cmp dword [ebp - 0xa78], ebx
je 0x40d5ab
lea eax, [ebp - 0xa80]
push eax
push esi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x40d590
jmp 0x40d5f5
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 0x40d5de
movzx eax, word [ebx + ecx]
test ax, ax
je 0x40d5de
mov word [ecx], ax
add ecx, 2
sub edx, 1
jne 0x40d5c0
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 0x40d64b
lea ecx, [ebp - 0x218]
mov esi, 0x4ea038
mov eax, ecx
mov edx, 0x208
sub esi, eax
nop dword [eax]
lea eax, [edx + 0x7ffffdf6]
test eax, eax
je 0x40d63e
movzx eax, word [esi + ecx]
test ax, ax
je 0x40d63e
mov word [ecx], ax
add ecx, 2
sub edx, 1
jne 0x40d620
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.004a2c0f
lea eax, [ebp - 0xa88]
push eax
lea eax, [ebp - 0x854]
push eax
call fcn.004a2a5d
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.0040d150
add esp, 0x48
jmp 0x40d72d
lea eax, [ebp - 0x830]
push eax
call fcn.00485d90
add esp, 0xc
lea eax, [ebp - 0x830]
push 0x104
push eax
call fcn.004468a0
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.0040d150
add esp, 0x14
push dword [edi]
call ebx
test eax, eax
je 0x40d72d
inc esi
cmp esi, 0xa
jle 0x40d700
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.0044f2ba
mov esp, ebp
pop ebp
ret 4
push 0x80004005
call fcn.00404b20
int3