Function at 0x4146e0
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
push 0xffffffffffffffff
push 0x43519f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
push ebp
push esi
push edi
mov edi, ecx
mov dword [esp + 0x14], 0
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString_4
mov ebx, 1
push 0
mov dword [esp + 0x28], ebx
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
jne 0x41475c
lea esi, [edi + 0x4c]
push 0x3e9
mov ecx, esi
call sub.MFC42.DLL_CString::LoadStringA
mov eax, dword [edi + 0x50]
mov esi, dword [esi]
push eax
push esi
push 0
mov ecx, edi
call fcn.004146b0
mov esi, dword [esp + 0x2c]
lea eax, [esp + 0x10]
push eax
mov ecx, esi
call sub.MFC42.DLL_CString::CString_2
mov dword [esp + 0x14], ebx
jmp 0x4148e1
mov esi, dword [sym.imp.USER32.dll_IsClipboardFormatAvailable]
push ebx
call esi
test eax, eax
jne 0x414790
push 7
call esi
test eax, eax
jne 0x414790
call dword [sym.imp.USER32.dll_CloseClipboard]
mov esi, dword [esp + 0x2c]
lea ecx, [esp + 0x10]
push ecx
mov ecx, esi
call sub.MFC42.DLL_CString::CString_2
mov dword [esp + 0x14], ebx
jmp 0x4148e1
push ebx
call dword [sym.imp.USER32.dll_GetClipboardData]
mov esi, eax
test esi, esi
jne 0x4147db
lea esi, [edi + 0x4c]
push 0x3ea
mov ecx, esi
call sub.MFC42.DLL_CString::LoadStringA
call dword [sym.imp.USER32.dll_CloseClipboard]
mov eax, dword [edi + 0x50]
mov esi, dword [esi]
push eax
push esi
push 0
mov ecx, edi
call fcn.004146b0
mov esi, dword [esp + 0x2c]
lea edx, [esp + 0x10]
push edx
mov ecx, esi
call sub.MFC42.DLL_CString::CString_2
mov dword [esp + 0x14], ebx
jmp 0x4148e1
push esi
call dword [sym.imp.KERNEL32.dll_GlobalSize]
mov edi, eax
lea eax, [edi + 1]
push eax
call sub.MFC42.DLL_operatornew
mov ecx, edi
mov ebx, eax
mov edx, ecx
mov edi, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
add esp, 4
and ecx, 3
mov dword [esp + 0x18], ebx
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.USER32.dll_CloseClipboard]
mov ebp, dword [esp + 0x30]
cmp ebp, 1
jge 0x414826
push ebx
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::operator_2
jmp 0x4148c0
mov edi, 1
mov esi, ebx
mov ebx, dword [sym.imp.MSVCRT.dll_strchr]
cmp ebp, edi
jle 0x41484d
push 0xd
push esi
call ebx
mov esi, eax
add esp, 8
test esi, esi
je 0x414877
add esi, 2
inc edi
cmp edi, ebp
jl 0x414837
push 0xd
push esi
call ebx
add esp, 8
test eax, eax
je 0x41485c
mov byte [eax], 0
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov eax, dword [esp + 0x34]
not ecx
dec ecx
cmp ecx, eax
jge 0x414896
push 0x445e70
jmp 0x4148b3
mov eax, dword [esp + 0x18]
push eax
call sub.MFC42.DLL_operatordelete
mov esi, dword [esp + 0x30]
add esp, 4
mov ecx, esi
push 0x445e70
call sub.MFC42.DLL_CString::CString_3
jmp 0x4148d9
lea edx, [esi + eax - 1]
or ecx, 0xffffffff
mov edi, edx
xor eax, eax
repne scasb al, byte es:[edi]
mov eax, dword [esp + 0x38]
not ecx
dec ecx
cmp ecx, eax
jle 0x4148b2
mov byte [edx + eax], 0
push edx
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::operator_2
mov ebx, dword [esp + 0x18]
push ebx
call sub.MFC42.DLL_operatordelete
mov esi, dword [esp + 0x30]
add esp, 4
lea ecx, [esp + 0x10]
push ecx
mov ecx, esi
call sub.MFC42.DLL_CString::CString_2
mov dword [esp + 0x14], 1
lea ecx, [esp + 0x10]
mov byte [esp + 0x24], 0
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x1c]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18
ret 0x10