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

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x542ae8
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.0x465870
jmp dword [eax*4 + 0x465b24]
mov esi, dword [esi + 0x8ac]
test esi, esi
je 0x465968
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.004908a0
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.00457f90
test eax, eax
je case.default.0x465870
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.00519a74
push eax
mov ecx, esi
mov dword [esp + 0x48], 0
call fcn.0045ca50
lea ecx, [esp + 0x4c]
mov esi, eax
mov dword [esp + 0x44], 0xffffffff
call fcn.00519a06
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.0051ebe5
mov ecx, esi
mov dword [esp + 0x10], 0x550cf4
mov dword [esp + 0x38], 1
call fcn.00457f90
mov edi, dword [esp + 0x54]
test eax, eax
je 0x465982
mov edx, dword [eax]
lea ecx, [esp + 0x10]
push ecx
push edi
mov ecx, eax
call dword [edx + 0xc0]
test eax, eax
je 0x465982
cmp eax, 2
jne 0x46599d
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.00407a80
cmp eax, 2
mov eax, 1
je 0x465b0e
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 0x4659e7
mov eax, dword [0x59a604]
and eax, 0xffff
push eax
call dword [sym.imp.USER32.dll_GetClipboardData]
test eax, eax
je 0x4659e1
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 0x465af5
mov ecx, dword [0x59a604]
and ecx, 0xffff
push ecx
call dword [sym.imp.USER32.dll_GetClipboardData]
mov ebx, eax
test ebx, ebx
je 0x465aef
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 0x465af5
push esi
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x465af5
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 0x465aef
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, 0x599b30
call fcn.0046a9f0
mov ecx, dword [0x59a604]
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