Function at 0x488e10
Capabilities:
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
push eax
mov eax, 2
add esp, 0xfffff004
push eax
dec eax
jne 0x488e19
mov eax, dword [ebp - 4]
add esp, 0xfffff760
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x28a4], ebx
mov dword [ebp - 0x289c], ebx
mov dword [ebp - 0x28a0], ebx
mov dword [ebp - 0x2894], ebx
mov dword [ebp - 0x2898], ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x1c], ebx
mov edi, ecx
mov esi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004040cc
xor eax, eax
push ebp
push 0x489115
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x2894]
call fcn.00415118
push dword [ebp - 0x2894]
mov eax, 0x98967f
call fcn.00402c24
lea edx, [ebp - 0x2898]
call fcn.00408b88
push dword [ebp - 0x2898]
push 0x48912c
lea eax, [ebp - 0x1c]
mov edx, 3
call fcn.00403fd8
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0x1c]
call fcn.00488a38
test al, al
jne 0x488ed0
mov eax, edi
mov edx, 0x48913c
call fcn.00403cec
jmp 0x4890df
lea eax, [ebp - 0x6c]
xor ecx, ecx
mov edx, 0x44
call fcn.00402c04
mov dword [ebp - 0x6c], 0x44
mov dword [ebp - 0x40], 1
mov word [ebp - 0x3c], 0
lea eax, [ebp - 0x288d]
xor ecx, ecx
mov edx, 0x100
call fcn.00402c04
mov eax, dword [ebp - 0x1c]
call fcn.004040dc
mov edx, eax
lea eax, [ebp - 0x288d]
call fcn.00409374
mov dword [ebp - 0x28], 0xc
mov dword [ebp - 0x20], 0xffffffff
xor eax, eax
mov dword [ebp - 0x24], eax
push 0
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
call sub.user32.dll_GetClientRect
neg eax
sbb ebx, ebx
neg ebx
test bl, bl
jne 0x488f63
mov eax, edi
mov edx, 0x48913c
call fcn.00403cec
mov eax, dword [ebp - 0x1c]
call fcn.00408ef4
jmp 0x4890df
mov dword [ebp - 0x40], 0x101
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x7c]
push eax
lea eax, [ebp - 0x6c]
push eax
push 0
push 0
push 0x20
push 0xffffffffffffffff
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x288d]
push eax
push 0
call sub.user32.dll_GetClipboardData
neg eax
sbb ebx, ebx
neg ebx
test bl, bl
jne 0x488fd1
mov eax, dword [ebp - 0xc]
push eax
call sub.user32.dll_FindWindowA
mov eax, dword [ebp - 8]
push eax
call sub.user32.dll_FindWindowA
mov eax, edi
mov edx, 0x48913c
call fcn.00403cec
mov eax, dword [ebp - 0x1c]
call fcn.00408ef4
jmp 0x4890df
mov eax, dword [ebp - 0xc]
push eax
call sub.user32.dll_FindWindowA
lea eax, [ebp - 0x10]
call fcn.00403c98
push 0
lea eax, [ebp - 0x14]
push eax
push 0x2711
lea eax, [ebp - 0x278d]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.user32.dll_MessageBoxA
neg eax
sbb ebx, ebx
neg ebx
lea eax, [ebp - 0x289c]
push eax
lea eax, [ebp - 0x28a0]
lea edx, [ebp - 0x278d]
mov ecx, 0x2711
call fcn.00403ec8
mov eax, dword [ebp - 0x28a0]
mov ecx, dword [ebp - 0x14]
xor edx, edx
call fcn.00404120
mov edx, dword [ebp - 0x289c]
lea eax, [ebp - 0x10]
call fcn.00403f20
test bl, bl
je 0x489079
lea eax, [ebp - 0x28a4]
push eax
mov eax, dword [ebp - 0x10]
call fcn.00403f18
mov edx, eax
sub edx, 8
mov ecx, 9
mov eax, dword [ebp - 0x10]
call fcn.00404120
mov eax, dword [ebp - 0x28a4]
mov edx, 0x48914c
call fcn.00404028
jne 0x488fe2
mov eax, dword [ebp - 8]
push eax
call sub.user32.dll_FindWindowA
lea eax, [ebp - 0x18]
push eax
mov eax, dword [ebp - 0x7c]
push eax
call sub.user32.dll_GetScrollPos
jmp 0x4890aa
mov eax, dword [0x49eda4]
mov eax, dword [eax]
call fcn.0042ebf8
lea eax, [ebp - 0x18]
push eax
mov eax, dword [ebp - 0x7c]
push eax
call sub.user32.dll_GetScrollPos
cmp dword [ebp - 0x18], 0x103
jne 0x4890bc
cmp byte [esi + 0x4c6], 4
je 0x489091
mov eax, dword [ebp - 0x1c]
call fcn.00408ef4
push edi
mov eax, dword [ebp - 0x10]
call fcn.00403f18
mov ecx, eax
sub ecx, 9
mov edx, 1
mov eax, dword [ebp - 0x10]
call fcn.00404120
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48911c
lea eax, [ebp - 0x28a4]
mov edx, 5
call fcn.00403cbc
lea eax, [ebp - 0x1c]
call fcn.00403c98
lea eax, [ebp - 0x10]
call fcn.00403c98
lea eax, [ebp - 4]
call fcn.00403c98
ret