Function at 0x41028b
Capabilities:
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x7c
push esi
mov dword [ebp - 0xc], 0x6e
mov dword [ebp - 8], 0xbe
mov eax, dword [ebp + 0xc]
push eax
call fcn.0041086b
add esp, 4
mov ecx, dword [0x421800]
or ecx, dword [ebp + 8]
cmp eax, ecx
jbe 0x4103cc
mov dword [ebp - 0x3c], 0x54
mov edx, dword [ebp - 0x28]
imul edx, dword [0x4217f0]
mov dword [ebp - 0xc], edx
mov eax, dword [0x42182c]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
cmp dword [ebp - 0xc], eax
jae 0x4102eb
mov dword [ebp - 0x10], 1
jmp 0x4102f2
mov dword [ebp - 0x10], 0
mov ecx, dword [0x421800]
push ecx
call fcn.0040c3bb
add esp, 4
test eax, eax
jne 0x41032c
push fcn.0040c90b
mov edx, dword [0x4217f8]
push edx
mov eax, dword [0x421828]
push eax
call fcn.00411d8b
add esp, 0xc
test eax, eax
jne 0x41032c
mov dword [ebp - 0x14], 0
jmp 0x410333
mov dword [ebp - 0x14], 1
mov ecx, dword [ebp - 0x10]
cmp ecx, dword [ebp - 0x14]
jne 0x410344
mov dword [ebp - 0x18], 1
jmp 0x41034b
mov dword [ebp - 0x18], 0
mov edx, dword [0x4217e8]
push edx
mov eax, dword [0x42182c]
push eax
call dword [sym.imp.USER32.dll_SetClipboardData]
test eax, eax
je 0x410379
mov ecx, dword [ebp - 0x20]
push ecx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
test eax, eax
je 0x410379
mov dword [ebp - 0x1c], 1
jmp 0x410380
mov dword [ebp - 0x1c], 0
mov edx, dword [ebp - 0x18]
cmp edx, dword [ebp - 0x1c]
jbe 0x4103b7
call dword [sym.imp.USER32.dll_EmptyClipboard]
mov dword [ebp - 8], eax
mov eax, dword [0x421800]
sub eax, dword [0x42181c]
mov dword [0x4217e0], eax
mov ecx, dword [ebp - 0x40]
push ecx
mov edx, dword [0x4217e8]
push edx
call dword [sym.imp.GDI32.dll_SetArcDirection]
mov dword [ebp - 0x44], eax
jmp 0x4103c7
mov dword [ebp - 0x24], 0xbc
call dword [sym.imp.USER32.dll_EmptyClipboard]
mov dword [ebp - 0x24], eax
jmp 0x41046e
mov dword [ebp - 0x30], 0x4c
mov dword [ebp - 0x48], 0xa
mov eax, dword [0x421800]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov dword [0x4217e8], eax
mov eax, dword [0x421818]
xor edx, edx
div dword [0x4217f4]
mov dword [0x4217ec], eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov esi, eax
mov edx, dword [ebp - 0x28]
push edx
call fcn.0040c3bb
add esp, 4
cmp esi, eax
jae 0x41043f
mov dword [ebp - 0x4c], 0x6c
mov dword [ebp - 0x50], 0x97
mov dword [ebp - 0x54], 0x9e
mov eax, dword [0x4217e8]
push eax
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov dword [ebp - 0x2c], eax
jmp 0x41046e
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [0x421810]
push edx
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x2c]
push eax
call fcn.0040c3bb
add esp, 4
mov ecx, dword [0x421814]
add ecx, dword [ebp - 0x30]
mov dword [0x421820], ecx
mov edx, dword [0x4217f8]
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
sub eax, 7
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xf0
ja case.0x410497.1
mov ecx, dword [ebp - 4]
movzx edx, byte [ecx + 0x410603]
jmp dword [edx*4 + 0x4105e7]
mov dword [ebp - 0x58], 0x66
mov eax, dword [0x421810]
xor edx, edx
div dword [0x421800]
mov dword [0x4217e8], eax
mov eax, dword [ebp - 0x5c]
push eax
call dword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov dword [0x421818], eax
mov ecx, dword [0x4217e4]
push ecx
call fcn.0040c3bb
add esp, 4
jmp 0x4105ce
mov dword [ebp - 0x60], 0xeb
mov dword [ebp - 0x64], 0x31
mov edx, dword [0x42180c]
sub edx, dword [ebp - 8]
mov dword [0x421804], edx
jmp 0x4105ce
mov eax, dword [0x4217ec]
push eax
call fcn.0041086b
add esp, 4
mov ecx, dword [0x4217ec]
xor ecx, dword [0x421814]
mov dword [0x4217e8], ecx
mov edx, dword [ebp + 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov dword [0x421818], eax
jmp 0x4105ce
mov dword [ebp - 0x68], 0x9d
call dword [sym.imp.USER32.dll_EmptyClipboard]
mov dword [ebp - 0x6c], eax
push fcn.0040c90b
mov eax, dword [ebp - 0x20]
push eax
mov ecx, dword [0x421808]
push ecx
call fcn.00411d8b
add esp, 0xc
jmp 0x4105ce
mov dword [ebp - 0x70], 0x62
mov dword [ebp - 0x74], 0xd1
mov edx, dword [0x4217fc]
push edx
call fcn.0041086b
add esp, 4
jmp 0x4105ce
mov dword [ebp - 0x34], 0x55
mov eax, dword [ebp - 0x78]
xor eax, dword [0x4217ec]
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [0x4217f4]
push edx
call fcn.0040c90b
add esp, 8
mov eax, dword [ebp - 0x34]
xor edx, edx
div dword [0x421808]
mov dword [0x421808], eax
jmp 0x4105ce
mov dword [ebp - 0x7c], 0x2f
mov eax, dword [ebp - 0x38]
push eax
mov ecx, dword [0x4217e0]
push ecx
call dword [sym.imp.USER32.dll_SetClipboardData]
mov dword [0x42181c], eax
mov edx, dword [0x42182c]
push edx
mov eax, dword [0x421818]
push eax
call dword [sym.imp.ADVAPI32.dll_RegOverridePredefKey]
pop esi
mov esp, ebp
pop ebp
ret