Function at 0x4eaab0
Capabilities:
Open clipboard

Disassembly:
push 0xffffffffffffffff
push 0x576ad8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x4c
push ebx
push ebp
push esi
mov ebx, ecx
push edi
lea ecx, [esp + 0x14]
call fcn.00409e00
xor edi, edi
mov ecx, ebx
mov dword [esp + 0x64], edi
call fcn.0041cb10
mov ebp, dword [sym.imp.USER32.dll_EnableMenuItem]
cmp eax, 1
jbe 0x4eab89
call fcn.004f1510
push 0xff00ff
lea ecx, [esp + 0x18]
test eax, eax
push 0xd6
je 0x4eab12
push edi
push 0x8e
jmp 0x4eab1c
push 0xff00ff
push 0xaa
push 0x46d
push 0x46d
call fcn.0040aca0
mov ecx, ebx
call fcn.0041cf10
mov esi, eax
test esi, esi
je 0x4eab68
push esi
push ebx
mov ecx, 0x66e750
call fcn.004fb200
shr eax, 0x10
cmp eax, 2
je 0x4eab51
cmp eax, 3
jne 0x4eab52
inc edi
push esi
mov ecx, ebx
call fcn.0041cf60
mov esi, eax
test esi, esi
jne 0x4eab38
test edi, edi
jne 0x4ead36
mov eax, dword [esp + 0x18]
push 1
push 0x80fd
push eax
call ebp
mov ecx, dword [esp + 0x18]
push 1
push 0x80ed
push ecx
call ebp
jmp 0x4ead36
mov ecx, ebx
call fcn.0041cb10
cmp eax, 1
jne 0x4eacfe
mov ecx, ebx
call fcn.0041cf10
push eax
push ebx
mov ecx, 0x66e750
call fcn.004fb200
shr eax, 0x10
cmp eax, 1
jne 0x4eabf9
call fcn.004f1510
push 0xff00ff
lea ecx, [esp + 0x18]
test eax, eax
push 0xd5
je 0x4eabe0
push edi
push 0x8f
push 0x106
push 0x106
jmp 0x4ead31
push 0xff00ff
push 0xa9
push 0x106
push 0x106
jmp 0x4ead31
cmp eax, 2
jne 0x4eac89
call fcn.004f1510
push 0xff00ff
lea ecx, [esp + 0x18]
test eax, eax
push 0xd3
je 0x4eac21
push edi
push 0x90
jmp 0x4eac2b
push 0xff00ff
push 0xa6
push 0xe5
push 0xe5
call fcn.0040aca0
mov ecx, 0x66d030
call fcn.004d1960
test eax, eax
je 0x4ead36
push edi
lea ecx, [esp + 0x18]
call fcn.00409f30
mov esi, eax
mov edx, dword [esi + 4]
push edx
call dword [sym.imp.USER32.dll_GetMenuItemCount]
mov edi, eax
push 0x400
lea eax, [edi - 1]
push eax
mov ecx, esi
call fcn.0040b3e0
add edi, 0xfffffffe
push 0x400
push edi
mov ecx, esi
call fcn.0040b3e0
jmp 0x4ead36
cmp eax, 3
jne 0x4ead36
call fcn.004f1510
push 0xff00ff
lea ecx, [esp + 0x18]
test eax, eax
push 0xd8
je 0x4eacb1
push edi
push 0x91
jmp 0x4eacbb
push 0xff00ff
push 0xa8
push 0xe7
push 0xe7
call fcn.0040aca0
mov ecx, 0x66d030
call fcn.004d1960
test eax, eax
je 0x4ead36
push edi
lea ecx, [esp + 0x18]
call fcn.00409f30
mov esi, eax
mov ecx, dword [esi + 4]
push ecx
call dword [sym.imp.USER32.dll_GetMenuItemCount]
mov edi, eax
push 0x400
lea edx, [edi - 1]
push edx
jmp 0x4eac6d
call fcn.004f1510
push 0xff00ff
lea ecx, [esp + 0x18]
test eax, eax
push 0xd7
je 0x4ead1d
push edi
push 0x92
jmp 0x4ead27
push 0xff00ff
push 0xa5
push 0x21c
push 0x21c
call fcn.0040aca0
mov eax, dword [esp + 0x18]
push 1
push 0xe125
push eax
call ebp
mov ecx, dword [0x66e610]
push ecx
call dword [sym.imp.USER32.dll_IsClipboardFormatAvailable]
test eax, eax
je 0x4ead77
mov edx, dword [ebx + 0x1c]
push edx
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x4ead77
mov eax, dword [esp + 0x18]
push 0
push 0xe125
push eax
call ebp
call dword [sym.imp.USER32.dll_CloseClipboard]
mov ecx, dword [0x66e77c]
push 1
mov eax, dword [ecx - 8]
test eax, eax
jne 0x4eada0
mov edx, dword [esp + 0x1c]
push 0xf24c
push edx
call ebp
mov eax, dword [esp + 0x18]
push 1
push 0xf24b
push eax
jmp 0x4eadaa
mov ecx, dword [esp + 0x1c]
push 0xf24a
push ecx
call ebp
call fcn.00531e1f
test eax, eax
je 0x4eadbe
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x74]
jmp 0x4eadc0
xor eax, eax
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc0]
mov esi, eax
test esi, esi
je 0x4eae7c
push 0x5828a0
mov ecx, esi
call fcn.00531c3a
test eax, eax
je 0x4eae7c
mov ecx, 0x66d030
call fcn.004d1960
test eax, eax
je 0x4eae48
mov ecx, esi
call fcn.00430460
test eax, eax
je 0x4eae48
mov ecx, esi
call fcn.00430460
mov ecx, eax
call fcn.00435370
test eax, eax
je 0x4eae48
lea eax, [esp + 0x10]
mov ecx, esi
push eax
call fcn.00430460
mov ecx, eax
call fcn.00435370
mov ecx, eax
call fcn.0047f390
mov ecx, dword [eax]
xor edx, edx
mov edi, dword [ecx - 8]
lea ecx, [esp + 0x10]
test edi, edi
sete dl
mov edi, edx
call fcn.00530b8f
test edi, edi
jne 0x4eae7c
push 0x5828a0
mov ecx, esi
call fcn.00531c3a
test eax, eax
je 0x4eae6e
mov ecx, esi
call fcn.00430460
test eax, eax
je 0x4eae6e
mov ecx, eax
call fcn.0043fb20
test eax, eax
jne 0x4eae8a
mov eax, dword [esp + 0x18]
push 1
push 0x80c1
push eax
jmp 0x4eae88
mov ecx, dword [esp + 0x18]
push 1
push 0x80c1
push ecx
call ebp
call fcn.00531e1f
test eax, eax
je 0x4eae9c
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x74]
jmp 0x4eae9e
xor eax, eax
push 0
push eax
push 0x58c978
call fcn.00531c4c
add esp, 8
mov ecx, eax
call fcn.00545457
push eax
push 0x5828a0
call fcn.00531c4c
add esp, 8
xor esi, esi
test eax, eax
je 0x4eaeef
mov ecx, eax
call fcn.00430460
push eax
push 0x582c18
call fcn.00531c4c
mov esi, eax
add esp, 8
test esi, esi
je 0x4eaeef
mov ecx, esi
call fcn.004e6d80
test eax, eax
jne 0x4eaefd
mov eax, dword [esp + 0x18]
push 1
push 0x81be
push eax
call ebp
test esi, esi
je 0x4eaf0c
mov ecx, esi
call fcn.0043fb10
test eax, eax
jne 0x4eaf1a
mov ecx, dword [esp + 0x18]
push 1
push 0x81b7
push ecx
call ebp
test esi, esi
je 0x4eaf29
mov ecx, esi
call fcn.0043fab0
test eax, eax
jne 0x4eaf37
mov edx, dword [esp + 0x18]
push 1
push 0x81b6
push edx
call ebp
push 0
lea ecx, [esp + 0x18]
call fcn.00409f30
mov esi, eax
push 0
push 0x80fd
mov eax, dword [esi + 4]
push eax
call dword [sym.imp.USER32.dll_SetMenuDefaultItem]
mov ecx, dword [esp + 0x70]
mov edx, dword [esp + 0x6c]
push 0
push ebx
push ecx
push edx
push 2
mov ecx, esi
call fcn.0040b4e0
lea ecx, [esp + 0x14]
mov dword [esp + 0x64], 0xffffffff
call fcn.00409e90
mov ecx, dword [esp + 0x5c]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x58
ret 8