Function at 0x40727b
Capabilities:
Open clipboard
Resolve function by parsing pe exports
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x41bd91
mov eax, dword fs:[0]
push eax
sub esp, 0x90
push ebx
push esi
push edi
mov eax, dword [0x42a024]
xor eax, esp
push eax
lea eax, [esp + 0xa0]
mov dword fs:[0], eax
lea eax, [esp + 0x30]
push 0x20
push eax
call fcn.004010c5
call fcn.0040392d
lea eax, [esp + 0x2c]
push 0x167
xor edi, edi
push eax
mov dword [esp + 0xb0], edi
call fcn.004010c5
call fcn.0040392d
lea eax, [esp + 0x34]
push 1
push eax
mov byte [esp + 0xb0], 1
call fcn.004010c5
mov ebx, eax
call fcn.00403952
lea eax, [esp + 0x28]
push 2
push eax
mov byte [esp + 0xb0], 2
call fcn.004010c5
mov ebx, eax
call fcn.00403952
mov byte [esp + 0xa8], 3
call fcn.004010c5
push eax
lea esi, [esp + 0x3c]
call fcn.00403df0
mov byte [esp + 0xa8], 4
push dword [esp + 0x34]
lea esi, [esp + 0x20]
call fcn.00408de9
mov byte [esp + 0xa8], 5
push dword [esp + 0x28]
lea esi, [esp + 0x1c]
call fcn.00408de9
mov byte [esp + 0xa8], 6
push dword [esp + 0x30]
lea esi, [esp + 0x24]
call fcn.00408de9
mov byte [esp + 0xa8], 7
push dword [esp + 0x2c]
lea esi, [esp + 0x28]
call fcn.00408de9
mov byte [esp + 0xa8], 8
mov ebx, dword [esp + 0x38]
push ebx
lea esi, [esp + 0x18]
call fcn.00408de9
mov eax, dword [ebp + 8]
push 0x3f2
mov byte [esp + 0xac], 9
push dword [eax + 4]
mov dword [esp + 0x44], edi
mov dword [esp + 0x4c], edi
mov dword [esp + 0x54], edi
mov dword [esp + 0x48], edi
mov dword [esp + 0x50], edi
call dword [0x41d444]
mov edi, eax
test edi, edi
jne 0x4073f1
push dword [esp + 0x14]
mov esi, dword [0x41d3e0]
call esi
push dword [esp + 0x24]
call esi
push dword [esp + 0x20]
call esi
push dword [esp + 0x18]
call esi
push dword [esp + 0x1c]
call esi
lea eax, [ebx - 0x10]
jmp 0x407789
mov esi, dword [0x41d42c]
push 2
push 0xffffffffffffffff
push 0x100c
push edi
call esi
mov ebx, eax
cmp ebx, 0xffffffff
je 0x40775e
push 0x30
lea eax, [esp + 0x70]
push 0
push eax
call fcn.00419d1a
and dword [esp + 0x7c], 0
add esp, 0xc
lea eax, [esp + 0x68]
push eax
push 0
push 0x104b
push edi
mov dword [esp + 0x7c], ebx
mov dword [esp + 0x78], 4
call esi
mov ecx, dword [esp + 0x88]
test ecx, ecx
je 0x4074f0
lea eax, [esp + 0x10]
push eax
call fcn.00404581
push dword [esp + 0x34]
push dword [esp + 0x14]
call dword [0x41d298]
test eax, eax
pop ecx
pop ecx
jne 0x407474
mov dword [esp + 0x3c], 1
push dword [esp + 0x28]
push dword [esp + 0x14]
call dword [0x41d298]
test eax, eax
pop ecx
pop ecx
jne 0x407490
mov dword [esp + 0x44], 1
push dword [esp + 0x30]
push dword [esp + 0x14]
call dword [0x41d298]
test eax, eax
pop ecx
pop ecx
jne 0x4074ac
mov dword [esp + 0x4c], 1
push dword [esp + 0x2c]
push dword [esp + 0x14]
call dword [0x41d298]
test eax, eax
pop ecx
pop ecx
jne 0x4074c8
mov dword [esp + 0x40], 1
push dword [esp + 0x38]
push dword [esp + 0x14]
call dword [0x41d298]
test eax, eax
pop ecx
pop ecx
jne 0x4074e4
mov dword [esp + 0x48], 1
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
call fcn.00401677
push 2
push ebx
push 0x100c
push edi
call esi
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x40740e
xor eax, eax
cmp dword [esp + 0x3c], eax
jne 0x40752a
cmp dword [esp + 0x4c], eax
jne 0x40752a
cmp dword [esp + 0x40], eax
jne 0x40752a
cmp dword [esp + 0x48], eax
jne 0x40752a
cmp dword [esp + 0x44], eax
je 0x40775e
push str.Preferred_DropEffect
mov dword [esp + 0x14], eax
mov dword [esp + 0x54], eax
call dword [0x41d480]
mov ebx, dword [0x41d13c]
push 4
mov edi, 0x2042
push edi
mov dword [esp + 0x68], eax
call ebx
mov esi, eax
test esi, esi
mov dword [esp + 0x54], esi
jne 0x407579
call dword [0x41d148]
push eax
push str.GlobalAlloc_1_fail__err__lu
push 0x421438
call fcn.004124b5
add esp, 0xc
jmp 0x40772f
push esi
call dword [0x41d140]
push esi
mov dword [eax], 1
call dword [0x41d144]
push dword [esp + 0x1c]
mov esi, dword [0x41d3ec]
call esi
push dword [esp + 0x18]
mov dword [esp + 0x68], eax
call esi
push dword [esp + 0x20]
mov dword [esp + 0x5c], eax
call esi
push dword [esp + 0x24]
mov dword [esp + 0x60], eax
call esi
push dword [esp + 0x14]
mov dword [esp + 0x14], eax
call esi
add eax, dword [esp + 0x10]
add eax, dword [esp + 0x5c]
add eax, dword [esp + 0x64]
add eax, dword [esp + 0x58]
lea eax, [eax + eax + 0x30]
push eax
push edi
call ebx
xor edi, edi
cmp eax, edi
mov dword [esp + 0x10], eax
jne 0x4075f4
call dword [0x41d148]
push eax
push str.GlobalAlloc_2_fail__err__lu
jmp 0x407567
push eax
call dword [0x41d140]
xor ebx, ebx
inc ebx
cmp dword [esp + 0x3c], 0
mov dword [eax + 4], edi
mov dword [eax + 8], edi
mov dword [eax + 0xc], edi
mov dword [eax], 0x14
mov dword [eax + 0x10], ebx
lea edi, [eax + 0x14]
je 0x40763c
push dword [esp + 0x1c]
call esi
lea eax, [eax + eax + 2]
push eax
push dword [esp + 0x20]
push edi
call fcn.00419cfc
add esp, 0xc
push dword [esp + 0x1c]
call esi
lea edi, [edi + eax*2 + 2]
cmp dword [esp + 0x44], 0
je 0x407665
push dword [esp + 0x18]
call esi
lea eax, [eax + eax + 2]
push eax
push dword [esp + 0x1c]
push edi
call fcn.00419cfc
add esp, 0xc
push dword [esp + 0x18]
call esi
lea edi, [edi + eax*2 + 2]
cmp dword [esp + 0x4c], 0
je 0x40768e
push dword [esp + 0x20]
call esi
lea eax, [eax + eax + 2]
push eax
push dword [esp + 0x24]
push edi
call fcn.00419cfc
add esp, 0xc
push dword [esp + 0x20]
call esi
lea edi, [edi + eax*2 + 2]
cmp dword [esp + 0x40], 0
je 0x4076b7
push dword [esp + 0x24]
call esi
lea eax, [eax + eax + 2]
push eax
push dword [esp + 0x28]
push edi
call fcn.00419cfc
add esp, 0xc
push dword [esp + 0x24]
call esi
lea edi, [edi + eax*2 + 2]
cmp dword [esp + 0x48], 0
je 0x4076dc
push dword [esp + 0x14]
call esi
lea eax, [eax + eax + 2]
push eax
push dword [esp + 0x18]
push edi
call fcn.00419cfc
add esp, 0xc
push dword [esp + 0x14]
call esi
push dword [esp + 0x10]
call dword [0x41d144]
mov eax, dword [ebp + 8]
push dword [eax + 4]
call dword [0x41d484]
test eax, eax
jne 0x407707
call dword [0x41d148]
push eax
push str.OpenClipboard_fail__err__lu
jmp 0x407567
call dword [0x41d4e4]
push dword [esp + 0x10]
mov esi, dword [0x41d4dc]
push 0xf
call esi
push dword [esp + 0x54]
push dword [esp + 0x64]
call esi
call dword [0x41d4d4]
mov dword [esp + 0x50], ebx
push dword [esp + 0x50]
push str.On_Copy__d
push 0x421438
call fcn.004124b5
add esp, 0xc
cmp dword [esp + 0x50], 0
jne 0x40775e
push dword [esp + 0x10]
mov esi, dword [0x41d14c]
call esi
push dword [esp + 0x54]
call esi
push dword [esp + 0x14]
mov esi, dword [0x41d3e0]
call esi
push dword [esp + 0x24]
call esi
push dword [esp + 0x20]
call esi
push dword [esp + 0x18]
call esi
push dword [esp + 0x1c]
call esi
mov eax, dword [esp + 0x38]
add eax, 0xfffffff0
call fcn.00401677
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
call fcn.00401677
mov eax, dword [esp + 0x34]
add eax, 0xfffffff0
call fcn.00401677
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
call fcn.00401677
mov eax, dword [esp + 0x30]
add eax, 0xfffffff0
call fcn.00401677
mov ecx, dword [esp + 0xa0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4