Function at 0x40c3d0
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x4660fd
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x78
push ebx
push esi
push edi
mov esi, dword [esp + 0x94]
lea eax, [esp + 0x14]
lea edx, [esp + 0x18]
xor ebx, ebx
mov ecx, dword [esi]
push eax
mov dword [esp + 0x18], 0xe
push edx
mov edi, dword [ecx + 4]
mov dword [esp + 0x94], ebx
call fcn.0040c980
cmp dword [eax], edi
jne 0x40c43f
push 1
lea ecx, [esp + 0x9c]
mov dword [esp + 0x90], 0xffffffff
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
mov eax, 1
jmp 0x40c726
mov al, byte [esp + 0xf]
push 0
lea ecx, [esp + 0x28]
mov byte [esp + 0x28], al
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
lea ecx, [esp + 0x14]
lea edx, [esp + 0x1c]
push ecx
mov ecx, dword [esi]
push edx
mov byte [esp + 0x94], 1
mov dword [esp + 0x1c], 0xe
call fcn.0040c980
mov esi, dword [eax]
mov eax, dword [esi + 0x10]
add esi, 0x10
mov eax, dword [eax + 4]
mov eax, dword [eax]
mov dword [esp + 0x10], eax
mov ecx, dword [esi]
mov ecx, dword [ecx + 4]
cmp eax, ecx
je 0x40c5ea
mov edi, dword [sym.imp.MSVCP60.dll_bool___cdecl_std::operator_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___char_const__]
test ebx, ebx
jne 0x40c6cb
lea ecx, [esp + 0x34]
push 3
push ecx
lea ecx, [eax + 0x10]
call fcn.00408ec0
lea edx, [esp + 0x34]
lea ecx, [esp + 0x54]
push edx
mov byte [esp + 0x90], 2
call fcn.00413cd0
lea ecx, [esp + 0x44]
mov byte [esp + 0x8c], 3
push ecx
mov ecx, eax
call fcn.00413df0
push str.index
push eax
mov byte [esp + 0x94], 4
call edi
add esp, 8
lea ecx, [esp + 0x44]
mov bl, al
mov byte [esp + 0x8c], 3
push 1
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
push 1
lea ecx, [esp + 0x78]
mov byte [esp + 0x90], 2
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
push 1
lea ecx, [esp + 0x68]
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
push 1
lea ecx, [esp + 0x58]
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
test bl, bl
je 0x40c54c
mov edx, dword [sym.imp.MSVCP60.dll_unsigned_int_const_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::npos]
lea ecx, [esp + 0x34]
mov eax, dword [edx]
push eax
push 0
push ecx
lea ecx, [esp + 0x30]
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::assign_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___unsigned_int__unsigned_int_]
sub esp, 0x10
lea eax, [esp + 0x44]
mov edx, esp
mov dword [esp + 0x30], esp
lea ecx, [esp + 0xa8]
push eax
push ecx
push edx
call sub.MSVCP60.dll_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char_____cdecl_std::operator_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__
add esp, 0xc
lea edx, [esp + 0x28]
lea ecx, [esp + 0x20]
push edx
push 5
mov byte [esp + 0xa4], 5
call fcn.00421540
mov ecx, eax
add ecx, 4
call fcn.00408e10
mov ecx, eax
call fcn.0040b890
mov ecx, eax
mov byte [esp + 0x9c], 7
call fcn.00415190
lea ecx, [esp + 0x18]
mov ebx, eax
mov byte [esp + 0x8c], 2
call fcn.00415140
push 1
lea ecx, [esp + 0x38]
mov byte [esp + 0x90], 1
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
lea ecx, [esp + 0x10]
call fcn.004047a0
mov ecx, dword [esi]
mov eax, dword [esp + 0x10]
cmp eax, dword [ecx + 4]
jne 0x40c498
test ebx, ebx
jne 0x40c6cb
mov eax, dword [esp + 0x2c]
test eax, eax
jne 0x40c67f
mov eax, dword [esp + 0xa0]
mov edx, dword [sym.imp.MSVCP60.dll_unsigned_int_const_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::npos]
mov edi, dword [edx]
lea esi, [eax - 1]
cmp eax, esi
jae 0x40c612
call dword [sym.imp.MSVCP60.dll_void___cdecl_std::_Xran_void_]
lea ecx, [esp + 0x98]
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Split_void_]
mov eax, dword [esp + 0xa0]
mov ecx, eax
sub ecx, esi
cmp ecx, edi
jae 0x40c630
mov edi, ecx
test edi, edi
jbe 0x40c67f
mov ecx, dword [esp + 0x9c]
sub eax, esi
add ecx, esi
sub eax, edi
push eax
lea edx, [ecx + edi]
push edx
push ecx
call dword [sym.imp.MSVCRT.dll_memmove]
mov esi, dword [esp + 0xac]
add esp, 0xc
sub esi, edi
lea ecx, [esp + 0x98]
push 0
push esi
call dword [sym.imp.MSVCP60.dll_private:_bool___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Grow_unsigned_int__bool_]
test al, al
je 0x40c67f
mov eax, dword [esp + 0x9c]
mov dword [esp + 0xa0], esi
mov byte [eax + esi], 0
lea ecx, [esp + 0x24]
lea edx, [esp + 0x98]
push ecx
lea eax, [esp + 0x48]
push edx
push eax
call sub.MSVCP60.dll_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char_____cdecl_std::operator_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__
mov eax, dword [eax + 4]
add esp, 0xc
test eax, eax
jne 0x40c6a5
mov eax, dword [sym.imp.MSVCP60.dll_char_const__private:_static_char_const____cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Nullstr_void_::_2::_C]
mov ecx, dword [esp + 0xa8]
push 5
push 0
push 0
push eax
push str.open
push ecx
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
push 1
lea ecx, [esp + 0x48]
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
mov ecx, dword [esp + 0x28]
xor esi, esi
cmp ecx, esi
je 0x40c6f1
mov al, byte [ecx - 1]
test al, al
je 0x40c6e7
cmp al, 0xff
je 0x40c6e7
dec al
mov byte [ecx - 1], al
jmp 0x40c6f1
dec ecx
push ecx
call sub.MFC42.DLL_operatordelete
add esp, 4
mov ecx, dword [esp + 0x9c]
mov dword [esp + 0x28], esi
cmp ecx, esi
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], esi
je 0x40c724
mov al, byte [ecx - 1]
test al, al
je 0x40c71a
cmp al, 0xff
je 0x40c71a
dec al
mov byte [ecx - 1], al
jmp 0x40c724
dec ecx
push ecx
call sub.MFC42.DLL_operatordelete
add esp, 4
mov eax, ebx
mov ecx, dword [esp + 0x84]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
add esp, 0x84
ret