Function at 0x45efc0
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
sub esp, 0x18
push ebx
mov ebx, ecx
mov eax, dword [ebx + 0x164]
test eax, eax
jne 0x45f056
mov eax, dword [ebx + 0x30c]
test eax, eax
je 0x45f056
mov eax, dword [ebx + 0x2b0]
test eax, eax
jne 0x45f008
mov eax, dword [ebx + 0x140]
push 0x10
push 0x434400
push 0x4348f4
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 0x45f039
mov edx, dword [ebx + 0x140]
push 0x10
push 0x434400
push 0x4348bc
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 0x45f05d
push 0x43444c
mov ecx, ebx
call fcn.0045cfa0
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 0x45f08f
call dword [sym.imp.user32.dll_CloseClipboard]
push 0x434898
mov ecx, ebx
call fcn.0045cfa0
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 0x45f142
mov ecx, dword [ebx + 0x154]
mov eax, dword [ebx + 0x2c0]
lea edx, [ecx - 1]
cmp edx, eax
jbe 0x45f0e0
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.00462c32
add esp, 8
mov ecx, ebx
mov dword [ebx + 0x150], eax
call fcn.0045e330
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.0045d6e0
mov eax, dword [ebx + 0x154]
mov ecx, dword [ebx + 0x150]
push ebp
add eax, dword [esi]
push eax
push ecx
call fcn.00462c32
add esp, 8
test eax, eax
mov dword [esp + 0x10], eax
jne 0x45f179
push 0x43442c
mov ecx, ebx
call fcn.0045cfa0
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.00462e86
add esp, 4
test eax, eax
je 0x45f163
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.00462bc1
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.0045dd70
mov ecx, ebx
call fcn.0045dae0
mov edx, dword [ebx + 0x29c]
push edx
mov ecx, ebx
call fcn.0045ce50
test eax, eax
jne 0x45f263
mov ecx, ebx
call fcn.0045dba0
mov ecx, ebx
call fcn.0045cf60
pop ebp
pop edi
pop esi
mov eax, 1
pop ebx
add esp, 0x18
ret