Function at 0x506c8a
Capabilities:
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
and dword [eax], 0
mov eax, dword [ebp - 4]
and dword [eax + 4], 0
mov eax, dword [ebp - 4]
and dword [eax + 8], 0
mov eax, dword [ebp - 4]
and dword [eax + 0xc], 0
xor eax, eax
mov ecx, dword [ebp - 4]
mov word [ecx + 0x10], ax
mov eax, dword [ebp - 4]
and dword [eax + 0x14], 0
mov eax, dword [ebp - 4]
and dword [eax + 0x18], 0
mov eax, dword [ebp - 4]
and dword [eax + 0x1c], 0
mov eax, dword [ebp - 4]
and dword [eax + 0x20], 0
mov eax, dword [ebp - 4]
and dword [eax + 0x24], 0
push 0x11
call dword [sym.imp.USER32.dll_IsClipboardFormatAvailable]
test eax, eax
je 0x506e14
push 0x11
call dword [sym.imp.USER32.dll_GetClipboardData]
mov ecx, dword [ebp - 4]
mov dword [ecx], eax
mov eax, dword [ebp - 4]
cmp dword [eax], 0
je 0x506e14
mov eax, dword [ebp - 4]
mov eax, dword [eax]
movzx eax, word [eax + 0xe]
cmp eax, 0x20
jne 0x506e14
mov eax, dword [ebp - 4]
mov eax, dword [eax]
cmp dword [eax + 0x10], 0
je 0x506d6a
mov eax, dword [ebp - 4]
mov eax, dword [eax]
cmp dword [eax + 0x10], 3
jne 0x506e14
mov eax, dword [ebp - 4]
mov eax, dword [eax]
cmp dword [eax + 0x28], 0
je 0x506e14
mov eax, dword [ebp - 4]
mov eax, dword [eax]
cmp dword [eax + 0x2c], 0
je 0x506e14
mov eax, dword [ebp - 4]
mov eax, dword [eax]
cmp dword [eax + 0x30], 0
je 0x506e14
mov eax, dword [ebp - 4]
mov eax, dword [eax]
cmp dword [eax + 0x34], 0
je 0x506e14
mov eax, dword [ebp - 4]
mov eax, dword [eax]
mov ecx, dword [ebp - 4]
mov eax, dword [eax + 4]
mov dword [ecx + 8], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax]
mov ecx, dword [ebp - 4]
mov eax, dword [eax + 8]
mov dword [ecx + 0xc], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax]
mov ecx, dword [ebp - 4]
mov ax, word [eax + 0xe]
mov word [ecx + 0x10], ax
mov eax, dword [ebp - 4]
mov eax, dword [eax]
mov ecx, dword [ebp - 4]
mov eax, dword [eax + 0x10]
mov dword [ecx + 0x14], eax
mov eax, dword [ebp - 4]
cmp dword [eax + 0x14], 3
jne 0x506de7
mov eax, dword [ebp - 4]
mov eax, dword [eax]
mov ecx, dword [ebp - 4]
mov eax, dword [eax + 0x28]
mov dword [ecx + 0x18], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax]
mov ecx, dword [ebp - 4]
mov eax, dword [eax + 0x2c]
mov dword [ecx + 0x1c], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax]
mov ecx, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov dword [ecx + 0x20], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax]
mov ecx, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov dword [ecx + 0x24], eax
jmp 0x506e0f
mov eax, dword [ebp - 4]
mov dword [eax + 0x18], 0xff0000
mov eax, dword [ebp - 4]
mov dword [eax + 0x1c], 0xff00
mov eax, dword [ebp - 4]
mov dword [eax + 0x20], 0xff
mov eax, dword [ebp - 4]
mov dword [eax + 0x24], 0xff000000
jmp 0x506f72
push 8
call dword [sym.imp.USER32.dll_IsClipboardFormatAvailable]
test eax, eax
je 0x506e2e
push 8
call dword [sym.imp.USER32.dll_GetClipboardData]
mov ecx, dword [ebp - 4]
mov dword [ecx + 4], eax
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 0
jne 0x506e3c
jmp 0x506f72
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
mov ecx, dword [ebp - 4]
mov eax, dword [eax + 4]
mov dword [ecx + 8], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
mov ecx, dword [ebp - 4]
mov eax, dword [eax + 8]
mov dword [ecx + 0xc], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
mov ecx, dword [ebp - 4]
mov ax, word [eax + 0xe]
mov word [ecx + 0x10], ax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
mov ecx, dword [ebp - 4]
mov eax, dword [eax + 0x10]
mov dword [ecx + 0x14], eax
mov eax, dword [ebp - 4]
cmp dword [eax + 0x14], 3
jne 0x506edf
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push 4
pop ecx
imul ecx, ecx, 0
mov edx, dword [ebp - 4]
mov eax, dword [eax + ecx + 0x28]
mov dword [edx + 0x18], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push 4
pop ecx
shl ecx, 0
mov edx, dword [ebp - 4]
mov eax, dword [eax + ecx + 0x28]
mov dword [edx + 0x1c], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push 4
pop ecx
shl ecx, 1
mov edx, dword [ebp - 4]
mov eax, dword [eax + ecx + 0x28]
mov dword [edx + 0x20], eax
mov eax, dword [ebp - 4]
movzx eax, word [eax + 0x10]
cmp eax, 0x20
jne 0x506eda
mov eax, dword [ebp - 4]
mov dword [eax + 0x24], 0xff000000
jmp 0x506f72
mov eax, dword [ebp - 4]
cmp dword [eax + 0x14], 0
jne 0x506f72
mov eax, dword [ebp - 4]
movzx eax, word [eax + 0x10]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0x10
je 0x506f54
cmp dword [ebp - 8], 0x18
je 0x506f34
cmp dword [ebp - 8], 0x20
je 0x506f0a
jmp 0x506f72
mov eax, dword [ebp - 4]
mov dword [eax + 0x18], 0xff0000
mov eax, dword [ebp - 4]
mov dword [eax + 0x1c], 0xff00
mov eax, dword [ebp - 4]
mov dword [eax + 0x20], 0xff
mov eax, dword [ebp - 4]
mov dword [eax + 0x24], 0xff000000
jmp 0x506f72
mov eax, dword [ebp - 4]
mov dword [eax + 0x18], 0xff0000
mov eax, dword [ebp - 4]
mov dword [eax + 0x1c], 0xff00
mov eax, dword [ebp - 4]
mov dword [eax + 0x20], 0xff
jmp 0x506f72
mov eax, dword [ebp - 4]
mov dword [eax + 0x18], 0x7c00
mov eax, dword [ebp - 4]
mov dword [eax + 0x1c], 0x3e0
mov eax, dword [ebp - 4]
mov dword [eax + 0x20], 0x1f
mov eax, dword [ebp - 4]
leave
ret