Function at 0x401f80
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
sub esp, 0x10
mov eax, dword [esp + 0x14]
mov dword [esp], 0x4137f8
push eax
mov dword [esp + 8], 0x4137d0
mov dword [esp + 0xc], 0x4137b0
mov dword [esp + 0x10], 0x413790
call fcn.00401e50
mov ecx, dword [0x416904]
add esp, 4
push ecx
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
jne 0x401fdd
mov edx, dword [0x416904]
push eax
push str.Error
push str.Cannot_open_the_Clipboard
push edx
call dword [sym.imp.USER32.dll_MessageBoxA]
add esp, 0x10
ret
push edi
push esi
push ebp
push ebx
push 1
call dword [sym.imp.USER32.dll_GetClipboardData]
mov ebx, eax
push ebx
call dword [sym.imp.kernel32.dll_GlobalLock]
mov edi, eax
test edi, edi
je 0x402146
push edi
call fcn.00401e10
add esp, 4
test eax, eax
je 0x402120
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push 0x417200
mov eax, ecx
mov esi, edi
mov edi, 0x416fa8
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call fcn.00405190
add esp, 4
test eax, eax
je 0x40216f
mov edx, dword [0x417770]
or ecx, 0xffffffff
mov edi, edx
xor eax, eax
repne scasb al, byte es:[edi]
mov eax, dword [0x416b00]
not ecx
dec ecx
add eax, 0xffffffd8
cmp ecx, eax
jae 0x402114
or ecx, 0xffffffff
mov edi, 0x413770
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov ebp, ecx
mov esi, edi
or ecx, 0xffffffff
mov edi, 0x417200
repne scasb al, byte es:[edi]
mov ecx, ebp
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebp
and ecx, 3
rep movsb byte es:[edi], byte [esi]
or ecx, 0xffffffff
mov edi, 0x417200
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov ebp, ecx
mov esi, edi
or ecx, 0xffffffff
mov edi, edx
repne scasb al, byte es:[edi]
mov ecx, ebp
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebp
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, 0x416fa8
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebp, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebp
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebp
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, 0x41376c
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, dword [0x417770]
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call fcn.00402210
jmp 0x40216f
mov dword [0x416c90], 1
jmp 0x40216f
mov eax, dword [0x416afc]
mov ecx, dword [0x416904]
cdq
xor eax, edx
push 0x20
sub eax, edx
push str.Sorry
and eax, 1
xor eax, edx
sub eax, edx
mov eax, dword [esp + eax*4 + 0x18]
push eax
push ecx
jmp 0x402169
mov eax, dword [0x416afc]
push 0x20
cdq
xor eax, edx
push str.Sorry
sub eax, edx
and eax, 1
xor eax, edx
sub eax, edx
mov edx, dword [esp + eax*4 + 0x20]
mov eax, dword [0x416904]
push edx
push eax
call dword [sym.imp.USER32.dll_MessageBoxA]
call dword [sym.imp.USER32.dll_CloseClipboard]
push ebx
call dword [sym.imp.kernel32.dll_GlobalUnlock]
pop ebx
pop ebp
pop esi
pop edi
add esp, 0x10
ret