Function at 0x5392cc
Capabilities:
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
mov dword [ebp - 0xc], eax
xor eax, eax
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0xc]
sub eax, 2
je 0x539381
sub eax, 0xb
je 0x5392f8
dec eax
je 0x539381
jmp 0x539411
call fcn.0065179c
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x53937a
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x28]
mov dword [eax + 0x16c], 2
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x28]
mov byte [eax + 0x170], 0
push ebp
mov dl, byte [0x53952c]
mov eax, 6
call fcn.00538ee0
pop ecx
mov eax, dword [ebp - 4]
cmp dword [eax + 8], 0
jle 0x539364
xor edx, edx
mov eax, dword [ebp - 4]
call fcn.00651a04
mov eax, dword [ebp - 4]
mov edx, dword [eax + 8]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
call fcn.006238a4
mov dword [ebp - 8], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5394d7
mov eax, dword [ebp - 4]
call fcn.004028c0
ret
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x38]
mov ebx, dword [eax + 0xc]
xor edx, edx
mov eax, ebx
call fcn.00560dac
cmp dword [ebp - 0xc], 0xe
jne 0x5393c0
cmp byte [ebx + 0x4a], 0
jne 0x5393af
push 0
mov eax, dword [ebx + 0x1c]
push eax
call sub.gdi32.dll_CopyEnhMetaFileW
mov dword [ebp - 8], eax
jmp 0x5393f6
mov eax, ebx
call fcn.00561020
call fcn.0062241c
mov dword [ebp - 8], eax
jmp 0x5393f6
cmp byte [ebx + 0x4a], 0
jne 0x5393d9
mov edx, dword [0x6721f4]
mov eax, dword [ebx + 0x1c]
call fcn.00622354
mov dword [ebp - 8], eax
jmp 0x5393f6
push 4
push 0
push 0
push 0
mov eax, ebx
call fcn.00561020
mov edx, dword [eax]
call dword [edx + 0x44]
push eax
call sub.user32.dll_CopyImage
mov dword [ebp - 8], eax
call fcn.0053d548
test al, al
je 0x5394d7
mov dl, 1
mov eax, ebx
call fcn.00560dac
jmp 0x5394d7
mov eax, dword [ebp - 0xc]
cmp eax, dword [0x676010]
jne 0x539485
call fcn.0065179c
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x53947e
push dword fs:[eax]
mov dword fs:[eax], esp
push ebp
mov dl, byte [0x53952c]
xor eax, eax
call fcn.00538ee0
pop ecx
mov eax, dword [ebp - 4]
cmp dword [eax + 8], 0
jle 0x539468
xor edx, edx
mov eax, dword [ebp - 4]
call fcn.006519dc
mov eax, dword [ebp - 4]
mov edx, dword [eax + 8]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
call fcn.006238a4
mov dword [ebp - 8], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5394d7
mov eax, dword [ebp - 4]
call fcn.004028c0
ret
mov eax, dword [ebp - 0xc]
cmp eax, dword [0x67601c]
jne 0x539499
push ebp
call fcn.005390d0
pop ecx
jmp 0x5394d7
mov eax, dword [ebp - 0xc]
cmp eax, dword [0x676024]
jne 0x5394b9
mov eax, dword [ebp + 8]
add eax, 0xffffffce
mov edx, 2
call fcn.006238a4
mov dword [ebp - 8], eax
jmp 0x5394d7
cmp dword [ebp - 0xc], 0x10
jne 0x5394d7
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x30]
add eax, 0x3a4
mov edx, 4
call fcn.006238a4
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x539524
mov eax, dword [ebp + 8]
cmp dword [eax + 8], 0
jne 0x5394f5
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.user32.dll_SetClipboardData
jmp 0x539524
mov eax, dword [ebp + 8]
mov eax, dword [eax + 8]
mov edx, dword [ebp - 8]
mov dword [eax + 4], edx
mov edx, dword [ebp - 0xc]
sub edx, 2
je 0x539516
sub edx, 0xc
jne 0x53951e
mov dword [eax], 0x40
jmp 0x539524
mov dword [eax], 2
jmp 0x539524
mov dword [eax], 1
pop ebx
mov esp, ebp
pop ebp
ret