Function at 0x452630
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
sub esp, 0x18
push ebx
mov ebx, ecx
mov eax, dword [ebx + 0x164]
test eax, eax
jne 0x4526c6
mov eax, dword [ebx + 0x30c]
test eax, eax
je 0x4526c6
mov eax, dword [ebx + 0x2b0]
test eax, eax
jne 0x452678
mov eax, dword [ebx + 0x140]
push 0x10
push 0x42eed0
push 0x42f3c4
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 0x4526a9
mov edx, dword [ebx + 0x140]
push 0x10
push 0x42eed0
push 0x42f38c
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 0x4526cd
push 0x42ef1c
mov ecx, ebx
call fcn.00450610
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 0x4526ff
call dword [sym.imp.user32.dll_CloseClipboard]
push 0x42f368
mov ecx, ebx
call fcn.00450610
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 0x4527b2
mov ecx, dword [ebx + 0x154]
mov eax, dword [ebx + 0x2c0]
lea edx, [ecx - 1]
cmp edx, eax
jbe 0x452750
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.00456164
add esp, 8
mov ecx, ebx
mov dword [ebx + 0x150], eax
call fcn.004519a0
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.00450d50
mov eax, dword [ebx + 0x154]
mov ecx, dword [ebx + 0x150]
push ebp
add eax, dword [esi]
push eax
push ecx
call fcn.00456164
add esp, 8
test eax, eax
mov dword [esp + 0x10], eax
jne 0x4527e9
push 0x42eefc
mov ecx, ebx
call fcn.00450610
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.004563b8
add esp, 4
test eax, eax
je 0x4527d3
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.004560f3
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.004513e0
mov ecx, ebx
call fcn.00451150
mov edx, dword [ebx + 0x29c]
push edx
mov ecx, ebx
call fcn.004504c0
test eax, eax
jne 0x4528d3
mov ecx, ebx
call fcn.00451210
mov ecx, ebx
call fcn.004505d0
pop ebp
pop edi
pop esi
mov eax, 1
pop ebx
add esp, 0x18
ret