Function at 0x4024b6
Capabilities:
Create process on windows
Open clipboard
Write clipboard data

Disassembly:
mov eax, 0x43060f
call fcn.0041aad0
sub esp, 0x850
cmp dword [ebp + 0xc], 1
push ebx
push esi
push edi
mov esi, ecx
jne 0x402540
push dword [esi + 4]
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x4026b5
mov eax, dword [esi + 0x90]
lea edi, [esi + 0x90]
inc eax
push eax
push 2
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebx, eax
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov esi, dword [esi + 0x8c]
mov edi, dword [edi]
test esi, esi
jne 0x402513
mov esi, 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]
inc edi
push edi
push esi
push eax
call sub.MSVCRT.dll_memcpy
add esp, 0xc
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
call dword [sym.imp.USER32.dll_EmptyClipboard]
push ebx
push 1
call dword [sym.imp.USER32.dll_SetClipboardData]
call dword [sym.imp.USER32.dll_CloseClipboard]
jmp 0x4026b5
cmp dword [ebp + 0xc], 0x4d
jne 0x4026a4
cmp dword [esi + 0x90], 0
je 0x402606
lea eax, [esi + 0x88]
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.0040c092
pop ecx
pop ecx
mov eax, dword [eax + 4]
and dword [ebp - 4], 0
mov ecx, 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]
test eax, eax
mov ebx, ecx
je 0x40257e
mov ebx, eax
mov eax, dword [esi + 0x6c]
mov edi, ecx
test eax, eax
je 0x402589
mov edi, eax
mov esi, dword [esi + 0x9c]
test esi, esi
jne 0x402595
mov esi, ecx
push dword [0x447268]
lea eax, [ebp - 0x3c]
push dword [0x4471fc]
push eax
call fcn.0040cbf4
push eax
lea eax, [ebp - 0x5c]
push eax
mov byte [ebp - 4], 1
call fcn.0040c092
mov eax, dword [eax + 4]
add esp, 0x14
test eax, eax
jne 0x4025c7
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 esi
push eax
lea eax, [ebp - 0x85c]
push eax
call dword [sym.imp.MSVCRT.dll_swprintf]
add esp, 0x14
lea ecx, [ebp - 0x5c]
push 1
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_]
and byte [ebp - 4], 0
push 1
lea ecx, [ebp - 0x3c]
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
or dword [ebp - 4], 0xffffffff
push 1
lea ecx, [ebp - 0x1c]
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 0x402685
mov eax, dword [esi + 0x6c]
mov ecx, 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]
test eax, eax
mov edi, ecx
je 0x402617
mov edi, eax
mov esi, dword [esi + 0x9c]
test esi, esi
jne 0x402623
mov esi, ecx
push dword [0x44726c]
lea eax, [ebp - 0x4c]
push dword [0x4471fc]
push eax
call fcn.0040cbf4
push eax
lea eax, [ebp - 0x2c]
push eax
mov dword [ebp - 4], 2
call fcn.0040c092
mov eax, dword [eax + 4]
add esp, 0x14
test eax, eax
jne 0x402658
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 edi
push esi
push eax
lea eax, [ebp - 0x85c]
push eax
call dword [sym.imp.MSVCRT.dll_swprintf]
add esp, 0x10
lea ecx, [ebp - 0x2c]
push 1
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
push 1
lea ecx, [ebp - 0x4c]
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, 0x449d54
push 5
push eax
push eax
lea eax, [ebp - 0x85c]
push eax
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
jmp 0x4026b5
cmp dword [ebp + 0xc], 2
jne 0x4026b5
push 2
push dword [esi + 4]
call dword [sym.imp.USER32.dll_EndDialog]
mov ecx, dword [ebp - 0xc]
push 1
pop eax
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 0x10