Function at 0x1002dcd0
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10115f60
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [0x1015bdd0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, dword [ebp + 8]
cmp dword [edi], 0
jne 0x1002e06b
mov eax, dword [ebp + 0xc]
cmp dword [eax], 0
jne 0x1002e06b
push eax
push edi
call fcn.1002dca0
add esp, 8
cmp dword [0x1016af88], 0
je 0x1002dd43
mov eax, dword [ebp + 0x10]
push eax
push str.BackupClipBoard_____08x_
push str.IMHookAPI
push 0xffffffffffffffff
push 0x1016af1c
call fcn.1000b060
add esp, 0x14
mov ecx, dword [ebp + 0x10]
push ecx
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x1002e06b
xor ebx, ebx
mov dword [ebp - 0x24], ebx
push ebx
mov esi, dword [sym.imp.USER32.dll_EnumClipboardFormats]
call esi
test eax, eax
je 0x1002dd7d
cmp ebx, 0x100
jge 0x1002dd7a
mov dword [edi + ebx*4], eax
push eax
call esi
inc ebx
test eax, eax
jne 0x1002dd67
mov dword [ebp - 0x24], ebx
cmp dword [0x1016af88], 0
je 0x1002dda0
push ebx
push str.BackupClipBoard_1___d_
push str.IMHookAPI
push 0xffffffffffffffff
push 0x1016af1c
call fcn.1000b060
add esp, 0x14
xor eax, eax
xor esi, esi
mov dword [ebp - 0x20], esi
cmp esi, ebx
jge 0x1002e065
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x1c], eax
xor ebx, ebx
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 4], eax
cmp dword [0x1016af88], eax
je 0x1002ddea
mov edx, dword [edi + esi*4]
push edx
push 2
push str.BackupClipBoard_2___d____d_
push str.IMHookAPI
push 0xffffffffffffffff
push 0x1016af1c
call fcn.1000b060
add esp, 0x18
mov eax, dword [edi + esi*4]
test eax, eax
je 0x1002dfa8
cmp eax, 2
je 0x1002dfa8
push eax
call dword [sym.imp.USER32.dll_IsClipboardFormatAvailable]
test eax, eax
je 0x1002dfa8
mov eax, dword [edi + esi*4]
push eax
call dword [sym.imp.USER32.dll_GetClipboardData]
mov edi, eax
mov dword [ebp - 0x14], edi
cmp dword [0x1016af88], 0
je 0x1002de3f
push edi
push str.BackupClipBoard_3___08x_
push str.IMHookAPI
push 0xffffffffffffffff
push 0x1016af1c
call fcn.1000b060
add esp, 0x14
test edi, edi
je 0x1002dfa8
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov edi, eax
mov dword [ebp - 0x1c], edi
cmp dword [0x1016af88], 0
je 0x1002de79
push edi
push str.BackupClipBoard_4___08x_
push str.IMHookAPI
push 0xffffffffffffffff
push 0x1016af1c
call fcn.1000b060
add esp, 0x14
test edi, edi
je 0x1002dfa8
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_GlobalFlags]
mov edi, eax
cmp dword [0x1016af88], 0
je 0x1002deb0
push edi
push str.BackupClipBoard_5___d_
push str.IMHookAPI
push 0xffffffffffffffff
push 0x1016af1c
call fcn.1000b060
add esp, 0x14
cmp edi, 0x8000
je 0x1002dfa8
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalSize]
mov edi, eax
cmp dword [0x1016af88], 0
je 0x1002deeb
push edi
push str.BackupClipBoard_6___d_
push str.IMHookAPI
push 0xffffffffffffffff
push 0x1016af1c
call fcn.1000b060
add esp, 0x14
test edi, edi
je 0x1002dfa8
push edi
push 0x2042
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebx, eax
mov dword [ebp - 0x28], ebx
cmp dword [0x1016af88], 0
je 0x1002df27
push ebx
push str.BackupClipBoard_7___08x_
push str.IMHookAPI
push 0xffffffffffffffff
push 0x1016af1c
call fcn.1000b060
add esp, 0x14
test ebx, ebx
je 0x1002dfa8
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov dword [ebp - 0x18], eax
cmp dword [0x1016af88], 0
je 0x1002df5b
push eax
push str.BackupClipBoard_8___08x_
push str.IMHookAPI
push 0xffffffffffffffff
push 0x1016af1c
call fcn.1000b060
add esp, 0x14
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x1002dfa8
push edi
mov ecx, dword [ebp - 0x1c]
push ecx
mov edx, dword [ebp - 0x18]
push edx
call fcn.1007d100
add esp, 0xc
mov eax, dword [ebp + 0xc]
mov dword [eax + esi*4], ebx
mov dword [ebp - 0x2c], 1
cmp dword [0x1016af88], 0
je 0x1002dfa8
push ebx
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + esi*4]
push edx
push esi
push str.BackupClipBoard_9___d____d____08x_
push str.IMHookAPI
push 0xffffffffffffffff
push 0x1016af1c
call fcn.1000b060
add esp, 0x1c
mov dword [ebp - 4], 0xffffffff
jmp 0x1002dff8
cmp dword [ebp - 0x1c], 0
je 0x1002e008
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
cmp dword [ebp - 0x18], 0
je 0x1002e015
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
cmp dword [ebp - 0x2c], 0
jne 0x1002e057
cmp dword [0x1016af88], 0
je 0x1002e057
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + esi*4]
push edx
mov edi, dword [ebp + 8]
mov eax, dword [edi + esi*4]
push eax
push esi
push str.BackupClipBoard_Failed___d____d____08x_
push str.IMHookAPI
push 0xffffffffffffffff
push 0x1016af1c
call fcn.1000b060
add esp, 0x1c
inc esi
mov ebx, dword [ebp - 0x24]
xor eax, eax
jmp 0x1002dda4
mov edi, dword [ebp + 8]
inc esi
mov ebx, dword [ebp - 0x24]
xor eax, eax
jmp 0x1002dda4
call dword [sym.imp.USER32.dll_CloseClipboard]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret