Function at 0x546a00
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.0040b8a0
call fcn.0040d8a0
push eax
test eax, eax
jne 0x546e12
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
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x546adf
jmp 0x546da2
lea eax, [ebp - 0x40]
call fcn.00403d60
mov dword [ebp - 0x40], 0
lea eax, [ebp - 0x40]
call fcn.00403d60
mov dword [ebp - 0x40], 0
lea eax, [ebp - 0x44]
call fcn.00403d60
mov dword [ebp - 0x44], 0
lea eax, [ebp - 0x44]
call fcn.00403d60
mov dword [ebp - 0x44], 0
lea eax, [ebp - 0x48]
call fcn.00403d60
mov dword [ebp - 0x48], 0
lea eax, [ebp - 0x48]
call fcn.00403d60
mov dword [ebp - 0x48], 0
lea eax, [ebp - 0x4c]
call fcn.00403d60
mov dword [ebp - 0x4c], 0
lea eax, [ebp - 0x4c]
call fcn.00403d60
mov dword [ebp - 0x4c], 0
lea eax, [ebp - 0x50]
call fcn.00403d60
mov dword [ebp - 0x50], 0
lea eax, [ebp - 0x50]
call fcn.00403d60
mov dword [ebp - 0x50], 0
lea eax, [ebp - 0x54]
call fcn.00403d60
mov dword [ebp - 0x54], 0
lea eax, [ebp - 0x54]
call fcn.00403d60
mov dword [ebp - 0x54], 0
lea eax, [ebp - 0x58]
call fcn.00403d60
mov dword [ebp - 0x58], 0
lea eax, [ebp - 0x58]
call fcn.00403d60
mov dword [ebp - 0x58], 0
lea eax, [ebp - 0x5c]
call fcn.00403d60
mov dword [ebp - 0x5c], 0
lea eax, [ebp - 0x5c]
call fcn.00403d60
mov dword [ebp - 0x5c], 0
lea eax, [ebp - 0x60]
call fcn.00403d60
mov dword [ebp - 0x60], 0
lea eax, [ebp - 0x60]
call fcn.00403d60
mov dword [ebp - 0x60], 0
lea eax, [ebp - 0x64]
call fcn.00403d60
mov dword [ebp - 0x64], 0
lea eax, [ebp - 0x64]
call fcn.00403d60
mov dword [ebp - 0x64], 0
lea eax, [ebp - 0x68]
call fcn.00403d60
mov dword [ebp - 0x68], 0
lea eax, [ebp - 0x68]
call fcn.00403d60
mov dword [ebp - 0x68], 0
lea eax, [ebp - 0x6c]
call fcn.00403d60
mov dword [ebp - 0x6c], 0
lea eax, [ebp - 0x6c]
call fcn.00403d60
mov dword [ebp - 0x6c], 0
lea eax, [ebp - 0x70]
call fcn.00403d60
mov dword [ebp - 0x70], 0
lea eax, [ebp - 0x70]
call fcn.00403d60
mov dword [ebp - 0x70], 0
lea eax, [ebp - 0x74]
call fcn.00403d60
mov dword [ebp - 0x74], 0
lea eax, [ebp - 0x74]
call fcn.00403d60
mov dword [ebp - 0x74], 0
lea eax, [ebp - 0x7c]
call fcn.00403d60
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.004cf5d0
lea eax, [ebp - 0x7c]
mov dword [ebp - 0x78], eax
lea eax, [ebp - 0x8c]
call fcn.00403d60
mov dword [ebp - 0x8c], 0
mov ebx, str._DataSize
lea eax, [ebp - 0x8c]
call fcn.00403d60
mov dword [ebp - 0x8c], ebx
lea eax, [ebp - 0x90]
call fcn.00403d60
mov dword [ebp - 0x90], 0
lea edx, [ebp - 0x90]
mov eax, dword [ebp - 0x10]
call fcn.004cf590
lea eax, [ebp - 0x90]
mov dword [ebp - 0x84], eax
lea eax, [ebp - 0x94]
call fcn.00403d60
mov dword [ebp - 0x94], 0
mov ebx, str.TWin32WidgetSet.ClipboardGetOwnerShip_DataHandle
lea eax, [ebp - 0x94]
call fcn.00403d60
mov dword [ebp - 0x94], ebx
call fcn.004d70a0
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.004d8590
mov eax, dword [ebp - 0xc]
mov byte [eax - 0x10], 0
jmp 0x546e12
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.0040b8a0
call fcn.0040d8a0
push eax
test eax, eax
jne 0x546deb
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.0040bb70
push dword [ebp - 0x10]
call sub.kernel32.dll_GlobalUnlock
pop eax
test eax, eax
je 0x546e07
dec eax
test eax, eax
je 0x546e02
call fcn.0040bce0
push dword [ebp - 0x10]
push dword [ebp - 4]
call sub.user32.dll_SetClipboardData
call fcn.0040bb70
lea eax, [ebp - 0x94]
call fcn.00403d60
mov dword [ebp - 0x94], 0
lea eax, [ebp - 0x90]
call fcn.00403d60
mov dword [ebp - 0x90], 0
lea eax, [ebp - 0x8c]
call fcn.00403d60
mov dword [ebp - 0x8c], 0
lea eax, [ebp - 0x7c]
call fcn.00403d60
mov dword [ebp - 0x7c], 0
lea eax, [ebp - 0x74]
call fcn.00403d60
mov dword [ebp - 0x74], 0
lea eax, [ebp - 0x70]
call fcn.00403d60
mov dword [ebp - 0x70], 0
lea eax, [ebp - 0x6c]
call fcn.00403d60
mov dword [ebp - 0x6c], 0
lea eax, [ebp - 0x68]
call fcn.00403d60
mov dword [ebp - 0x68], 0
lea eax, [ebp - 0x64]
call fcn.00403d60
mov dword [ebp - 0x64], 0
lea eax, [ebp - 0x60]
call fcn.00403d60
mov dword [ebp - 0x60], 0
lea eax, [ebp - 0x5c]
call fcn.00403d60
mov dword [ebp - 0x5c], 0
lea eax, [ebp - 0x58]
call fcn.00403d60
mov dword [ebp - 0x58], 0
lea eax, [ebp - 0x54]
call fcn.00403d60
mov dword [ebp - 0x54], 0
lea eax, [ebp - 0x50]
call fcn.00403d60
mov dword [ebp - 0x50], 0
lea eax, [ebp - 0x4c]
call fcn.00403d60
mov dword [ebp - 0x4c], 0
lea eax, [ebp - 0x48]
call fcn.00403d60
mov dword [ebp - 0x48], 0
lea eax, [ebp - 0x44]
call fcn.00403d60
mov dword [ebp - 0x44], 0
lea eax, [ebp - 0x40]
call fcn.00403d60
mov dword [ebp - 0x40], 0
pop eax
test eax, eax
je 0x546f41
call fcn.0040bce0
mov ebx, dword [ebp - 0xbc]
leave
ret