Function at 0x4013a5
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x40c4ec
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1cc
push edi
mov dword [ebp - 0x1d4], ecx
mov ecx, dword [ebp - 0x1d4]
call fcn.00401c5f
test eax, eax
je 0x4013e3
mov eax, 1
jmp 0x401844
mov eax, dword [ebp - 0x1d4]
mov ecx, dword [eax + 8]
mov dword [ebp - 0x1d8], ecx
cmp dword [ebp - 0x1d8], 9
ja case.default.0x401405
mov edx, dword [ebp - 0x1d8]
jmp dword [edx*4 + 0x401853]
mov eax, dword [ebp - 0x1d4]
add eax, 0x10
push eax
lea ecx, [ebp - 0x34]
call sub.MFC42.DLL_CString::CString_1
mov dword [ebp - 4], 0
push str.SCSISDK.dll
lea ecx, [ebp - 0x34]
call fcn.0040a14a
lea ecx, [ebp - 0x34]
call fcn.004021c0
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [ebp - 0x10], eax
push str.SCSISendCommand
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x30], eax
mov byte [ebp - 0x2c], 0x43
mov byte [ebp - 0x24], 0xee
mov byte [ebp - 0x23], 1
mov byte [ebp - 0x22], 0
mov byte [ebp - 0x21], 0
mov byte [ebp - 0x20], 0
mov byte [ebp - 0x1f], 0
mov byte [ebp - 0x1e], 0
mov byte [ebp - 0x1d], 0
mov byte [ebp - 0x1c], 0
mov byte [ebp - 0x1b], 0
mov byte [ebp - 0x1a], 0
mov byte [ebp - 0x19], 0
mov byte [ebp - 0x18], 0
mov byte [ebp - 0x17], 0
mov byte [ebp - 0x16], 0
mov byte [ebp - 0x15], 0
mov byte [ebp - 0x14], 0
mov dword [ebp - 0x28], 2
jmp 0x4014b0
mov edx, dword [ebp - 0x28]
add edx, 1
mov dword [ebp - 0x28], edx
cmp dword [ebp - 0x28], 0x1a
jge 0x4014cf
mov eax, dword [ebp - 0x28]
add eax, 0x41
mov byte [ebp - 0x2c], al
lea ecx, [ebp - 0x24]
push ecx
mov dl, byte [ebp - 0x2c]
push edx
call dword [ebp - 0x30]
add esp, 8
jmp 0x4014a7
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [ebp - 0x1c8], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call sub.MFC42.DLL_CString::CString
mov eax, dword [ebp - 0x1c8]
jmp 0x401844
push 0x410064
lea ecx, [ebp - 0x40]
push ecx
call sub.MSVCRT.dll_strcpy
add esp, 8
mov dword [ebp - 0x3c], 0x2d480c
mov edx, dword [ebp - 0x1d4]
cmp dword [edx + 8], 6
je 0x401545
mov eax, dword [ebp - 0x1d4]
cmp dword [eax + 8], 7
je 0x401545
mov ecx, dword [ebp - 0x1d4]
cmp dword [ecx + 8], 8
je 0x401545
mov edx, dword [ebp - 0x1d4]
cmp dword [edx + 8], 9
jne 0x40154c
mov dword [ebp - 0x3c], 0x2d4808
mov eax, dword [ebp - 0x3c]
push eax
mov ecx, dword [ebp - 0x1d4]
mov dl, byte [ecx + 4]
push edx
mov ecx, dword [ebp - 0x1d4]
call fcn.004020a2
test eax, eax
jg 0x4015e2
push 0x14
push 0
lea eax, [ebp - 0x54]
push eax
call sub.MSVCRT.dll_memset
add esp, 0xc
mov dword [ebp - 0x4c], 0x204
mov ecx, dword [ebp - 0x1d4]
mov dl, byte [ecx + 4]
mov byte [ebp - 0x40], dl
lea eax, [ebp - 0x40]
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x38], 0x3300
lea ecx, [ebp - 0x54]
push ecx
mov edx, dword [ebp - 0x38]
push edx
push 0x803
push 0
call dword [sym.imp.WINMM.dll_mciSendCommandA]
test eax, eax
jne 0x4015e2
mov dword [ebp - 0x5c], 7
push 0
push pe_nt_image_headers32
push 0x80d
mov eax, dword [ebp - 0x50]
push eax
call dword [sym.imp.WINMM.dll_mciSendCommandA]
push 0
push 2
push 0x804
mov ecx, dword [ebp - 0x50]
push ecx
call dword [sym.imp.WINMM.dll_mciSendCommandA]
mov eax, 1
jmp 0x401844
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
mov edx, dword [ebp - 0x1d4]
add edx, 0x10
push edx
lea ecx, [ebp - 0x74]
call sub.MFC42.DLL_CString::CString_1
mov dword [ebp - 4], 1
push str.shiftdevice.dll
lea ecx, [ebp - 0x74]
call fcn.0040a14a
lea ecx, [ebp - 0x74]
call fcn.004021c0
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [ebp - 0x70], eax
push str.shiftdevice
mov eax, dword [ebp - 0x70]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x6c], eax
call dword [ebp - 0x6c]
mov dword [ebp - 0x68], eax
mov ecx, dword [ebp - 0x70]
push ecx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [ebp - 0x1cc], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x74]
call sub.MFC42.DLL_CString::CString
mov eax, dword [ebp - 0x1cc]
jmp 0x401844
mov edx, dword [ebp - 0x1d4]
add edx, 0x10
push edx
lea ecx, [ebp - 0x78]
call sub.MFC42.DLL_CString::CString_1
mov dword [ebp - 4], 2
push str.shiftdevice.exe
lea ecx, [ebp - 0x78]
call fcn.0040a14a
push 0
lea ecx, [ebp - 0x78]
call fcn.004021c0
push eax
call dword [sym.imp.KERNEL32.dll_WinExec]
push 0xc8
call dword [sym.imp.KERNEL32.dll_Sleep]
mov dword [ebp - 0x1d0], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x78]
call sub.MFC42.DLL_CString::CString
mov eax, dword [ebp - 0x1d0]
jmp 0x401844
push 0xbb8
call dword [sym.imp.KERNEL32.dll_Sleep]
mov dword [ebp - 0xbc], 0
mov ecx, 0xe
xor eax, eax
lea edi, [ebp - 0xb8]
rep stosd dword es:[edi], eax
mov dword [ebp - 0xbc], 0x3c
mov dword [ebp - 0xb8], 0x40
mov dword [ebp - 0xb4], 0
lea ecx, [ebp - 0x80]
call sub.MFC42.DLL_CString::CString_2
mov dword [ebp - 4], 3
push str.sbdb
mov eax, dword [ebp - 0x1d4]
movsx ecx, byte [eax + 4]
push ecx
push str._c:___s_
lea edx, [ebp - 0x80]
push edx
call sub.MFC42.DLL_CString::Format
add esp, 0x10
lea ecx, [ebp - 0x80]
call fcn.004021c0
mov dword [ebp - 0xa8], eax
mov dword [ebp - 0xa0], 0
mov ax, word [0x412a98]
mov word [ebp - 0x1c0], ax
mov ecx, 0x40
xor eax, eax
lea edi, [ebp - 0x1be]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push 0x104
lea ecx, [ebp - 0x1c0]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push 0x5c
lea edx, [ebp - 0x1c0]
push edx
call dword [sym.imp.MSVCRT.dll_strrchr]
add esp, 8
mov dword [ebp - 0x7c], eax
cmp dword [ebp - 0x7c], 0
je 0x4017cd
mov eax, dword [ebp - 0x7c]
mov byte [eax + 1], 0
push str.ResetCD.exe
lea ecx, [ebp - 0x1c0]
push ecx
call sub.MSVCRT.dll_strcat
add esp, 8
lea edx, [ebp - 0x1c0]
mov dword [ebp - 0xac], edx
call fcn.00401042
mov dword [ebp - 0x1c4], eax
cmp dword [ebp - 0x1c4], 4
jne 0x4017f9
mov dword [ebp - 0xb0], 0x4100b4
jmp 0x401803
mov dword [ebp - 0xb0], 0x4100bc
mov dword [ebp - 0x9c], 0
mov dword [ebp - 0xa4], str.C:Windows_system32
lea eax, [ebp - 0xbc]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteExA]
push 0xffffffffffffffff
mov ecx, dword [ebp - 0x84]
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x80]
call sub.MFC42.DLL_CString::CString
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
mov esp, ebp
pop ebp
ret