Function at 0x456ea0
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
sub esp, 0x18
push ebx
mov ebx, ecx
mov eax, dword [ebx + 0x164]
test eax, eax
jne 0x456f36
mov eax, dword [ebx + 0x30c]
test eax, eax
je 0x456f36
mov eax, dword [ebx + 0x2b0]
test eax, eax
jne 0x456ee8
mov eax, dword [ebx + 0x140]
push 0x10
push 0x42c8d8
push 0x42cdcc
push eax
call dword [sym.imp.user32.dll_MessageBoxA]
xor eax, eax
pop ebx
add esp, 0x18
ret
mov ecx, dword [ebx + 0x308]
push ecx
call dword [sym.imp.user32.dll_IsClipboardFormatAvailable]
test eax, eax
jne 0x456f19
mov edx, dword [ebx + 0x140]
push 0x10
push 0x42c8d8
push 0x42cd94
push edx
call dword [sym.imp.user32.dll_MessageBoxA]
xor eax, eax
pop ebx
add esp, 0x18
ret
mov eax, dword [ebx + 0x140]
push eax
call dword [sym.imp.user32.dll_OpenClipboard]
test eax, eax
jne 0x456f3d
push 0x42c924
mov ecx, ebx
call fcn.00454e80
xor eax, eax
pop ebx
add esp, 0x18
ret
mov ecx, dword [ebx + 0x308]
push esi
push ecx
call dword [sym.imp.user32.dll_GetClipboardData]
mov esi, eax
test esi, esi
mov dword [esp + 0xc], esi
jne 0x456f6f
call dword [sym.imp.user32.dll_CloseClipboard]
push 0x42cd70
mov ecx, ebx
call fcn.00454e80
pop esi
xor eax, eax
pop ebx
add esp, 0x18
ret
push edi
call dword [sym.imp.user32.dll_CloseClipboard]
mov eax, dword [ebx + 0x2b8]
test eax, eax
je 0x457022
mov ecx, dword [ebx + 0x154]
mov eax, dword [ebx + 0x2c0]
lea edx, [ecx - 1]
cmp edx, eax
jbe 0x456fc0
mov edx, dword [ebx + 0x150]
mov edi, dword [ebx + 0x2bc]
sub ecx, eax
sub ecx, 2
lea esi, [edx + eax + 1]
mov eax, ecx
shr ecx, 2
add edi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, dword [esp + 0x10]
mov ecx, dword [ebx + 0x2bc]
mov edi, dword [ebx + 0x2c0]
mov eax, dword [ebx + 0x154]
mov edx, dword [ebx + 0x150]
sub ecx, edi
dec ecx
add eax, ecx
push eax
push edx
mov dword [ebx + 0x154], eax
call fcn.0045ab12
add esp, 8
mov ecx, ebx
mov dword [ebx + 0x150], eax
call fcn.00456210
mov ecx, dword [ebx + 0x2bc]
mov eax, dword [ebx + 0x2a4]
lea edx, [esp + 0x18]
mov dword [esp + 0x18], ecx
push edx
mov ecx, ebx
mov dword [esp + 0x24], eax
mov dword [esp + 0x20], 1
call fcn.004555c0
mov eax, dword [ebx + 0x154]
mov ecx, dword [ebx + 0x150]
push ebp
add eax, dword [esi]
push eax
push ecx
call fcn.0045ab12
add esp, 8
test eax, eax
mov dword [esp + 0x10], eax
jne 0x457059
push 0x42c904
mov ecx, ebx
call fcn.00454e80
pop ebp
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x18
ret
mov esi, dword [ebx + 0x2a0]
mov ebp, dword [ebx + 0x154]
mov ecx, dword [ebx + 0x29c]
xor edx, edx
test esi, esi
sete dl
sub ebp, ecx
mov edi, edx
sub ebp, edi
push ebp
mov dword [esp + 0x1c], edi
call fcn.0045ad66
add esp, 4
test eax, eax
je 0x457043
mov esi, dword [ebx + 0x29c]
add esi, edi
add esi, dword [esp + 0x10]
mov ecx, ebp
mov edx, ecx
shr ecx, 2
mov edi, eax
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, dword [ebx + 0x29c]
mov ecx, ebp
mov ebp, dword [esp + 0x14]
add edi, dword [ebp]
add edi, dword [esp + 0x18]
add edi, dword [esp + 0x10]
mov edx, ecx
shr ecx, 2
mov esi, eax
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
call fcn.0045aaa1
mov ecx, dword [ebp]
mov edi, dword [ebx + 0x29c]
add edi, dword [esp + 0x1c]
mov eax, dword [esp + 0x14]
mov edx, ecx
shr ecx, 2
add edi, eax
lea esi, [ebp + 4]
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebp]
mov edi, dword [ebx + 0x154]
add edi, ecx
add esp, 4
mov ecx, ebx
mov dword [ebx + 0x154], edi
mov dword [ebx + 0x150], eax
mov dword [ebx + 0x2c8], 1
call fcn.00455c50
mov ecx, ebx
call fcn.004559c0
mov edx, dword [ebx + 0x29c]
push edx
mov ecx, ebx
call fcn.00454d30
test eax, eax
jne 0x457143
mov ecx, ebx
call fcn.00455a80
mov ecx, ebx
call fcn.00454e40
pop ebp
pop edi
pop esi
mov eax, 1
pop ebx
add esp, 0x18
ret