Function at 0x4a4290
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push 0xffffffffffffffff
push 0x4ec060
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x24], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [section..data]
xor eax, esp
push eax
lea eax, [esp + 0x3c]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x18], esi
xorps xmm0, xmm0
mov dword [esp + 0x34], 0
movq qword [esp + 0x2c], xmm0
mov dword [esp + 0x2c], 0
mov dword [esp + 0x30], 0
mov dword [esp + 0x34], 0
lea ecx, [esi + 8]
mov dword [esp + 0x44], 0
lea edx, [esp + 0x2c]
call fcn.004a3bd0
xorps xmm0, xmm0
mov dword [esp + 0x28], 0
movq qword [esp + 0x20], xmm0
push 8
mov dword [esp + 0x24], 0
call fcn.004df9b3
mov ebx, eax
add esp, 4
test ebx, ebx
jne 0x4a4341
mov byte [esp + 0x17], al
lea eax, [esp + 0x17]
push 0x51c2c8
push eax
call fcn.004ea58e
xor edi, edi
mov dword [esp + 0x20], ebx
xor eax, eax
mov dword [esp + 0x24], edi
mov dword [esp + 0x28], 3
mov word [ebx], ax
mov byte [esp + 0x44], 1
mov dword [esp + 0x1c], eax
cmp dword [esp + 0x30], eax
jbe 0x4a44b3
jmp 0x4a4370
mov ecx, dword [esp + 0x2c]
mov ebp, dword [ecx + eax*4]
mov eax, dword [esi + 0x1c]
mov esi, dword [eax + ebp*4]
mov eax, dword [esp + 0x28]
sub eax, edi
mov ecx, dword [esi + 4]
cmp ecx, eax
jbe 0x4a43ab
add ecx, edi
mov eax, ecx
add ecx, 0x10
shr eax, 1
add eax, ecx
lea ecx, [esp + 0x20]
and eax, 0xfffffff0
dec eax
push eax
call fcn.00412180
mov edi, dword [esp + 0x24]
mov ebx, dword [esp + 0x20]
mov eax, dword [esi + 4]
lea ecx, [ebx + edi*2]
inc eax
add eax, eax
push eax
push dword [esi]
push ecx
call fcn.004e4930
mov eax, dword [esp + 0x24]
add esp, 0xc
add edi, dword [esi + 4]
mov dword [esp + 0x24], edi
cmp dword [eax + 0x38], 1
jbe 0x4a4438
cmp ebp, dword [eax + 0x2c]
jae 0x4a4438
mov eax, dword [eax + 0x28]
lea ecx, [esp + 0x20]
push 0x5026dc
mov esi, dword [eax + ebp*4]
call fcn.00412c30
mov eax, dword [esp + 0x28]
mov edi, dword [esp + 0x24]
sub eax, edi
mov ecx, dword [esi + 4]
cmp ecx, eax
jbe 0x4a4418
add ecx, edi
mov eax, ecx
add ecx, 0x10
shr eax, 1
add eax, ecx
lea ecx, [esp + 0x20]
and eax, 0xfffffff0
dec eax
push eax
call fcn.00412180
mov edi, dword [esp + 0x24]
mov eax, dword [esi + 4]
mov ebx, dword [esp + 0x20]
inc eax
add eax, eax
push eax
push dword [esi]
lea ecx, [ebx + edi*2]
push ecx
call fcn.004e4930
add esp, 0xc
add edi, dword [esi + 4]
mov dword [esp + 0x24], edi
xor esi, esi
lea ebx, [ebx]
inc esi
cmp byte [esi + 0x505acc], 0
jne 0x4a4440
mov eax, dword [esp + 0x28]
sub eax, edi
cmp esi, eax
jbe 0x4a4476
lea ecx, [edi + esi]
mov eax, ecx
add ecx, 0x10
shr eax, 1
add eax, ecx
lea ecx, [esp + 0x20]
and eax, 0xfffffff0
dec eax
push eax
call fcn.00412180
mov edi, dword [esp + 0x24]
mov ebx, dword [esp + 0x20]
xor ecx, ecx
lea edx, [ebx + edi*2]
test esi, esi
je 0x4a4490
nop
movzx eax, byte [ecx + 0x505acc]
mov word [edx + ecx*2], ax
inc ecx
cmp ecx, esi
jb 0x4a4480
xor eax, eax
add edi, esi
mov word [edx + esi*2], ax
mov eax, dword [esp + 0x1c]
mov esi, dword [esp + 0x18]
inc eax
mov dword [esp + 0x24], edi
mov dword [esp + 0x1c], eax
cmp eax, dword [esp + 0x30]
jb 0x4a4370
push dword [esi + 4]
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
setne al
test al, al
je 0x4a451f
call dword [sym.imp.USER32.dll_EmptyClipboard]
test eax, eax
je 0x4a4519
lea edi, [edi*2 + 2]
push edi
push 0x2002
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
test esi, esi
je 0x4a4519
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
test eax, eax
je 0x4a4512
push edi
push ebx
push eax
call fcn.004e4930
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push esi
push 0xd
call dword [sym.imp.USER32.dll_SetClipboardData]
test eax, eax
jne 0x4a4519
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
call dword [sym.imp.USER32.dll_CloseClipboard]
push ebx
mov byte [esp + 0x48], 0
call fcn.004df97b
mov dword [esp + 0x48], 0xffffffff
push dword [esp + 0x30]
call fcn.004df97b
add esp, 8
mov ecx, dword [esp + 0x3c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x24]
xor ecx, esp
call fcn.004df96c
add esp, 0x34
ret