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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4207eb
mov eax, dword fs:[0]
push eax
sub esp, 0xa0
push ebx
push esi
push edi
mov eax, dword [0x432024]
xor eax, esp
push eax
lea eax, [esp + 0xb0]
mov dword fs:[0], eax
lea eax, [esp + 0x38]
push 0x20
push eax
call fcn.004010c5
call fcn.00403aa9
lea eax, [esp + 0x30]
push 0x60
xor edi, edi
push eax
mov dword [esp + 0xc0], edi
call fcn.004010c5
call fcn.00403aa9
lea eax, [esp + 0x3c]
push 0x167
push eax
mov byte [esp + 0xc0], 1
call fcn.004010c5
call fcn.00403aa9
lea eax, [esp + 0x34]
push 1
push eax
mov byte [esp + 0xc0], 2
call fcn.004010c5
mov ebx, eax
call fcn.00403ace
lea eax, [esp + 0x2c]
push 2
push eax
mov byte [esp + 0xc0], 3
call fcn.004010c5
mov ebx, eax
call fcn.00403ace
mov byte [esp + 0xb8], 4
call fcn.004010c5
push eax
lea esi, [esp + 0x44]
call fcn.00403f60
mov byte [esp + 0xb8], 5
push dword [esp + 0x34]
lea esi, [esp + 0x18]
call fcn.00409a08
mov byte [esp + 0xb8], 6
push dword [esp + 0x2c]
lea esi, [esp + 0x24]
call fcn.00409a08
mov byte [esp + 0xb8], 7
push dword [esp + 0x38]
lea esi, [esp + 0x1c]
call fcn.00409a08
mov byte [esp + 0xb8], 8
push dword [esp + 0x30]
lea esi, [esp + 0x28]
call fcn.00409a08
mov byte [esp + 0xb8], 9
push dword [esp + 0x3c]
lea esi, [esp + 0x20]
call fcn.00409a08
mov byte [esp + 0xb8], 0xa
mov ebx, dword [esp + 0x40]
push ebx
lea esi, [esp + 0x2c]
call fcn.00409a08
mov byte [esp + 0xb8], 0xb
mov dword [esp + 0x44], edi
mov dword [esp + 0x58], edi
mov dword [esp + 0x50], edi
mov dword [esp + 0x54], edi
mov dword [esp + 0x48], edi
mov dword [esp + 0x4c], edi
mov eax, dword [ebp + 8]
push 0x3f2
push dword [eax + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
mov edi, eax
test edi, edi
jne 0x407b61
push dword [esp + 0x28]
mov esi, dword [sym.imp.OLEAUT32.dll_SysStringLen]
call esi
push dword [esp + 0x1c]
call esi
push dword [esp + 0x24]
call esi
push dword [esp + 0x18]
call esi
push dword [esp + 0x20]
call esi
push dword [esp + 0x14]
call esi
lea eax, [ebx - 0x10]
jmp 0x407f64
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push 2
push 0xffffffffffffffff
push 0x100c
push edi
call esi
mov ebx, eax
cmp ebx, 0xffffffff
je 0x407f33
push 0x30
lea eax, [esp + 0x80]
push 0
push eax
call sub.MSVCR80.dll_memset
and dword [esp + 0x8c], 0
add esp, 0xc
lea eax, [esp + 0x78]
push eax
push 0
push 0x104b
push edi
mov dword [esp + 0x8c], ebx
mov dword [esp + 0x88], 4
call esi
mov ecx, dword [esp + 0x98]
test ecx, ecx
je 0x407c88
lea eax, [esp + 0x10]
push eax
call fcn.004047a6
push dword [esp + 0x34]
push dword [esp + 0x14]
call dword [sym.imp.MSVCR80.dll__wcsicmp]
test eax, eax
pop ecx
pop ecx
jne 0x407bf0
mov dword [esp + 0x44], 1
push dword [esp + 0x2c]
push dword [esp + 0x14]
call dword [sym.imp.MSVCR80.dll__wcsicmp]
test eax, eax
pop ecx
pop ecx
jne 0x407c0c
mov dword [esp + 0x58], 1
push dword [esp + 0x38]
push dword [esp + 0x14]
call dword [sym.imp.MSVCR80.dll__wcsicmp]
test eax, eax
pop ecx
pop ecx
jne 0x407c28
mov dword [esp + 0x50], 1
push dword [esp + 0x30]
push dword [esp + 0x14]
call dword [sym.imp.MSVCR80.dll__wcsicmp]
test eax, eax
pop ecx
pop ecx
jne 0x407c44
mov dword [esp + 0x54], 1
push dword [esp + 0x3c]
push dword [esp + 0x14]
call dword [sym.imp.MSVCR80.dll__wcsicmp]
test eax, eax
pop ecx
pop ecx
jne 0x407c60
mov dword [esp + 0x48], 1
push dword [esp + 0x40]
push dword [esp + 0x14]
call dword [sym.imp.MSVCR80.dll__wcsicmp]
test eax, eax
pop ecx
pop ecx
jne 0x407c7c
mov dword [esp + 0x4c], 1
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
call fcn.00401689
push 2
push ebx
push 0x100c
push edi
call esi
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x407b7e
xor eax, eax
cmp dword [esp + 0x44], eax
jne 0x407cc8
cmp dword [esp + 0x50], eax
jne 0x407cc8
cmp dword [esp + 0x48], eax
jne 0x407cc8
cmp dword [esp + 0x4c], eax
jne 0x407cc8
cmp dword [esp + 0x58], eax
jne 0x407cc8
cmp dword [esp + 0x54], eax
je 0x407f33
push str.Preferred_DropEffect
mov dword [esp + 0x14], eax
mov dword [esp + 0x60], eax
call dword [sym.imp.USER32.dll_RegisterClipboardFormatW]
mov ebx, dword [sym.imp.KERNEL32.dll_GlobalAlloc]
push 4
mov edi, 0x2042
push edi
mov dword [esp + 0x78], eax
call ebx
mov esi, eax
test esi, esi
mov dword [esp + 0x60], esi
jne 0x407d17
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.GlobalAlloc_1_fail__err__lu
push 0x42654c
call fcn.00414b27
add esp, 0xc
jmp 0x407f04
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push esi
mov dword [eax], 1
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push dword [esp + 0x14]
mov esi, dword [sym.imp.OLEAUT32.dll_VariantInit]
call esi
push dword [esp + 0x20]
mov dword [esp + 0x68], eax
call esi
push dword [esp + 0x18]
mov dword [esp + 0x6c], eax
call esi
push dword [esp + 0x1c]
mov dword [esp + 0x70], eax
call esi
push dword [esp + 0x28]
mov dword [esp + 0x78], eax
call esi
push dword [esp + 0x24]
mov dword [esp + 0x14], eax
call esi
add eax, dword [esp + 0x10]
add eax, dword [esp + 0x74]
add eax, dword [esp + 0x6c]
add eax, dword [esp + 0x64]
add eax, dword [esp + 0x68]
lea eax, [eax + eax + 0x34]
push eax
push edi
call ebx
xor edi, edi
cmp eax, edi
mov dword [esp + 0x10], eax
jne 0x407da0
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.GlobalAlloc_2_fail__err__lu
jmp 0x407d05
push eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov dword [eax + 4], edi
mov dword [eax + 8], edi
mov dword [eax + 0xc], edi
xor edi, edi
inc edi
cmp dword [esp + 0x44], 0
mov dword [eax], 0x14
mov dword [eax + 0x10], edi
lea ebx, [eax + 0x14]
je 0x407de8
push dword [esp + 0x14]
call esi
lea eax, [eax + eax + 2]
push eax
push dword [esp + 0x18]
push ebx
call sub.MSVCR80.dll_memcpy
add esp, 0xc
push dword [esp + 0x14]
call esi
lea ebx, [ebx + eax*2 + 2]
cmp dword [esp + 0x58], 0
je 0x407e11
push dword [esp + 0x20]
call esi
lea eax, [eax + eax + 2]
push eax
push dword [esp + 0x24]
push ebx
call sub.MSVCR80.dll_memcpy
add esp, 0xc
push dword [esp + 0x20]
call esi
lea ebx, [ebx + eax*2 + 2]
cmp dword [esp + 0x50], 0
je 0x407e3a
push dword [esp + 0x18]
call esi
lea eax, [eax + eax + 2]
push eax
push dword [esp + 0x1c]
push ebx
call sub.MSVCR80.dll_memcpy
add esp, 0xc
push dword [esp + 0x18]
call esi
lea ebx, [ebx + eax*2 + 2]
cmp dword [esp + 0x48], 0
je 0x407e63
push dword [esp + 0x1c]
call esi
lea eax, [eax + eax + 2]
push eax
push dword [esp + 0x20]
push ebx
call sub.MSVCR80.dll_memcpy
add esp, 0xc
push dword [esp + 0x1c]
call esi
lea ebx, [ebx + eax*2 + 2]
cmp dword [esp + 0x4c], 0
je 0x407e8c
push dword [esp + 0x28]
call esi
lea eax, [eax + eax + 2]
push eax
push dword [esp + 0x2c]
push ebx
call sub.MSVCR80.dll_memcpy
add esp, 0xc
push dword [esp + 0x28]
call esi
lea ebx, [ebx + eax*2 + 2]
cmp dword [esp + 0x54], 0
je 0x407eb1
push dword [esp + 0x24]
call esi
lea eax, [eax + eax + 2]
push eax
push dword [esp + 0x28]
push ebx
call sub.MSVCR80.dll_memcpy
add esp, 0xc
push dword [esp + 0x24]
call esi
push dword [esp + 0x10]
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov eax, dword [ebp + 8]
push dword [eax + 4]
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
jne 0x407edc
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.OpenClipboard_fail__err__lu
jmp 0x407d05
call dword [sym.imp.USER32.dll_EmptyClipboard]
push dword [esp + 0x10]
mov esi, dword [sym.imp.USER32.dll_SetClipboardData]
push 0xf
call esi
push dword [esp + 0x60]
push dword [esp + 0x74]
call esi
call dword [sym.imp.USER32.dll_CloseClipboard]
mov dword [esp + 0x5c], edi
push dword [esp + 0x5c]
push str.On_Copy__d
push 0x42654c
call fcn.00414b27
add esp, 0xc
cmp dword [esp + 0x5c], 0
jne 0x407f33
push dword [esp + 0x10]
mov esi, dword [sym.imp.KERNEL32.dll_GlobalFree]
call esi
push dword [esp + 0x60]
call esi
push dword [esp + 0x28]
mov esi, dword [sym.imp.OLEAUT32.dll_SysStringLen]
call esi
push dword [esp + 0x1c]
call esi
push dword [esp + 0x24]
call esi
push dword [esp + 0x18]
call esi
push dword [esp + 0x20]
call esi
push dword [esp + 0x14]
call esi
mov eax, dword [esp + 0x40]
add eax, 0xfffffff0
call fcn.00401689
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
call fcn.00401689
mov eax, dword [esp + 0x34]
add eax, 0xfffffff0
call fcn.00401689
mov eax, dword [esp + 0x3c]
add eax, 0xfffffff0
call fcn.00401689
mov eax, dword [esp + 0x30]
add eax, 0xfffffff0
call fcn.00401689
mov eax, dword [esp + 0x38]
add eax, 0xfffffff0
call fcn.00401689
mov ecx, dword [esp + 0xb0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4