Function at 0x406a9e
Capabilities:
Create process on windows

Disassembly:
mov eax, 0x43bc09
call fcn.0043ad60
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.00421ea0
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 [0x451c88]
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 0x406b48
mov ecx, dword [esi + 0x4fc]
cmp ecx, edi
je 0x406b0a
push edi
push edi
call fcn.0042dd3d
lea eax, [ebp - 0x108]
mov byte [esi + 0x531], bl
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.00426b54
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 0x406b8d
push ebx
lea eax, [esi + 0x500]
push edi
push edi
push eax
lea eax, [esi + 0x510]
push eax
lea eax, [ebp - 0x20]
push eax
mov ecx, esi
mov byte [ebp - 4], 3
call fcn.00408dae
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 + 0x500]
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 + 0x531], 0
je 0x406bb2
mov eax, dword [ebp - 0x30]
cmp eax, edi
jne 0x406ba2
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 0x406d26
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.00405eb0
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 4