Function at 0x4e9f90
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push 0xffffffffffffffff
push 0x590760
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x54
push ebx
push ebp
push esi
mov esi, dword [sym.imp.USER32.dll_SendMessageA]
push edi
mov ebx, ecx
xor edi, edi
mov dword [esp + 0x14], ebx
mov eax, dword [ebx + 0x1c]
push edi
push edi
push 0x442
push eax
call esi
test al, 2
je 0x4ea3cb
mov ecx, dword [0x5f9f88]
mov dword [esp + 0x10], ecx
mov esi, 0x5999dc
mov dword [esp + 0x6c], edi
mov dword [esp + 0x50], esi
mov dword [esp + 0x54], edi
mov dword [esp + 0x60], edi
mov dword [esp + 0x5c], edi
mov dword [esp + 0x58], edi
lea edx, [esp + 0x50]
push 1
lea eax, [esp + 0x14]
push edx
lea ecx, [esp + 0x20]
push eax
push ecx
mov ecx, ebx
mov byte [esp + 0x7c], 1
call fcn.004e8fe0
lea ecx, [esp + 0x18]
call fcn.0056870c
mov edx, dword [esp + 0x10]
push 0x5fe7d8
push edx
call fcn.005503ed
add esp, 8
test eax, eax
je 0x4ea3b8
mov dword [esp + 0x28], esi
mov dword [esp + 0x2c], edi
mov dword [esp + 0x38], edi
mov dword [esp + 0x34], edi
mov dword [esp + 0x30], edi
mov eax, dword [esp + 0x58]
mov byte [esp + 0x6c], 2
cmp eax, edi
mov esi, eax
jne 0x4ea063
mov dword [esp + 0x34], edi
mov dword [esp + 0x30], edi
jmp 0x4ea086
shl eax, 2
push eax
call fcn.00567b03
add esp, 4
mov dword [esp + 0x2c], eax
push esi
push eax
call fcn.004cd3b0
mov eax, dword [esp + 0x58]
mov dword [esp + 0x34], esi
mov dword [esp + 0x30], esi
mov dword [esp + 0x3c], method.CGopherLocator.virtual_0
mov dword [esp + 0x40], edi
mov dword [esp + 0x4c], edi
mov dword [esp + 0x48], edi
mov dword [esp + 0x44], edi
cmp eax, edi
mov byte [esp + 0x6c], 3
mov esi, eax
jne 0x4ea0b3
mov dword [esp + 0x48], edi
mov dword [esp + 0x44], edi
jmp 0x4ea0da
lea ecx, [eax*4]
push ecx
call fcn.00567b03
add esp, 4
mov dword [esp + 0x40], eax
push esi
push eax
call fcn.004cd3b0
mov eax, dword [esp + 0x58]
mov dword [esp + 0x48], esi
mov dword [esp + 0x44], esi
xor ebp, ebp
xor esi, esi
cmp eax, edi
jle 0x4ea151
mov eax, dword [esp + 0x54]
lea edx, [esp + 0x18]
push edx
mov ecx, dword [eax + esi*4]
push ecx
mov ecx, ebx
call fcn.004e9440
cmp dword [esp + 0x18], edi
jne 0x4ea13a
cmp eax, edi
je 0x4ea13a
push 0x18
push edi
push eax
call fcn.00493050
mov edx, dword [esp + 0x40]
cmp eax, edi
mov dword [edx + esi*4], eax
je 0x4ea131
mov ecx, dword [esp + 0x2c]
push eax
lea ebx, [ecx + esi*4]
call dword [sym.imp.KERNEL32.dll_GlobalSize]
mov dword [ebx], eax
mov edx, dword [esp + 0x2c]
mov ebx, dword [esp + 0x14]
add ebp, dword [edx + esi*4]
jmp 0x4ea148
mov eax, dword [esp + 0x2c]
mov dword [eax + esi*4], edi
jmp 0x4ea148
mov ecx, dword [esp + 0x2c]
mov dword [ecx + esi*4], edi
mov edx, dword [esp + 0x40]
mov dword [edx + esi*4], edi
mov eax, dword [esp + 0x58]
inc esi
cmp esi, eax
jl 0x4ea0e2
mov ecx, dword [esp + 0x10]
mov ebx, dword [ecx - 8]
mov dword [esp + 0x1c], ebx
lea edx, [ebx + eax*8]
mov eax, dword [esp + 0x14]
inc ebx
mov ecx, dword [eax + 0x1c]
lea esi, [edx + ebp + 9]
push ecx
call dword [sym.imp.USER32.dll_OpenClipboard]
cmp eax, edi
jne 0x4ea1e2
mov eax, dword [esp + 0x40]
mov dword [esp + 0x3c], 0x5bae3c
cmp eax, edi
je 0x4ea18f
push eax
call fcn.00567b2c
add esp, 4
mov eax, dword [esp + 0x2c]
mov esi, 0x5999dc
cmp eax, edi
mov dword [esp + 0x28], esi
je 0x4ea1a9
push eax
call fcn.00567b2c
add esp, 4
mov eax, dword [esp + 0x54]
mov dword [esp + 0x50], esi
cmp eax, edi
je 0x4ea1be
push eax
call fcn.00567b2c
add esp, 4
lea ecx, [esp + 0x10]
mov dword [esp + 0x6c], 0xffffffff
call fcn.0056870c
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x54]
mov dword fs:[0], ecx
add esp, 0x60
ret
call dword [sym.imp.USER32.dll_EmptyClipboard]
push esi
push 0x2002
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
cmp eax, edi
mov dword [esp + 0x24], eax
jne 0x4ea26e
call dword [sym.imp.USER32.dll_CloseClipboard]
mov eax, dword [esp + 0x40]
mov dword [esp + 0x3c], 0x5bae3c
cmp eax, edi
je 0x4ea21b
push eax
call fcn.00567b2c
add esp, 4
mov eax, dword [esp + 0x2c]
mov esi, 0x5999dc
cmp eax, edi
mov dword [esp + 0x28], esi
je 0x4ea235
push eax
call fcn.00567b2c
add esp, 4
mov eax, dword [esp + 0x54]
mov dword [esp + 0x50], esi
cmp eax, edi
je 0x4ea24a
push eax
call fcn.00567b2c
add esp, 4
lea ecx, [esp + 0x10]
mov dword [esp + 0x6c], 0xffffffff
call fcn.0056870c
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x54]
mov dword fs:[0], ecx
add esp, 0x60
ret
push eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push ebx
mov dword [esp + 0x18], eax
mov dword [eax], ebx
call fcn.00567b03
add esp, 4
lea ecx, [esp + 0x10]
mov ebp, eax
push edi
call fcn.00568b3c
mov edi, eax
or ecx, 0xffffffff
xor eax, eax
push ebp
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov edx, ecx
mov esi, edi
mov edi, ebp
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov byte [ebx + ebp - 1], al
mov ecx, ebx
mov ebx, dword [esp + 0x18]
mov eax, ecx
mov esi, ebp
lea edi, [ebx + 4]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call fcn.00567b2c
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x5c]
mov ecx, eax
add esp, 4
lea ebp, [edx + 5]
mov dword [esp + 0x20], ecx
mov dword [ebx + ebp], eax
add ebp, 4
xor ebx, ebx
test ecx, ecx
jle 0x4ea37d
mov eax, dword [esp + 0x54]
mov edi, dword [esp + 0x14]
add ebp, 4
mov edx, dword [eax + ebx*4]
mov dword [edi + ebp - 4], edx
mov eax, dword [esp + 0x2c]
add ebp, 4
mov edx, dword [eax + ebx*4]
mov dword [edi + ebp - 4], edx
mov eax, dword [esp + 0x2c]
cmp dword [eax + ebx*4], 0
jbe 0x4ea374
mov edx, dword [esp + 0x40]
mov eax, dword [edx + ebx*4]
test eax, eax
je 0x4ea374
push eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov ecx, dword [esp + 0x2c]
mov esi, eax
add edi, ebp
mov ecx, dword [ecx + ebx*4]
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x40]
mov edx, dword [eax + ebx*4]
add ebp, edx
mov edx, dword [ecx + ebx*4]
push edx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov eax, dword [esp + 0x40]
mov ecx, dword [eax + ebx*4]
push ecx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov ecx, dword [esp + 0x20]
inc ebx
cmp ebx, ecx
jl 0x4ea2f6
mov esi, dword [esp + 0x24]
mov edx, dword [0x5ff0f0]
push esi
push edx
call dword [sym.imp.USER32.dll_SetClipboardData]
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
call dword [sym.imp.USER32.dll_CloseClipboard]
lea ecx, [esp + 0x3c]
mov byte [esp + 0x6c], 2
call fcn.004ec300
lea ecx, [esp + 0x28]
mov byte [esp + 0x6c], 1
call fcn.00434b40
lea ecx, [esp + 0x50]
mov byte [esp + 0x6c], 0
call fcn.00434b40
jmp 0x4ea24a
mov eax, dword [ebx + 0x1c]
push edi
push edi
push 0x301
push eax
call esi
mov ecx, dword [esp + 0x64]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x60
ret