Function at 0x46eaa0
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x53d016
mov eax, dword fs:[0]
push eax
sub esp, 0x164
mov eax, dword [0x583384]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x140], esi
mov ebx, dword [esi + 0x6c]
mov ecx, dword [esi + 0x74]
mov edx, dword [esi + 0x68]
mov eax, dword [esi + 0x70]
mov dword [ebp - 0x148], edx
mov dword [ebp - 0x134], ebx
cmp ebx, ecx
jb 0x46eafe
ja 0x46eaf8
cmp edx, eax
jbe 0x46eafe
mov edi, eax
mov ebx, ecx
jmp 0x46eb00
mov edi, edx
cmp dword [ebp - 0x134], ecx
jb 0x46eb16
ja 0x46eb0e
cmp edx, eax
jbe 0x46eb16
mov eax, dword [ebp - 0x134]
jmp 0x46eb26
mov edx, eax
mov dword [ebp - 0x148], eax
mov eax, ecx
mov dword [ebp - 0x134], eax
cmp ebx, eax
jb 0x46eb38
ja 0x46ef80
cmp edi, edx
jae 0x46ef80
mov ecx, edx
sub ecx, edi
sbb eax, ebx
mov dword [ebp - 0x150], eax
jne 0x46ef80
cmp ecx, 0x10000
ja 0x46ef80
push 0x7f02
push 0
call dword [sym.imp.USER32.dll_LoadCursorA]
push eax
mov dword [ebp - 0x170], eax
call dword [sym.imp.USER32.dll_SetCursor]
mov dword [ebp - 0x16c], eax
mov byte [ebp - 0x168], 1
push dword [esi + 4]
mov dword [ebp - 4], 0
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x46ef74
call fcn.00406110
mov ecx, eax
test ecx, ecx
jne 0x46ebaa
push 0x80004005
call fcn.004063a0
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x144], eax
mov eax, dword [ebp - 0x148]
lea ecx, [ebp - 0x144]
sub eax, edi
mov byte [ebp - 4], 1
shl eax, 2
push eax
call fcn.0046e7e0
mov esi, dword [ebp - 0x144]
cmp dword [esi - 8], 0
jl 0x46efa0
push 0x100
lea eax, [ebp - 0x130]
mov dword [esi - 0xc], 0
push 0
push eax
mov byte [esi], 0
call fcn.00517590
mov edx, dword [ebp - 0x140]
add esp, 0xc
mov dword [ebp - 0x164], 0
mov dword [ebp - 0x138], edi
mov dword [ebp - 0x13c], ebx
mov eax, dword [edx + 0x5c]
mov ecx, dword [edx + 0x58]
mov dword [ebp - 0x158], ecx
mov dword [ebp - 0x15c], eax
cmp eax, dword [edx + 0x7c]
ja 0x46eef7
jb 0x46ec50
cmp ecx, dword [edx + 0x78]
jae 0x46eef7
nop word [eax + eax]
cmp eax, dword [ebp - 0x134]
ja 0x46eef1
jb 0x46ec6a
cmp ecx, dword [ebp - 0x148]
jae 0x46eef1
push dword [edx + 0xd0]
mov eax, dword [edx + 0x24]
lea ecx, [edx + 0x24]
push dword [edx + 0x28]
lea edx, [ebp - 0x130]
push edx
push dword [ebp - 0x15c]
push dword [ebp - 0x158]
call dword [eax]
test eax, eax
jle 0x46eeb1
mov ecx, dword [ebp - 0x140]
mov eax, dword [ecx + 0x84]
cmp eax, 3
je 0x46eda1
cmp eax, 2
je 0x46eda1
cmp eax, 4
jne 0x46eeb1
mov eax, dword [ecx + 0x28]
mov esi, edi
cdq
mov dword [ebp - 0x14c], ebx
cmp ebx, edx
ja 0x46eeb1
jb 0x46ecdb
cmp edi, eax
jae 0x46eeb1
mov ecx, dword [ebp - 0x138]
mov eax, dword [ebp - 0x134]
cmp dword [ebp - 0x13c], eax
ja 0x46eeb1
jb 0x46ed01
cmp ecx, dword [ebp - 0x148]
ja 0x46eeb1
mov bl, byte [ebp + esi - 0x130]
movsx eax, bl
push eax
call fcn.00526b43
add esp, 4
movzx ecx, bl
test eax, eax
mov edx, 0x2e
cmovne edx, ecx
lea ecx, [ebp - 0x144]
mov byte [ebp - 0x160], dl
push dword [ebp - 0x160]
call fcn.0046d960
mov ecx, dword [ebp - 0x138]
xorps xmm0, xmm0
mov eax, dword [ebp - 0x140]
add ecx, 1
mov ebx, dword [ebp - 0x14c]
adc dword [ebp - 0x13c], 0
add esi, 1
movlpd qword [ebp - 0x154], xmm0
mov eax, dword [eax + 0x28]
adc ebx, 0
cdq
mov dword [ebp - 0x138], ecx
mov dword [ebp - 0x14c], ebx
cmp ebx, edx
jb 0x46ed90
ja 0x46eea5
cmp esi, eax
jae 0x46eea5
nop word [eax + eax]
mov ebx, dword [ebp - 0x150]
mov edi, dword [ebp - 0x154]
jmp 0x46ece1
mov eax, dword [ecx + 0x28]
mov esi, edi
cdq
mov dword [ebp - 0x14c], ebx
cmp ebx, edx
ja 0x46eeb1
jb 0x46edbf
cmp edi, eax
jae 0x46eeb1
mov ecx, dword [ebp - 0x138]
nop word [eax + eax]
mov eax, dword [ebp - 0x134]
cmp dword [ebp - 0x13c], eax
ja 0x46eeb1
jb 0x46edf0
cmp ecx, dword [ebp - 0x148]
ja 0x46eeb1
movzx eax, byte [ebp + esi - 0x130]
push eax
lea eax, [ebp - 0x30]
push 0x549994
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
lea eax, [ebp - 0x30]
add esp, 0xc
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x46ee11
sub eax, edx
lea ecx, [ebp - 0x144]
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.004241f0
mov eax, dword [ebp - 0x164]
inc eax
mov dword [ebp - 0x164], eax
test al, 0xf
jne 0x46ee4d
push 2
push 0x5499a8
lea ecx, [ebp - 0x144]
call fcn.004241f0
mov ecx, dword [ebp - 0x138]
xorps xmm0, xmm0
mov eax, dword [ebp - 0x140]
add ecx, 1
mov ebx, dword [ebp - 0x14c]
adc dword [ebp - 0x13c], 0
add esi, 1
movlpd qword [ebp - 0x154], xmm0
mov eax, dword [eax + 0x28]
adc ebx, 0
cdq
mov dword [ebp - 0x138], ecx
mov dword [ebp - 0x14c], ebx
cmp ebx, edx
jb 0x46ee94
ja 0x46eea5
cmp esi, eax
jae 0x46eea5
mov ebx, dword [ebp - 0x150]
mov edi, dword [ebp - 0x154]
jmp 0x46edd0
mov edi, dword [ebp - 0x154]
mov ebx, dword [ebp - 0x150]
mov eax, dword [ebp - 0x140]
mov ecx, dword [ebp - 0x158]
mov eax, dword [eax + 0x28]
cdq
add ecx, eax
mov eax, dword [ebp - 0x15c]
mov dword [ebp - 0x158], ecx
adc eax, edx
mov edx, dword [ebp - 0x140]
mov dword [ebp - 0x15c], eax
cmp eax, dword [edx + 0x7c]
jb 0x46ec50
ja 0x46eef1
cmp ecx, dword [edx + 0x78]
jb 0x46ec50
mov esi, dword [ebp - 0x144]
call dword [sym.imp.USER32.dll_EmptyClipboard]
mov ecx, esi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x46ef02
sub ecx, edx
lea eax, [ecx + 1]
push eax
push 2
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebx, eax
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov edi, eax
mov dword [ebp - 0x160], eax
mov edx, esi
sub edi, esi
nop dword [eax]
mov cl, byte [edx]
lea edx, [edx + 1]
mov byte [edi + edx - 1], cl
test cl, cl
jne 0x46ef30
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push dword [ebp - 0x160]
push 1
call dword [sym.imp.USER32.dll_SetClipboardData]
call dword [sym.imp.USER32.dll_CloseClipboard]
mov byte [ebp - 4], 0
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x46ef74
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
push dword [ebp - 0x16c]
call dword [sym.imp.USER32.dll_SetCursor]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00513512
mov esp, ebp
pop ebp
ret 0x10
push 0x80070057
call fcn.004063a0
int3