Function at 0x406bd5
Capabilities:
Create process on windows

Disassembly:
mov eax, 0x43b3e5
call fcn.0043a4b0
sub esp, 0x15c
push ebx
push esi
push edi
lea eax, [ebp - 0x168]
mov dword [ebp - 0x10], esp
mov esi, ecx
push eax
mov dword [ebp - 0x24], esi
call fcn.00421ef2
mov al, byte [ebp + 0xb]
xor edi, edi
push edi
lea ecx, [ebp - 0x34]
mov dword [ebp - 4], edi
mov byte [ebp - 0x34], al
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Tidy_bool_]
push 1
lea eax, [ebp - 0x138]
pop ebx
push dword [0x4508b8]
mov byte [ebp - 4], bl
push eax
call 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__]
pop ecx
test al, al
pop ecx
je 0x406c7f
mov ecx, dword [esi + 0x518]
cmp ecx, edi
je 0x406c41
push edi
push edi
call fcn.0042e2c4
lea eax, [ebp - 0x108]
mov byte [esi + 0x54d], bl
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.00426e2e
pop ecx
pop ecx
mov ecx, dword [sym.imp.MSVCP60.dll_unsigned_int_const_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::npos]
mov byte [ebp - 4], 2
push dword [ecx]
lea ecx, [ebp - 0x34]
push edi
push eax
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int______thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::assign_class_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int___const___unsigned_int__unsigned_int_]
push ebx
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], bl
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Tidy_bool_]
jmp 0x406cc4
push ebx
lea eax, [esi + 0x51c]
push edi
push edi
push eax
lea eax, [esi + 0x52c]
push eax
lea eax, [ebp - 0x20]
push eax
mov ecx, esi
mov byte [ebp - 4], 3
call fcn.00408f11
push ebx
lea ecx, [ebp - 0x20]
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Tidy_bool_]
mov eax, dword [sym.imp.MSVCP60.dll_unsigned_int_const_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::npos]
lea ecx, [ebp - 0x34]
push dword [eax]
lea eax, [esi + 0x51c]
push edi
push eax
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int______thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::assign_class_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int___const___unsigned_int__unsigned_int_]
mov dword [ebp - 4], ebx
cmp byte [esi + 0x54d], 0
je 0x406ce9
mov eax, dword [ebp - 0x30]
cmp eax, edi
jne 0x406cd9
mov eax, dword [sym.imp.MSVCP60.dll_unsigned_short_int_const__private:_static_unsigned_short_int_const____cdecl_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Nullstr_void_::_2::_C]
push ebx
push edi
push edi
push eax
push str.open
push edi
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
push 2
push edi
push 0x111
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_SendMessageW]
and byte [ebp - 4], 0
push ebx
jmp 0x406e5d
lea ecx, [ebp - 0x34]
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Tidy_bool_]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x168]
call fcn.00405fe7
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 4