Function at 0x414b80
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x504260
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x55209c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x48], ecx
mov ebx, 7
mov dword [ebp - 0x14], 0
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
mov dword [ebp - 4], eax
push dword [ecx + 4]
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x414d41
push 0xd
call dword [sym.imp.USER32.dll_GetClipboardData]
mov esi, eax
test esi, esi
je 0x414d3b
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov edx, eax
test edx, edx
je 0x414d3b
mov ecx, edx
lea edi, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x414c10
sub ecx, edi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x28]
call fcn.00406ac0
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
call dword [sym.imp.USER32.dll_CloseClipboard]
xor eax, eax
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
mov byte [ebp - 4], 1
xor esi, esi
mov edi, dword [ebp - 0x28]
cmp dword [ebp - 0x18], esi
jbe 0x414cb2
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
mov edx, dword [ebp - 0x30]
mov ebx, dword [ebp - 0x2c]
cmovae eax, edi
movzx ecx, word [eax + esi*2]
cmp edx, ebx
jae 0x414c9b
lea eax, [edx + 1]
cmp ebx, 8
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x40]
cmovae eax, dword [ebp - 0x40]
mov word [eax + edx*2], cx
xor ecx, ecx
mov word [eax + edx*2 + 2], cx
jmp 0x414cac
push ecx
mov byte [ebp - 0x44], 0
push dword [ebp - 0x44]
push ecx
lea ecx, [ebp - 0x40]
call fcn.00414f90
inc esi
cmp esi, dword [ebp - 0x18]
jb 0x414c66
mov ebx, dword [ebp - 0x48]
lea eax, [ebp - 0x40]
push eax
push dword [ebx + 4]
call fcn.004bdff0
add esp, 8
test al, al
je 0x414ce4
mov eax, dword [ebx + 0x18]
test eax, eax
je 0x414ce4
push dword [eax + 0xc]
push dword [eax + 8]
push dword [eax + 4]
push dword [ebx + 4]
push dword [ebx + 0x20]
call dword [sym.imp.USER32.dll_CallWindowProcW]
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x2c]
cmp edx, 8
jb 0x414d22
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x414d18
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x414dad
push edx
push ecx
call fcn.004c27d8
add esp, 8
mov ebx, dword [ebp - 0x14]
xor eax, eax
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
jmp 0x414d44
call dword [sym.imp.USER32.dll_CloseClipboard]
mov edi, dword [ebp - 0x28]
mov dword [ebp - 4], 0xffffffff
cmp ebx, 8
jb 0x414d7b
lea ecx, [ebx*2 + 2]
mov eax, edi
cmp ecx, 0x1000
jb 0x414d71
mov edi, dword [edi - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x414db2
push ecx
push edi
call fcn.004c27d8
add esp, 8
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004c1f5d
mov esp, ebp
pop ebp
ret 0x10
call fcn.004e566f
call fcn.004e566f
int3