Function at 0x100020a0
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ecx
push esi
mov esi, ecx
push edi
xor edi, edi
mov ecx, edx
xor eax, eax
sub ecx, 0x305
mov dword [esp + 8], edi
je 0x100021e7
sub ecx, 1
jne 0x100022d9
cmp dword [esi + 0x80], eax
je 0x100020f3
cmp dword [esi + 0x48], eax
je 0x100020ed
call dword [sym.imp.USER32.dll_GetClipboardOwner]
cmp dword [esi + 0x48], eax
jne 0x100020ed
mov eax, dword [esi + 0x80]
push eax
call dword [sym.imp.USER32.dll_IsClipboardFormatAvailable]
test eax, eax
jne 0x100020f3
mov dword [esi + 0x80], edi
cmp dword [esi], edi
je 0x100022d5
mov ecx, dword [esi + 0x48]
push ecx
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
jne 0x10002114
pop edi
mov eax, 0x3180
pop esi
pop ecx
ret 4
push esi
call fcn.10001ff0
mov edi, eax
call dword [sym.imp.USER32.dll_EmptyClipboard]
test edi, edi
je 0x10002134
mov edx, dword [esi + 0x80]
push edi
push edx
call dword [sym.imp.USER32.dll_SetClipboardData]
mov eax, esi
call section..text
mov eax, dword [esi + 0x48]
push 0
push 3
push 0x305
push eax
call dword [0x1001bfb0]
mov ecx, dword [esi + 0x48]
push 0
push 2
push 0x305
push ecx
call dword [0x1001bfb0]
mov ecx, esi
call fcn.1000b180
test al, al
je 0x1000217f
mov edx, dword [esi + 0x48]
push 0
push 9
push 0x305
push edx
call dword [0x1001bfb0]
cmp dword [esi + 0x58], 0
je 0x100021d7
test dword [esi + 0x50], 0x10100
jne 0x100021d7
mov eax, dword [esi + 0xac]
mov ecx, dword [0x1001b114]
cmp eax, dword [ecx]
jne 0x100021af
mov edx, dword [esi + 0xb0]
cmp edx, dword [ecx + 4]
jne 0x100021af
push 0
push 8
jmp 0x100021c8
mov ecx, dword [0x1001b124]
cmp eax, dword [ecx]
jne 0x100021d7
mov edx, dword [esi + 0xb0]
cmp edx, dword [ecx + 4]
jne 0x100021d7
push 0
push 6
mov eax, dword [esi + 0x48]
push 0x305
push eax
call dword [0x1001bfb0]
call dword [sym.imp.USER32.dll_CloseClipboard]
mov eax, dword [esp + 8]
pop edi
pop esi
pop ecx
ret 4
push ebx
mov ebx, dword [esp + 0x14]
lea ecx, [ebx - 2]
cmp ecx, 7
ja case.0x100021f8.4
jmp dword [ecx*4 + 0x100022e0]
lea ecx, [esp + 0xc]
push ecx
call fcn.10001200
push eax
push ebx
call dword [sym.imp.USER32.dll_SetClipboardData]
mov eax, dword [esp + 0xc]
pop ebx
pop edi
pop esi
pop ecx
ret 4
lea edx, [esp + 0xc]
push edx
mov eax, esi
call fcn.100012b0
push eax
push ebx
call dword [sym.imp.USER32.dll_SetClipboardData]
mov eax, dword [esp + 0xc]
pop ebx
pop edi
pop esi
pop ecx
ret 4
mov ecx, esi
call fcn.1000d2e0
push eax
push ebx
call dword [sym.imp.USER32.dll_SetClipboardData]
mov eax, dword [esp + 0xc]
pop ebx
pop edi
pop esi
pop ecx
ret 4
mov ecx, dword [esi + 0x58]
test ecx, ecx
je case.0x100021f8.4
test dword [esi + 0x50], 0x100
jne case.0x100021f8.4
cmp ebx, 8
mov edx, dword [0x1001b124]
mov edi, dword [0x1001b114]
je 0x10002278
mov edi, edx
push ebp
mov ebp, dword [esi + 0xac]
cmp ebp, dword [edi]
pop ebp
jne case.0x100021f8.4
cmp ebx, 8
jne 0x1000228f
mov edx, dword [0x1001b114]
mov edi, dword [esi + 0xb0]
cmp edi, dword [edx + 4]
jne case.0x100021f8.4
xor edx, edx
cmp ebx, 8
setne dl
lea eax, [esp + 0xc]
push eax
push 0
sub edx, 1
and edx, 0xe
call fcn.1000a570
cmp dword [esp + 0xc], 0
je case.0x100021f8.4
test dword [esi + 0x50], 0x10000
je case.0x100021f8.4
mov dword [esp + 0xc], 0
push eax
push ebx
call dword [sym.imp.USER32.dll_SetClipboardData]
pop ebx
mov eax, dword [esp + 8]
pop edi
pop esi
pop ecx
ret 4