Function at 0x440a40
Capabilities:
Open clipboard

Disassembly:
push 0xffffffffffffffff
push 0x44af51
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x34
mov al, byte [esp + 0x44]
push ebx
push ebp
push esi
push edi
xor edi, edi
mov dword [esp + 0x10], edi
mov byte [esp + 0x14], al
mov dword [esp + 0x18], edi
mov dword [esp + 0x1c], edi
mov dword [esp + 0x20], edi
mov ebx, 1
push edi
mov dword [esp + 0x50], ebx
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
jne 0x440b0f
mov esi, dword [esp + 0x54]
mov cl, byte [esp + 0x14]
mov byte [esi], cl
mov ecx, dword [esp + 0x18]
cmp ecx, edi
je 0x440aa9
mov eax, dword [esp + 0x1c]
sub eax, ecx
sar eax, 4
cmp eax, edi
jge 0x440aaf
xor eax, eax
shl eax, 4
push eax
call sub.MFC42u.DLL_operatornew
mov edx, dword [esp + 0x20]
add esp, 4
mov dword [esi + 4], eax
mov ecx, esi
push eax
mov eax, dword [esp + 0x1c]
push edx
push eax
call fcn.00428080
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
mov dword [esp + 0x10], ebx
mov eax, dword [esp + 0x1c]
mov edi, dword [esp + 0x18]
cmp edi, eax
mov byte [esp + 0x4c], 0
mov ebp, eax
je 0x440b01
push 0
mov ecx, edi
call fcn.00429110
add edi, 0x10
cmp edi, ebp
jne 0x440aed
mov edi, dword [esp + 0x18]
push edi
call sub.MFC42u.DLL_operatordelete
add esp, 4
jmp 0x440c13
mov ebp, dword [sym.imp.USER32.dll_EnumClipboardFormats]
push edi
call ebp
mov esi, eax
cmp esi, edi
je 0x440bbb
mov bl, byte [esp + 0x54]
lea ecx, [esp + 0x34]
push esi
push ecx
call fcn.00440c30
add esp, 8
mov edi, dword [esp + 0x38]
mov byte [esp + 0x4c], 2
test edi, edi
jne 0x440b47
mov edi, 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 0
lea ecx, [esp + 0x28]
mov byte [esp + 0x28], 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_]
push edi
call dword [sym.imp.MSVCRT.dll_wcslen]
add esp, 4
lea ecx, [esp + 0x24]
push eax
push edi
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_unsigned_short_int_const___unsigned_int_]
mov eax, dword [esp + 0x1c]
lea edx, [esp + 0x24]
push edx
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x54], 3
call fcn.00427be0
push 1
lea ecx, [esp + 0x28]
mov byte [esp + 0x50], 2
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 ecx, [esp + 0x38]
mov byte [esp + 0x50], 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_]
push esi
call ebp
mov esi, eax
test esi, esi
jne 0x440b26
xor edi, edi
mov ebx, 1
call dword [sym.imp.USER32.dll_CloseClipboard]
mov esi, dword [esp + 0x54]
mov cl, byte [esp + 0x14]
mov byte [esi], cl
lea ecx, [esp + 0x14]
call fcn.00427360
cmp eax, edi
jge 0x440bda
xor eax, eax
shl eax, 4
push eax
call sub.MFC42u.DLL_operatornew
mov edx, dword [esp + 0x20]
add esp, 4
mov dword [esi + 4], eax
mov ecx, esi
push eax
mov eax, dword [esp + 0x1c]
push edx
push eax
call fcn.00428080
lea ecx, [esp + 0x14]
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
mov dword [esp + 0x10], ebx
mov byte [esp + 0x4c], 0
call fcn.004270e0
mov ecx, dword [esp + 0x44]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x40
ret