Function at 0x4919a0
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x607af9
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x7f206c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, edx
mov edi, ecx
mov dword [ebp - 0x18], 0
mov ecx, dword [esi + 4]
mov edx, ecx
mov al, cl
shr edx, 1
and al, 1
mov byte [ebp - 0x10], al
and dl, 1
jne 0x4919f3
shr ecx, 2
mov al, cl
and al, 1
jne 0x4919f6
xor bl, bl
jmp 0x4919f8
shr ecx, 2
mov bl, 1
movzx eax, dl
and cl, 1
mov byte [ebp - 0x18], bl
mov dword [ebp - 0x24], 0x10028
mov dword [ebp - 0x20], 2
lea ecx, [eax + 1]
mov dword [ebp - 0x1c], 0
cmove ecx, eax
lea eax, [ebp - 0x24]
mov dword [ebp - 0x14], ecx
mov ecx, esi
push eax
call fcn.005e3da0
test al, al
je 0x491a56
mov eax, dword [edi + 0x138]
push ecx
push 1
mov ecx, dword [eax + 0x90]
call fcn.005cd5b0
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x24]
mov dword [ebp - 0x24], 0x10026
push eax
mov ecx, esi
mov dword [ebp - 0x20], 2
mov dword [ebp - 0x1c], 0
call fcn.005e3da0
test al, al
je 0x491aa2
mov eax, dword [edi + 0x138]
push ecx
push 0xffffffffffffffff
mov ecx, dword [eax + 0x90]
call fcn.005cd5b0
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 0x14]
cmp ecx, 2
jae 0x491c0b
mov eax, dword [esi]
cmp eax, 0x10025
jne 0x491b24
mov eax, dword [edi + 0x88]
lea ecx, [edi + 0x88]
mov eax, dword [eax + 0x1c]
cmp eax, method.juce::TextEditor.virtual_28
jne 0x492016
mov esi, dword [ecx + 0x15c]
test bl, bl
je 0x491ae7
push esi
mov ecx, edi
call fcn.00596ee0
mov esi, eax
jmp 0x491ae8
dec esi
mov ecx, edi
call fcn.0059b950
push dword [ebp - 0x10]
push esi
mov ecx, edi
call fcn.00599fa0
mov ecx, edi
call fcn.005ef5c0
test eax, eax
je 0x492002
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x70]
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp eax, 0x10027
jne 0x491b98
mov eax, dword [edi + 0x88]
lea ecx, [edi + 0x88]
mov eax, dword [eax + 0x1c]
cmp eax, method.juce::TextEditor.virtual_28
jne 0x49201f
mov esi, dword [ecx + 0x15c]
test bl, bl
je 0x491b5b
push esi
mov ecx, edi
call fcn.00597030
mov esi, eax
jmp 0x491b5c
inc esi
mov ecx, edi
call fcn.0059b950
push dword [ebp - 0x10]
mov ecx, edi
push esi
call fcn.00599fa0
mov ecx, edi
call fcn.005ef5c0
test eax, eax
je 0x492002
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x70]
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp eax, 0x10024
jne 0x491bce
mov ecx, edi
test bl, bl
je 0x491bb4
call fcn.0059b950
push dword [ebp - 0x10]
push 0
jmp 0x491af3
push dword [ebp - 0x10]
call fcn.00598760
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp eax, 0x10023
jne 0x491c0b
test bl, bl
je 0x491bef
mov eax, dword [edi + 0x88]
lea ecx, [edi + 0x88]
call dword [eax + 0x24]
mov esi, eax
jmp 0x491ae8
push dword [ebp - 0x10]
mov ecx, edi
call fcn.00598660
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
test ecx, ecx
jne 0x491ca1
mov eax, dword [esi]
cmp eax, 0x10026
jne 0x491c38
push dword [ebp - 0x10]
mov ecx, edi
call fcn.00598b40
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp eax, 0x10028
jne 0x491c5b
push dword [ebp - 0x10]
mov ecx, edi
call fcn.00598a60
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp eax, 0x10021
jne 0x491c7e
push dword [ebp - 0x10]
mov ecx, edi
call fcn.00598980
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp eax, 0x10022
jne 0x491ca1
push dword [ebp - 0x10]
mov ecx, edi
call fcn.00598890
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x24]
mov dword [ebp - 0x24], 0x63
push eax
mov ecx, esi
mov dword [ebp - 0x20], 2
mov dword [ebp - 0x1c], 0
call fcn.005e3da0
test al, al
jne 0x491ff4
lea eax, [ebp - 0x24]
mov dword [ebp - 0x24], 0x1002d
push eax
mov ecx, esi
mov dword [ebp - 0x20], 2
mov dword [ebp - 0x1c], 0
call fcn.005e3da0
test al, al
jne 0x491ff4
lea eax, [ebp - 0x24]
mov dword [ebp - 0x24], 0x78
push eax
mov ecx, esi
mov dword [ebp - 0x20], 2
mov dword [ebp - 0x1c], 0
call fcn.005e3da0
test al, al
jne 0x491fdb
lea eax, [ebp - 0x24]
mov dword [ebp - 0x24], 0x1002e
push eax
mov ecx, esi
mov dword [ebp - 0x20], 1
mov dword [ebp - 0x1c], 0
call fcn.005e3da0
test al, al
jne 0x491fdb
lea eax, [ebp - 0x24]
mov dword [ebp - 0x24], 0x76
push eax
mov ecx, esi
mov dword [ebp - 0x20], 2
mov dword [ebp - 0x1c], 0
call fcn.005e3da0
test al, al
jne 0x491ecc
lea eax, [ebp - 0x24]
mov dword [ebp - 0x24], 0x1002d
push eax
mov ecx, esi
mov dword [ebp - 0x20], 1
mov dword [ebp - 0x1c], 0
call fcn.005e3da0
test al, al
jne 0x491ecc
cmp dword [ebp - 0x14], 2
jae 0x491ddb
mov eax, dword [esi]
cmp eax, 8
jne 0x491dba
push dword [ebp - 0x18]
mov ecx, edi
call fcn.005985c0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp eax, 0x1002e
jne 0x491ddb
push ecx
mov ecx, edi
call fcn.00598510
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x24]
mov dword [ebp - 0x24], 0x61
push eax
mov ecx, esi
mov dword [ebp - 0x20], 2
mov dword [ebp - 0x1c], 0
call fcn.005e3da0
test al, al
je 0x491e18
mov ecx, edi
call fcn.00598350
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x24]
mov dword [ebp - 0x24], 0x7a
push eax
mov ecx, esi
mov dword [ebp - 0x20], 2
mov dword [ebp - 0x1c], 0
call fcn.005e3da0
test al, al
je 0x491e57
push 1
mov ecx, edi
call fcn.0059b780
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x24]
mov dword [ebp - 0x24], 0x79
push eax
mov ecx, esi
mov dword [ebp - 0x20], 2
mov dword [ebp - 0x1c], 0
call fcn.005e3da0
test al, al
jne 0x491eb1
lea eax, [ebp - 0x24]
mov dword [ebp - 0x24], 0x7a
push eax
mov ecx, esi
mov dword [ebp - 0x20], 3
mov dword [ebp - 0x1c], 0
call fcn.005e3da0
test al, al
jne 0x491eb1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0
mov ecx, edi
call fcn.0059b780
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, edi
call fcn.0059b950
cmp byte [edi + 0x160], 0
jne 0x492002
cmp byte [edi + 0x81], 0
jl 0x492002
mov ecx, dword [edi + 0x18]
test ecx, ecx
je 0x491f01
call fcn.005fadd0
test al, al
je 0x492002
mov dword [ebp - 4], 0
push 0
mov dword [ebp - 0x10], 0x7a135c
mov dword [ebp - 0x18], 1
call dword [sym.imp.USER32.dll_OpenClipboard]
or ebx, 0xffffffff
test eax, eax
je 0x491f8e
push 0xd
call dword [sym.imp.USER32.dll_GetClipboardData]
mov esi, eax
test esi, esi
je 0x491f88
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov dword [ebp - 0x14], eax
test eax, eax
je 0x491f88
push esi
call dword [sym.imp.KERNEL32.dll_GlobalSize]
push dword [ebp - 0x14]
shr eax, 1
lea ecx, [ebp - 0x14]
mov edx, eax
call fcn.0041d620
mov eax, dword [ebp - 0x10]
add esp, 4
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x10], ecx
lea ecx, [eax - 8]
cmp ecx, 0x7a1354
je 0x491f81
mov eax, ebx
lock xadd dword [ecx], eax
test eax, eax
jne 0x491f81
push ecx
call fcn.004a8172
add esp, 4
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
call dword [sym.imp.USER32.dll_CloseClipboard]
mov eax, dword [ebp - 0x10]
cmp byte [eax], 0
je 0x491fac
mov eax, dword [edi + 0x88]
lea ecx, [edi + 0x88]
lea edx, [ebp - 0x10]
push edx
call dword [eax + 0x18]
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff8
cmp eax, 0x7a1354
je 0x492002
lock xadd dword [eax], ebx
test ebx, ebx
jne 0x492002
push eax
call fcn.004a8172
add esp, 4
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, edi
call fcn.005984d0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, edi
call fcn.0059b950
mov ecx, edi
call fcn.00599e70
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call eax
mov esi, eax
jmp 0x491ad7
call eax
mov esi, eax
jmp 0x491b4b