Function at 0x4f90d5a0
Capabilities:
Read clipboard data

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x4f918464]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 0x10]
call fcn.4f905812
test eax, eax
jne 0x4f90d5c6
push 0x12
pop eax
jmp 0x4f90d7f4
push ebx
mov ebx, dword [ebp + 8]
xor edx, edx
mov ecx, ebx
call fcn.4f903a8f
test eax, eax
je 0x4f90d5e5
mov ecx, dword [ebp + 0xc]
xor edx, edx
call fcn.4f903a8f
test eax, eax
jne 0x4f90d5ed
push 0x10
pop eax
jmp 0x4f90d7f3
push edi
mov edi, dword [ebp + 0x18]
xor edx, edx
inc edx
mov ecx, edi
call fcn.4f903a8f
test eax, eax
jne 0x4f90d607
push 0x10
pop eax
jmp 0x4f90d7f2
push esi
mov esi, dword [ebp + 0x14]
xor edx, edx
mov ecx, esi
call fcn.4f903a8f
test eax, eax
jne 0x4f90d61f
push 0x10
jmp 0x4f90d76f
cmp byte [esi], 0
jne 0x4f90d62b
push 0x1d
jmp 0x4f90d76f
and dword [edi], 0
push 0xffffffffffffffff
push 0x4f9016f0
push 0xffffffffffffffff
push ebx
push 1
push 0x7f
call dword [sym.imp.KERNEL32.dll_CompareStringA]
test eax, eax
je 0x4f90d6ed
push 2
pop esi
cmp eax, esi
jne 0x4f90d6d5
cmp dword [ebp + 0x1c], 0
push 0xe
je 0x4f90d76f
mov ebx, dword [ebp + 0x20]
pop edx
push 3
pop eax
push 8
pop ecx
cmp dword [ebp + 0x1c], esi
jne 0x4f90d684
cmp bx, ax
je 0x4f90d684
cmp bx, cx
je 0x4f90d684
cmp bx, si
je 0x4f90d684
cmp bx, dx
jne 0x4f90d6b2
push eax
call dword [sym.imp.USER32.dll_IsClipboardFormatAvailable]
test eax, eax
jne 0x4f90d6b9
push 8
call dword [sym.imp.USER32.dll_IsClipboardFormatAvailable]
test eax, eax
jne 0x4f90d6b9
push esi
call dword [sym.imp.USER32.dll_IsClipboardFormatAvailable]
test eax, eax
jne 0x4f90d6b9
push 0xe
call dword [sym.imp.USER32.dll_IsClipboardFormatAvailable]
test eax, eax
jne 0x4f90d6b9
push 0xc
jmp 0x4f90d76f
mov edx, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
push 3
push 0
push ebx
push dword [ebp + 0x1c]
push edi
push dword [ebp + 0x14]
call fcn.4f90bb2a
jmp 0x4f90d7f1
push 0xffffffffffffffff
push 0x4f9016d4
push 0xffffffffffffffff
push ebx
push 1
push 0x7f
call dword [sym.imp.KERNEL32.dll_CompareStringA]
cmp eax, esi
je 0x4f90d6f1
push 0xf
jmp 0x4f90d76f
movzx eax, word [0x4f918810]
push eax
call dword [sym.imp.USER32.dll_IsClipboardFormatAvailable]
test eax, eax
je 0x4f90d71e
mov edx, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
push esi
push dword [ebp + 0x20]
push dword [ebp + 0x1c]
push edi
push dword [ebp + 0x14]
call fcn.4f90bc69
jmp 0x4f90d7f1
movzx eax, word [0x4f9187f8]
push eax
call dword [sym.imp.USER32.dll_GetClipboardData]
mov dword [0x4f918814], eax
test eax, eax
je 0x4f90d76d
push 0
jmp 0x4f90d746
cmp ax, word [0x4f9187f8]
je 0x4f90d75a
movzx eax, ax
push eax
call dword [sym.imp.USER32.dll_EnumClipboardFormats]
movzx eax, ax
cmp ax, word [0x4f9187ec]
jne 0x4f90d739
jmp 0x4f90d75d
xor esi, esi
inc esi
push dword [0x4f918814]
call dword [sym.imp.KERNEL32.dll_GlobalLock]
test eax, eax
jne 0x4f90d772
push 0xb
pop eax
jmp 0x4f90d7f1
mov ecx, eax
call fcn.4f90b848
push dword [0x4f918814]
mov dword [ebp - 8], eax
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov eax, dword [ebp - 8]
push esi
push dword [ebp + 0x20]
push dword [ebp + 0x1c]
push edi
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
cmp eax, 0xffffffff
jne 0x4f90d7ab
call sym.OLECLI32.dll_DefCreateFromClip
mov ecx, eax
jmp 0x4f90d7e8
imul eax, eax, 0x2c
mov dword [ebp - 0x10], eax
mov ecx, dword [eax + 0x4f918ae8]
mov esi, dword [eax + 0x4f918af0]
mov dword [ebp - 0xc], ecx
mov ecx, esi
call dword [0x4f91a330]
call esi
mov ecx, eax
cmp ecx, 1
jle 0x4f90d7e0
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0xc]
dec eax
mov dword [edx + 0x4f918ae8], eax
jmp 0x4f90d7e8
mov eax, dword [edi]
mov edx, dword [ebp - 8]
mov dword [eax + 0x20], edx
and dword [0x4f918814], 0
mov eax, ecx
pop esi
pop edi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.4f915630
mov esp, ebp
pop ebp
ret 0x1c