Function at 0x4f90d320
Capabilities:
Read clipboard data

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov ecx, dword [ebp + 0x10]
sub esp, 0xc
call fcn.4f905832
test eax, eax
jne 0x4f90d33c
push 0x12
pop eax
jmp 0x4f90d573
push ebx
mov ebx, dword [ebp + 8]
xor edx, edx
push esi
push edi
mov ecx, ebx
call fcn.4f903b14
test eax, eax
je 0x4f90d56d
mov ecx, dword [ebp + 0xc]
xor edx, edx
call fcn.4f903b14
test eax, eax
je 0x4f90d56d
mov edi, dword [ebp + 0x18]
xor edx, edx
inc edx
mov ecx, edi
call fcn.4f903b14
test eax, eax
je 0x4f90d56d
mov esi, dword [ebp + 0x14]
xor edx, edx
mov ecx, esi
call fcn.4f903b14
test eax, eax
je 0x4f90d56d
cmp byte [esi], 0
jne 0x4f90d39a
push 0x1d
jmp 0x4f90d56f
and dword [edi], 0
push 0xffffffffffffffff
push 0x4f901734
push 0xffffffffffffffff
push ebx
push 1
push 0x7f
call dword [sym.imp.KERNEL32.dll_CompareStringA]
test eax, eax
je 0x4f90d569
push 2
pop esi
cmp eax, esi
jne 0x4f90d444
cmp dword [ebp + 0x1c], 0
push 0xe
je 0x4f90d56f
mov ebx, dword [ebp + 0x20]
pop edx
push 3
pop eax
push 8
pop ecx
cmp dword [ebp + 0x1c], esi
jne 0x4f90d3f3
cmp bx, ax
je 0x4f90d3f3
cmp bx, cx
je 0x4f90d3f3
cmp bx, si
je 0x4f90d3f3
cmp bx, dx
jne 0x4f90d421
push eax
call dword [sym.imp.USER32.dll_IsClipboardFormatAvailable]
test eax, eax
jne 0x4f90d428
push 8
call dword [sym.imp.USER32.dll_IsClipboardFormatAvailable]
test eax, eax
jne 0x4f90d428
push esi
call dword [sym.imp.USER32.dll_IsClipboardFormatAvailable]
test eax, eax
jne 0x4f90d428
push 0xe
call dword [sym.imp.USER32.dll_IsClipboardFormatAvailable]
test eax, eax
jne 0x4f90d428
push 0xc
jmp 0x4f90d56f
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.4f90b975
jmp 0x4f90d570
push 0xffffffffffffffff
push 0x4f901718
push 0xffffffffffffffff
push ebx
push 1
push 0x7f
call dword [sym.imp.KERNEL32.dll_CompareStringA]
cmp eax, esi
jne 0x4f90d569
movzx eax, word [0x4f918810]
push eax
call dword [sym.imp.USER32.dll_IsClipboardFormatAvailable]
test eax, eax
je 0x4f90d48d
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.4f90bab2
jmp 0x4f90d570
movzx eax, word [0x4f9187f8]
push eax
call dword [sym.imp.USER32.dll_GetClipboardData]
mov dword [0x4f918814], eax
test eax, eax
je 0x4f90d565
push 0
jmp 0x4f90d4b9
cmp ax, word [0x4f9187f8]
je 0x4f90d4cd
movzx eax, ax
push eax
call dword [sym.imp.USER32.dll_EnumClipboardFormats]
movzx eax, ax
cmp ax, word [0x4f9187ec]
jne 0x4f90d4ac
jmp 0x4f90d4d0
xor esi, esi
inc esi
push dword [0x4f918814]
call dword [sym.imp.KERNEL32.dll_GlobalLock]
test eax, eax
je 0x4f90d565
mov ecx, eax
call fcn.4f90b688
push dword [0x4f918814]
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov eax, dword [ebp - 4]
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 0x4f90d51d
call sym.OLECLI32.dll_DefCreateFromClip
mov ecx, eax
jmp 0x4f90d55a
imul eax, eax, 0x2c
mov dword [ebp - 0xc], eax
mov ecx, dword [eax + 0x4f918b08]
mov esi, dword [eax + 0x4f918b10]
mov dword [ebp - 8], ecx
mov ecx, esi
call dword [0x4f91a334]
call esi
mov ecx, eax
cmp ecx, 1
jle 0x4f90d552
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 8]
dec eax
mov dword [edx + 0x4f918b08], eax
jmp 0x4f90d55a
mov eax, dword [edi]
mov edx, dword [ebp - 4]
mov dword [eax + 0x20], edx
and dword [0x4f918814], 0
mov eax, ecx
jmp 0x4f90d570
push 0xb
jmp 0x4f90d56f
push 0xf
jmp 0x4f90d56f
push 0x10
pop eax
pop edi
pop esi
pop ebx
leave
ret 0x1c