Function at 0x403d60
Capabilities:
Create process on windows
Enumerate processes
Get common file path

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x67c
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x678], eax
mov eax, dword [0x4086b4]
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_HeapAlloc]
push edi
push 0x208
push 8
push eax
mov byte [esp + 0x1b], 0
mov byte [esp + 0x19], 0
mov byte [esp + 0x1a], 0
call esi
push 0x103
push eax
push 0
mov dword [esp + 0x20], eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov ecx, dword [0x4086b4]
push 0x208
push 8
push ecx
call esi
mov edx, dword [0x4086b4]
push 0x208
push 8
push edx
mov edi, eax
call esi
push 0x208
mov ebx, eax
mov eax, dword [0x4086b4]
push 8
push eax
call esi
mov ecx, dword [0x4086b4]
push 0x208
push 8
push ecx
mov dword [esp + 0x1c], eax
call esi
mov edx, dword [0x4086b4]
push 0x208
push 8
push edx
mov dword [esp + 0x28], eax
call esi
push 0x103
push edi
mov dword [esp + 0x28], eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
push edi
push 0x103
push ebx
mov word [edi + 6], 0
call dword [sym.imp.MSVCR80.dll_wcscpy_s]
mov eax, dword [0x408684]
mov esi, dword [sym.imp.MSVCR80.dll_wcscat_s]
add esp, 0xc
push eax
push 0x103
push edi
call esi
mov ecx, dword [0x408680]
add esp, 0xc
push ecx
push 0x103
push ebx
call esi
mov edx, dword [0x408688]
mov eax, dword [esp + 0x1c]
add esp, 0xc
push edx
push 0x103
push eax
call dword [sym.imp.MSVCR80.dll_wcscpy_s]
mov esi, dword [esp + 0x20]
add esp, 0xc
push edi
push esi
call dword [sym.imp.MSVCR80.dll__wcsicmp]
add esp, 8
test eax, eax
jne 0x403e8f
mov byte [esp + 0xf], 1
push ebx
push esi
call dword [sym.imp.MSVCR80.dll__wcsicmp]
add esp, 8
test eax, eax
jne 0x403ea3
mov byte [esp + 0xd], 1
mov ecx, dword [esp + 0x10]
push ecx
push esi
call dword [sym.imp.MSVCR80.dll__wcsicmp]
add esp, 8
test eax, eax
jne 0x403ebb
mov byte [esp + 0xe], 1
push 0
push 2
mov dword [esp + 0x30], 0x22c
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
lea edx, [esp + 0x28]
push edx
push eax
mov dword [esp + 0x20], eax
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x404066
mov eax, dword [esp + 0x30]
push eax
push 0
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov ecx, dword [esp + 0x30]
push ecx
push 8
mov dword [esp + 0x2c], eax
mov dword [esp + 0x260], 0x428
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
lea edx, [esp + 0x258]
mov esi, eax
push edx
push esi
call sub.KERNEL32.dll_Module32FirstW
test eax, eax
je 0x403f48
mov ecx, dword [0x4086b8]
lea eax, [esp + 0x478]
push eax
push 0x102
push ecx
call dword [sym.imp.MSVCR80.dll_wcscpy_s]
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, dword [0x4086b8]
push esi
push edi
call dword [sym.imp.MSVCR80.dll__wcsicmp]
add esp, 8
test eax, eax
jne 0x403f62
mov byte [esp + 0xf], 1
push esi
push ebx
call dword [sym.imp.MSVCR80.dll__wcsicmp]
add esp, 8
test eax, eax
jne 0x403f76
mov byte [esp + 0xd], 1
mov edx, dword [esp + 0x10]
push esi
push edx
call dword [sym.imp.MSVCR80.dll__wcsicmp]
add esp, 8
test eax, eax
jne 0x403f8e
mov byte [esp + 0xe], 1
mov eax, dword [esp + 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [esp + 0x18]
lea ecx, [esp + 0x28]
push ecx
push edx
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x403ee3
mov eax, dword [esp + 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp byte [esp + 0xf], 0
mov esi, dword [sym.imp.SHELL32.dll_ShellExecuteW]
jne 0x403fd8
push 1
push 0
push 0
push edi
push str.open
push 0
call esi
cmp byte [esp + 0xd], 0
jne 0x403fef
push 1
push 0
push 0
push ebx
push str.open
push 0
call esi
cmp byte [esp + 0xe], 0
jne 0x40400a
mov ecx, dword [esp + 0x10]
push 1
push 0
push 0
push ecx
push str.open
push 0
call esi
mov edx, dword [esp + 0x14]
mov eax, dword [0x4086b4]
mov esi, dword [sym.imp.KERNEL32.dll_HeapFree]
push edx
push 0
push eax
call esi
mov ecx, dword [0x4086b4]
push edi
push 0
push ecx
call esi
mov edx, dword [0x4086b4]
push ebx
push 0
push edx
call esi
mov eax, dword [esp + 0x10]
mov ecx, dword [0x4086b4]
push eax
push 0
push ecx
call esi
mov edx, dword [esp + 0x1c]
mov eax, dword [0x4086b4]
push edx
push 0
push eax
call esi
mov ecx, dword [esp + 0x20]
mov edx, dword [0x4086b4]
push ecx
push 0
push edx
call esi
mov ecx, dword [esp + 0x684]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00405260
mov esp, ebp
pop ebp
ret