Function at 0x465640
Capabilities:
Open clipboard
Read clipboard data
Write clipboard data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x542a38
push eax
mov eax, dword [esp + 0x10]
mov dword fs:[0], esp
sub esp, 0x2c
add eax, 0xfafcffff
cmp eax, 6
push ebx
push ebp
push esi
push edi
mov esi, ecx
ja case.default.0x465670
jmp dword [eax*4 + 0x465924]
mov esi, dword [esi + 0x8ac]
test esi, esi
je 0x465768
mov eax, dword [esp + 0x54]
mov ecx, dword [eax + 0xc]
mov edx, dword [eax + 8]
push ecx
mov ecx, dword [eax + 4]
push edx
mov edx, dword [eax]
push ecx
push edx
lea ecx, [esi + 0x818]
call fcn.00490860
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x2c]
mov dword fs:[0], ecx
add esp, 0x38
ret 0x10
mov ecx, esi
call fcn.00457da0
test eax, eax
je case.default.0x465670
mov eax, dword [eax + 0x3c]
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x2c]
mov dword fs:[0], ecx
add esp, 0x38
ret 0x10
mov eax, dword [esp + 0x54]
lea ecx, [esp + 0x4c]
push eax
call fcn.005199e4
push eax
mov ecx, esi
mov dword [esp + 0x48], 0
call fcn.0045c850
lea ecx, [esp + 0x4c]
mov esi, eax
mov dword [esp + 0x44], 0xffffffff
call fcn.00519976
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x2c]
mov dword fs:[0], ecx
add esp, 0x38
ret 0x10
lea ecx, [esp + 0x10]
call fcn.0051eb52
mov ecx, esi
mov dword [esp + 0x10], 0x550cf4
mov dword [esp + 0x38], 1
call fcn.00457da0
mov edi, dword [esp + 0x54]
test eax, eax
je 0x465782
mov edx, dword [eax]
lea ecx, [esp + 0x10]
push ecx
push edi
mov ecx, eax
call dword [edx + 0xc0]
test eax, eax
je 0x465782
cmp eax, 2
jne 0x46579d
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
mov ecx, dword [esp + 0x2c]
mov dword fs:[0], ecx
add esp, 0x38
ret 0x10
lea edx, [esp + 0x10]
mov ecx, esi
push edx
push edi
call fcn.004079e0
cmp eax, 2
mov eax, 1
je 0x46590e
mov eax, dword [esp + 0x38]
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x2c]
mov dword fs:[0], ecx
add esp, 0x38
ret 0x10
xor esi, esi
push esi
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x4657e7
mov eax, dword [0x59a5b4]
and eax, 0xffff
push eax
call dword [sym.imp.USER32.dll_GetClipboardData]
test eax, eax
je 0x4657e1
push eax
call dword [sym.imp.KERNEL32.dll_GlobalSize]
mov esi, eax
call dword [sym.imp.USER32.dll_CloseClipboard]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x2c]
mov dword fs:[0], ecx
add esp, 0x38
ret 0x10
xor esi, esi
push esi
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x4658f5
mov ecx, dword [0x59a5b4]
and ecx, 0xffff
push ecx
call dword [sym.imp.USER32.dll_GetClipboardData]
mov ebx, eax
test ebx, ebx
je 0x4658ef
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalSize]
push ebx
mov ebp, eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov edi, dword [esp + 0x54]
mov ecx, ebp
mov edx, ecx
mov esi, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
push ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov esi, 1
call dword [sym.imp.USER32.dll_CloseClipboard]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x2c]
mov dword fs:[0], ecx
add esp, 0x38
ret 0x10
mov ebp, dword [esp + 0x58]
xor esi, esi
test ebp, ebp
jle 0x4658f5
push esi
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x4658f5
call dword [sym.imp.USER32.dll_EmptyClipboard]
push ebp
push 0x42
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebx, eax
test ebx, ebx
je 0x4658ef
mov esi, dword [esp + 0x54]
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov ecx, ebp
mov edi, eax
mov eax, ecx
push ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push 0
push ebx
mov ecx, 0x599ae0
call fcn.0046a800
mov ecx, dword [0x59a5b4]
push ebx
and ecx, 0xffff
push ecx
call dword [sym.imp.USER32.dll_SetClipboardData]
mov esi, 1
call dword [sym.imp.USER32.dll_CloseClipboard]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x2c]
mov dword fs:[0], ecx
add esp, 0x38
ret 0x10
xor eax, eax
mov ecx, dword [esp + 0x3c]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x38
ret 0x10