Function at 0x4d2870
Capabilities:
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xbc
mov dword [ebp - 0xbc], ebx
mov dword [ebp - 0xc], eax
mov dword [ebp - 4], edx
mov dword [ebp - 8], ecx
mov dword [ebp - 0x94], 0
mov dword [ebp - 0x90], 0
mov dword [ebp - 0x8c], 0
mov dword [ebp - 0x7c], 0
mov dword [ebp - 0x74], 0
mov dword [ebp - 0x70], 0
mov dword [ebp - 0x6c], 0
mov dword [ebp - 0x68], 0
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x40], 0
lea ecx, [ebp - 0x20]
lea edx, [ebp - 0x38]
mov eax, 1
call fcn.0040b450
call fcn.0040d410
push eax
test eax, eax
jne 0x4d2c7c
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 8]
mov edx, dword [edx]
call dword [edx + 0x70]
push eax
push 2
call sub.KERNEL32.DLL_GlobalAlloc
mov dword [ebp - 0x10], eax
test eax, eax
jne 0x4d2c0e
lea eax, [ebp - 0x40]
call fcn.00403a40
mov dword [ebp - 0x40], 0
lea eax, [ebp - 0x40]
call fcn.00403a40
mov dword [ebp - 0x40], 0
lea eax, [ebp - 0x44]
call fcn.00403a40
mov dword [ebp - 0x44], 0
lea eax, [ebp - 0x44]
call fcn.00403a40
mov dword [ebp - 0x44], 0
lea eax, [ebp - 0x48]
call fcn.00403a40
mov dword [ebp - 0x48], 0
lea eax, [ebp - 0x48]
call fcn.00403a40
mov dword [ebp - 0x48], 0
lea eax, [ebp - 0x4c]
call fcn.00403a40
mov dword [ebp - 0x4c], 0
lea eax, [ebp - 0x4c]
call fcn.00403a40
mov dword [ebp - 0x4c], 0
lea eax, [ebp - 0x50]
call fcn.00403a40
mov dword [ebp - 0x50], 0
lea eax, [ebp - 0x50]
call fcn.00403a40
mov dword [ebp - 0x50], 0
lea eax, [ebp - 0x54]
call fcn.00403a40
mov dword [ebp - 0x54], 0
lea eax, [ebp - 0x54]
call fcn.00403a40
mov dword [ebp - 0x54], 0
lea eax, [ebp - 0x58]
call fcn.00403a40
mov dword [ebp - 0x58], 0
lea eax, [ebp - 0x58]
call fcn.00403a40
mov dword [ebp - 0x58], 0
lea eax, [ebp - 0x5c]
call fcn.00403a40
mov dword [ebp - 0x5c], 0
lea eax, [ebp - 0x5c]
call fcn.00403a40
mov dword [ebp - 0x5c], 0
lea eax, [ebp - 0x60]
call fcn.00403a40
mov dword [ebp - 0x60], 0
lea eax, [ebp - 0x60]
call fcn.00403a40
mov dword [ebp - 0x60], 0
lea eax, [ebp - 0x64]
call fcn.00403a40
mov dword [ebp - 0x64], 0
lea eax, [ebp - 0x64]
call fcn.00403a40
mov dword [ebp - 0x64], 0
lea eax, [ebp - 0x68]
call fcn.00403a40
mov dword [ebp - 0x68], 0
lea eax, [ebp - 0x68]
call fcn.00403a40
mov dword [ebp - 0x68], 0
lea eax, [ebp - 0x6c]
call fcn.00403a40
mov dword [ebp - 0x6c], 0
lea eax, [ebp - 0x6c]
call fcn.00403a40
mov dword [ebp - 0x6c], 0
lea eax, [ebp - 0x70]
call fcn.00403a40
mov dword [ebp - 0x70], 0
lea eax, [ebp - 0x70]
call fcn.00403a40
mov dword [ebp - 0x70], 0
lea eax, [ebp - 0x74]
call fcn.00403a40
mov dword [ebp - 0x74], 0
lea eax, [ebp - 0x74]
call fcn.00403a40
mov dword [ebp - 0x74], 0
lea eax, [ebp - 0x7c]
call fcn.00403a40
mov dword [ebp - 0x7c], 0
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 8]
mov edx, dword [edx]
call dword [edx + 0x70]
mov dword [ebp - 0x88], eax
mov dword [ebp - 0x84], edx
push dword [ebp - 0x84]
push dword [ebp - 0x88]
lea eax, [ebp - 0x7c]
call fcn.00460160
lea eax, [ebp - 0x7c]
mov dword [ebp - 0x78], eax
lea eax, [ebp - 0x8c]
call fcn.00403a40
mov dword [ebp - 0x8c], 0
mov ebx, str._DataSize
lea eax, [ebp - 0x8c]
call fcn.00403a40
mov dword [ebp - 0x8c], ebx
lea eax, [ebp - 0x90]
call fcn.00403a40
mov dword [ebp - 0x90], 0
lea edx, [ebp - 0x90]
mov eax, dword [ebp - 0x10]
call fcn.00460120
lea eax, [ebp - 0x90]
mov dword [ebp - 0x84], eax
lea eax, [ebp - 0x94]
call fcn.00403a40
mov dword [ebp - 0x94], 0
mov ebx, str.TWin32WidgetSet.ClipboardGetOwnerShip_DataHandle
lea eax, [ebp - 0x94]
call fcn.00403a40
mov dword [ebp - 0x94], ebx
call fcn.00468820
mov ebx, eax
push dword [ebp - 0x8c]
mov eax, dword [ebp - 0x78]
push dword [eax]
push dword [ebp - 0x74]
push dword [ebp - 0x70]
push dword [ebp - 0x6c]
push dword [ebp - 0x68]
push dword [ebp - 0x64]
push dword [ebp - 0x60]
push dword [ebp - 0x5c]
push dword [ebp - 0x58]
push dword [ebp - 0x54]
push dword [ebp - 0x50]
push dword [ebp - 0x4c]
push dword [ebp - 0x48]
push dword [ebp - 0x44]
push dword [ebp - 0x40]
mov eax, dword [ebp - 0x84]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x94]
mov eax, ebx
call fcn.00469c20
mov eax, dword [ebp - 0xc]
mov byte [eax - 0x10], 0
jmp 0x4d2c7c
push dword [ebp - 0x10]
call sub.KERNEL32.DLL_GlobalLock
mov dword [ebp - 0x14], eax
lea ecx, [ebp - 0xa0]
lea edx, [ebp - 0xb8]
mov eax, 1
call fcn.0040b450
call fcn.0040d410
push eax
test eax, eax
jne 0x4d2c57
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 8]
mov edx, dword [edx]
call dword [edx + 0x70]
mov ecx, eax
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 8]
mov ebx, dword [ebp - 8]
mov ebx, dword [ebx]
call dword [ebx + pe_nt_image_headers32]
call fcn.0040b720
push dword [ebp - 0x10]
call sub.KERNEL32.DLL_GlobalUnlock
pop eax
test eax, eax
je 0x4d2c71
dec eax
test eax, eax
call fcn.0040b890
push dword [ebp - 0x10]
push dword [ebp - 4]
call sub.user32.dll_SetClipboardData
call fcn.0040b720
lea eax, [ebp - 0x94]
call fcn.00403a40
mov dword [ebp - 0x94], 0
lea eax, [ebp - 0x90]
call fcn.00403a40
mov dword [ebp - 0x90], 0
lea eax, [ebp - 0x8c]
call fcn.00403a40
mov dword [ebp - 0x8c], 0
lea eax, [ebp - 0x7c]
call fcn.00403a40
mov dword [ebp - 0x7c], 0
lea eax, [ebp - 0x74]
call fcn.00403a40
mov dword [ebp - 0x74], 0
lea eax, [ebp - 0x70]
call fcn.00403a40
mov dword [ebp - 0x70], 0
lea eax, [ebp - 0x6c]
call fcn.00403a40
mov dword [ebp - 0x6c], 0
lea eax, [ebp - 0x68]
call fcn.00403a40
mov dword [ebp - 0x68], 0
lea eax, [ebp - 0x64]
call fcn.00403a40
mov dword [ebp - 0x64], 0
lea eax, [ebp - 0x60]
call fcn.00403a40
mov dword [ebp - 0x60], 0
lea eax, [ebp - 0x5c]
call fcn.00403a40
mov dword [ebp - 0x5c], 0
lea eax, [ebp - 0x58]
call fcn.00403a40
mov dword [ebp - 0x58], 0
lea eax, [ebp - 0x54]
call fcn.00403a40
mov dword [ebp - 0x54], 0
lea eax, [ebp - 0x50]
call fcn.00403a40
mov dword [ebp - 0x50], 0
lea eax, [ebp - 0x4c]
call fcn.00403a40
mov dword [ebp - 0x4c], 0
lea eax, [ebp - 0x48]
call fcn.00403a40
mov dword [ebp - 0x48], 0
lea eax, [ebp - 0x44]
call fcn.00403a40
mov dword [ebp - 0x44], 0
lea eax, [ebp - 0x40]
call fcn.00403a40
mov dword [ebp - 0x40], 0
pop eax
test eax, eax
je 0x4d2dab
call fcn.0040b890
mov ebx, dword [ebp - 0xbc]
leave
ret