Function at 0x45b620
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffe0
mov byte [esp], dl
mov edi, eax
xor eax, eax
mov dword [esp + 4], eax
mov eax, dword [0x4be938]
mov word [eax], 0xffff
mov eax, dword [0x4beaa0]
cmp byte [eax], 0
je 0x45b679
call sub.user32.dll_CountClipboardFormats
test eax, eax
jle 0x45b679
mov eax, dword [0x4be4a8]
mov byte [eax], 1
mov ax, 0x29
call fcn.004aa600
mov edx, 0x12
call fcn.004b12a8
cmp al, 3
je 0x45bb13
cmp al, 1
sete bl
jmp 0x45b681
mov ebx, dword [0x4beaa0]
mov bl, byte [ebx]
test bl, bl
jne 0x45b7d4
mov eax, dword [0x4beb60]
mov eax, dword [eax]
push eax
call sub.user32.dll_OpenClipboard
cmp eax, 1
sbb eax, eax
inc eax
test al, al
jne 0x45b6b8
mov ax, 0x22
call fcn.004aa600
mov edx, 1
call fcn.004b12a8
jmp 0x45bb13
mov eax, dword [0x4bee38]
mov byte [eax], 0
mov eax, dword [0x4bec08]
mov eax, dword [eax]
push eax
call sub.user32.dll_IsClipboardFormatAvailable
test eax, eax
je 0x45b702
mov eax, dword [0x4bec08]
mov eax, dword [eax]
mov edx, dword [0x4bea94]
mov dword [edx], eax
mov esi, dword [0x4be6c4]
mov esi, dword [esi]
mov eax, dword [0x4bea94]
mov eax, dword [eax]
push eax
call sub.user32.dll_GetClipboardData
mov edx, dword [0x4beb70]
mov dword [edx], eax
jmp 0x45b7dc
mov dl, 0x29
mov ax, 4
call fcn.0048841c
test eax, eax
jne 0x45b71b
call sub.user32.dll_CloseClipboard
jmp 0x45bb13
mov eax, dword [0x4bea94]
mov eax, dword [eax]
push eax
call sub.user32.dll_GetClipboardData
mov edx, dword [0x4beb70]
mov dword [edx], eax
mov eax, dword [0x4beb70]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GlobalLock
mov edx, dword [0x4be638]
mov dword [edx], eax
mov eax, dword [0x4beb70]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GlobalSize
mov esi, eax
mov eax, dword [0x4be638]
cmp dword [eax], 0
je 0x45b762
test esi, esi
jne 0x45b791
mov eax, dword [0x4be638]
cmp dword [eax], 0
je 0x45b779
mov eax, dword [0x4beb70]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GlobalUnlock
mov ax, 0x23
call fcn.004aa600
mov edx, 1
call fcn.004b12a8
jmp 0x45b702
mov eax, dword [0x4bea94]
cmp dword [eax], 1
je 0x45b7a5
mov eax, dword [0x4bea94]
cmp dword [eax], 7
jne 0x45b7c5
mov edx, dword [0x4be638]
mov edx, dword [edx]
mov eax, 1
cmp esi, eax
jle 0x45b7c5
inc edx
cmp byte [edx], 0
jne 0x45b7c0
mov esi, eax
jmp 0x45b7c5
inc eax
cmp esi, eax
jg 0x45b7b6
mov eax, dword [0x4beb70]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GlobalUnlock
jmp 0x45b7dc
mov esi, dword [0x4be6c4]
mov esi, dword [esi]
cmp byte [edi + 0x442], 0
jne 0x45b84f
cmp byte [esp], 0
je 0x45b84f
mov eax, dword [0x4bef04]
cmp byte [eax], 0
jne 0x45b84f
mov dword [esp + 0x1c], esi
fild dword [esp + 0x1c]
mov eax, dword [0x4be564]
fild qword [eax]
faddp st(1)
mov eax, dword [edi + 0xc]
fild qword [eax + 0x10]
fcompp
fnstsw ax
sahf
jae 0x45b84f
mov eax, dword [edi + 0xc]
cmp dword [eax + 0x5c], 0
je 0x45b834
mov ax, 0x25
call fcn.004aa600
mov edx, 3
call fcn.004b12a8
jmp 0x45bb0a
mov ax, 0x24
call fcn.004aa600
mov edx, 2
call fcn.004b12a8
test al, al
je 0x45bb0a
cmp byte [edi + 0x442], 0
je 0x45b88e
mov dword [esp + 0x1c], esi
fild dword [esp + 0x1c]
mov eax, dword [0x4be564]
fild qword [eax]
faddp st(1)
mov eax, dword [edi + 0xc]
fild qword [eax + 0x10]
fcompp
fnstsw ax
sahf
jae 0x45b88e
mov ax, 0x28
call fcn.004aa600
mov edx, 3
call fcn.004b12a8
jmp 0x45bb0a
mov eax, dword [0x4bef04]
cmp byte [eax], 0
jne 0x45b8df
cmp byte [esp], 0
je 0x45b8a5
mov byte [esp + 0x18], 5
jmp 0x45b8aa
mov byte [esp + 0x18], 4
push 0
push 0
mov ax, word [edi + 0x424]
xor ecx, ecx
mov dl, byte [esp + 0x20]
call fcn.00430df8
test al, al
jne 0x45b8df
mov ax, 0x14e
call fcn.004aa600
mov edx, 2
call fcn.004b12a8
test al, al
je 0x45bb0a
test bl, bl
jne 0x45b8f8
mov eax, dword [0x4beb70]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GlobalLock
mov edx, dword [0x4be638]
mov dword [edx], eax
mov eax, dword [edi + 0xc]
mov edx, dword [eax + 0x1a0]
call dword [edx + 0x10]
test al, al
je 0x45baf2
mov dword [esp + 4], esi
xor eax, eax
mov al, byte [esp]
add ax, 0x26
call fcn.004aa600
mov dl, 3
call fcn.004ad8ec
push 0x7f02
push 0
call sub.user32.dll_LoadCursorA
push eax
call sub.user32.dll_SetCursor
mov eax, dword [0x4be564]
mov edx, dword [eax]
mov dword [esp + 0x10], edx
mov edx, dword [eax + 4]
mov dword [esp + 0x14], edx
mov eax, dword [0x4bee38]
cmp byte [eax], 0
je 0x45b995
mov ebp, esi
sar ebp, 1
jns 0x45b95c
adc ebp, 0
push ebp
push 0x40
call sub.kernel32.dll_GlobalAlloc
mov dword [esp + 8], eax
push ebp
push 1
push 0
mov eax, dword [0x4be638]
mov eax, dword [eax]
or ecx, 0xffffffff
mov edx, dword [esp + 0x14]
call fcn.004b1510
mov ebp, eax
test ebp, ebp
jge 0x45b988
xor ebp, ebp
mov eax, dword [0x4be638]
mov edx, dword [esp + 8]
mov dword [eax], edx
jmp 0x45b997
mov ebp, esi
push ebp
mov ecx, dword [0x4be638]
mov ecx, dword [ecx]
lea edx, [esp + 0x14]
mov eax, dword [edi + 0xc]
call fcn.0041c768
mov edx, dword [0x4be654]
mov dword [edx], eax
mov eax, dword [0x4be654]
cmp ebp, dword [eax]
je 0x45b9bf
xor ebp, ebp
mov eax, dword [0x4bee38]
cmp byte [eax], 0
je 0x45b9d3
mov eax, dword [esp + 8]
push eax
call sub.kernel32.dll_GlobalFree
cmp byte [esp], 0
jne 0x45ba08
mov edx, dword [0x4be564]
push dword [edx + 4]
push dword [edx]
mov dword [esp + 0x24], ebp
fild dword [esp + 0x24]
mov eax, dword [edi + 0xc]
fild qword [eax + 0x10]
faddp st(1)
fsub dword [0x45bb20]
add esp, 0xfffffff8
fistp qword [esp]
wait
call fcn.00418ac4
jmp 0x45ba38
mov eax, dword [0x4be564]
push dword [eax + 4]
push dword [eax]
mov dword [esp + 0x24], ebp
fild dword [esp + 0x24]
mov eax, dword [0x4be564]
fild qword [eax]
faddp st(1)
fsub dword [0x45bb20]
add esp, 0xfffffff8
fistp qword [esp]
wait
mov eax, dword [edi + 0xc]
call fcn.00418ac4
mov eax, dword [edi + 0xc]
mov edx, dword [eax + 0x1a0]
call dword [edx + 0x14]
call fcn.004adbe0
push 0x7f00
push 0
call sub.user32.dll_LoadCursorA
push eax
call sub.user32.dll_SetCursor
mov eax, edi
call fcn.0046ee24
fild qword [edi + 0x14c]
fcomp dword [0x45bb24]
fnstsw ax
sahf
jne 0x45bab3
mov eax, dword [0x4bef04]
cmp byte [eax], 0
jne 0x45bab3
mov eax, dword [0x4be564]
mov edx, dword [eax]
mov dword [edi + 0x144], edx
mov edx, dword [eax + 4]
mov dword [edi + 0x148], edx
mov dword [esp + 0x1c], ebp
fild dword [esp + 0x1c]
mov eax, dword [0x4be564]
fild qword [eax]
faddp st(1)
fsub dword [0x45bb20]
fistp qword [edi + 0x14c]
wait
jmp 0x45baf2
cmp byte [esp], 0
jne 0x45baf2
mov eax, dword [0x4be654]
cmp esi, dword [eax]
jne 0x45baf2
mov cl, 1
lea edx, [edi + 0x144]
fild qword [edx]
mov eax, dword [0x4be564]
fild qword [eax]
fcompp
fnstsw ax
sahf
ja 0x45bae9
mov dword [esp + 0x1c], ebp
fild dword [esp + 0x1c]
fild qword [edx]
faddp st(1)
fistp qword [edx]
wait
inc ecx
add edx, 8
cmp cl, 3
jne 0x45baca
test bl, bl
jne 0x45bb13
mov eax, dword [0x4beb70]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GlobalUnlock
call sub.user32.dll_CloseClipboard
jmp 0x45bb13
test bl, bl
jne 0x45bb13
call sub.user32.dll_CloseClipboard
mov eax, dword [esp + 4]
add esp, 0x20
pop ebp
pop edi
pop esi
pop ebx
ret