Function at 0x421f7d
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
mov eax, 0x4ace93
call fcn.0049f0d0
sub esp, 0xf0
mov eax, dword [0x4f0dd0]
push ebx
xor eax, ebp
push esi
xor ebx, ebx
cmp dword [ebp + 8], ebx
mov esi, ecx
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x5c], esi
jne 0x421fc4
push 0xd
call dword [sym.imp.USER32.dll_IsClipboardFormatAvailable]
test eax, eax
je 0x422157
mov ecx, esi
call fcn.00421de9
test al, al
jne 0x422157
push dword [esi + 4]
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x422157
push edi
mov dword [ebp - 0x54], ebx
mov dword [ebp - 0x50], ebx
mov dword [ebp - 0x4c], ebx
push 0xd
mov dword [ebp - 4], ebx
call dword [sym.imp.USER32.dll_GetClipboardData]
mov edi, eax
cmp edi, ebx
je 0x422123
xor ebx, ebx
inc ebx
test byte [0x4f49c0], bl
mov esi, 0x4f49a4
jne 0x422024
or dword [0x4f49c0], ebx
mov ecx, esi
mov byte [ebp - 4], bl
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_void_]
push 0x4b6ac6
call fcn.0049f1d6
pop ecx
mov byte [ebp - 4], 0
push edi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push eax
lea ecx, [ebp - 0x48]
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_wchar_t_const__]
push edi
mov byte [ebp - 4], 2
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
cmp dword [ebp + 8], 0
jne 0x42205f
lea eax, [ebp - 0x48]
push eax
push 0x4f49a4
call dword [sym.imp.MSVCP71.dll_bool___cdecl_std::operator__wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const___class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const__]
test al, al
pop ecx
pop ecx
je 0x422111
lea eax, [ebp - 0x48]
push eax
mov ecx, esi
call dword [0x4b743c]
push ebx
push ebx
lea eax, [ebp - 0x48]
push eax
lea ecx, [ebp - 0xfc]
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_istringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const___int_]
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 3
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_void_]
mov byte [ebp - 4], 4
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0xfc]
push eax
call fcn.0040fb39
test eax, eax
pop ecx
pop ecx
jne 0x4220a8
xor ecx, ecx
jmp 0x4220af
mov ecx, dword [eax]
mov ecx, dword [ecx + 4]
add ecx, eax
call dword [sym.imp.MSVCP71.dll_public:_void____thiscall_std::ios_base::operator_void__void_const]
test eax, eax
je 0x4220f4
push 0xd
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x78]
push eax
call fcn.00421d78
add esp, 0xc
push eax
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 5
call dword [0x4b743c]
lea ecx, [ebp - 0x78]
mov byte [ebp - 4], 4
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x58]
call fcn.0040af51
jmp 0x42208e
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 3
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
lea ecx, [ebp - 0xfc]
mov byte [ebp - 4], 2
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_istringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::vbase_dtor_void_]
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 0
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
mov esi, dword [ebp - 0x5c]
xor ebx, ebx
call dword [sym.imp.USER32.dll_CloseClipboard]
cmp dword [esi + 0x28], ebx
pop edi
lea ecx, [ebp - 0x58]
je 0x42214e
call fcn.00425516
test eax, eax
je 0x42214b
cmp dword [esi + 0x2c], ebx
je 0x42214b
mov ecx, dword [esi + 0x2c]
mov eax, dword [ecx]
lea edx, [ebp - 0x58]
push edx
call dword [eax]
lea ecx, [ebp - 0x58]
or dword [ebp - 4], 0xffffffff
call fcn.0040ae86
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x10]
pop esi
xor ecx, ebp
xor eax, eax
pop ebx
call fcn.0049f127
leave
ret 4