Function at 0x468b57
Capabilities:
Read clipboard data
Write clipboard data

Disassembly:
mov ecx, dword [0x628a50]
sub esp, 0xc
test ecx, ecx
push ebx
push ebp
push esi
push edi
jne 0x468d36
mov esi, dword [sym.imp.USER32.dll_IsClipboardFormatAvailable]
push 0xd
pop edi
push edi
call esi
push 1
call esi
mov esi, dword [esp + 0x20]
cmp esi, 7
jne 0x468b88
push esi
jmp 0x468b89
push edi
mov ebp, dword [sym.imp.USER32.dll_GetClipboardData]
call ebp
test eax, eax
mov dword [esp + 0x20], eax
jne 0x468ba1
cmp dword [0x628a34], eax
je 0x468bb5
cmp esi, edi
je 0x468d2d
mov eax, dword [esp + 0x20]
test eax, eax
jne 0x468c44
push 1
call ebp
cmp esi, edi
jne 0x468c3b
mov ebp, dword [sym.imp.KERNEL32.dll_GlobalLock]
push eax
call ebp
mov edi, eax
test edi, edi
je 0x468d2d
push edi
call fcn.00525390
pop ecx
lea eax, [eax + eax + 2]
push eax
push 0x42
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
test esi, esi
je 0x468d2d
push esi
call ebp
mov ebp, eax
xor ebx, ebx
cmp ebp, ebx
je 0x468c35
push edi
call fcn.00525390
pop ecx
lea eax, [eax + eax + 2]
push eax
push ebp
push edi
call fcn.00525390
pop ecx
push eax
push edi
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
push esi
mov word [ebp + eax*2], bx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push esi
push 0xd
mov dword [esp + 0x28], esi
call dword [sym.imp.USER32.dll_SetClipboardData]
jmp 0x468d2d
push esi
jmp 0x468d27
mov dword [esp + 0x20], eax
jmp 0x468d2d
cmp esi, 7
je 0x46901f
push dword [esp + 0x20]
mov ebx, dword [sym.imp.KERNEL32.dll_GlobalLock]
call ebx
mov edi, eax
test edi, edi
je 0x468d2d
push edi
call fcn.00524463
pop ecx
lea eax, [eax + eax + 1]
push eax
push 0x42
mov dword [esp + 0x20], eax
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
test eax, eax
mov dword [esp + 0x10], eax
je 0x468d2d
and dword [esp + 0x14], 0
push eax
call ebx
mov esi, eax
test esi, esi
je 0x468d23
push 0
push 0
push dword [esp + 0x20]
push esi
push edi
call fcn.00524463
pop ecx
push eax
push edi
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov edi, eax
push 1
and byte [edi + esi], 0
call ebp
mov ebp, eax
test ebp, ebp
je 0x468ce8
push ebp
call ebx
test eax, eax
je 0x468ce1
push esi
push eax
call fcn.00526f30
pop ecx
test eax, eax
pop ecx
jne 0x468ce1
mov dword [esp + 0x14], 1
push ebp
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov esi, dword [esp + 0x10]
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
cmp dword [esp + 0x14], 0
je 0x468d07
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov dword [esp + 0x20], ebp
jmp 0x468d2d
inc edi
push 2
push edi
push esi
call dword [sym.imp.KERNEL32.dll_GlobalReAlloc]
mov esi, eax
push esi
push 1
call dword [sym.imp.USER32.dll_SetClipboardData]
mov dword [esp + 0x20], esi
jmp 0x468d2d
push dword [esp + 0x10]
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, dword [esp + 0x20]
jmp 0x46901f
cmp ecx, 0xa
jge 0x46901d
lea edx, [ecx + ecx*2]
shl edx, 2
mov eax, dword [edx + 0x6539e0]
test eax, eax
jne 0x468d63
cmp dword [edx + 0x6539e4], eax
jne 0x468d63
cmp dword [edx + 0x6539e8], eax
je 0x46901d
mov esi, dword [ecx*4 + 0x663520]
cmp dword [esp + 0x20], esi
jne 0x468d9f
mov ecx, dword [esp + 0x20]
dec ecx
je 0x46901f
sub ecx, 6
je 0x468d94
sub ecx, 6
jne 0x46901d
mov eax, dword [edx + 0x6539e8]
jmp 0x46901f
mov eax, dword [edx + 0x6539e4]
jmp 0x46901f
push 1
pop eax
cmp esi, eax
jne 0x468daa
xor eax, eax
jmp 0x468dbb
cmp esi, 7
je 0x468dbb
cmp esi, 0xd
jne 0x46901d
push 2
pop eax
lea eax, [eax + ecx*2]
add ecx, eax
push dword [ecx*4 + 0x6539e0]
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov esi, eax
test esi, esi
je 0x46901d
mov eax, dword [0x628a50]
mov ebx, dword [sym.imp.KERNEL32.dll_GlobalAlloc]
cmp dword [eax*4 + 0x663520], 7
jne 0x468e5c
lea ecx, [eax + eax*2]
cmp dword [ecx*4 + 0x6539e0], 0
jne 0x468e51
push esi
call fcn.00525390
pop ecx
inc eax
push eax
push 0x42
call ebx
mov edi, eax
test edi, edi
je 0x468e4c
push edi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov ebp, eax
test ebp, ebp
je 0x468e32
push esi
call fcn.00525390
pop ecx
push eax
push ebp
push esi
call dword [sym.imp.USER32.dll_OemToCharBuffA]
push edi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
jmp 0x468e3b
push edi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
xor edi, edi
mov eax, dword [0x628a50]
lea ecx, [eax + eax*2]
mov dword [ecx*4 + 0x6539e0], edi
jmp 0x468e51
mov eax, dword [0x628a50]
cmp dword [esp + 0x20], 1
je 0x468f01
mov ecx, dword [eax*4 + 0x663520]
cmp ecx, 1
je 0x468f8f
cmp ecx, 7
je 0x468f8f
cmp ecx, 0xd
jne 0x46901d
lea ecx, [eax + eax*2]
cmp dword [ecx*4 + 0x6539e0], 0
jne 0x468efa
push esi
call fcn.00524463
inc eax
pop ecx
inc eax
push eax
push 0x42
call ebx
mov edi, eax
test edi, edi
je 0x468ef5
push edi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov ebp, eax
test ebp, ebp
je 0x468edb
push 0
push 0
push esi
call fcn.00524463
inc eax
pop ecx
inc eax
push eax
push ebp
push esi
call fcn.00524463
pop ecx
push eax
push esi
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
and byte [eax + ebp], 0
push edi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
jmp 0x468ee4
push edi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
xor edi, edi
mov eax, dword [0x628a50]
lea ecx, [eax + eax*2]
mov dword [ecx*4 + 0x6539e0], edi
jmp 0x468efa
mov eax, dword [0x628a50]
cmp dword [esp + 0x20], 1
jne 0x468f10
lea eax, [eax + eax*2]
mov eax, dword [eax*4 + 0x6539e0]
jmp 0x46901f
cmp dword [esp + 0x20], 7
jne 0x46901d
lea ecx, [eax + eax*2]
cmp dword [ecx*4 + 0x6539e4], 0
jne 0x468f80
push esi
call fcn.00525390
pop ecx
inc eax
push eax
push 0x42
call ebx
mov edi, eax
test edi, edi
je 0x468f7b
push edi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov ebx, eax
test ebx, ebx
je 0x468f61
push esi
call fcn.00525390
pop ecx
push eax
push ebx
push esi
call dword [sym.imp.USER32.dll_CharToOemBuffA]
push edi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
jmp 0x468f6a
push edi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
xor edi, edi
mov eax, dword [0x628a50]
lea ecx, [eax + eax*2]
mov dword [ecx*4 + 0x6539e4], edi
jmp 0x468f80
mov eax, dword [0x628a50]
lea eax, [eax + eax*2]
mov eax, dword [eax*4 + 0x6539e4]
jmp 0x46901f
cmp dword [esp + 0x20], 7
lea ecx, [eax + eax*2]
je 0x468f1e
xor ebp, ebp
cmp dword [ecx*4 + 0x6539e8], ebp
jne 0x469011
push esi
call fcn.00525390
pop ecx
lea eax, [eax + eax + 2]
push eax
push 0x42
call ebx
mov edi, eax
cmp edi, ebp
je 0x46900c
push edi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov ebx, eax
cmp ebx, ebp
je 0x468ff2
push esi
call fcn.00525390
pop ecx
lea eax, [eax + eax + 2]
push eax
push ebx
push esi
call fcn.00525390
pop ecx
push eax
push esi
push ebp
push ebp
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
push edi
mov word [ebx + eax*2], bp
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
jmp 0x468ffb
push edi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
xor edi, edi
mov eax, dword [0x628a50]
lea ecx, [eax + eax*2]
mov dword [ecx*4 + 0x6539e8], edi
jmp 0x469011
mov eax, dword [0x628a50]
lea eax, [eax + eax*2]
mov eax, dword [eax*4 + 0x6539e8]
jmp 0x46901f
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret