Function at 0x40eb10
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x415458
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x50
push ebx
push esi
push edi
mov ebx, 2
push str.mapdrv.exe
lea ecx, [esp + 0x70]
mov dword [esp + 0x68], ebx
call sub.MFC42u.DLL_CString::Find_2
cmp eax, 0xffffffff
jne 0x40ebf7
push str.xcopy.exe
lea ecx, [esp + 0x70]
call sub.MFC42u.DLL_CString::Find_2
cmp eax, 0xffffffff
jne 0x40ec55
push str.reg.exe
lea ecx, [esp + 0x70]
call sub.MFC42u.DLL_CString::Find_2
cmp eax, 0xffffffff
jne 0x40ec55
push 0
push ecx
mov ecx, esp
mov dword [esp + 0x20], esp
push 0x41c198
call fcn.00413dc4
lea eax, [esp + 0x74]
lea ecx, [esp + 0x1c]
push eax
push str.Running:
push ecx
mov byte [esp + 0x78], 3
call sub.MFC42u.DLL_operator_2
push 0x41ecbc
lea edx, [esp + 0x1c]
push eax
push edx
mov byte [esp + 0x78], 4
call sub.MFC42u.DLL_operator_1
push ecx
lea edx, [esp + 0x7c]
mov ecx, esp
mov dword [esp + 0x28], esp
push edx
push eax
push ecx
mov byte [esp + 0x7c], 5
call sub.MFC42u.DLL_operator_3
mov byte [esp + 0x70], 7
call fcn.00406ff0
add esp, 0xc
lea ecx, [esp + 0x10]
mov byte [esp + 0x64], 6
call sub.MFC42u.DLL_CString::CString
mov byte [esp + 0x64], bl
lea ecx, [esp + 0x14]
jmp 0x40ec50
push 0
push ecx
mov ecx, esp
mov dword [esp + 0x24], esp
push 0x41c198
call fcn.00413dc4
lea eax, [esp + 0x74]
lea ecx, [esp + 0x1c]
push eax
push str.Running:
push ecx
mov byte [esp + 0x78], 8
call sub.MFC42u.DLL_operator_2
push ecx
mov byte [esp + 0x70], 9
mov edx, esp
mov dword [esp + 0x24], esp
push 0x41f74c
push eax
push edx
call sub.MFC42u.DLL_operator_1
mov byte [esp + 0x70], 0xa
call fcn.00406ff0
add esp, 0xc
mov byte [esp + 0x64], bl
lea ecx, [esp + 0x14]
call sub.MFC42u.DLL_CString::CString
mov ecx, 0xf
xor eax, eax
lea edi, [esp + 0x20]
push 0x4207b8
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0x84]
mov dword [esp + 0x28], 0x4040
push eax
mov dword [esp + 0x34], str.open
call dword [sym.imp.MSVCRT.dll_wcscmp]
add esp, 8
test eax, eax
jne 0x40ecb7
push 0x5c
lea ecx, [esp + 0x70]
call sub.MFC42u.DLL_CString::ReverseFind
lea ecx, [esp + 0x14]
push eax
push ecx
lea ecx, [esp + 0x74]
call sub.MFC42u.DLL_CString::Left
mov eax, dword [eax]
lea ecx, [esp + 0x14]
mov dword [esp + 0x38], eax
call sub.MFC42u.DLL_CString::CString
jmp 0x40ecc2
mov edx, dword [esp + 0x80]
mov dword [esp + 0x38], edx
mov eax, dword [esp + 0x6c]
mov ecx, dword [esp + 0x70]
mov edx, dword [esp + 0x74]
mov dword [esp + 0x30], eax
lea eax, [esp + 0x20]
mov dword [esp + 0x34], ecx
push eax
mov dword [esp + 0x40], edx
mov dword [esp + 0x24], 0x3c
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
mov dword [esp + 0xc], 0
jne 0x40ed23
push ecx
mov ecx, esp
mov dword [esp + 0x78], esp
push 0x4207b8
call fcn.00413dc4
push ecx
mov byte [esp + 0x6c], 0xb
mov ecx, esp
mov dword [esp + 0x80], esp
push str.ShellExecuteEx
jmp 0x40eeaf
mov eax, dword [esp + 0x78]
test eax, eax
mov eax, dword [esp + 0x58]
je 0x40ee70
test eax, eax
je 0x40ee70
mov ecx, dword [esp + 0x7c]
cmp ecx, 0x20
je 0x40ed8c
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_SetPriorityClass]
test eax, eax
jne 0x40ed88
push ecx
mov ecx, esp
mov dword [esp + 0x78], esp
push 0x4207b8
call fcn.00413dc4
push ecx
mov byte [esp + 0x6c], 0xc
mov ecx, esp
mov dword [esp + 0x80], esp
push str.SetPriorityClass
call fcn.00413dc4
push 0
mov byte [esp + 0x70], bl
call fcn.00406a10
add esp, 0xc
mov eax, dword [esp + 0x58]
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x40edd1
push ecx
mov ecx, esp
mov dword [esp + 0x78], esp
push 0x4207b8
call fcn.00413dc4
push ecx
mov byte [esp + 0x6c], 0xd
mov ecx, esp
mov dword [esp + 0x80], esp
push str.WaitForSingleObject
call fcn.00413dc4
push 0
mov byte [esp + 0x70], bl
call fcn.00406a10
add esp, 0xc
mov edx, dword [esp + 0x58]
lea ecx, [esp + 0xc]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov eax, dword [esp + 0x58]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
jne 0x40ee28
push ecx
mov ecx, esp
mov dword [esp + 0x78], esp
push 0x4207b8
call fcn.00413dc4
push ecx
mov byte [esp + 0x6c], 0xe
mov ecx, esp
mov dword [esp + 0x80], esp
push str.CloseHandle
call fcn.00413dc4
push 0
mov byte [esp + 0x70], bl
call fcn.00406a10
add esp, 0xc
mov esi, dword [esp + 0xc]
lea ecx, [esp + 0x6c]
mov byte [esp + 0x64], 1
call sub.MFC42u.DLL_CString::CString
lea ecx, [esp + 0x70]
mov byte [esp + 0x64], 0
call sub.MFC42u.DLL_CString::CString
lea ecx, [esp + 0x80]
mov dword [esp + 0x64], 0xffffffff
call sub.MFC42u.DLL_CString::CString
mov eax, esi
mov ecx, dword [esp + 0x5c]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
add esp, 0x5c
ret
mov ecx, dword [esp + 0x84]
test ecx, ecx
je 0x40ee7f
mov dword [ecx], eax
jmp 0x40eec2
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
jne 0x40eec2
push ecx
mov ecx, esp
mov dword [esp + 0x78], esp
push 0x4207b8
call fcn.00413dc4
push ecx
mov byte [esp + 0x6c], 0xf
mov ecx, esp
mov dword [esp + 0x80], esp
push str.CloseHandle
call fcn.00413dc4
push 0
mov byte [esp + 0x70], bl
call fcn.00406a10
add esp, 0xc
lea ecx, [esp + 0x6c]
mov byte [esp + 0x64], 1
call sub.MFC42u.DLL_CString::CString
lea ecx, [esp + 0x70]
mov byte [esp + 0x64], 0
call sub.MFC42u.DLL_CString::CString
lea ecx, [esp + 0x80]
mov dword [esp + 0x64], 0xffffffff
call sub.MFC42u.DLL_CString::CString
mov ecx, dword [esp + 0x5c]
pop edi
pop esi
or eax, 0xffffffff
mov dword fs:[0], ecx
pop ebx
add esp, 0x5c
ret