Function at 0x40c000
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x466078
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x184
push ebx
push ebp
mov ebp, dword [esp + 0x19c]
push esi
push edi
push ebp
lea eax, [esp + 0x44]
push 0x475860
push eax
call sub.MSVCP60.dll_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char_____cdecl_std::operator_char_const___class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__
push 0x475d1c
lea ecx, [esp + 0x30]
xor ebx, ebx
push eax
push ecx
mov dword [esp + 0x1b4], ebx
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___char_const__
mov edx, dword [esp + 0x1c0]
mov byte [esp + 0x1b4], 1
push edx
push eax
lea eax, [esp + 0x30]
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, 0x24
cmp eax, ebx
jne 0x40c079
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 edi, eax
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x94]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
mov eax, dword [esp + 0x14]
and ecx, 3
cmp eax, ebx
rep movsb byte es:[edi], byte [esi]
je 0x40c0c4
lea ecx, [eax - 1]
mov al, byte [eax - 1]
cmp al, bl
je 0x40c0bb
cmp al, 0xff
je 0x40c0bb
dec al
mov byte [ecx], al
jmp 0x40c0c4
push ecx
call sub.MFC42.DLL_operatordelete
add esp, 4
mov eax, dword [esp + 0x24]
mov dword [esp + 0x14], ebx
cmp eax, ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
je 0x40c0f5
lea ecx, [eax - 1]
mov al, byte [eax - 1]
cmp al, bl
je 0x40c0ec
cmp al, 0xff
je 0x40c0ec
dec al
mov byte [ecx], al
jmp 0x40c0f5
push ecx
call sub.MFC42.DLL_operatordelete
add esp, 4
mov eax, dword [esp + 0x44]
mov dword [esp + 0x24], ebx
cmp eax, ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
je 0x40c126
lea ecx, [eax - 1]
mov al, byte [eax - 1]
cmp al, bl
je 0x40c11d
cmp al, 0xff
je 0x40c11d
dec al
mov byte [ecx], al
jmp 0x40c126
push ecx
call sub.MFC42.DLL_operatordelete
add esp, 4
mov ecx, 0x11
xor eax, eax
lea edi, [esp + 0x50]
rep stosd dword es:[edi], eax
mov eax, dword [ebp + 4]
mov dword [esp + 0x50], 0x44
cmp eax, ebx
jne 0x40c147
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]
lea ecx, [esp + 0x30]
lea edx, [esp + 0x50]
push ecx
push edx
push ebx
push ebx
push 0x4000000
push ebx
push ebx
lea ecx, [esp + 0xb0]
push ebx
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
mov esi, eax
neg esi
sbb esi, esi
inc esi
jne 0x40c189
cmp byte [esp + 0x1ac], bl
je 0x40c189
mov edx, dword [esp + 0x30]
push 0xffffffffffffffff
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [esp + 0x30]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push eax
call edi
mov ecx, dword [esp + 0x34]
push ecx
call edi
mov ecx, dword [esp + 0x194]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x190
ret