Function at 0x4916a0
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50bf3b
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x268
mov eax, dword [0x542040]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x24c], edx
push 0
push 0
push 0x1004
mov dword [ebp - 0x258], ecx
push dword [ecx + 0x98]
call dword [sym.imp.USER32.dll_SendMessageW]
mov esi, dword [ebp - 0x258]
mov edi, eax
mov eax, 0x66666667
mov dword [ebp - 0x264], edi
mov ecx, dword [esi + 0x2c]
sub ecx, dword [esi + 0x28]
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp edi, eax
je 0x491748
push 0
push 0x51c3bc
push 0x520834
push dword [esi + 0x94]
call dword [sym.imp.USER32.dll_MessageBoxW]
jmp 0x491adf
xorps xmm0, xmm0
mov dword [ebp - 0x234], 0
xor eax, eax
mov dword [ebp - 0x230], 7
movups xmmword [ebp - 0x244], xmm0
mov word [ebp - 0x244], ax
push 0x1000000
lea ecx, [ebp - 0x244]
mov dword [ebp - 4], eax
call fcn.0043a1e0
xorps xmm0, xmm0
mov dword [ebp - 0x224], 0
xor ecx, ecx
movq qword [ebp - 0x22c], xmm0
xor eax, eax
mov dword [ebp - 0x25c], ecx
xor esi, esi
mov dword [ebp - 0x22c], ecx
mov dword [ebp - 0x228], esi
mov dword [ebp - 0x260], eax
mov dword [ebp - 0x224], eax
mov byte [ebp - 4], 1
mov dword [ebp - 0x250], edi
test edi, edi
je 0x491805
cmp edi, 0x1fffffff
ja 0x491afd
lea eax, [ebp - 0x250]
push eax
lea ecx, [ebp - 0x22c]
call fcn.00494140
mov eax, dword [ebp - 0x224]
mov ecx, dword [ebp - 0x22c]
mov esi, dword [ebp - 0x228]
mov dword [ebp - 0x260], eax
mov dword [ebp - 0x25c], ecx
xor edi, edi
mov dword [ebp - 0x248], 0
cmp dword [ebp - 0x264], edi
jle 0x4918e1
mov dword [ebp - 0x25c], edi
mov eax, dword [ebp - 0x258]
push 2
push edi
push 0x102c
push dword [eax + 0x98]
call dword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
je 0x4918c1
mov eax, dword [ebp - 0x258]
mov ecx, dword [ebp - 0x25c]
mov dword [ebp - 0x254], edi
mov eax, dword [eax + 0x28]
mov ecx, dword [eax + ecx + 8]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x491861
sub ecx, edx
sar ecx, 1
mov dword [ebp - 0x250], ecx
cmp ecx, dword [ebp - 0x248]
jle 0x491884
mov dword [ebp - 0x248], ecx
cmp esi, dword [ebp - 0x260]
je 0x49189c
mov dword [esi], edi
mov dword [esi + 4], ecx
add esi, 8
mov dword [ebp - 0x228], esi
jmp 0x4918c1
lea eax, [ebp - 0x254]
push eax
push esi
lea ecx, [ebp - 0x22c]
call fcn.0040b6f0
mov eax, dword [ebp - 0x224]
mov esi, dword [ebp - 0x228]
mov dword [ebp - 0x260], eax
add dword [ebp - 0x25c], 0x28
inc edi
cmp edi, dword [ebp - 0x264]
jl 0x491823
mov ecx, dword [ebp - 0x22c]
mov dword [ebp - 0x25c], ecx
lea eax, [ebp - 0x258]
mov dword [ebp - 0x278], eax
lea eax, [ebp - 0x24c]
mov dword [ebp - 0x274], eax
lea eax, [ebp - 0x244]
mov dword [ebp - 0x270], eax
lea eax, [ebp - 0x248]
mov dword [ebp - 0x26c], eax
lea eax, [ebp - 0x220]
mov dword [ebp - 0x268], eax
mov eax, dword [ebp - 0x24c]
sub eax, 0x1003
je 0x491938
sub eax, 2
jne 0x491950
push 1
push 0x533308
jmp 0x49193f
push 3
push 0x533300
lea ecx, [ebp - 0x244]
call fcn.0043a2f0
mov ecx, dword [ebp - 0x25c]
mov edi, ecx
cmp edi, esi
je 0x491974
nop word [eax + eax]
push dword [edi]
lea ecx, [ebp - 0x278]
call fcn.00491b10
add edi, 8
cmp edi, esi
jne 0x491960
mov eax, dword [ebp - 0x24c]
sub eax, 0x1003
je 0x4919d2
sub eax, 2
jne 0x4919e4
mov ecx, dword [ebp - 0x234]
lea eax, [ebp - 0x244]
dec ecx
cmp dword [ebp - 0x230], 7
mov dword [ebp - 0x234], ecx
cmova eax, dword [ebp - 0x244]
xor edx, edx
mov word [eax + ecx*2], dx
lea eax, [ebp - 0x244]
mov ecx, dword [ebp - 0x234]
dec ecx
cmp dword [ebp - 0x230], 7
mov dword [ebp - 0x234], ecx
cmova eax, dword [ebp - 0x244]
mov word [eax + ecx*2], dx
push 3
push 0x5332ec
lea ecx, [ebp - 0x244]
call fcn.0043a2f0
mov ecx, dword [ebp - 0x234]
test ecx, ecx
jne 0x491a10
mov eax, dword [ebp - 0x258]
push ecx
push 0x5332f4
push 0x5332c4
push dword [eax + 0x94]
call dword [sym.imp.USER32.dll_MessageBoxW]
jmp 0x491a9b
cmp dword [ebp - 0x230], 7
lea esi, [ebp - 0x244]
cmova esi, dword [ebp - 0x244]
test esi, esi
je 0x491a9b
test ecx, ecx
jg 0x491a40
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x491a31
sub ecx, edx
sar ecx, 1
lea eax, [ecx*2 + 2]
push eax
push 0x42
mov dword [ebp - 0x250], eax
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov edi, eax
test edi, edi
je 0x491a9b
push edi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
test eax, eax
je 0x491a9b
push dword [ebp - 0x250]
push esi
push eax
call fcn.004def30
add esp, 0xc
push edi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push 0
call dword [sym.imp.USER32.dll_OpenClipboard]
call dword [sym.imp.USER32.dll_EmptyClipboard]
push edi
push 0xd
call dword [sym.imp.USER32.dll_SetClipboardData]
call dword [sym.imp.USER32.dll_CloseClipboard]
mov edx, dword [ebp - 0x25c]
test edx, edx
je 0x491ad4
mov ecx, dword [ebp - 0x260]
mov eax, edx
sub ecx, edx
and ecx, 0xfffffff8
cmp ecx, 0x1000
jb 0x491aca
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x491b02
push ecx
push edx
call fcn.004dadea
add esp, 8
lea ecx, [ebp - 0x244]
call fcn.00424d10
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004dadd7
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.0040b850
call fcn.004efa0b
int3