Function at 0x100d0dc
Capabilities:
Read clipboard data

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x64
mov eax, dword [0x10133a4]
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
push dword [ebp + 0xc]
mov dword [ebp - 4], eax
push ebx
push 0x1002a18
mov dword [ebp - 0x64], ebx
call fcn.0100eda2
xor esi, esi
add esp, 0xc
cmp ebx, esi
jne 0x100d13e
push dword [ebp + 0xc]
call dword [sym.imp.USER32.dll_IsClipboardFormatAvailable]
test eax, eax
je 0x100d132
push dword [ebp + 0xc]
call dword [sym.imp.USER32.dll_GetClipboardData]
mov edi, eax
cmp edi, esi
jne 0x100d12e
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov eax, edi
jmp 0x100d150
push 0x1002a04
call fcn.0100eda2
jmp 0x100d14d
cmp dword [ebx + 4], esi
jne 0x100d15f
push 0x10029f4
call fcn.0100eda2
pop ecx
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
pop ebx
call fcn.0100ec8a
leave
ret 8
mov edi, dword [ebx + 8]
cmp edi, esi
mov dword [ebp - 0x60], edi
je 0x100d14e
jmp 0x100d16e
mov edi, dword [ebp - 0x60]
mov eax, dword [ebp + 0xc]
cmp dword [edi], eax
je 0x100d181
mov edi, dword [edi + 8]
cmp edi, esi
mov dword [ebp - 0x60], edi
jne 0x100d16b
jmp 0x100d14e
cmp dword [edi + 4], esi
jne 0x100d2fd
push 0x4f
lea ecx, [ebp - 0x54]
push ecx
push eax
call fcn.01006c8c
lea eax, [ebp - 0x54]
push eax
push 0x10029e0
call fcn.0100eda2
pop ecx
pop ecx
push esi
lea eax, [ebp - 0x54]
push eax
push dword [0x1013508]
call sub.USER32.dll_DdeCreateStringHandleA
cmp eax, esi
mov dword [ebp - 0x5c], eax
je 0x100d30e
mov ebx, dword [ebx + 0x10]
cmp ebx, esi
je 0x100d1d5
push esi
push ebx
call dword [sym.imp.USER32.dll_GetWindowLongA]
mov dword [ebp - 0x58], eax
jmp 0x100d1d8
mov dword [ebp - 0x58], esi
push esi
push 0xea60
mov ebx, 0x20b0
push ebx
mov edi, 0xc8
push edi
lea eax, [ebp - 0x54]
push eax
call fcn.0100a3a1
push eax
push dword [ebp - 0x5c]
mov eax, dword [ebp - 0x58]
push dword [eax + 0x88]
push esi
push esi
call fcn.0100bb50
cmp eax, esi
mov dword [ebp - 0x58], eax
je 0x100d22c
push 0x10029d4
call fcn.0100eda2
mov eax, dword [ebp - 0x64]
pop ecx
push dword [ebp - 0x58]
push dword [ebp + 0xc]
push dword [eax + 0x10]
call fcn.0100a539
jmp 0x100d256
push dword [0x1013508]
call sub.USER32.dll_DdeGetLastError
push eax
lea eax, [ebp - 0x54]
push eax
push 0x10017a4
call fcn.0100eda2
add esp, 0xc
push 0xffffffffffffffff
push dword [ebp + 0xc]
push dword [ebp - 0x64]
call fcn.0100cf31
push dword [ebp - 0x5c]
push dword [0x1013508]
call sub.USER32.dll_DdeFreeStringHandle
cmp dword [ebp - 0x58], esi
jne 0x100d2fa
cmp dword [ebp + 0xc], 2
jne 0x100d2fa
push 0x4f
lea eax, [ebp - 0x54]
push eax
push 8
call fcn.01006c8c
push esi
lea eax, [ebp - 0x54]
push eax
push dword [0x1013508]
call sub.USER32.dll_DdeCreateStringHandleA
cmp eax, esi
mov dword [ebp - 0x5c], eax
je 0x100d2fa
mov eax, dword [ebp - 0x64]
mov eax, dword [eax + 0x10]
cmp eax, esi
je 0x100d2b2
push esi
push eax
call dword [sym.imp.USER32.dll_GetWindowLongA]
mov dword [ebp - 0x58], eax
jmp 0x100d2b5
mov dword [ebp - 0x58], esi
push esi
push 0xea60
push ebx
push edi
lea eax, [ebp - 0x54]
push eax
call fcn.0100a3a1
push eax
push dword [ebp - 0x5c]
mov eax, dword [ebp - 0x58]
push dword [eax + 0x88]
push esi
push esi
call fcn.0100bb50
cmp eax, esi
je 0x100d2ec
push eax
mov eax, dword [ebp - 0x64]
push 0xffffffffffffffff
push dword [eax + 0x10]
call fcn.0100a539
push dword [ebp - 0x5c]
push dword [0x1013508]
call sub.USER32.dll_DdeFreeStringHandle
mov edi, dword [ebp - 0x60]
mov edi, dword [edi + 4]
mov eax, edi
inc eax
neg eax
sbb eax, eax
and eax, edi
jmp 0x100d150
push 0x10029b0
call fcn.0100eda2
pop ecx
jmp 0x100d2fd