Function at 0x100c9930
Capabilities:
Open clipboard
Read clipboard data
Read file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xc
mov eax, dword [0x10159e80]
xor eax, esp
mov dword [esp + 8], eax
push ebx
push esi
mov esi, ecx
mov ebx, edx
push edi
mov edi, dword [ebp + 8]
cmp dword [esi + 0x10], 0
jne 0x100c9968
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 8]
xor ecx, esp
call fcn.100edbdf
mov esp, ebp
pop ebp
ret
mov edx, 0x10161ae8
call fcn.100c98d0
mov ecx, esi
test al, al
je 0x100c9995
push edi
mov edx, ebx
call fcn.100c7490
add esp, 4
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 8]
xor ecx, esp
call fcn.100edbdf
mov esp, ebp
pop ebp
ret
mov edx, 0x10161b00
call fcn.100c98d0
mov ecx, esi
test al, al
je 0x100c99be
mov edx, ebx
call fcn.100c8080
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 8]
xor ecx, esp
call fcn.100edbdf
mov esp, ebp
pop ebp
ret
mov edx, 0x10161b18
call fcn.100c98d0
test al, al
je 0x100c9a95
cmp dword [esi + 0x14], 7
jbe 0x100c99d8
mov esi, dword [esi]
push esi
call dword [sym.imp.USER32.dll_RegisterClipboardFormatW]
mov esi, eax
xor edi, edi
push esi
call dword [sym.imp.USER32.dll_IsClipboardFormatAvailable]
test eax, eax
je 0x100c9b34
push edi
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x100c9b34
push esi
call dword [sym.imp.USER32.dll_GetClipboardData]
mov esi, eax
test esi, esi
je 0x100c9a7b
push esi
call dword [sym.imp.KERNEL32.dll_GlobalSize]
mov edi, eax
test edi, edi
je 0x100c9a79
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov dword [esp + 0x10], eax
test eax, eax
je 0x100c9a79
lea ecx, [edi + 2]
push ecx
call fcn.100edc53
add esp, 4
mov dword [esp + 0xc], eax
mov word [eax + edi], 0
push edi
push dword [esp + 0x14]
push eax
call fcn.100ef570
add esp, 0xc
test ebx, ebx
je 0x100c9a54
mov dword [ebx], edi
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov edi, dword [esp + 0xc]
call dword [sym.imp.USER32.dll_CloseClipboard]
mov eax, edi
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 8]
xor ecx, esp
call fcn.100edbdf
mov esp, ebp
pop ebp
ret
xor edi, edi
call dword [sym.imp.USER32.dll_CloseClipboard]
mov eax, edi
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 8]
xor ecx, esp
call fcn.100edbdf
mov esp, ebp
pop ebp
ret
xor edi, edi
cmp dword [esi + 0x14], 7
mov dword [esp + 0x10], edi
jbe 0x100c9aa3
mov esi, dword [esi]
push 0x1013e6e4
lea eax, [esp + 0x14]
push esi
push eax
call fcn.100fbef2
mov eax, dword [esp + 0x1c]
add esp, 0xc
test eax, eax
je 0x100c9b34
push 2
push 0
push eax
call fcn.100fc676
add esp, 0xc
push dword [esp + 0x10]
call fcn.100fccd5
mov esi, eax
add esp, 4
test esi, esi
je 0x100c9b28
lea ecx, [esi + 2]
push ecx
call fcn.100edc53
add esp, 4
mov edi, eax
push 0
mov word [edi + esi], 0
push 0
push dword [esp + 0x18]
call fcn.100fc676
add esp, 0xc
push dword [esp + 0x10]
push esi
push 1
push edi
call fcn.100fcede
add esp, 0x10
cmp eax, esi
jne 0x100c9b1d
test ebx, ebx
je 0x100c9b28
mov dword [ebx], eax
jmp 0x100c9b28
push edi
call fcn.100edc4e
add esp, 4
xor edi, edi
push dword [esp + 0x10]
call fcn.100fc35d
add esp, 4
mov ecx, dword [esp + 0x14]
mov eax, edi
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.100edbdf
mov esp, ebp
pop ebp
ret