Function at 0x414830
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x505170
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x55306c]
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 0x4149f1
push 0xd
call dword [sym.imp.USER32.dll_GetClipboardData]
mov esi, eax
test esi, esi
je 0x4149eb
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov edx, eax
test edx, edx
je 0x4149eb
mov ecx, edx
lea edi, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4148c0
sub ecx, edi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x28]
call fcn.00406aa0
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 0x414962
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 0x41494b
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 0x41495c
push ecx
mov byte [ebp - 0x44], 0
push dword [ebp - 0x44]
push ecx
lea ecx, [ebp - 0x40]
call fcn.00414c40
inc esi
cmp esi, dword [ebp - 0x18]
jb 0x414916
mov ebx, dword [ebp - 0x48]
lea eax, [ebp - 0x40]
push eax
push dword [ebx + 4]
call fcn.004be990
add esp, 8
test al, al
je 0x414994
mov eax, dword [ebx + 0x18]
test eax, eax
je 0x414994
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 0x4149d2
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4149c8
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x414a5d
push edx
push ecx
call fcn.004c2683
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 0x4149f4
call dword [sym.imp.USER32.dll_CloseClipboard]
mov edi, dword [ebp - 0x28]
mov dword [ebp - 4], 0xffffffff
cmp ebx, 8
jb 0x414a2b
lea ecx, [ebx*2 + 2]
mov eax, edi
cmp ecx, 0x1000
jb 0x414a21
mov edi, dword [edi - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x414a62
push ecx
push edi
call fcn.004c2683
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.004c1e08
mov esp, ebp
pop ebp
ret 0x10
call fcn.004e546f
call fcn.004e546f
int3